Home
last modified time | relevance | path

Searched defs:chars (Results 1 – 25 of 27) 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/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/common/
Druntime_state.cc172 ScopedUtfChars chars(env, method_name); in Java_Main_isAotCompiled() local
187 static ArtMethod* GetMethod(ScopedObjectAccess& soa, jclass cls, const ScopedUtfChars& chars) in GetMethod()
210 ScopedUtfChars chars(env, method_name); in Java_Main_hasJitCompiledEntrypoint() local
227 ScopedUtfChars chars(env, method_name); in Java_Main_hasJitCompiledCode() local
324 ScopedUtfChars chars(env, method_name); in Java_Main_ensureJitCompiled() local
336 ScopedUtfChars chars(env, method_name); in Java_Main_hasSingleImplementation() local
348 ScopedUtfChars chars(env, method_name); in Java_Main_getHotnessCounter() local
/art/test/580-checker-string-fact-intrinsics/src-art/
DMain.java55 char[] chars = { 'b', 'a', 'r' }; in testNewStringFromChars() local
/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/libartbase/base/
Dendian_utils.h49 inline void AppendUtf16BE(std::vector<uint8_t>& bytes, const uint16_t* chars, size_t char_count) { in AppendUtf16BE()
57 const uint8_t* chars, in AppendUtf16CompressedBE()
/art/test/1964-add-to-dex-classloader-file/
Dadd_to_loader.cc79 const char* chars = env->GetStringUTFChars(segment, nullptr); in Java_Main_addToClassLoaderNative() local
/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.cc250 ScopedUtfChars chars(env, javaFilename); in VMDebug_dumpHprofData() local
578 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/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/libdexfile/external/include/art_api/
Ddex_file_support.h79 const char* chars = g_ExtDexFileGetString(ext_string_, &len); in string_view() local
/art/test/956-methodhandles/src/
DMain.java1224 public VariableArityTester(char... chars) { update(chars); } in VariableArityTester()
1242 public String update(char... chars) { return lastResult = tally(chars); } in update()
1271 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.cc1796 static jstring NewString(JNIEnv* env, const jchar* chars, jsize char_count) { in NewString()
1845 const jchar* chars = static_cast<jchar*>(s->GetValue()); in GetStringRegion() local
1865 const jchar* chars = s->GetValue(); in GetStringUTFRegion() local
1878 jchar* chars = new jchar[s->GetLength()]; in GetStringChars() local
1898 static void ReleaseStringChars(JNIEnv* env, jstring java_string, const jchar* chars) { in ReleaseStringChars()
1928 jchar* chars = new jchar[length]; in GetStringCritical() local
1943 const jchar* chars) { in ReleaseStringCritical()
1977 const uint16_t* chars = s->GetValue(); in GetStringUTFChars() local
1984 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/runtime/
Ddebugger.cc320 const jchar* chars = (name != nullptr) ? name->GetValue() : nullptr; in DdmSendThreadNotification() local

12