/art/libdexfile/dex/ |
H A D | utf.cc | 85 const uint32_t ch = GetUtf16FromUtf8(&utf8_data_in); local 86 const uint16_t leading = GetLeadingUtf16Char(ch); 87 const uint16_t trailing = GetTrailingUtf16Char(ch); 114 const uint32_t ch = GetUtf16FromUtf8(&p); local 115 const uint16_t leading = GetLeadingUtf16Char(ch); 116 const uint16_t trailing = GetTrailingUtf16Char(ch); 138 const uint16_t ch = *utf16_in++; local 139 if (ch > 0 && ch <= 0x7f) { 140 *utf8_out++ = ch; 243 const uint16_t ch = *chars++; local 270 NeedsEscaping(uint16_t ch) argument 274 PrintableChar(uint16_t ch) argument 292 uint32_t ch = GetUtf16FromUtf8(&p); local [all...] |
H A D | descriptors_names.cc | 64 char ch = *p++; local 65 if (ch == '/') { 66 ch = '.'; 68 result->push_back(ch); 104 uint32_t ch = GetUtf16FromUtf8(&cp); local 105 if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || (ch > [all...] |
H A D | utf_test.cc | 233 const uint16_t ch = *chars++; local 234 if (ch > 0 && ch <= 0x7f) { 236 } else if (ch >= 0xd800 && ch <= 0xdbff) { 255 } else if (ch > 0x7ff) { 267 const uint16_t ch = *utf16_in++; local 268 if (ch > 0 && ch <= 0x7f) { 269 *utf8_out++ = ch; [all...] |
H A D | utf.h | 127 std::string PrintableChar(uint16_t ch);
|
/art/test/ti-agent/ |
H A D | ti_utf.h | 122 const uint16_t ch = *utf16_in++; local 123 if (ch > 0 && ch <= 0x7f) { 124 *utf8_out++ = ch; 130 if ((ch >= 0xd800 && ch <= 0xdbff) && (char_count > 0)) { 139 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; 148 if (ch > 0x07ff) { 150 *utf8_out++ = (ch >> 12) | 0xe0; 151 *utf8_out++ = ((ch >> 166 const uint16_t ch = *chars++; local [all...] |
H A D | jni_binder.cc | 38 uint32_t ch = ti::GetUtf16FromUtf8(&cp); local 39 if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || (ch >= '0' && ch <= '9')) { 40 result.push_back(ch); 41 } else if (ch == '.' || ch [all...] |
/art/runtime/native/ |
H A D | libcore_util_CharsetUtils.cc | 128 jchar ch = static_cast<jchar>(*src++ & 0xff); local 129 *dst++ = (ch <= 0x7f) ? ch : REPLACEMENT_CHAR; 173 jchar ch = string->CharAt(offset + i); local 174 if (ch > maxValidChar) { 175 ch = '?'; 177 *dst++ = static_cast<jbyte>(ch); 209 jint ch = string->CharAt(i); local 210 if (ch < 0x80) { 212 if (!out.append(ch)) { [all...] |
/art/test/530-regression-lse/src/ |
H A D | Main.java | 42 FileChannel ch = raf.getChannel(); 43 MappedByteBuffer result = ch.map(FileChannel.MapMode.READ_WRITE, 0, size); 44 ch.close();
|
/art/compiler/jni/quick/ |
H A D | calling_convention.h | 89 char ch = shorty_[i]; local 90 switch (ch) { 121 char ch = shorty_[param]; local 122 return (ch == 'J' || ch == 'D'); 131 char ch = shorty_[param]; local 132 return (ch == 'F' || ch == 'D');
|
/art/runtime/mirror/ |
H A D | string.cc | 41 int32_t String::FastIndexOf(int32_t ch, int32_t start) { argument 49 return FastIndexOf<uint8_t>(GetValueCompressed(), ch, start); 51 return FastIndexOf<uint16_t>(GetValue(), ch, start); 270 const uint32_t ch = GetUtf16FromUtf8(&modified_utf8); local 271 if (ch == '\0') { 275 if (GetLeadingUtf16Char(ch) != CharAt(i++)) { 279 const uint16_t trailing = GetTrailingUtf16Char(ch); 297 uint32_t ch = GetUtf16FromUtf8(&p); local 299 if (GetLeadingUtf16Char(ch) != CharAt(i)) { 303 const uint16_t trailing = GetTrailingUtf16Char(ch); [all...] |
H A D | string.h | 167 int32_t FastIndexOf(int32_t ch, int32_t start) REQUIRES_SHARED(Locks::mutator_lock_); 170 int32_t FastIndexOf(MemoryType* chars, int32_t ch, int32_t start)
|
H A D | string-inl.h | 186 int32_t String::FastIndexOf(MemoryType* chars, int32_t ch, int32_t start) { argument 190 if (*p++ == ch) {
|
H A D | object_test.cc | 56 uint16_t ch = (((utf16_expected_le[i*2 + 0] & 0xff) << 8) | local 58 utf16_expected[i] = ch;
|
/art/cmdline/ |
H A D | token_range.h | 214 auto it = std::remove_if(token.begin(), token.end(), [&](char ch) { 215 if (ch == c) {
|
/art/runtime/interpreter/ |
H A D | interpreter_intrinsics.cc | 231 int ch = shadow_frame->GetVReg(arg[1]); \ 232 if (ch >= 0x10000) { \ 236 result_register->SetI(str->FastIndexOf(ch, starting_pos)); \
|
/art/test/021-string2/src/ |
H A D | Main.java | 886 public static int $noinline$indexOf(String lhs, int ch) { argument 887 return lhs.indexOf(ch); 890 public static int $noinline$indexOf(String lhs, int ch, int fromIndex) { argument 891 return lhs.indexOf(ch, fromIndex);
|
/art/dexdump/ |
H A D | dexdump.cc | 158 const char ch = str[offset + i]; local 159 newStr[i] = (ch == '/' || ch == '$') ? '.' : ch; 189 const char ch = lastSlash[i]; local 190 newStr[i] = ch == '$' ? '.' : ch;
|
/art/runtime/ |
H A D | art_method.cc | 186 char ch = shorty[i]; local 187 if (ch == 'D' || ch == 'J') {
|
H A D | class_linker_test.cc | 892 for (int ch = 1; ch < 256; ++ch) { 894 descriptor.push_back(ch); 895 if (expected.find(ch) == std::string::npos) {
|
/art/runtime/arch/mips64/ |
H A D | quick_entrypoints_mips64.S | 2391 /* java.lang.String.indexOf(int ch, int fromIndex=0) */ 2394 /* $a1 holds "ch" */ 2420 lhu $t3, MIRROR_STRING_VALUE_OFFSET($a0) # if this.charAt(i) == ch
|