Home
last modified time | relevance | path

Searched refs:stringIndex (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4c/source/common/
Dulistformatter.cpp67 for (int32_t stringIndex = 0; stringIndex < stringCount; stringIndex++) { in ulistfmt_format() local
68 ustrings[stringIndex].setTo(TRUE, strings[stringIndex], -1); in ulistfmt_format()
71 for (int32_t stringIndex = 0; stringIndex < stringCount; stringIndex++) { in ulistfmt_format() local
72 …ustrings[stringIndex].setTo(stringLengths[stringIndex] < 0, strings[stringIndex], stringLengths[st… in ulistfmt_format()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DStringIdItem.java72 … public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex) {
73 return getReferenceAnnotation(dexFile, stringIndex, false);
77 …public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex, bo…
79 String string = dexFile.getString(stringIndex);
83 return String.format("string_id_item[%d]: %s", stringIndex, string);
87 return String.format("string_id_item[%d]", stringIndex);
92 … static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex) {
93 return getOptionalReferenceAnnotation(dexFile, stringIndex, false);
97 …ic static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex,
99 if (stringIndex == -1) {
[all …]
DTypeIdItem.java53 int stringIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator() local
54 out.annotate(4, StringIdItem.getReferenceAnnotation(dexFile, stringIndex)); in makeAnnotator()
DEncodedValue.java85 int stringIndex = reader.readSizedSmallUint(valueArg + 1); in annotateEncodedValue() local
87 StringIdItem.getReferenceAnnotation(reader.dexBuf, stringIndex, true)); in annotateEncodedValue()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java170 public int getStringIdItemOffset(int stringIndex) {
171 if (stringIndex < 0 || stringIndex >= stringCount) {
172 throw new InvalidItemIndex(stringIndex, "String index out of bounds: %d", stringIndex);
174 return stringStartOffset + stringIndex*StringIdItem.ITEM_SIZE;
237 public String getString(int stringIndex) {
238 int stringOffset = getStringIdItemOffset(stringIndex);
246 public String getOptionalString(int stringIndex) {
247 if (stringIndex == -1) {
250 return getString(stringIndex);
256 int stringIndex = readSmallUint(typeOffset);
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DDexBackedStringReference.java41 public final int stringIndex; field in DexBackedStringReference
44 int stringIndex) { in DexBackedStringReference() argument
46 this.stringIndex = stringIndex; in DexBackedStringReference()
51 return dexFile.getString(stringIndex); in getString()
/external/proguard/src/proguard/classfile/constant/
DUtf8Constant.java192 for (int stringIndex = 0; stringIndex < stringLength; stringIndex++) in getByteArrayRepresentation()
194 char c = string.charAt(stringIndex); in getByteArrayRepresentation()
208 for (int stringIndex = 0; stringIndex < stringLength; stringIndex++) in getByteArrayRepresentation()
210 char c = string.charAt(stringIndex); in getByteArrayRepresentation()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DDexBackedStringEncodedValue.java42 private final int stringIndex; field in DexBackedStringEncodedValue
46 stringIndex = reader.readSizedSmallUint(valueArg + 1); in DexBackedStringEncodedValue()
50 return dexFile.getString(stringIndex); in getValue()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestReorderingMode.java613 private boolean checkMaps(Bidi bidi, int stringIndex, String src, String dest, in checkMaps() argument
624 expectedLogicalMap = forwardMap[stringIndex]; in checkMaps()
625 expectedVisualMap = inverseMap[stringIndex]; in checkMaps()
627 expectedLogicalMap = inverseMap[stringIndex]; in checkMaps()
628 expectedVisualMap = forwardMap[stringIndex]; in checkMaps()
634 "string index " + stringIndex + "\n" + in checkMaps()
650 "string index " + stringIndex + "\n" + in checkMaps()
669 "string index " + stringIndex + "\n" + in checkMaps()
688 "string index " + stringIndex + "\n" + in checkMaps()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestReorderingMode.java617 private boolean checkMaps(Bidi bidi, int stringIndex, String src, String dest, in checkMaps() argument
628 expectedLogicalMap = forwardMap[stringIndex]; in checkMaps()
629 expectedVisualMap = inverseMap[stringIndex]; in checkMaps()
631 expectedLogicalMap = inverseMap[stringIndex]; in checkMaps()
632 expectedVisualMap = forwardMap[stringIndex]; in checkMaps()
638 "string index " + stringIndex + "\n" + in checkMaps()
654 "string index " + stringIndex + "\n" + in checkMaps()
673 "string index " + stringIndex + "\n" + in checkMaps()
692 "string index " + stringIndex + "\n" + in checkMaps()
/external/v8/src/js/
Dregexp.js505 var stringIndex = prevStringIndex;
506 while (stringIndex < size) {
507 splitter.lastIndex = stringIndex;
512 stringIndex += AdvanceStringIndex(string, stringIndex, unicode);
516 stringIndex += AdvanceStringIndex(string, stringIndex, unicode);
520 %_SubString(string, prevStringIndex, stringIndex));
530 stringIndex = prevStringIndex;
/external/icu/icu4c/source/common/unicode/
Dures.h689 int32_t stringIndex,
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c107 static UBool checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src,
4637 checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src, const char *dest, in checkMaps() argument
4649 expectedLogicalMap = forwardMap[stringIndex]; in checkMaps()
4650 expectedVisualMap = inverseMap[stringIndex]; in checkMaps()
4653 expectedLogicalMap = inverseMap[stringIndex]; in checkMaps()
4654 expectedVisualMap = forwardMap[stringIndex]; in checkMaps()
4675 stringIndex, src, dest, columns, in checkMaps()
4702 stringIndex, src, dest, columns, in checkMaps()
4731 stringIndex, src, dest, columns, in checkMaps()
4760 stringIndex, src, dest, columns, in checkMaps()
/external/clang/lib/AST/
DItaniumMangle.cpp704 for (unsigned stringIndex = 0; stringIndex != numCharacters; ++stringIndex) { in mangleFloat() local
706 unsigned digitBitIndex = 4 * (numCharacters - stringIndex - 1); in mangleFloat()
719 buffer[stringIndex] = charForHex[hexDigit]; in mangleFloat()