Home
last modified time | relevance | path

Searched refs:jsize (Results 1 – 14 of 14) sorted by relevance

/art/runtime/jni/
Djni_internal.cc353 jsize start, in ThrowAIOOBE()
354 jsize length, in ThrowAIOOBE()
363 static void ThrowSIOOBE(ScopedObjectAccess& soa, jsize start, jsize length, in ThrowSIOOBE()
364 jsize array_length) in ThrowSIOOBE()
587 static jclass DefineClass(JNIEnv*, const char*, jobject, const jbyte*, jsize) { in DefineClass() argument
1895 static jstring NewString(JNIEnv* env, const jchar* chars, jsize char_count) { in NewString()
1972 static jsize GetStringLength(JNIEnv* env, jstring java_string) { in GetStringLength()
1978 static jsize GetStringUTFLength(JNIEnv* env, jstring java_string) { in GetStringUTFLength()
1984 static void GetStringRegion(JNIEnv* env, jstring java_string, jsize start, jsize length, in GetStringRegion()
2005 static void GetStringUTFRegion(JNIEnv* env, jstring java_string, jsize start, jsize length, in GetStringUTFRegion()
[all …]
Djava_vm_ext_test.cc51 jsize num_vms; in TEST_F()
63 jsize num_vms; in attach_current_thread_callback()
Dcheck_jni.cc164 jsize z;
1309 bool CheckLengthPositive(jsize length) { in CheckLengthPositive()
1877 jsize bufLen) { in DefineClass()
2434 static jstring NewString(JNIEnv* env, const jchar* unicode_chars, jsize len) { in CALL()
2465 static jsize GetStringLength(JNIEnv* env, jstring string) { in GetStringLength()
2480 static jsize GetStringUTFLength(JNIEnv* env, jstring string) { in GetStringUTFLength()
2522 static void GetStringRegion(JNIEnv* env, jstring string, jsize start, jsize len, jchar* buf) { in GetStringRegion()
2537 static void GetStringUTFRegion(JNIEnv* env, jstring string, jsize start, jsize len, char* buf) { in GetStringUTFRegion()
2552 static jsize GetArrayLength(JNIEnv* env, jarray array) { in GetArrayLength()
2567 static jobjectArray NewObjectArray(JNIEnv* env, jsize length, jclass element_class, in NewObjectArray()
[all …]
Djava_vm_ext.cc1232 extern "C" jint JNI_GetCreatedJavaVMs(JavaVM** vms_buf, jsize buf_len, jsize* vm_count) { in JNI_GetCreatedJavaVMs()
Djni_internal_test.cc1120 jsize size = 4; \
1196 for (jsize i = 0; i < size; ++i) { src_buf[i] = scalar_type(i); } \
1197 for (jsize i = 0; i < size; ++i) { dst_buf[i] = scalar_type(-1); } \
/art/test/ti-agent/
Dsuspension_helper.cc38 jsize len = env->GetArrayLength(thrs); in CopyToVector()
40 for (jsize i = 0; i < len; i++) { in CopyToVector()
Dscoped_primitive_array.h80 static constexpr jsize kBufferSize = 1024; \
84 jsize mSize; \
/art/runtime/
Dproxy_test.h58 jsize methods_count = 3; // Object.equals, Object.hashCode and Object.toString. in GenerateProxyClass()
68 jsize array_index = 0; in GenerateProxyClass()
Dthread.cc3224 soa.Env()->SetObjectArrayElement(result.get(), static_cast<jsize>(i), elem.get()); in CreateAnnotatedStackTrace()
/art/runtime/native/
Ddalvik_system_DexFile.cc69 jsize array_size = env->GetArrayLength(array); in ConvertJavaArrayToDexFiles()
84 for (jsize i = kDexFileIndexStart; i < array_size; ++i) { in ConvertJavaArrayToDexFiles()
96 jlongArray long_array = env->NewLongArray(static_cast<jsize>(kDexFileIndexStart + vec.size())); in ConvertDexFilesToJavaArray()
235 jint Get(jsize index) const { return elements_[index]; } in Get()
251 jsize buffers_length = env->GetArrayLength(buffers); in DexFile_openInMemoryDexFilesNative()
262 for (jsize i = 0; i < buffers_length; ++i) { in DexFile_openInMemoryDexFilesNative()
490 jsize i = 0; in DexFile_getClassNameList()
Ddalvik_system_VMRuntime.cc192 env->NewObjectArray(static_cast<jsize>(properties.size()), in VMRuntime_properties()
205 env->SetObjectArrayElement(ret.get(), static_cast<jsize>(i), str.get()); in VMRuntime_properties()
/art/openjdkjvmti/
Dti_heap.h92 static jvmtiError JNICALL ChangeArraySize(jvmtiEnv* env, jobject arr, jsize new_size);
Dti_heap.cc1888 jvmtiError HeapExtensions::ChangeArraySize(jvmtiEnv* env, jobject arr, jsize new_size) { in ChangeArraySize()
/art/test/1974-resize-array/
Dresize_array.cc146 jsize cnt = 0; in Java_art_Test1974_GetObjectsWithTag()
156 for (jsize i = 0; i < cnt; i++) { in Java_art_Test1974_GetObjectsWithTag()