Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 11 of 11) sorted by relevance

/art/runtime/
Dutf.cc55 uint16_t ch = *utf16_in++; in ConvertUtf16ToModifiedUtf8() local
56 if (ch > 0 && ch <= 0x7f) { in ConvertUtf16ToModifiedUtf8()
57 *utf8_out++ = ch; in ConvertUtf16ToModifiedUtf8()
59 if (ch > 0x07ff) { in ConvertUtf16ToModifiedUtf8()
60 *utf8_out++ = (ch >> 12) | 0xe0; in ConvertUtf16ToModifiedUtf8()
61 *utf8_out++ = ((ch >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
62 *utf8_out++ = (ch & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
64 *utf8_out++ = (ch >> 6) | 0xc0; in ConvertUtf16ToModifiedUtf8()
65 *utf8_out++ = (ch & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
116 uint16_t ch = *chars++; in CountUtf8Bytes() local
[all …]
Dutils.cc279 char ch = *p++; in PrettyDescriptor() local
280 if (ch == '/') { in PrettyDescriptor()
281 ch = '.'; in PrettyDescriptor()
283 result.push_back(ch); in PrettyDescriptor()
559 std::string PrintableChar(uint16_t ch) { in PrintableChar() argument
562 if (NeedsEscaping(ch)) { in PrintableChar()
563 StringAppendF(&result, "\\u%04x", ch); in PrintableChar()
565 result += ch; in PrintableChar()
577 uint16_t ch = GetUtf16FromUtf8(&p); in PrintableString() local
578 if (ch == '\\') { in PrintableString()
[all …]
Dcheck_jni.cc418 char ch = *fmt++; in Check() local
419 if (ch == 'B') { // jbyte in Check()
426 } else if (ch == 'C') { // jchar in Check()
433 } else if (ch == 'F' || ch == 'D') { // jfloat, jdouble in Check()
435 } else if (ch == 'I' || ch == 'S') { // jint, jshort in Check()
437 } else if (ch == 'J') { // jlong in Check()
439 } else if (ch == 'Z') { // jboolean in Check()
441 } else if (ch == 'V') { // void in Check()
443 } else if (ch == 'v') { // JavaVM* in Check()
446 } else if (ch == 'E') { // JNIEnv* in Check()
[all …]
Dutils.h286 static inline bool NeedsEscaping(uint16_t ch) {
287 return (ch < ' ' || ch > '~');
303 std::string PrintableChar(uint16_t ch);
Dclass_linker_test.cc644 for (int ch = 1; ch < 256; ++ch) { in TEST_F() local
646 descriptor.push_back(ch); in TEST_F()
647 if (expected.find(ch) == std::string::npos) { in TEST_F()
/art/compiler/jni/quick/
Dcalling_convention.h85 char ch = shorty_[i]; in CallingConvention() local
86 switch (ch) { in CallingConvention()
117 char ch = shorty_[param]; in IsParamALongOrDouble() local
118 return (ch == 'J' || ch == 'D'); in IsParamALongOrDouble()
127 char ch = shorty_[param]; in IsParamAFloatOrDouble() local
128 return (ch == 'F' || ch == 'D'); in IsParamAFloatOrDouble()
/art/runtime/mirror/
Dstring.cc36 int32_t String::FastIndexOf(int32_t ch, int32_t start) { in FastIndexOf() argument
47 if (*p++ == ch) { in FastIndexOf()
173 uint16_t ch = GetUtf16FromUtf8(&modified_utf8); in Equals() local
174 if (ch == '\0' || ch != CharAt(i)) { in Equals()
184 uint16_t ch = GetUtf16FromUtf8(&p); in Equals() local
185 if (ch != CharAt(i)) { in Equals()
Dart_method.cc94 char ch = shorty[i]; in NumArgRegisters() local
95 if (ch == 'D' || ch == 'J') { in NumArgRegisters()
Dstring.h110 int32_t FastIndexOf(int32_t ch, int32_t start) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
Dobject_test.cc55 uint16_t ch = (((utf16_expected_le[i*2 + 0] & 0xff) << 8) | in AssertString() local
57 utf16_expected[i] = ch; in AssertString()
/art/runtime/native/
Djava_lang_String.cc37 static jint String_fastIndexOf(JNIEnv* env, jobject java_this, jint ch, jint start) { in String_fastIndexOf() argument
40 DCHECK_LE(ch, 0xffff); in String_fastIndexOf()
43 return s->FastIndexOf(ch, start); in String_fastIndexOf()