Home
last modified time | relevance | path

Searched refs:nameIndex (Results 1 – 25 of 44) sorted by relevance

12

/external/skia/src/utils/win/
DSkDWrite.cpp93 UINT32 nameIndex = 0; in sk_get_locale_string() local
97 names->FindLocaleName(preferedLocale, &nameIndex, &nameExists); in sk_get_locale_string()
99 nameIndex = 0; in sk_get_locale_string()
104 HRVM(names->GetStringLength(nameIndex, &nameLen), "Could not get name length."); in sk_get_locale_string()
107 HRVM(names->GetString(nameIndex, name.get(), nameLen+1), "Could not get string."); in sk_get_locale_string()
/external/skia/src/xml/
DSkBML_XMLParser.cpp91 int nameIndex, valueIndex; in rattr() local
95 nameIndex = rec.fNextName; // record before the ++ in rattr()
101 nameIndex = rec.fNextName; // record before the ++ in rattr()
106 nameIndex = rdata(s, data); in rattr()
111 nameIndex = rdata(s, data); in rattr()
118 writer.addAttribute(rec.fNames[nameIndex], rec.fValues[valueIndex]); in rattr()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedAnnotationElement.java42 public final int nameIndex; field in DexBackedAnnotationElement
47 this.nameIndex = reader.readSmallUleb128(); in DexBackedAnnotationElement()
51 @Nonnull @Override public String getName() { return dexFile.getString(nameIndex); } in getName()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DDebugInfoDecoder.java157 public int nameIndex; field in DebugInfoDecoder.LocalEntry
165 public LocalEntry(int address, boolean isStart, int reg, int nameIndex, in LocalEntry() argument
170 this.nameIndex = nameIndex; in LocalEntry()
178 nameIndex, typeIndex, signatureIndex); in toString()
327 prevle.nameIndex, prevle.typeIndex, 0); in decode0()
352 prevle.nameIndex, prevle.typeIndex, in decode0()
496 int idx = entry.nameIndex; in validateEncode0()
534 if (decodedEntry.nameIndex >= 0) { in validateEncode0()
/external/skia/tests/
DFontNamesTest.cpp116 size_t nameIndex = 0; in test_synthetic() local
117 while (nameIndex < test[i].nameCount && iter.next(record)) { in test_synthetic()
119 strcmp(test[i].names[nameIndex].name, record.name.c_str()) == 0, in test_synthetic()
124 strcmp(test[i].names[nameIndex].language, record.language.c_str()) == 0, in test_synthetic()
130 ++nameIndex; in test_synthetic()
133 REPORTER_ASSERT_MESSAGE(reporter, nameIndex == test[i].nameCount, in test_synthetic()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DFieldIdItem.java63 int nameIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator() local
64 … out.annotate(4, "name_idx = %s", StringIdItem.getReferenceAnnotation(dexFile, nameIndex)); in makeAnnotator()
78 int nameIndex = dexFile.readSmallUint(fieldOffset + NAME_OFFSET);
79 String fieldName = dexFile.getString(nameIndex);
DMethodIdItem.java63 int nameIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator() local
64 … out.annotate(4, "name_idx = %s", StringIdItem.getReferenceAnnotation(dexFile, nameIndex)); in makeAnnotator()
78 int nameIndex = dexFile.readSmallUint(methodOffset + NAME_OFFSET);
79 String methodName = dexFile.getString(nameIndex);
DDebugInfoItem.java109 int nameIndex = reader.readSmallUleb128() - 1; in makeAnnotator() local
111 … StringIdItem.getOptionalReferenceAnnotation(dexFile, nameIndex, true)); in makeAnnotator()
123 int nameIndex = reader.readSmallUleb128() - 1; in makeAnnotator() local
125 … StringIdItem.getOptionalReferenceAnnotation(dexFile, nameIndex, true)); in makeAnnotator()
DEncodedValue.java142 int nameIndex = reader.readSmallUleb128(); in annotateEncodedAnnotation() local
144 StringIdItem.getReferenceAnnotation(reader.dexBuf, nameIndex)); in annotateEncodedAnnotation()
/external/javassist/src/main/javassist/bytecode/
DAnnotationsAttribute.java353 int nameIndex = ByteArray.readU16bit(info, pos); in memberValuePair() local
354 return memberValuePair(pos + 2, nameIndex); in memberValuePair()
357 int memberValuePair(int pos, int nameIndex) throws Exception { in memberValuePair() argument
500 int memberValuePair(int pos, int nameIndex) throws Exception { in memberValuePair() argument
501 writer.memberValuePair(copy(nameIndex)); in memberValuePair()
502 return super.memberValuePair(pos, nameIndex); in memberValuePair()
622 int memberValuePair(int pos, int nameIndex) throws Exception { in memberValuePair() argument
623 pos = super.memberValuePair(pos, nameIndex); in memberValuePair()
624 currentAnno.addMemberValue(nameIndex, currentMember); in memberValuePair()
DLocalVariableAttribute.java79 public void addEntry(int startPc, int length, int nameIndex, in addEntry() argument
89 ByteArray.write16bit(nameIndex, newInfo, size + 4); in addEntry()
202 public int nameIndex(int i) { in nameIndex() method in LocalVariableAttribute
213 return getConstPool().getUtf8Info(nameIndex(i)); in variableName()
DClassFileWriter.java274 int nameIndex = constPool.addUtf8Info(name); in add() local
276 add(accessFlags, nameIndex, descIndex, aw); in add()
346 int nameIndex = constPool.addUtf8Info(name); in begin() local
354 begin(accessFlags, nameIndex, descIndex, intfs, aw); in begin()
/external/icu/icu4c/source/common/
Dpropname.cpp202 const char *PropNameData::getName(const char *nameGroup, int32_t nameIndex) { in getName() argument
204 if(nameIndex<0 || numNames<=nameIndex) { in getName()
208 for(; nameIndex>0; --nameIndex) { in getName()
Dmessagepattern.cpp545 int32_t nameIndex=index=skipWhiteSpace(index+argStartLength); in parseArg() local
553 int32_t number=parseArgNumber(nameIndex, index); in parseArg()
555 int32_t length=index-nameIndex; in parseArg()
557 setParseError(parseError, nameIndex); // Argument number too large. in parseArg()
562 addPart(UMSGPAT_PART_TYPE_ARG_NUMBER, nameIndex, length, number, errorCode); in parseArg()
564 int32_t length=index-nameIndex; in parseArg()
566 setParseError(parseError, nameIndex); // Argument name too long. in parseArg()
571 addPart(UMSGPAT_PART_TYPE_ARG_NAME, nameIndex, length, 0, errorCode); in parseArg()
573 setParseError(parseError, nameIndex); // Bad argument syntax. in parseArg()
587 setParseError(parseError, nameIndex); // Bad argument syntax. in parseArg()
[all …]
Dpropname.h108 static const char *getName(const char *nameGroup, int32_t nameIndex);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUPropertyAliases.java178 private String getName(int nameGroupsIndex, int nameIndex) { in getName() argument
180 if(nameIndex<0 || numNames<=nameIndex) { in getName()
184 for(; nameIndex>0; --nameIndex) { in getName()
/external/messageformat/java/com/ibm/icu/text/
DMessagePattern.java1017 int nameIndex=index=skipWhiteSpace(index+argStartLength); in parseArg() local
1024 int number=parseArgNumber(nameIndex, index); in parseArg()
1026 int length=index-nameIndex; in parseArg()
1029 "Argument number too large: "+prefix(nameIndex)); in parseArg()
1032 addPart(Part.Type.ARG_NUMBER, nameIndex, length, number); in parseArg()
1034 int length=index-nameIndex; in parseArg()
1037 "Argument name too long: "+prefix(nameIndex)); in parseArg()
1040 addPart(Part.Type.ARG_NAME, nameIndex, length, 0); in parseArg()
1042 throw new IllegalArgumentException("Bad argument syntax: "+prefix(nameIndex)); in parseArg()
1053 throw new IllegalArgumentException("Bad argument syntax: "+prefix(nameIndex)); in parseArg()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePattern.java1017 int nameIndex=index=skipWhiteSpace(index+argStartLength); in parseArg() local
1024 int number=parseArgNumber(nameIndex, index); in parseArg()
1026 int length=index-nameIndex; in parseArg()
1029 "Argument number too large: "+prefix(nameIndex)); in parseArg()
1032 addPart(Part.Type.ARG_NUMBER, nameIndex, length, number); in parseArg()
1034 int length=index-nameIndex; in parseArg()
1037 "Argument name too long: "+prefix(nameIndex)); in parseArg()
1040 addPart(Part.Type.ARG_NAME, nameIndex, length, 0); in parseArg()
1042 throw new IllegalArgumentException("Bad argument syntax: "+prefix(nameIndex)); in parseArg()
1053 throw new IllegalArgumentException("Bad argument syntax: "+prefix(nameIndex)); in parseArg()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DStructure.java91 int nameIndex = inputStream.readShort(); in Structure() local
92 type = types[nameIndex]; in Structure()
102 nameIndex = inputStream.readShort(); in Structure()
103 fields[i] = new Field(names[nameIndex], types[typeIndex], blenderContext); in Structure()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDebugWriter.java65 int nameIndex = stringSection.getNullableItemIndex(name); in writeStartLocal() local
73 writer.writeUleb128(nameIndex + 1); in writeStartLocal()
78 writer.writeUleb128(nameIndex + 1); in writeStartLocal()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHeaders.java80 int nameIndex = index * 2; in name() local
81 if (nameIndex < 0 || nameIndex >= namesAndValues.length) { in name()
84 return namesAndValues[nameIndex]; in name()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterAlias.java276 int nameIndex = 0; in io_stripASCIIForCompare() local
281 while (nameIndex < name.length()) { in io_stripASCIIForCompare()
282 c1 = name.charAt(nameIndex++); in io_stripASCIIForCompare()
289 if (!afterDigit && nameIndex < name.length()) { in io_stripASCIIForCompare()
290 nextType = GET_CHAR_TYPE(name.charAt(nameIndex)); in io_stripASCIIForCompare()
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotation.java180 public void addMemberValue(int nameIndex, MemberValue value) { in addMemberValue() argument
182 p.name = nameIndex; in addMemberValue()
/external/v8/tools/
DSourceMap.js234 var nameIndex = 0;
283 nameIndex += this._decodeVLQ(stringCharIterator);
/external/proguard/src/proguard/optimize/peephole/
DTargetClassChanger.java487 int nameIndex = in addNewClassConstant() local
491 constantPoolEditor.addConstant(new ClassConstant(nameIndex, in addNewClassConstant()

12