Home
last modified time | relevance | path

Searched refs:jbyte (Results 1 – 21 of 21) sorted by relevance

/art/runtime/native/
Dlibcore_util_CharsetUtils.cc57 bool append(jbyte b) { in append()
75 jbyte* newRawArray = mEnv->GetByteArrayElements(newJavaArray, nullptr); in resize()
104 jbyte* mRawArray;
124 const jbyte* src = &bytes[offset]; in CharsetUtils_asciiBytesToChars()
144 const jbyte* src = &bytes[offset]; in CharsetUtils_isoLatin1BytesToChars()
171 jbyte* dst = &bytes[0]; in charsToBytes()
177 *dst++ = static_cast<jbyte>(ch); in charsToBytes()
234 jbyte b1 = (ch >> 18) | 0xf0; in CharsetUtils_toUtf8Bytes()
235 jbyte b2 = ((ch >> 12) & 0x3f) | 0x80; in CharsetUtils_toUtf8Bytes()
236 jbyte b3 = ((ch >> 6) & 0x3f) | 0x80; in CharsetUtils_toUtf8Bytes()
[all …]
Dsun_misc_Unsafe.cc243 … Unsafe_setMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong bytes, jbyte value) { in Unsafe_setMemory()
247 static jbyte Unsafe_getByteJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getByteJ()
248 return *reinterpret_cast<jbyte*>(address); in Unsafe_getByteJ()
251 static void Unsafe_putByteJB(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jbyte value) { in Unsafe_putByteJB()
252 *reinterpret_cast<jbyte*>(address) = value; in Unsafe_putByteJB()
418 static jbyte Unsafe_getByte(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getByte()
424 static void Unsafe_putByte(JNIEnv* env, jobject, jobject javaObj, jlong offset, jbyte newValue) { in Unsafe_putByte()
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc160 env->SetByteArrayRegion(result, 0, bytes.size(), reinterpret_cast<const jbyte*>(&bytes[0])); in DdmVmInternal_getThreadStats()
Djava_lang_reflect_Field.cc223 static jbyte Field_getByte(JNIEnv* env, jobject javaField, jobject javaObj) { in Field_getByte()
404 static void Field_setByte(JNIEnv* env, jobject javaField, jobject javaObj, jbyte b) { in Field_setByte()
Ddalvik_system_DexFile.cc261 auto destination = reinterpret_cast<jbyte*>(dex_mem_map.get()->Begin()); in DexFile_createCookieWithArray()
/art/openjdkjvmti/
Dti_ddms.cc48 const jbyte* data_in, in HandleChunk()
51 /*out*/jbyte** data_out) { in HandleChunk()
65 art::ArrayRef<const jbyte> data_arr(data_in, length_in); in HandleChunk()
77 JvmtiUniquePtr<jbyte[]> ret = AllocJvmtiUniquePtr<jbyte[]>(env, out_data.size(), &error); in HandleChunk()
Dti_ddms.h45 const jbyte* data_in,
48 /*out*/ jbyte** data_out);
Devents.h83 const jbyte* data);
Devents.cc276 reinterpret_cast<const jbyte*>(data.data())); in DdmPublishChunk()
/art/test/1940-ddms-ext/
Dddm_ext.cc31 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/
Djni_test.cc201 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/
Dbytecodes.cc57 jbyte* bytes = env->GetByteArrayElements(out, /* is_copy */ nullptr); in Java_art_Test1901_getBytecodes()
/art/dt_fd_forward/
Ddt_fd_forward.cc508 jbyte* ReadRemaining() { in ReadRemaining()
512 jbyte* out = nullptr; in ReadRemaining()
518 out = reinterpret_cast<jbyte*>(transport_->Alloc(rem)); in ReadRemaining()
520 jbyte* ret = HandleResult(res, out, static_cast<jbyte*>(nullptr)); in ReadRemaining()
528 jbyte ReadByte() { in ReadByte()
532 jbyte out; in ReadByte()
534 return HandleResult(res, NetworkToHost(out), static_cast<jbyte>(-1)); in ReadByte()
604 void PushByte(jbyte data) { in PushByte()
/art/test/ti-agent/
Dscoped_primitive_array.h90 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jbyte, Byte);
140 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jbyte, Byte);
Dredefinition_helper.cc215 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/
Dreg_type_cache-inl.h89 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::min(), false); in ByteConstant()
114 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::max(), false); in PosByteConstant()
/art/runtime/
Djni_internal.cc454 static jclass DefineClass(JNIEnv*, const char*, jobject, const jbyte*, jsize) { in DefineClass() argument
854 static jbyte CallByteMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallByteMethod()
865 static jbyte CallByteMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallByteMethodV()
872 static jbyte CallByteMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallByteMethodA()
1111 static jbyte CallNonvirtualByteMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualByteMethod()
1122 static jbyte CallNonvirtualByteMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodV()
1130 static jbyte CallNonvirtualByteMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodA()
1417 static jbyte GetByteField(JNIEnv* env, jobject obj, jfieldID fid) { in GetByteField()
1449 static jbyte GetStaticByteField(JNIEnv* env, jclass, jfieldID fid) { in GetStaticByteField()
1481 static void SetByteField(JNIEnv* env, jobject obj, jfieldID fid, jbyte v) { in SetByteField()
[all …]
Dcheck_jni.cc147 jbyte B;
1216 if (b < std::numeric_limits<jbyte>::min() || in CheckByte()
1217 b > std::numeric_limits<jbyte>::max()) { in CheckByte()
1821 static jclass DefineClass(JNIEnv* env, const char* name, jobject loader, const jbyte* buf, in DefineClass()
2257 FIELD_ACCESSORS(jbyte, Byte, Primitive::kPrimByte, B, I) in FIELD_ACCESSORS()
2370 CALL(jbyte, Byte, Primitive::kPrimByte, B) in CALL()
2623 PRIMITIVE_ARRAY_FUNCTIONS(jbyte, Byte, Primitive::kPrimByte) in PRIMITIVE_ARRAY_FUNCTIONS()
3625 reinterpret_cast<jbyte*>(elems), mode); in ReleasePrimitiveArrayElements()
3678 reinterpret_cast<jbyte*>(buf)); in GetPrimitiveArrayRegion()
3729 reinterpret_cast<const jbyte*>(buf)); in SetPrimitiveArrayRegion()
Ddebugger.h665 const ArrayRef<const jbyte>& data,
/art/adbconnection/
Dadbconnection.cc772 art::ArrayRef<const jbyte>(reinterpret_cast<const jbyte*>(ddm_data), in HandleDataWithoutAgent()
/art/runtime/interpreter/
Dinterpreter.cc83 typedef jbyte (fntype)(JNIEnv*, jclass, jint); in InterpreterJni()