/art/libdexfile/dex/ |
D | utf-inl.h | 102 auto is_lead = [](uint16_t ch) ALWAYS_INLINE { return (ch & 0xfc00u) == 0xd800u; }; in ConvertUtf16ToUtf8() 103 auto is_trail = [](uint16_t ch) ALWAYS_INLINE { return (ch & 0xfc00u) == 0xdc00u; }; in ConvertUtf16ToUtf8() 104 auto is_surrogate = [](uint16_t ch) ALWAYS_INLINE { return (ch & 0xf800u) == 0xd800u; }; in ConvertUtf16ToUtf8() 105 auto is_surrogate_lead = [](uint16_t ch) ALWAYS_INLINE { return (ch & 0x0400u) == 0u; }; in ConvertUtf16ToUtf8() 114 uint16_t ch = utf16[i]; in ConvertUtf16ToUtf8() local 115 if (ch < 0x80u && (kUseShortZero || ch != 0u)) { in ConvertUtf16ToUtf8() 117 append(ch); in ConvertUtf16ToUtf8() 118 } else if (ch < 0x800u) { in ConvertUtf16ToUtf8() 120 append((ch >> 6) | 0xc0); in ConvertUtf16ToUtf8() 121 append((ch & 0x3f) | 0x80); in ConvertUtf16ToUtf8() [all …]
|
D | utf.cc | 84 const uint32_t ch = GetUtf16FromUtf8(&utf8_data_in); in ConvertModifiedUtf8ToUtf16() local 85 const uint16_t leading = GetLeadingUtf16Char(ch); in ConvertModifiedUtf8ToUtf16() 86 const uint16_t trailing = GetTrailingUtf16Char(ch); in ConvertModifiedUtf8ToUtf16() 113 const uint32_t ch = GetUtf16FromUtf8(&p); in ConvertModifiedUtf8ToUtf16() local 114 const uint16_t leading = GetLeadingUtf16Char(ch); in ConvertModifiedUtf8ToUtf16() 115 const uint16_t trailing = GetTrailingUtf16Char(ch); in ConvertModifiedUtf8ToUtf16() 219 static inline constexpr bool NeedsEscaping(uint16_t ch) { in NeedsEscaping() argument 220 return (ch < ' ' || ch > '~'); in NeedsEscaping() 223 std::string PrintableChar(uint16_t ch) { in PrintableChar() argument 226 if (NeedsEscaping(ch)) { in PrintableChar() [all …]
|
D | utf_test.cc | 235 const uint16_t ch = *chars++; in CountModifiedUtf8BytesInUtf16_reference() local 236 if (ch > 0 && ch <= 0x7f) { in CountModifiedUtf8BytesInUtf16_reference() 238 } else if (ch >= 0xd800 && ch <= 0xdbff) { in CountModifiedUtf8BytesInUtf16_reference() 257 } else if (ch > 0x7ff) { in CountModifiedUtf8BytesInUtf16_reference() 269 const uint16_t ch = *utf16_in++; in ConvertUtf16ToModifiedUtf8_reference() local 270 if (ch > 0 && ch <= 0x7f) { in ConvertUtf16ToModifiedUtf8_reference() 271 *utf8_out++ = ch; in ConvertUtf16ToModifiedUtf8_reference() 277 if ((ch >= 0xd800 && ch <= 0xdbff) && (char_count > 0)) { in ConvertUtf16ToModifiedUtf8_reference() 286 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; in ConvertUtf16ToModifiedUtf8_reference() 295 if (ch > 0x07ff) { in ConvertUtf16ToModifiedUtf8_reference() [all …]
|
D | descriptors_names.cc | 176 uint32_t ch = GetUtf16FromUtf8(&cp); in MangleForJni() local 177 if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || (ch >= '0' && ch <= '9')) { in MangleForJni() 178 result.push_back(ch); in MangleForJni() 179 } else if (ch == '.' || ch == '/') { in MangleForJni() 181 } else if (ch == '_') { in MangleForJni() 183 } else if (ch == ';') { in MangleForJni() 185 } else if (ch == '[') { in MangleForJni() 188 const uint16_t leading = GetLeadingUtf16Char(ch); in MangleForJni() 189 const uint32_t trailing = GetTrailingUtf16Char(ch); in MangleForJni()
|
D | utf.h | 172 std::string PrintableChar(uint16_t ch);
|
/art/test/ti-agent/ |
D | ti_utf.h | 114 auto is_lead = [](uint16_t ch) ALWAYS_INLINE { return (ch & 0xfc00u) == 0xd800u; }; in ConvertUtf16ToUtf8() 115 auto is_trail = [](uint16_t ch) ALWAYS_INLINE { return (ch & 0xfc00u) == 0xdc00u; }; in ConvertUtf16ToUtf8() 116 auto is_surrogate = [](uint16_t ch) ALWAYS_INLINE { return (ch & 0xf800u) == 0xd800u; }; in ConvertUtf16ToUtf8() 117 auto is_surrogate_lead = [](uint16_t ch) ALWAYS_INLINE { return (ch & 0x0400u) == 0u; }; in ConvertUtf16ToUtf8() 126 uint16_t ch = utf16[i]; in ConvertUtf16ToUtf8() local 127 if (ch < 0x80u && (kUseShortZero || ch != 0u)) { in ConvertUtf16ToUtf8() 129 append(ch); in ConvertUtf16ToUtf8() 130 } else if (ch < 0x800u) { in ConvertUtf16ToUtf8() 132 append((ch >> 6) | 0xc0); in ConvertUtf16ToUtf8() 133 append((ch & 0x3f) | 0x80); in ConvertUtf16ToUtf8() [all …]
|
D | jni_binder.cc | 38 uint32_t ch = ti::GetUtf16FromUtf8(&cp); in MangleForJni() local 39 if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || (ch >= '0' && ch <= '9')) { in MangleForJni() 40 result.push_back(ch); in MangleForJni() 41 } else if (ch == '.' || ch == '/') { in MangleForJni() 43 } else if (ch == '_') { in MangleForJni() 45 } else if (ch == ';') { in MangleForJni() 47 } else if (ch == '[') { in MangleForJni() 50 const uint16_t leading = ti::GetLeadingUtf16Char(ch); in MangleForJni() 51 const uint32_t trailing = ti::GetTrailingUtf16Char(ch); in MangleForJni()
|
/art/runtime/oat/ |
D | jni_stub_hash_map.cc | 27 static char TranslateArgToJniShorty(char ch) { in TranslateArgToJniShorty() argument 32 DCHECK_GE(ch, 'A'); in TranslateArgToJniShorty() 33 DCHECK_LE(ch, 'Z'); in TranslateArgToJniShorty() 34 DCHECK_NE(kTranslations[ch - 'A'], '.'); in TranslateArgToJniShorty() 35 return kTranslations[ch - 'A']; in TranslateArgToJniShorty() 38 static char TranslateReturnTypeToJniShorty(char ch, InstructionSet isa = InstructionSet::kNone) { in TranslateReturnTypeToJniShorty() argument 50 DCHECK_GE(ch, 'A'); in TranslateReturnTypeToJniShorty() 51 DCHECK_LE(ch, 'Z'); in TranslateReturnTypeToJniShorty() 54 DCHECK_NE(kArm64Translations[ch - 'A'], '.'); in TranslateReturnTypeToJniShorty() 55 return kArm64Translations[ch - 'A']; in TranslateReturnTypeToJniShorty() [all …]
|
/art/test/530-regression-lse/src/ |
D | Main.java | 42 FileChannel ch = raf.getChannel(); in allocateMapped() local 43 MappedByteBuffer result = ch.map(FileChannel.MapMode.READ_WRITE, 0, size); in allocateMapped() 44 ch.close(); in allocateMapped()
|
/art/compiler/jni/quick/ |
D | calling_convention.h | 91 char ch = shorty[i]; in CallingConvention() local 92 switch (ch) { in CallingConvention() 123 char ch = shorty_[param]; in IsParamALongOrDouble() local 124 return (ch == 'J' || ch == 'D'); in IsParamALongOrDouble() 133 char ch = shorty_[param]; in IsParamAFloatOrDouble() local 134 return (ch == 'F' || ch == 'D'); in IsParamAFloatOrDouble()
|
/art/runtime/mirror/ |
D | string-inl.h | 59 int32_t String::FastIndexOf(MemoryType* chars, int32_t ch, int32_t start) { in FastIndexOf() argument 63 if (*p++ == ch) { in FastIndexOf() 71 int32_t String::LastIndexOf(MemoryType* chars, int32_t ch, int32_t from_index) { in LastIndexOf() argument 76 if (*p == ch) { in LastIndexOf()
|
D | string.cc | 38 int32_t String::FastIndexOf(int32_t ch, int32_t start) { in FastIndexOf() argument 46 return FastIndexOf<uint8_t>(GetValueCompressed(), ch, start); in FastIndexOf() 48 return FastIndexOf<uint16_t>(GetValue(), ch, start); in FastIndexOf() 52 int32_t String::LastIndexOf(int32_t ch) { in LastIndexOf() argument 58 return LastIndexOf<uint8_t>(GetValueCompressed(), ch, count - 1); in LastIndexOf() 60 return LastIndexOf<uint16_t>(GetValue(), ch, count - 1); in LastIndexOf() 300 const uint32_t ch = GetUtf16FromUtf8(&modified_utf8); in Equals() local 301 if (ch == '\0') { in Equals() 305 if (GetLeadingUtf16Char(ch) != value[i++]) { in Equals() 309 const uint16_t trailing = GetTrailingUtf16Char(ch); in Equals()
|
D | string.h | 213 int32_t FastIndexOf(int32_t ch, int32_t start) REQUIRES_SHARED(Locks::mutator_lock_); 216 int32_t FastIndexOf(MemoryType* chars, int32_t ch, int32_t start) 219 int32_t LastIndexOf(int32_t ch) REQUIRES_SHARED(Locks::mutator_lock_); 222 int32_t LastIndexOf(MemoryType* chars, int32_t ch, int32_t from_index)
|
D | object_test.cc | 64 uint16_t ch = (((utf16_expected_le[i*2 + 0] & 0xff) << 8) | in AssertString() local 66 utf16_expected[i] = ch; in AssertString()
|
/art/libartservice/service/java/com/android/server/art/ |
D | IndentingPrintWriter.java | 101 char ch = buf[lineEnd++]; in write() local 103 if (ch == '\n') { in write()
|
/art/runtime/native/ |
D | libcore_util_CharsetUtils.cc | 48 jchar ch = static_cast<jchar>(*src++ & 0xff); in CharsetUtils_asciiBytesToChars() local 49 *dst++ = (ch <= 0x7f) ? ch : REPLACEMENT_CHAR; in CharsetUtils_asciiBytesToChars()
|
/art/build/boot/ |
D | preloaded-classes | 2735 sun.nio.ch.AbstractPollArrayWrapper 2736 sun.nio.ch.AbstractPollSelectorImpl 2737 sun.nio.ch.AllocatedNativeObject 2738 sun.nio.ch.AsynchronousFileChannelImpl 2739 sun.nio.ch.ChannelInputStream 2740 sun.nio.ch.DatagramChannelImpl 2741 sun.nio.ch.DatagramDispatcher 2742 sun.nio.ch.DefaultSelectorProvider 2743 sun.nio.ch.DirectBuffer 2744 sun.nio.ch.FileChannelImpl$SimpleFileLockTable [all …]
|
D | boot-image-profile.txt | 2537 HSPLjava/lang/Thread;->blockedOn(Lsun/nio/ch/Interruptible;)V 3820 HSPLjava/nio/channels/spi/AbstractInterruptibleChannel;->blockedOn(Lsun/nio/ch/Interruptible;)V 9082 HSPLsun/nio/ch/AbstractPollArrayWrapper;-><init>()V 9083 HSPLsun/nio/ch/AbstractPollArrayWrapper;->getReventOps(I)I 9084 HSPLsun/nio/ch/AbstractPollArrayWrapper;->putDescriptor(II)V 9085 HSPLsun/nio/ch/AbstractPollArrayWrapper;->putEventOps(II)V 9086 HSPLsun/nio/ch/AbstractPollArrayWrapper;->putReventOps(II)V 9087 HSPLsun/nio/ch/AbstractPollSelectorImpl;-><init>(Ljava/nio/channels/spi/SelectorProvider;II)V 9088 HSPLsun/nio/ch/AbstractPollSelectorImpl;->implClose()V 9089 HSPLsun/nio/ch/AbstractPollSelectorImpl;->implRegister(Lsun/nio/ch/SelectionKeyImpl;)V [all …]
|
/art/test/458-checker-instruct-simplification/src/ |
D | Main.java | 2661 public static int $noinline$emptyStringIndexOf(int ch) { in $noinline$emptyStringIndexOf() argument 2662 return "".indexOf(ch); in $noinline$emptyStringIndexOf() 2678 public static int $noinline$emptyStringIndexOfAfter(int ch, int fromIndex) { in $noinline$emptyStringIndexOfAfter() argument 2679 return "".indexOf(ch, fromIndex); in $noinline$emptyStringIndexOfAfter() 2699 public static int $noinline$singleCharStringIndexOf(int ch) { in $noinline$singleCharStringIndexOf() argument 2700 return "x".indexOf(ch); in $noinline$singleCharStringIndexOf() 2716 public static int $noinline$singleCharStringIndexOfAfter(int ch, int fromIndex) { in $noinline$singleCharStringIndexOfAfter() argument 2717 return "x".indexOf(ch, fromIndex); // Not simplified. in $noinline$singleCharStringIndexOfAfter()
|
/art/cmdline/ |
D | token_range.h | 214 auto it = std::remove_if(token.begin(), token.end(), [&](char ch) { in RemoveCharacter() 215 if (ch == c) { in RemoveCharacter()
|
/art/test/021-string2/src/ |
D | Main.java | 897 public static int $noinline$indexOf(String lhs, int ch) { in $noinline$indexOf() argument 898 return lhs.indexOf(ch); in $noinline$indexOf() 901 public static int $noinline$indexOf(String lhs, int ch, int fromIndex) { in $noinline$indexOf() argument 902 return lhs.indexOf(ch, fromIndex); in $noinline$indexOf()
|
/art/runtime/ |
D | class_linker_test.cc | 928 for (int ch = 1; ch < 256; ++ch) { in TEST_F() local 930 descriptor.push_back(ch); in TEST_F() 931 if (expected.find(ch) == std::string::npos) { in TEST_F()
|
/art/dexdump/ |
D | dexdump.cc | 162 const char ch = str[offset + i]; in descriptorToDot() local 163 newStr[i] = (ch == '/') ? '.' : ch; in descriptorToDot()
|
/art/build/boot/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 3300 Ljava/lang/Thread;->blockedOn(Lsun/nio/ch/Interruptible;)V 3301 Ljava/lang/Thread;->blocker:Lsun/nio/ch/Interruptible; 4071 Ljava/nio/channels/spi/AbstractInterruptibleChannel;->blockedOn(Lsun/nio/ch/Interruptible;)V 4074 Ljava/nio/channels/spi/AbstractInterruptibleChannel;->interruptor:Lsun/nio/ch/Interruptible; 4090 Ljava/nio/channels/spi/AbstractSelector;->interruptor:Lsun/nio/ch/Interruptible; 11689 Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar;->ch:C
|