/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 | 104 const jbyte* data);
|
D | events.cc | 305 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/runtime/native/ |
D | libcore_util_CharsetUtils.cc | 44 const jbyte* src = &bytes[offset]; in CharsetUtils_asciiBytesToChars() 64 const jbyte* src = &bytes[offset]; in CharsetUtils_isoLatin1BytesToChars() 97 return static_cast<jbyte>(dchecked_integral_cast<uint8_t>((c > maxValidChar) ? '?' : c)); in charsToBytes() 169 visit_chars16([&utf8_length](jbyte c ATTRIBUTE_UNUSED) { ++utf8_length; }); in CharsetUtils_toUtf8Bytes() 181 visit_chars16([&data](jbyte c) { *data++ = c; }); in CharsetUtils_toUtf8Bytes()
|
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 | 207 env->SetByteArrayRegion(result, 0, bytes.size(), reinterpret_cast<const jbyte*>(&bytes[0])); in DdmVmInternal_getThreadStats()
|
D | java_lang_StringFactory.cc | 169 jbyte* d = byte_array->GetData(); in StringFactory_newStringFromUtf8Bytes()
|
D | java_lang_reflect_Field.cc | 241 static jbyte Field_getByte(JNIEnv* env, jobject javaField, jobject javaObj) { in Field_getByte() 423 static void Field_setByte(JNIEnv* env, jobject javaField, jobject javaObj, jbyte b) { in Field_setByte()
|
D | dalvik_system_DexFile.cc | 286 jbyte* destination = reinterpret_cast<jbyte*>(dex_data.Begin()); in DexFile_openInMemoryDexFilesNative()
|
/art/test/1940-ddms-ext/ |
D | ddm_ext.cc | 34 const jbyte* data_in, 37 jbyte** data_out); 41 DdmCallbackData(jint type, jint size, jbyte* data) : type_(type), data_(data, data + size) {} in DdmCallbackData() 43 std::vector<jbyte> data_; 92 jbyte* out_data; in Java_art_Test1940_processChunk() 159 static void JNICALL PublishCB(jvmtiEnv* jvmti, jint type, jint size, jbyte* bytes) { in PublishCB()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 230 jbyte byte_returns[kByteReturnSize] = { 0, 1, 2, 127, -1, -2, -128 }; 232 extern "C" jbyte JNICALL Java_Main_byteMethod(JNIEnv*, jclass, jbyte b1, jbyte b2, in Java_Main_byteMethod() 233 jbyte b3, jbyte b4, jbyte b5, jbyte b6, in Java_Main_byteMethod() 234 jbyte b7, jbyte b8, jbyte b9, jbyte b10) { in Java_Main_byteMethod() 247 CHECK_LT(b1, static_cast<jbyte>(kByteReturnSize)); in Java_Main_byteMethod() 634 …env->SetByteArrayRegion(byte_array, 0, byte_array_length, reinterpret_cast<const jbyte*>(test_arra… in Java_Main_testNewStringObject()
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 528 jbyte* ReadRemaining() { in ReadRemaining() 532 jbyte* out = nullptr; in ReadRemaining() 538 out = reinterpret_cast<jbyte*>(transport_->Alloc(rem)); in ReadRemaining() 540 jbyte* ret = HandleResult(res, out, static_cast<jbyte*>(nullptr)); in ReadRemaining() 548 jbyte ReadByte() { in ReadByte() 552 jbyte out; in ReadByte() 554 return HandleResult(res, NetworkToHost(out), static_cast<jbyte>(-1)); in ReadByte() 624 void PushByte(jbyte data) { in PushByte()
|
/art/test/1901-get-bytecodes/ |
D | bytecodes.cc | 57 jbyte* bytes = env->GetByteArrayElements(out, /* is_copy */ nullptr); in Java_art_Test1901_getBytecodes()
|
/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 | 91 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::min(), false); in ByteConstant() 116 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 | 587 static jclass DefineClass(JNIEnv*, const char*, jobject, const jbyte*, jsize) { in DefineClass() argument 986 static jbyte CallByteMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallByteMethod() 997 static jbyte CallByteMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallByteMethodV() 1004 static jbyte CallByteMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallByteMethodA() 1243 static jbyte CallNonvirtualByteMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualByteMethod() 1254 static jbyte CallNonvirtualByteMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodV() 1262 static jbyte CallNonvirtualByteMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodA() 1549 static jbyte GetByteField(JNIEnv* env, jobject obj, jfieldID fid) { in GetByteField() 1581 static jbyte GetStaticByteField(JNIEnv* env, jclass, jfieldID fid) { in GetStaticByteField() 1613 static void SetByteField(JNIEnv* env, jobject obj, jfieldID fid, jbyte v) { in SetByteField() [all …]
|
D | jni_internal_test.cc | 406 reinterpret_cast<jbyte*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType() 447 jbyte* elements = env_->GetByteArrayElements(array, &is_copy); in ReleasePrimitiveArrayElementsOfWrongType() 492 reinterpret_cast<jbyte*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType() 550 reinterpret_cast<jbyte*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType() 856 DoCall(Byte, B, jbyte, 128); in TEST_F() 857 DoCall(Byte, B, jbyte, -129); in TEST_F() 896 DoGoodCall(Byte, B, jbyte, 128); in TEST_F() 897 DoGoodCall(Byte, B, jbyte, -129); in TEST_F() 1231 GetByteArrayElements, ReleaseByteArrayElements, jbyte, "[B"); in TEST_F()
|
D | check_jni.cc | 165 jbyte B; 1271 if (b < std::numeric_limits<jbyte>::min() || in CheckByte() 1272 b > std::numeric_limits<jbyte>::max()) { in CheckByte() 1876 static jclass DefineClass(JNIEnv* env, const char* name, jobject loader, const jbyte* buf, in DefineClass() 2312 FIELD_ACCESSORS(jbyte, Byte, Primitive::kPrimByte, B, I) in FIELD_ACCESSORS() 2425 CALL(jbyte, Byte, Primitive::kPrimByte, B) in CALL() 2678 PRIMITIVE_ARRAY_FUNCTIONS(jbyte, Byte, Primitive::kPrimByte) in PRIMITIVE_ARRAY_FUNCTIONS() 3680 reinterpret_cast<jbyte*>(elems), mode); in ReleasePrimitiveArrayElements() 3733 reinterpret_cast<jbyte*>(buf)); in GetPrimitiveArrayRegion() 3784 reinterpret_cast<const jbyte*>(buf)); in SetPrimitiveArrayRegion()
|
/art/adbconnection/ |
D | adbconnection.cc | 756 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()
|