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()
96 inline bool String::AllASCII(const MemoryType* chars, const int length) { in AllASCII()
106 inline bool String::DexFileStringAllASCII(const char* chars, const int length) { in DexFileStringAllASCII()
Dstring.cc62 inline bool String::AllASCIIExcept(const uint16_t* chars, int32_t length, uint16_t non_ascii) { in AllASCIIExcept()
/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.cc168 ScopedUtfChars chars(env, method_name); in Java_Main_isAotCompiled() local
183 static ArtMethod* GetMethod(ScopedObjectAccess& soa, jclass cls, const ScopedUtfChars& chars) in GetMethod()
206 ScopedUtfChars chars(env, method_name); in Java_Main_hasJitCompiledEntrypoint() local
223 ScopedUtfChars chars(env, method_name); in Java_Main_hasJitCompiledCode() local
307 ScopedUtfChars chars(env, method_name); in Java_Main_ensureJitCompiled() local
327 ScopedUtfChars chars(env, method_name); in Java_Main_ensureJitBaselineCompiled() local
339 ScopedUtfChars chars(env, method_name); in Java_Main_hasSingleImplementation() local
351 ScopedUtfChars chars(env, method_name); in Java_Main_getHotnessCounter() 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/test/580-checker-string-fact-intrinsics/src-art/
DMain.java55 char[] chars = { 'b', 'a', 'r' }; in testNewStringFromChars() local
/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/566-polymorphic-inlining/
Dpolymorphic_inline.cc71 ScopedUtfChars chars(env, method_name); in Java_Main_ensureJittedAndPolymorphicInline566() local
/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.cc39 ScopedCharArrayRW chars(env, javaChars); in CharsetUtils_asciiBytesToChars() local
59 ScopedCharArrayRW chars(env, javaChars); in CharsetUtils_isoLatin1BytesToChars() local
Ddalvik_system_VMDebug.cc229 ScopedUtfChars chars(env, javaFilename); in VMDebug_dumpHprofData() local
450 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/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.cc1515 const char* chars = env_->GetStringUTFChars(s, nullptr); in TEST_F() local
1580 const char* chars = env_->GetStringUTFChars(s, nullptr); in TEST_F() local
1663 jchar chars[] = { 'h', 'i' }; in TEST_F() local
1724 jchar chars[4] = { 'x', 'x', 'x', 'x' }; in TEST_F() local
1808 const jchar* chars = env_->GetStringChars(s, nullptr); in TEST_F() local
1836 const jchar* chars = env_->GetStringCritical(s, nullptr); in TEST_F() local
Djni_internal.cc1895 static jstring NewString(JNIEnv* env, const jchar* chars, jsize char_count) { in NewString()
1999 const jchar* chars = static_cast<jchar*>(s->GetValue()); in GetStringRegion() local
2025 const jchar* chars = s->GetValue(); in GetStringUTFRegion() local
2039 jchar* chars = new jchar[s->GetLength()]; in GetStringChars() local
2060 static void ReleaseStringChars(JNIEnv* env, jstring java_string, const jchar* chars) { in ReleaseStringChars()
2080 jchar* chars = new jchar[length]; in GetStringCritical() local
2106 const jchar* chars) { in ReleaseStringCritical()
2143 const uint16_t* chars = s->GetValue(); in GetStringUTFChars() local
2150 static void ReleaseStringUTFChars(JNIEnv*, jstring, const char* chars) { in ReleaseStringUTFChars()
Dcheck_jni.cc2449 static jstring NewStringUTF(JNIEnv* env, const char* chars) { in NewStringUTF()
2510 static void ReleaseStringChars(JNIEnv* env, jstring string, const jchar* chars) { in ReleaseStringChars()
2518 static void ReleaseStringCritical(JNIEnv* env, jstring string, const jchar* chars) { in ReleaseStringCritical()
3534 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