/art/runtime/native/ |
D | libcore_util_CharsetUtils.cc | 58 bool append(jbyte b) { in append() 76 jbyte* newRawArray = mEnv->GetByteArrayElements(newJavaArray, nullptr); in resize() 105 jbyte* mRawArray; 125 const jbyte* src = &bytes[offset]; in CharsetUtils_asciiBytesToChars() 145 const jbyte* src = &bytes[offset]; in CharsetUtils_isoLatin1BytesToChars() 172 jbyte* dst = &bytes[0]; in charsToBytes() 178 *dst++ = static_cast<jbyte>(ch); in charsToBytes() 235 jbyte b1 = (ch >> 18) | 0xf0; in CharsetUtils_toUtf8Bytes() 236 jbyte b2 = ((ch >> 12) & 0x3f) | 0x80; in CharsetUtils_toUtf8Bytes() 237 jbyte b3 = ((ch >> 6) & 0x3f) | 0x80; in CharsetUtils_toUtf8Bytes() [all …]
|
D | sun_misc_Unsafe.cc | 249 … Unsafe_setMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong bytes, jbyte value) { in Unsafe_setMemory() 253 static jbyte Unsafe_getByteJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getByteJ() 254 return *reinterpret_cast<jbyte*>(address); in Unsafe_getByteJ() 257 static void Unsafe_putByteJB(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jbyte value) { in Unsafe_putByteJB() 258 *reinterpret_cast<jbyte*>(address) = value; in Unsafe_putByteJB() 432 static jbyte Unsafe_getByte(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getByte() 438 static void Unsafe_putByte(JNIEnv* env, jobject, jobject javaObj, jlong offset, jbyte newValue) { in Unsafe_putByte()
|
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 212 env->SetByteArrayRegion(result, 0, bytes.size(), reinterpret_cast<const jbyte*>(&bytes[0])); in DdmVmInternal_getThreadStats()
|
D | java_lang_reflect_Field.cc | 227 static jbyte Field_getByte(JNIEnv* env, jobject javaField, jobject javaObj) { in Field_getByte() 409 static void Field_setByte(JNIEnv* env, jobject javaField, jobject javaObj, jbyte b) { in Field_setByte()
|
D | dalvik_system_DexFile.cc | 284 jbyte* destination = reinterpret_cast<jbyte*>(dex_data.Begin()); in DexFile_openInMemoryDexFilesNative()
|
/art/openjdkjvmti/ |
D | ti_ddms.cc | 49 const jbyte* data_in, in HandleChunk() 52 /*out*/jbyte** data_out) { in HandleChunk() 66 art::ArrayRef<const jbyte> data_arr(data_in, length_in); in HandleChunk() 78 JvmtiUniquePtr<jbyte[]> ret = AllocJvmtiUniquePtr<jbyte[]>(env, out_data.size(), &error); in HandleChunk()
|
D | ti_ddms.h | 45 const jbyte* data_in, 48 /*out*/ jbyte** data_out);
|
D | events.h | 105 const jbyte* data);
|
D | events.cc | 306 reinterpret_cast<const jbyte*>(data.data())); in DdmPublishChunk()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 144 static jbyte trampoline_Java_Main_byteMethod(JNIEnv* env, jclass klass, jbyte b1, jbyte b2, in trampoline_Java_Main_byteMethod() 145 jbyte b3, jbyte b4, jbyte b5, jbyte b6, in trampoline_Java_Main_byteMethod() 146 jbyte b7, jbyte b8, jbyte b9, jbyte b10) { in trampoline_Java_Main_byteMethod() 147 using FnPtr_t = jbyte(*)(JNIEnv*, jclass, jbyte, jbyte, jbyte, jbyte, jbyte, jbyte, jbyte, jbyte, in trampoline_Java_Main_byteMethod() 148 jbyte, jbyte); in trampoline_Java_Main_byteMethod()
|
/art/test/1940-ddms-ext/ |
D | ddm_ext.cc | 31 const jbyte* data_in, 34 jbyte** data_out); 83 jbyte* out_data; in Java_art_Test1940_processChunk() 114 static void JNICALL PublishCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jint type, jint size, jbyte* bytes) { in PublishCB()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 201 jbyte byte_returns[kByteReturnSize] = { 0, 1, 2, 127, -1, -2, -128 }; 203 extern "C" jbyte JNICALL Java_Main_byteMethod(JNIEnv*, jclass, jbyte b1, jbyte b2, in Java_Main_byteMethod() 204 jbyte b3, jbyte b4, jbyte b5, jbyte b6, in Java_Main_byteMethod() 205 jbyte b7, jbyte b8, jbyte b9, jbyte b10) { in Java_Main_byteMethod() 218 CHECK_LT(b1, static_cast<jbyte>(kByteReturnSize)); in Java_Main_byteMethod() 605 …env->SetByteArrayRegion(byte_array, 0, byte_array_length, reinterpret_cast<const jbyte*>(test_arra… in Java_Main_testNewStringObject()
|
/art/test/1901-get-bytecodes/ |
D | bytecodes.cc | 57 jbyte* bytes = env->GetByteArrayElements(out, /* is_copy */ nullptr); in Java_art_Test1901_getBytecodes()
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 519 jbyte* ReadRemaining() { in ReadRemaining() 523 jbyte* out = nullptr; in ReadRemaining() 529 out = reinterpret_cast<jbyte*>(transport_->Alloc(rem)); in ReadRemaining() 531 jbyte* ret = HandleResult(res, out, static_cast<jbyte*>(nullptr)); in ReadRemaining() 539 jbyte ReadByte() { in ReadByte() 543 jbyte out; in ReadByte() 545 return HandleResult(res, NetworkToHost(out), static_cast<jbyte>(-1)); in ReadByte() 615 void PushByte(jbyte data) { in PushByte()
|
/art/test/ti-agent/ |
D | scoped_primitive_array.h | 90 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jbyte, Byte); 140 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jbyte, Byte);
|
D | redefinition_helper.cc | 305 reinterpret_cast<jbyte*>(trans.class_bytes.data())); in Java_art_Redefinition_addCommonTransformationResult() 312 reinterpret_cast<jbyte*>(trans.dex_bytes.data())); in Java_art_Redefinition_addCommonTransformationResult()
|
/art/runtime/verifier/ |
D | reg_type_cache-inl.h | 90 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::min(), false); in ByteConstant() 115 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::max(), false); in PosByteConstant()
|
/art/runtime/ |
D | debugger.h | 84 const ArrayRef<const jbyte>& data,
|
D | debugger.cc | 187 const ArrayRef<const jbyte>& data, in DdmHandleChunk() 199 reinterpret_cast<const jbyte*>(data.data())); in DdmHandleChunk() 253 reinterpret_cast<jbyte*>(out_data->data())); in DdmHandleChunk() 1094 env->SetByteArrayRegion(result, 0, bytes.size(), reinterpret_cast<const jbyte*>(&bytes[0])); in GetRecentAllocations()
|
/art/runtime/jni/ |
D | jni_internal.cc | 488 static jclass DefineClass(JNIEnv*, const char*, jobject, const jbyte*, jsize) { in DefineClass() argument 888 static jbyte CallByteMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallByteMethod() 899 static jbyte CallByteMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallByteMethodV() 906 static jbyte CallByteMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallByteMethodA() 1145 static jbyte CallNonvirtualByteMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualByteMethod() 1156 static jbyte CallNonvirtualByteMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodV() 1164 static jbyte CallNonvirtualByteMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodA() 1451 static jbyte GetByteField(JNIEnv* env, jobject obj, jfieldID fid) { in GetByteField() 1483 static jbyte GetStaticByteField(JNIEnv* env, jclass, jfieldID fid) { in GetStaticByteField() 1515 static void SetByteField(JNIEnv* env, jobject obj, jfieldID fid, jbyte v) { in SetByteField() [all …]
|
D | jni_internal_test.cc | 405 reinterpret_cast<jbyte*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType() 446 jbyte* elements = env_->GetByteArrayElements(array, &is_copy); in ReleasePrimitiveArrayElementsOfWrongType() 491 reinterpret_cast<jbyte*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType() 549 reinterpret_cast<jbyte*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType() 855 DoCall(Byte, B, jbyte, 128); in TEST_F() 856 DoCall(Byte, B, jbyte, -129); in TEST_F() 895 DoGoodCall(Byte, B, jbyte, 128); in TEST_F() 896 DoGoodCall(Byte, B, jbyte, -129); in TEST_F() 1230 GetByteArrayElements, ReleaseByteArrayElements, jbyte, "[B"); in TEST_F()
|
/art/adbconnection/ |
D | adbconnection.cc | 733 art::ArrayRef<const jbyte>(reinterpret_cast<const jbyte*>(ddm_data), in HandleDataWithoutAgent()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 85 using fntype = jbyte(JNIEnv*, jclass, jint); in InterpreterJni()
|