Home
last modified time | relevance | path

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

12

/external/skia/src/utils/win/
DSkDWrite.cpp95 UINT32 nameIndex = 0; in sk_get_locale_string() local
99 names->FindLocaleName(preferedLocale, &nameIndex, &nameExists); in sk_get_locale_string()
101 nameIndex = 0; in sk_get_locale_string()
106 HRVM(names->GetStringLength(nameIndex, &nameLen), "Could not get name length."); in sk_get_locale_string()
109 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/
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);
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);
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 …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUPropertyAliases.java175 private String getName(int nameGroupsIndex, int nameIndex) { in getName() argument
177 if(nameIndex<0 || numNames<=nameIndex) { in getName()
181 for(; nameIndex>0; --nameIndex) { in getName()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUPropertyAliases.java176 private String getName(int nameGroupsIndex, int nameIndex) { in getName() argument
178 if(nameIndex<0 || numNames<=nameIndex) { in getName()
182 for(; nameIndex>0; --nameIndex) { in getName()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/gxvalid/
Dgxvfeat.c144 FT_Short nameIndex; in gxv_feat_name_index_validate() local
150 nameIndex = FT_NEXT_SHORT ( p ); in gxv_feat_name_index_validate()
151 GXV_TRACE(( " (nameIndex = %d)\n", nameIndex )); in gxv_feat_name_index_validate()
153 gxv_sfntName_validate( (FT_UShort)nameIndex, in gxv_feat_name_index_validate()
Dgxvtrak.c102 FT_UShort nameIndex; in gxv_trak_trackTable_validate() local
118 nameIndex = FT_NEXT_USHORT( p ); in gxv_trak_trackTable_validate()
126 gxv_sfntName_validate( nameIndex, 256, 32767, gxvalid ); in gxv_trak_trackTable_validate()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePattern.java947 int nameIndex=index=skipWhiteSpace(index+argStartLength); in parseArg() local
954 int number=parseArgNumber(nameIndex, index); in parseArg()
956 int length=index-nameIndex; in parseArg()
959 "Argument number too large: "+prefix(nameIndex)); in parseArg()
962 addPart(Part.Type.ARG_NUMBER, nameIndex, length, number); in parseArg()
964 int length=index-nameIndex; in parseArg()
967 "Argument name too long: "+prefix(nameIndex)); in parseArg()
970 addPart(Part.Type.ARG_NAME, nameIndex, length, 0); in parseArg()
972 throw new IllegalArgumentException("Bad argument syntax: "+prefix(nameIndex)); in parseArg()
983 throw new IllegalArgumentException("Bad argument syntax: "+prefix(nameIndex)); in parseArg()
[all …]
/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.java1018 int nameIndex=index=skipWhiteSpace(index+argStartLength); in parseArg() local
1025 int number=parseArgNumber(nameIndex, index); in parseArg()
1027 int length=index-nameIndex; in parseArg()
1030 "Argument number too large: "+prefix(nameIndex)); in parseArg()
1033 addPart(Part.Type.ARG_NUMBER, nameIndex, length, number); in parseArg()
1035 int length=index-nameIndex; in parseArg()
1038 "Argument name too long: "+prefix(nameIndex)); in parseArg()
1041 addPart(Part.Type.ARG_NAME, nameIndex, length, 0); in parseArg()
1043 throw new IllegalArgumentException("Bad argument syntax: "+prefix(nameIndex)); in parseArg()
1054 throw new IllegalArgumentException("Bad argument syntax: "+prefix(nameIndex)); in parseArg()
[all …]
/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.java81 int nameIndex = index * 2; in name() local
82 if (nameIndex < 0 || nameIndex >= namesAndValues.length) { in name()
85 return namesAndValues[nameIndex]; in name()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterAlias.java274 int nameIndex = 0; in io_stripASCIIForCompare() local
279 while (nameIndex < name.length()) { in io_stripASCIIForCompare()
280 c1 = name.charAt(nameIndex++); in io_stripASCIIForCompare()
287 if (!afterDigit && nameIndex < name.length()) { in io_stripASCIIForCompare()
288 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()

12