Lines Matching defs:valueMapIndex
165 int32_t PropNameData::findPropertyValueNameGroup(int32_t valueMapIndex, int32_t value) {
166 if(valueMapIndex==0) {
169 ++valueMapIndex; // Skip the BytesTrie offset.
170 int32_t numRanges=valueMaps[valueMapIndex++];
175 int32_t start=valueMaps[valueMapIndex];
176 int32_t limit=valueMaps[valueMapIndex+1];
177 valueMapIndex+=2;
182 return valueMaps[valueMapIndex+value-start];
184 valueMapIndex+=limit-start; // Skip all entries for this range.
188 int32_t valuesStart=valueMapIndex;
189 int32_t nameGroupOffsetsStart=valueMapIndex+numRanges-0x10;
191 int32_t v=valueMaps[valueMapIndex];
196 return valueMaps[nameGroupOffsetsStart+valueMapIndex-valuesStart];
198 } while(++valueMapIndex<nameGroupOffsetsStart);
239 int32_t valueMapIndex=findProperty(property);
240 if(valueMapIndex==0) {
243 return getName(nameGroups+valueMaps[valueMapIndex], nameChoice);
247 int32_t valueMapIndex=findProperty(property);
248 if(valueMapIndex==0) {
251 int32_t nameGroupOffset=findPropertyValueNameGroup(valueMaps[valueMapIndex+1], value);
272 int32_t valueMapIndex=findProperty(property);
273 if(valueMapIndex==0) {
276 valueMapIndex=valueMaps[valueMapIndex+1];
277 if(valueMapIndex==0) {
280 // valueMapIndex is the start of the property's valueMap,
282 return getPropertyOrValueEnum(valueMaps[valueMapIndex], alias);