Lines Matching refs:x
29 const ResDicLinearData::ResDicNodeData* x = ref().data; in GetIndex() local
33 if ( x->toName.offset != 0 && std::strcmp(key, x->toName.to_ptr()) == 0 ) in GetIndex()
37 ++x; in GetIndex()
51 const ResDicPatriciaData::ResDicNodeData* x; in Get() local
54 x = &r.data[p->idxLeft]; in Get()
56 while(p->ref > x->ref) in Get()
58 p = x; in Get()
61 u32 wd = u32(x->ref) >> 3; in Get()
62 u32 pos = u32(x->ref) & 7; in Get()
66 x = &r.data[x->idxRight]; in Get()
70 x = &r.data[x->idxLeft]; in Get()
74 if (rhs == ResName(((u8*)&r + x->ofsString - sizeof(u32)))) in Get()
76 return const_cast<ResDicPatriciaData::ResDicNodeData*>(x); in Get()
85 const ResDicPatriciaData::ResDicNodeData* x; in Get() local
89 x = &r.data[p->idxLeft]; in Get()
91 while(p->ref > x->ref) in Get()
93 p = x; in Get()
96 u32 wd = u32(x->ref) >> 3; in Get()
97 u32 pos = u32(x->ref) & 7; in Get()
101 x = &r.data[x->idxRight]; in Get()
105 x = &r.data[x->idxLeft]; in Get()
109 if (x->ofsString != 0 && !std::strcmp(s, x->ofsString.to_ptr<char>())) in Get()
111 return const_cast<ResDicPatriciaData::ResDicNodeData*>(x); in Get()