Searched defs:ch (Results 1 - 11 of 11) sorted by relevance

/art/runtime/native/
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);
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...]
/art/compiler/jni/quick/
H A Dcalling_convention.h87 char ch = shorty_[i]; local
88 switch (ch) {
119 char ch = shorty_[param]; local
120 return (ch == 'J' || ch == 'D');
129 char ch = shorty_[param]; local
130 return (ch == 'F' || ch == 'D');
/art/runtime/
H A Dutf.cc80 const uint32_t ch = GetUtf16FromUtf8(&utf8_data_in); local
81 const uint16_t leading = GetLeadingUtf16Char(ch);
82 const uint16_t trailing = GetTrailingUtf16Char(ch);
109 const uint32_t ch = GetUtf16FromUtf8(&p); local
110 const uint16_t leading = GetLeadingUtf16Char(ch);
111 const uint16_t trailing = GetTrailingUtf16Char(ch);
133 const uint16_t ch = *utf16_in++; local
134 if (ch > 0 && ch <= 0x7f) {
135 *utf8_out++ = ch;
246 const uint16_t ch = *chars++; local
[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 Dutils.h98 static inline bool NeedsEscaping(uint16_t ch) { argument
99 return (ch < ' ' || ch > '~');
119 std::string PrintableChar(uint16_t ch);
H A Dart_method.cc97 char ch = shorty[i]; local
98 if (ch == 'D' || ch == 'J') {
H A Dutils.cc261 char ch = *p++; local
262 if (ch == '/') {
263 ch = '.';
265 result.push_back(ch);
491 std::string PrintableChar(uint16_t ch) { argument
494 if (NeedsEscaping(ch)) {
495 StringAppendF(&result, "\\u%04x", ch);
497 result += ch;
509 uint32_t ch = GetUtf16FromUtf8(&p); local
510 if (ch
544 uint32_t ch = GetUtf16FromUtf8(&cp); local
[all...]
/art/runtime/mirror/
H A Dobject_test.cc54 uint16_t ch = (((utf16_expected_le[i*2 + 0] & 0xff) << 8) | local
56 utf16_expected[i] = ch;
H A Dstring.cc37 int32_t String::FastIndexOf(int32_t ch, int32_t start) { argument
48 if (*p++ == ch) {
173 const uint32_t ch = GetUtf16FromUtf8(&modified_utf8); local
174 if (ch == '\0') {
178 if (GetLeadingUtf16Char(ch) != CharAt(i++)) {
182 const uint16_t trailing = GetTrailingUtf16Char(ch);
200 uint32_t ch = GetUtf16FromUtf8(&p); local
202 if (GetLeadingUtf16Char(ch) != CharAt(i)) {
206 const uint16_t trailing = GetTrailingUtf16Char(ch);
/art/dexdump/
H A Ddexdump.cc150 const char ch = str[offset + i]; local
151 newStr[i] = (ch == '/' || ch == '$') ? '.' : ch;

Completed in 173 milliseconds