Searched refs:ch (Results 1 - 20 of 20) sorted by relevance

/art/libdexfile/dex/
H A Dutf.cc85 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 Ddescriptors_names.cc64 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 Dutf_test.cc233 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 Dutf.h127 std::string PrintableChar(uint16_t ch);
/art/test/ti-agent/
H A Dti_utf.h122 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 Djni_binder.cc38 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 Dlibcore_util_CharsetUtils.cc128 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 DMain.java42 FileChannel ch = raf.getChannel();
43 MappedByteBuffer result = ch.map(FileChannel.MapMode.READ_WRITE, 0, size);
44 ch.close();
/art/compiler/jni/quick/
H A Dcalling_convention.h89 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 Dstring.cc41 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 Dstring.h167 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 Dstring-inl.h186 int32_t String::FastIndexOf(MemoryType* chars, int32_t ch, int32_t start) { argument
190 if (*p++ == ch) {
H A Dobject_test.cc56 uint16_t ch = (((utf16_expected_le[i*2 + 0] & 0xff) << 8) | local
58 utf16_expected[i] = ch;
/art/cmdline/
H A Dtoken_range.h214 auto it = std::remove_if(token.begin(), token.end(), [&](char ch) {
215 if (ch == c) {
/art/runtime/interpreter/
H A Dinterpreter_intrinsics.cc231 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 DMain.java886 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 Ddexdump.cc158 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 Dart_method.cc186 char ch = shorty[i]; local
187 if (ch == 'D' || ch == 'J') {
H A Dclass_linker_test.cc892 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 Dquick_entrypoints_mips64.S2391 /* 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

Completed in 325 milliseconds