Lines Matching refs:valueMapIndex
164 int32_t PropNameData::findPropertyValueNameGroup(int32_t valueMapIndex, int32_t value) { in findPropertyValueNameGroup() argument
165 if(valueMapIndex==0) { in findPropertyValueNameGroup()
168 ++valueMapIndex; // Skip the BytesTrie offset. in findPropertyValueNameGroup()
169 int32_t numRanges=valueMaps[valueMapIndex++]; in findPropertyValueNameGroup()
174 int32_t start=valueMaps[valueMapIndex]; in findPropertyValueNameGroup()
175 int32_t limit=valueMaps[valueMapIndex+1]; in findPropertyValueNameGroup()
176 valueMapIndex+=2; in findPropertyValueNameGroup()
181 return valueMaps[valueMapIndex+value-start]; in findPropertyValueNameGroup()
183 valueMapIndex+=limit-start; // Skip all entries for this range. in findPropertyValueNameGroup()
187 int32_t valuesStart=valueMapIndex; in findPropertyValueNameGroup()
188 int32_t nameGroupOffsetsStart=valueMapIndex+numRanges-0x10; in findPropertyValueNameGroup()
190 int32_t v=valueMaps[valueMapIndex]; in findPropertyValueNameGroup()
195 return valueMaps[nameGroupOffsetsStart+valueMapIndex-valuesStart]; in findPropertyValueNameGroup()
197 } while(++valueMapIndex<nameGroupOffsetsStart); in findPropertyValueNameGroup()
238 int32_t valueMapIndex=findProperty(property); in getPropertyName() local
239 if(valueMapIndex==0) { in getPropertyName()
242 return getName(nameGroups+valueMaps[valueMapIndex], nameChoice); in getPropertyName()
246 int32_t valueMapIndex=findProperty(property); in getPropertyValueName() local
247 if(valueMapIndex==0) { in getPropertyValueName()
250 int32_t nameGroupOffset=findPropertyValueNameGroup(valueMaps[valueMapIndex+1], value); in getPropertyValueName()
271 int32_t valueMapIndex=findProperty(property); in getPropertyValueEnum() local
272 if(valueMapIndex==0) { in getPropertyValueEnum()
275 valueMapIndex=valueMaps[valueMapIndex+1]; in getPropertyValueEnum()
276 if(valueMapIndex==0) { in getPropertyValueEnum()
281 return getPropertyOrValueEnum(valueMaps[valueMapIndex], alias); in getPropertyValueEnum()