Home
last modified time | relevance | path

Searched defs:chars (Results 1 – 25 of 26) sorted by relevance

12

/art/runtime/mirror/
Dstring-inl.h59 int32_t String::FastIndexOf(MemoryType* chars, int32_t ch, int32_t start) { in FastIndexOf()
88 inline bool String::AllASCII(const MemoryType* chars, const int length) { in AllASCII()
98 inline bool String::DexFileStringAllASCII(const char* chars, const int length) { in DexFileStringAllASCII()
Dstring.cc70 inline bool String::AllASCIIExcept(const uint16_t* chars, int32_t length, uint16_t non_ascii) { in AllASCIIExcept()
277 const uint16_t* chars = GetValue(); in ToModifiedUtf8() local
/art/test/common/
Druntime_state.cc150 ScopedUtfChars chars(env, method_name); in Java_Main_isAotCompiled() local
164 static ArtMethod* GetMethod(ScopedObjectAccess& soa, jclass cls, const ScopedUtfChars& chars) in GetMethod()
187 ScopedUtfChars chars(env, method_name); in Java_Main_hasJitCompiledEntrypoint() local
204 ScopedUtfChars chars(env, method_name); in Java_Main_hasJitCompiledCode() local
283 ScopedUtfChars chars(env, method_name); in Java_Main_ensureJitCompiled() local
295 ScopedUtfChars chars(env, method_name); in Java_Main_hasSingleImplementation() local
307 ScopedUtfChars chars(env, method_name); in Java_Main_getHotnessCounter() local
/art/libdexfile/dex/
Dutf.h80 int32_t ComputeUtf16Hash(const MemoryType* chars, size_t char_count) { in ComputeUtf16Hash()
Dutf.cc194 uint32_t ComputeModifiedUtf8Hash(const char* chars) { in ComputeModifiedUtf8Hash()
239 size_t CountUtf8Bytes(const uint16_t* chars, size_t char_count) { in CountUtf8Bytes()
Dutf_test.cc232 static size_t CountUtf8Bytes_reference(const uint16_t* chars, size_t char_count) { in CountUtf8Bytes_reference()
/art/test/407-arrays/src/
DMain.java32 static void $opt$testReads(boolean[] bools, byte[] bytes, char[] chars, short[] shorts, in $opt$testReads()
63 static void $opt$testWrites(boolean[] bools, byte[] bytes, char[] chars, short[] shorts, in $opt$testWrites()
/art/test/580-checker-string-fact-intrinsics/src-art/
DMain.java55 char[] chars = { 'b', 'a', 'r' }; in testNewStringFromChars() local
/art/runtime/jdwp/
Djdwp_bits.h62 static inline void AppendUtf16BE(std::vector<uint8_t>& bytes, const uint16_t* chars, in AppendUtf16BE()
71 const uint8_t* chars, size_t char_count) { in AppendUtf16CompressedBE()
/art/test/570-checker-osr/
Dosr.cc34 ScopedUtfChars chars(env, method_name); in ProcessMethodWithName() local
/art/runtime/native/
Dlibcore_util_CharsetUtils.cc120 ScopedCharArrayRW chars(env, javaChars); in CharsetUtils_asciiBytesToChars() local
140 ScopedCharArrayRW chars(env, javaChars); in CharsetUtils_isoLatin1BytesToChars() local
Ddalvik_system_VMDebug.cc256 ScopedUtfChars chars(env, javaFilename); in VMDebug_dumpHprofData() local
584 ScopedUtfChars chars(env, agent); in VMDebug_nativeAttachAgent() local
/art/test/ti-agent/
Dti_utf.h162 inline size_t CountUtf8Bytes(const uint16_t* chars, size_t char_count) { in CountUtf8Bytes()
/art/test/003-omnibus-opcodes/src/
DArray.java39 static void checkChars(char[] chars) { in checkChars()
/art/openjdkjvmti/
Dti_properties.cc201 ScopedUtfChars chars(jni_env, reinterpret_cast<jstring>(prop_res.get())); in GetLibraryPath() local
/art/libdexfile/external/include/art_api/
Ddex_file_support.h73 const char* chars = g_ExtDexFileGetString(ext_string_, &len); in string_view() local
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatArrayInstance.java67 void initialize(final char[] chars) { in initialize()
DAhatClassInstance.java122 AhatArrayInstance chars = inst.asArrayInstance(); in asString() local
/art/test/956-methodhandles/src/
DMain.java1173 public VariableArityTester(char... chars) { update(chars); } in VariableArityTester()
1191 public String update(char... chars) { return lastResult = tally(chars); } in update()
1220 public static String tally(char... chars) { return Arrays.toString(chars); } in tally()
/art/runtime/jni/
Djni_internal_test.cc1514 const char* chars = env_->GetStringUTFChars(s, nullptr); in TEST_F() local
1554 jchar chars[] = { 'h', 'i' }; in TEST_F() local
1615 jchar chars[4] = { 'x', 'x', 'x', 'x' }; in TEST_F() local
1690 const jchar* chars = env_->GetStringChars(s, nullptr); in TEST_F() local
1718 const jchar* chars = env_->GetStringCritical(s, nullptr); in TEST_F() local
Djni_internal.cc1958 static jstring NewString(JNIEnv* env, const jchar* chars, jsize char_count) { in NewString()
2007 const jchar* chars = static_cast<jchar*>(s->GetValue()); in GetStringRegion() local
2027 const jchar* chars = s->GetValue(); in GetStringUTFRegion() local
2040 jchar* chars = new jchar[s->GetLength()]; in GetStringChars() local
2060 static void ReleaseStringChars(JNIEnv* env, jstring java_string, const jchar* chars) { in ReleaseStringChars()
2090 jchar* chars = new jchar[length]; in GetStringCritical() local
2105 const jchar* chars) { in ReleaseStringCritical()
2139 const uint16_t* chars = s->GetValue(); in GetStringUTFChars() local
2146 static void ReleaseStringUTFChars(JNIEnv*, jstring, const char* chars) { in ReleaseStringUTFChars()
Dcheck_jni.cc2399 static jstring NewStringUTF(JNIEnv* env, const char* chars) { in NewStringUTF()
2460 static void ReleaseStringChars(JNIEnv* env, jstring string, const jchar* chars) { in ReleaseStringChars()
2468 static void ReleaseStringCritical(JNIEnv* env, jstring string, const jchar* chars) { in ReleaseStringCritical()
3484 const void* chars, bool utf, bool critical) { in ReleaseStringCharsInternal()
/art/tools/dexanalyze/
Ddexanalyze_strings.cc317 std::vector<uint8_t> chars; in GetString() local
/art/test/004-JniTest/
Djni_test.cc612 const char* chars = env->GetStringUTFChars(s, nullptr); in Java_Main_testNewStringObject() local
/art/test/959-invoke-polymorphic-accessors/src/
DMain.java597 char [] chars = { 'a', 'b', 'c' }; in main() local

12