• Home
  • Raw
  • Download

Lines Matching refs:valueMapIndex

166 int32_t PropNameData::findPropertyValueNameGroup(int32_t valueMapIndex, int32_t value) {  in findPropertyValueNameGroup()  argument
167 if(valueMapIndex==0) { in findPropertyValueNameGroup()
170 ++valueMapIndex; // Skip the BytesTrie offset. in findPropertyValueNameGroup()
171 int32_t numRanges=valueMaps[valueMapIndex++]; in findPropertyValueNameGroup()
176 int32_t start=valueMaps[valueMapIndex]; in findPropertyValueNameGroup()
177 int32_t limit=valueMaps[valueMapIndex+1]; in findPropertyValueNameGroup()
178 valueMapIndex+=2; in findPropertyValueNameGroup()
183 return valueMaps[valueMapIndex+value-start]; in findPropertyValueNameGroup()
185 valueMapIndex+=limit-start; // Skip all entries for this range. in findPropertyValueNameGroup()
189 int32_t valuesStart=valueMapIndex; in findPropertyValueNameGroup()
190 int32_t nameGroupOffsetsStart=valueMapIndex+numRanges-0x10; in findPropertyValueNameGroup()
192 int32_t v=valueMaps[valueMapIndex]; in findPropertyValueNameGroup()
197 return valueMaps[nameGroupOffsetsStart+valueMapIndex-valuesStart]; in findPropertyValueNameGroup()
199 } while(++valueMapIndex<nameGroupOffsetsStart); in findPropertyValueNameGroup()
240 int32_t valueMapIndex=findProperty(property); in getPropertyName() local
241 if(valueMapIndex==0) { in getPropertyName()
244 return getName(nameGroups+valueMaps[valueMapIndex], nameChoice); in getPropertyName()
248 int32_t valueMapIndex=findProperty(property); in getPropertyValueName() local
249 if(valueMapIndex==0) { in getPropertyValueName()
252 int32_t nameGroupOffset=findPropertyValueNameGroup(valueMaps[valueMapIndex+1], value); in getPropertyValueName()
273 int32_t valueMapIndex=findProperty(property); in getPropertyValueEnum() local
274 if(valueMapIndex==0) { in getPropertyValueEnum()
277 valueMapIndex=valueMaps[valueMapIndex+1]; in getPropertyValueEnum()
278 if(valueMapIndex==0) { in getPropertyValueEnum()
283 return getPropertyOrValueEnum(valueMaps[valueMapIndex], alias); in getPropertyValueEnum()