/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 | 160 env->SetByteArrayRegion(result, 0, bytes.size(), reinterpret_cast<const jbyte*>(&bytes[0])); in DdmVmInternal_getThreadStats()
|
D | java_lang_reflect_Field.cc | 225 static jbyte Field_getByte(JNIEnv* env, jobject javaField, jobject javaObj) { in Field_getByte() 407 static void Field_setByte(JNIEnv* env, jobject javaField, jobject javaObj, jbyte b) { in Field_setByte()
|
D | dalvik_system_DexFile.cc | 283 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 | 85 const jbyte* data);
|
D | events.cc | 281 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/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/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/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/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 | 215 reinterpret_cast<jbyte*>(trans.class_bytes.data())); in Java_art_Redefinition_addCommonTransformationResult() 222 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/jni/ |
D | jni_internal.cc | 649 static jclass DefineClass(JNIEnv*, const char*, jobject, const jbyte*, jsize) { in DefineClass() argument 1049 static jbyte CallByteMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallByteMethod() 1060 static jbyte CallByteMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallByteMethodV() 1067 static jbyte CallByteMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallByteMethodA() 1306 static jbyte CallNonvirtualByteMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualByteMethod() 1317 static jbyte CallNonvirtualByteMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodV() 1325 static jbyte CallNonvirtualByteMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodA() 1612 static jbyte GetByteField(JNIEnv* env, jobject obj, jfieldID fid) { in GetByteField() 1644 static jbyte GetStaticByteField(JNIEnv* env, jclass, jfieldID fid) { in GetStaticByteField() 1676 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()
|
D | check_jni.cc | 150 jbyte B; 1221 if (b < std::numeric_limits<jbyte>::min() || in CheckByte() 1222 b > std::numeric_limits<jbyte>::max()) { in CheckByte() 1826 static jclass DefineClass(JNIEnv* env, const char* name, jobject loader, const jbyte* buf, in DefineClass() 2262 FIELD_ACCESSORS(jbyte, Byte, Primitive::kPrimByte, B, I) in FIELD_ACCESSORS() 2375 CALL(jbyte, Byte, Primitive::kPrimByte, B) in CALL() 2628 PRIMITIVE_ARRAY_FUNCTIONS(jbyte, Byte, Primitive::kPrimByte) in PRIMITIVE_ARRAY_FUNCTIONS() 3630 reinterpret_cast<jbyte*>(elems), mode); in ReleasePrimitiveArrayElements() 3683 reinterpret_cast<jbyte*>(buf)); in GetPrimitiveArrayRegion() 3734 reinterpret_cast<const jbyte*>(buf)); in SetPrimitiveArrayRegion()
|
/art/adbconnection/ |
D | adbconnection.cc | 766 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()
|
/art/runtime/ |
D | debugger.cc | 4196 const ArrayRef<const jbyte>& data, in DdmHandleChunk() 4208 reinterpret_cast<const jbyte*>(data.data())); in DdmHandleChunk() 4262 reinterpret_cast<jbyte*>(out_data->data())); in DdmHandleChunk() 4302 ArrayRef<const jbyte> data(reinterpret_cast<const jbyte*>(request->data()), request_length); in DdmHandlePacket() 5190 env->SetByteArrayRegion(result, 0, bytes.size(), reinterpret_cast<const jbyte*>(&bytes[0])); in GetRecentAllocations()
|
D | debugger.h | 677 const ArrayRef<const jbyte>& data,
|