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

/art/runtime/
H A Dutf.cc57 const uint32_t ch = GetUtf16FromUtf8(&utf8_data_in); local
58 const uint16_t leading = GetLeadingUtf16Char(ch);
59 const uint16_t trailing = GetTrailingUtf16Char(ch);
70 const uint16_t ch = *utf16_in++; local
71 if (ch > 0 && ch <= 0x7f) {
72 *utf8_out++ = ch;
78 if ((ch >= 0xd800 && ch <= 0xdbff) && (char_count > 0)) {
87 const uint32_t code_point = (ch << 1
165 const uint16_t ch = *chars++; local
[all...]
H A Dutils.cc257 char ch = *p++; local
258 if (ch == '/') {
259 ch = '.';
261 result.push_back(ch);
487 std::string PrintableChar(uint16_t ch) { argument
490 if (NeedsEscaping(ch)) {
491 StringAppendF(&result, "\\u%04x", ch);
493 result += ch;
505 uint32_t ch = GetUtf16FromUtf8(&p); local
506 if (ch
540 uint32_t ch = GetUtf16FromUtf8(&cp); local
[all...]
H A Dutils.h92 static inline bool NeedsEscaping(uint16_t ch) { argument
93 return (ch < ' ' || ch > '~');
96 std::string PrintableChar(uint16_t ch);
H A Dart_method.cc85 char ch = shorty[i]; local
86 if (ch == 'D' || ch == 'J') {
H A Dclass_linker_test.cc684 for (int ch = 1; ch < 256; ++ch) {
686 descriptor.push_back(ch);
687 if (expected.find(ch) == std::string::npos) {
/art/runtime/native/
H A Dlibcore_util_CharsetUtils.cc125 jchar ch = static_cast<jchar>(*src++ & 0xff); local
126 *dst++ = (ch <= 0x7f) ? ch : REPLACEMENT_CHAR;
171 jchar ch = *src++; local
172 if (ch > maxValidChar) {
173 ch = '?';
175 *dst++ = static_cast<jbyte>(ch);
207 jint ch = string->CharAt(i); local
208 if (ch < 0x80) {
210 if (!out.append(ch)) {
[all...]
H A Djava_lang_String.cc66 static jint String_fastIndexOf(JNIEnv* env, jobject java_this, jint ch, jint start) { argument
69 DCHECK_LE(ch, 0xffff);
70 return soa.Decode<mirror::String*>(java_this)->FastIndexOf(ch, start);
/art/runtime/mirror/
H A Dstring.cc37 int32_t String::FastIndexOf(int32_t ch, int32_t start) { argument
48 if (*p++ == ch) {
167 const uint32_t ch = GetUtf16FromUtf8(&modified_utf8); local
168 if (ch == '\0') {
172 if (GetLeadingUtf16Char(ch) != CharAt(i++)) {
176 const uint16_t trailing = GetTrailingUtf16Char(ch);
194 uint32_t ch = GetUtf16FromUtf8(&p); local
196 if (GetLeadingUtf16Char(ch) != CharAt(i)) {
200 const uint16_t trailing = GetTrailingUtf16Char(ch);
H A Dstring.h145 int32_t FastIndexOf(int32_t ch, int32_t start) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
H A Dobject_test.cc54 uint16_t ch = (((utf16_expected_le[i*2 + 0] & 0xff) << 8) | local
56 utf16_expected[i] = ch;
/art/compiler/jni/quick/
H A Dcalling_convention.h85 char ch = shorty_[i]; local
86 switch (ch) {
117 char ch = shorty_[param]; local
118 return (ch == 'J' || ch == 'D');
127 char ch = shorty_[param]; local
128 return (ch == 'F' || ch == 'D');
/art/cmdline/
H A Dtoken_range.h212 auto it = std::remove_if(token.begin(), token.end(), [&](char ch) {
213 if (ch == c) {

Completed in 170 milliseconds