/art/runtime/native/ |
D | libcore_util_CharsetUtils.cc | 54 bool append(jbyte b) { in append() 72 jbyte* newRawArray = mEnv->GetByteArrayElements(newJavaArray, nullptr); in resize() 101 jbyte* mRawArray; 121 const jbyte* src = &bytes[offset]; in CharsetUtils_asciiBytesToChars() 141 const jbyte* src = &bytes[offset]; in CharsetUtils_isoLatin1BytesToChars() 168 jbyte* dst = &bytes[0]; in charsToBytes() 174 *dst++ = static_cast<jbyte>(ch); in charsToBytes() 231 jbyte b1 = (ch >> 18) | 0xf0; in CharsetUtils_toUtf8Bytes() 232 jbyte b2 = ((ch >> 12) & 0x3f) | 0x80; in CharsetUtils_toUtf8Bytes() 233 jbyte b3 = ((ch >> 6) & 0x3f) | 0x80; in CharsetUtils_toUtf8Bytes() [all …]
|
D | sun_misc_Unsafe.cc | 234 … Unsafe_setMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong bytes, jbyte value) { in Unsafe_setMemory() 238 static jbyte Unsafe_getByteJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getByteJ() 239 return *reinterpret_cast<jbyte*>(address); in Unsafe_getByteJ() 242 static void Unsafe_putByteJB(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jbyte value) { in Unsafe_putByteJB() 243 *reinterpret_cast<jbyte*>(address) = value; in Unsafe_putByteJB() 409 static jbyte Unsafe_getByte(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getByte() 415 static void Unsafe_putByte(JNIEnv* env, jobject, jobject javaObj, jlong offset, jbyte newValue) { in Unsafe_putByte()
|
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 148 env->SetByteArrayRegion(result, 0, bytes.size(), reinterpret_cast<const jbyte*>(&bytes[0])); in DdmVmInternal_getThreadStats()
|
D | java_lang_reflect_Field.cc | 221 static jbyte Field_getByte(JNIEnv* env, jobject javaField, jobject javaObj) { in Field_getByte() 402 static void Field_setByte(JNIEnv* env, jobject javaField, jobject javaObj, jbyte b) { in Field_setByte()
|
D | dalvik_system_DexFile.cc | 252 auto destination = reinterpret_cast<jbyte*>(dex_mem_map.get()->Begin()); in DexFile_createCookieWithArray()
|
/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 typedef jbyte (*FnPtr_t)(JNIEnv*, jclass, jbyte, jbyte, jbyte, jbyte, jbyte, in trampoline_Java_Main_byteMethod() 148 jbyte, jbyte, jbyte, jbyte, jbyte); in trampoline_Java_Main_byteMethod()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 190 jbyte byte_returns[kByteReturnSize] = { 0, 1, 2, 127, -1, -2, -128 }; 192 extern "C" jbyte JNICALL Java_Main_byteMethod(JNIEnv*, jclass, jbyte b1, jbyte b2, in Java_Main_byteMethod() 193 jbyte b3, jbyte b4, jbyte b5, jbyte b6, in Java_Main_byteMethod() 194 jbyte b7, jbyte b8, jbyte b9, jbyte b10) { in Java_Main_byteMethod() 207 CHECK_LT(b1, static_cast<jbyte>(kByteReturnSize)); in Java_Main_byteMethod() 594 …env->SetByteArrayRegion(byte_array, 0, byte_array_length, reinterpret_cast<const jbyte*>(test_arra… in Java_Main_testNewStringObject()
|
/art/runtime/verifier/ |
D | reg_type_cache-inl.h | 47 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::min(), false); in ByteConstant() 72 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::max(), false); in PosByteConstant()
|
/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 | common_helper.cc | 193 reinterpret_cast<jbyte*>(trans.class_bytes.data())); in Java_art_Redefinition_addCommonTransformationResult() 200 reinterpret_cast<jbyte*>(trans.dex_bytes.data())); in Java_art_Redefinition_addCommonTransformationResult()
|
/art/runtime/ |
D | jni_internal.cc | 346 static jclass DefineClass(JNIEnv*, const char*, jobject, const jbyte*, jsize) { in DefineClass() argument 746 static jbyte CallByteMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallByteMethod() 757 static jbyte CallByteMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallByteMethodV() 764 static jbyte CallByteMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallByteMethodA() 1003 static jbyte CallNonvirtualByteMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualByteMethod() 1014 static jbyte CallNonvirtualByteMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodV() 1022 static jbyte CallNonvirtualByteMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodA() 1301 static jbyte GetByteField(JNIEnv* env, jobject obj, jfieldID fid) { in GetByteField() 1333 static jbyte GetStaticByteField(JNIEnv* env, jclass, jfieldID fid) { in GetStaticByteField() 1365 static void SetByteField(JNIEnv* env, jobject obj, jfieldID fid, jbyte v) { in SetByteField() [all …]
|
D | check_jni.cc | 125 jbyte B; 193 case 'B': o.B = static_cast<jbyte>(va_arg(vargs_, jint)); break; in GetValue() 1700 static jclass DefineClass(JNIEnv* env, const char* name, jobject loader, const jbyte* buf, in DefineClass() 2111 FIELD_ACCESSORS(jbyte, Byte, Primitive::kPrimByte, B) in FIELD_ACCESSORS() 2224 CALL(jbyte, Byte, Primitive::kPrimByte, B) in CALL() 2467 PRIMITIVE_ARRAY_FUNCTIONS(jbyte, Byte, Primitive::kPrimByte) in PRIMITIVE_ARRAY_FUNCTIONS() 3449 reinterpret_cast<jbyte*>(elems), mode); in ReleasePrimitiveArrayElements() 3501 reinterpret_cast<jbyte*>(buf)); in GetPrimitiveArrayRegion() 3551 reinterpret_cast<const jbyte*>(buf)); in SetPrimitiveArrayRegion()
|
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() 1164 GetByteArrayElements, ReleaseByteArrayElements, jbyte, "[B"); in TEST_F()
|
D | debugger.cc | 4276 reinterpret_cast<const jbyte*>(request->data())); in DdmHandlePacket() 4331 …env->GetByteArrayRegion(replyData.get(), offset, length, reinterpret_cast<jbyte*>(reply + kChunkHd… in DdmHandlePacket() 5129 env->SetByteArrayRegion(result, 0, bytes.size(), reinterpret_cast<const jbyte*>(&bytes[0])); in GetRecentAllocations()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 80 typedef jbyte (fntype)(JNIEnv*, jclass, jint); in InterpreterJni()
|