Home
last modified time | relevance | path

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

/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.java162 int stringIndex = reader.readSizedSmallUint(valueArg + 1); in asString() local
163 return StringIdItem.getReferenceAnnotation(reader.dexBuf, stringIndex, true); in asString()
/external/icu/icu4c/source/i18n/
Dulistformatter.cpp90 for (int32_t stringIndex = 0; stringIndex < stringCount; stringIndex++) { in getUnicodeStrings() local
91 ustrings[stringIndex].setTo(TRUE, strings[stringIndex], -1); in getUnicodeStrings()
94 for (int32_t stringIndex = 0; stringIndex < stringCount; stringIndex++) { in getUnicodeStrings() local
95 …ustrings[stringIndex].setTo(stringLengths[stringIndex] < 0, strings[stringIndex], stringLengths[st… in getUnicodeStrings()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DDexBackedStringReference.java43 public final int stringIndex; field in DexBackedStringReference
46 int stringIndex) { in DexBackedStringReference() argument
48 this.stringIndex = stringIndex; in DexBackedStringReference()
53 return dexFile.getString(stringIndex); in getString()
67 int stringOffset = dexFile.getStringIdItemOffset(stringIndex); in getSize()
/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/
DDexBackedDexFile.java157 public int getStringIdItemOffset(int stringIndex) {
158 if (stringIndex < 0 || stringIndex >= stringCount) {
159 throw new InvalidItemIndex(stringIndex, "String index out of bounds: %d", stringIndex);
161 return stringStartOffset + stringIndex*StringIdItem.ITEM_SIZE;
256 public String getString(int stringIndex) {
257 int stringOffset = getStringIdItemOffset(stringIndex);
265 public String getOptionalString(int stringIndex) {
266 if (stringIndex == -1) {
269 return getString(stringIndex);
275 int stringIndex = readSmallUint(typeOffset);
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestReorderingMode.java618 private boolean checkMaps(Bidi bidi, int stringIndex, String src, String dest, in checkMaps() argument
629 expectedLogicalMap = forwardMap[stringIndex]; in checkMaps()
630 expectedVisualMap = inverseMap[stringIndex]; in checkMaps()
632 expectedLogicalMap = inverseMap[stringIndex]; in checkMaps()
633 expectedVisualMap = forwardMap[stringIndex]; in checkMaps()
639 "string index " + stringIndex + "\n" + in checkMaps()
655 "string index " + stringIndex + "\n" + in checkMaps()
674 "string index " + stringIndex + "\n" + in checkMaps()
693 "string index " + stringIndex + "\n" + in checkMaps()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestReorderingMode.java621 private boolean checkMaps(Bidi bidi, int stringIndex, String src, String dest, in checkMaps() argument
632 expectedLogicalMap = forwardMap[stringIndex]; in checkMaps()
633 expectedVisualMap = inverseMap[stringIndex]; in checkMaps()
635 expectedLogicalMap = inverseMap[stringIndex]; in checkMaps()
636 expectedVisualMap = forwardMap[stringIndex]; in checkMaps()
642 "string index " + stringIndex + "\n" + in checkMaps()
658 "string index " + stringIndex + "\n" + in checkMaps()
677 "string index " + stringIndex + "\n" + in checkMaps()
696 "string index " + stringIndex + "\n" + in checkMaps()
/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/starlark-go/starlark/
Dprofile.go236 stringIndex := make(map[string]int64)
238 i, ok := stringIndex[s]
240 i = int64(len(stringIndex))
242 stringIndex[s] = i
/external/harfbuzz_ng/src/
Dhb-ot-cff1-table.hh1079 stringIndex = &StructAtOffset<CFF1StringIndex> (topDictIndex, topDictIndex->get_size ()); in init()
1080 if ((stringIndex == &Null (CFF1StringIndex)) || !stringIndex->sanitize (&sc)) in init()
1083 globalSubrs = &StructAtOffset<CFF1Subrs> (stringIndex, stringIndex->get_size ()); in init()
1183 const CFF1StringIndex *stringIndex; member
Dhb-subset-cff1.cc696 …offsets.stringIndexInfo.size = acc.stringIndex->calculate_serialized_size (offsets.stringIndexInfo… in create()
937 …if (unlikely (!dest->serialize (&c, *acc.stringIndex, plan.offsets.stringIndexInfo.offSize, plan.s… in _write_cff1()
/external/skqp/docs/
Dillustrations.bmh518 int stringIndex = 0;
523 x += stringIndex * 12 + (stringIndex ? 8 : 0);
525 …SkTextUtils::DrawString(canvas, nums[stringIndex], x, yPos - 5, font, p, SkTextUtils::kCenter_Alig…
527 …SkTextUtils::DrawString(canvas, nums[stringIndex], xPos + 100, yPos - 5, font, p, SkTextUtils::kCe…
529 ++stringIndex;
/external/icu/icu4c/source/common/unicode/
Dures.h698 int32_t stringIndex,
/external/icu/libicu/cts_headers/unicode/
Dures.h698 int32_t stringIndex,
/external/icu/libandroidicu/include/unicode/
Dures.h698 int32_t stringIndex,
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c110 static UBool checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src,
4645 checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src, const char *dest, in checkMaps() argument
4657 expectedLogicalMap = forwardMap[stringIndex]; in checkMaps()
4658 expectedVisualMap = inverseMap[stringIndex]; in checkMaps()
4661 expectedLogicalMap = inverseMap[stringIndex]; in checkMaps()
4662 expectedVisualMap = forwardMap[stringIndex]; in checkMaps()
4683 stringIndex, src, dest, columns, in checkMaps()
4710 stringIndex, src, dest, columns, in checkMaps()
4739 stringIndex, src, dest, columns, in checkMaps()
4768 stringIndex, src, dest, columns, in checkMaps()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java1179 int stringIndex = -1; in getArrayStringInfo() local
1186 stringIndex = value.get().data; in getArrayStringInfo()
1201 array[j+1] = stringIndex; in getArrayStringInfo()
/external/catch2/third_party/
Dclara.hpp90 iterator( Column const& column, size_t stringIndex ) in iterator() argument
92 m_stringIndex( stringIndex ) in iterator()
/external/catch2/include/external/
Dclara.hpp92 iterator(Column const& column, size_t stringIndex) in iterator() argument
94 m_stringIndex(stringIndex) {} in iterator()
/external/clang/lib/AST/
DItaniumMangle.cpp967 for (unsigned stringIndex = 0; stringIndex != numCharacters; ++stringIndex) { in mangleFloat() local
969 unsigned digitBitIndex = 4 * (numCharacters - stringIndex - 1); in mangleFloat()
982 buffer[stringIndex] = charForHex[hexDigit]; in mangleFloat()
/external/llvm-project/clang/lib/AST/
DItaniumMangle.cpp1017 for (unsigned stringIndex = 0; stringIndex != numCharacters; ++stringIndex) { in mangleFloat() local
1019 unsigned digitBitIndex = 4 * (numCharacters - stringIndex - 1); in mangleFloat()
1031 buffer[stringIndex] = charForHex[hexDigit]; in mangleFloat()
/external/catch2/single_include/catch2/
Dcatch.hpp8468 iterator(Column const& column, size_t stringIndex) in iterator() argument
8470 m_stringIndex(stringIndex) {} in iterator()
/external/libabigail/tests/lib/
Dcatch.hpp8523 iterator(Column const& column, size_t stringIndex) in iterator() argument
8525 m_stringIndex(stringIndex) {} in iterator()