Home
last modified time | relevance | path

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

123

/external/oj-libjdwp/src/share/npt/
Dutf.h52 (struct UtfInst *ui, jbyte *utf8,
56 jbyte *output, int outputMaxLen);
58 (struct UtfInst *ui, jbyte *utf8, int len,
62 jbyte *output, int outputMaxLen);
65 jbyte *output, int outputMaxLen);
67 (struct UtfInst *ui, jbyte *string, int length);
69 (struct UtfInst *ui, jbyte *string, int length,
70 jbyte *new_string, int new_length);
72 (struct UtfInst *ui, jbyte *string, int length);
74 (struct UtfInst *ui, jbyte *string, int length,
[all …]
Dnpt.h63 (struct UtfInst *utf, jbyte *utf8, int len,
67 jbyte *output, int outputMaxLen);
69 (struct UtfInst *utf, jbyte *utf8, int len,
73 jbyte *output, int outputMaxLen);
76 jbyte *output, int outputMaxLen);
78 (struct UtfInst *utf, jbyte *string, int length);
80 (struct UtfInst *utf, jbyte *string, int length,
81 jbyte *newString, int newLength);
83 (struct UtfInst *utf, jbyte *string, int length);
85 (struct UtfInst *utf, jbyte *string, int length,
[all …]
Dutf.c54 utf8ToUtf16(struct UtfInst *ui, jbyte *utf8, int len, unsigned short *output, int outputMaxLen) in utf8ToUtf16()
92 utf16ToUtf8m(struct UtfInst *ui, unsigned short *utf16, int len, jbyte *output, int outputMaxLen) in utf16ToUtf8m()
132 utf16ToUtf8s(struct UtfInst *ui, unsigned short *utf16, int len, jbyte *output, int outputMaxLen) in utf16ToUtf8s()
145 utf8sToUtf8mLength(struct UtfInst *ui, jbyte *string, int length) in utf8sToUtf8mLength()
203 utf8sToUtf8m(struct UtfInst *ui, jbyte *string, int length, jbyte *newString, int newLength) in utf8sToUtf8m()
218 newString[j++] = (jbyte)0xC0; in utf8sToUtf8m()
219 newString[j++] = (jbyte)0x80; in utf8sToUtf8m()
245 newString[j++] = (jbyte)0xED; in utf8sToUtf8m()
246 newString[j++] = (jbyte)(0xA0 + (((u21 >> 16) - 1) & 0x0F)); in utf8sToUtf8m()
247 newString[j++] = (jbyte)(0x80 + ((u21 >> 10) & 0x3F)); in utf8sToUtf8m()
[all …]
/external/oj-libjdwp/src/share/back/
DeventHelper.h32 void eventHelper_initialize(jbyte sessionID);
33 void eventHelper_reset(jbyte sessionID);
37 jbyte suspendPolicy, struct bag *eventBag);
39 void eventHelper_recordFrameEvent(jint id, jbyte suspendPolicy, EventIndex ei,
46 jbyte eventHelper_reportEvents(jbyte sessionID, struct bag *eventBag);
47 void eventHelper_reportInvokeDone(jbyte sessionID, jthread thread);
48 void eventHelper_reportVMInit(JNIEnv *env, jbyte sessionID, jthread thread, jbyte suspendPolicy);
49 void eventHelper_suspendThread(jbyte sessionID, jthread thread);
DoutStream.h39 jbyte *data;
44 jbyte *current;
51 jbyte initialSegment[INITIAL_SEGMENT_SIZE];
56 jbyte flags, jbyte commandSet, jbyte command);
60 jbyte outStream_command(PacketOutputStream *stream);
63 jdwpError outStream_writeByte(PacketOutputStream *stream, jbyte val);
76 jdwpError outStream_writeByteArray(PacketOutputStream*stream, jint length, jbyte *bytes);
79 jbyte typeKey, jvalue value);
DoutStream.c57 jbyte flags, jbyte commandSet, jbyte command) in outStream_initCommand()
81 stream->packet.type.cmd.flags = (jbyte)JDWPTRANSPORT_FLAGS_REPLY; in outStream_initReply()
90 jbyte
101 jbyte *bytes = (jbyte *)source; in writeBytes()
110 jbyte *newSeg = jvmtiAllocate(segSize); in writeBytes()
140 jbyte byte = (val != 0) ? 1 : 0; in outStream_writeBoolean()
145 outStream_writeByte(PacketOutputStream *stream, jbyte val) in outStream_writeByte()
291 jbyte *bytes) in outStream_writeByteArray()
306 error = writeBytes(stream, (jbyte *)string, length); in outStream_writeString()
311 (gdata->npt->utf, (jbyte*)string, length); in outStream_writeString()
[all …]
DinStream.h35 jbyte *current;
45 jbyte inStream_command(PacketInputStream *stream);
48 jbyte inStream_readByte(PacketInputStream *stream);
49 jbyte* inStream_readBytes(PacketInputStream *stream,
50 int length, jbyte *buf);
72 jvalue inStream_readValue(struct PacketInputStream *in, jbyte *typeKeyPtr);
DinStream.c59 jbyte
94 jbyte flag = 0; in inStream_readBoolean()
103 jbyte
106 jbyte val = 0; in inStream_readByte()
111 jbyte *
112 inStream_readBytes(PacketInputStream *stream, int length, jbyte *buf) in inStream_readBytes()
383 (gdata->npt->utf, (jbyte*)string, length); in inStream_readString()
389 (gdata->npt->utf, (jbyte*)string, length, in inStream_readString()
390 (jbyte*)new_string, new_length); in inStream_readString()
416 inStream_readValue(PacketInputStream *stream, jbyte *typeKeyPtr) in inStream_readValue()
[all …]
Dinvoker.h42 jbyte invokeType;
43 jbyte options;
63 jvmtiError invoker_requestInvoke(jbyte invokeType, jbyte options, jint id,
DeventHelper.c48 jbyte suspendPolicy; /* NOTE: Must be the first field */
59 jbyte suspendPolicy; /* NOTE: Must be the first field */
85 jbyte suspendPolicy; /* NOTE: Must be the first field */
94 jbyte suspendPolicy; /* NOTE: Must be the first field */
103 jbyte sessionID;
297 jbyte fieldClassTag; in writeFieldAccessEvent()
314 jbyte fieldClassTag; in writeFieldModificationEvent()
325 (void)outStream_writeValue(env, out, (jbyte)evinfo->u.field_modification.signature_type, in writeFieldModificationEvent()
377 jbyte classTag; in writeClassEvent()
486 suspendWithInvokeEnabled(jbyte policy, jthread thread) in suspendWithInvokeEnabled()
[all …]
DeventHandler.h37 jbyte suspendPolicy;
50 jbyte suspendPolicy);
73 void eventHandler_initialize(jbyte sessionID);
74 void eventHandler_reset(jbyte sessionID);
Dinvoker.c55 static jbyte
61 return (jbyte)*tagPtr; in returnTypeTag()
64 static jbyte
68 jbyte argumentTag = (jbyte)*tagPtr; in nextArgumentTypeTag()
89 static jbyte
108 jbyte argumentTag; in createGlobalRefs()
248 jbyte argumentTag = firstArgumentTypeTag(request->methodSignature, &cursor); in deleteGlobalArgumentRefs()
272 jbyte invokeType, jbyte options, jint id, in fillInvokeRequest()
345 invoker_requestInvoke(jbyte invokeType, jbyte options, jint id, in invoker_requestInvoke()
672 jbyte options; in invoker_doInvoke()
[all …]
DDDMImpl.c90 jbyte* data_in; in chunk()
91 jbyte* data_out; in chunk()
96 data_in = inStream_readBytes(in, len_in, (jbyte*)jvmtiAllocate(len_in)); in chunk()
Dutil.h88 const jbyte* data_in,
91 jbyte** data_out);
332 jbyte referenceTypeTag(jclass clazz);
333 jbyte specificTypeKey(JNIEnv *env, jobject object);
334 jboolean isObjectTag(jbyte tag);
DStackFrameImpl.c54 FrameNumber fnum, jint slot, jbyte typeKey) in writeVariableValue()
85 (void)outStream_writeByte(out, (jbyte)intValue); in writeVariableValue()
147 FrameNumber fnum, jint slot, jbyte typeKey) in readVariableValue()
254 jbyte typeKey; in getValues()
312 jbyte typeKey; in setValues()
Dtransport.c54 jbyte *utf8msg; in printLastError()
67 utf8msg = (jbyte*)jvmtiAllocate(maxlen+1); in printLastError()
114 (jbyte*)libdir, len, buf, (int)sizeof(buf)); in loadTransportLibrary()
396 (jbyte*)commandLine, len, buf, len*3+3); in launch()
/external/tensorflow/tensorflow/examples/android/jni/
Dimageutils_jni.cc66 jbyte* const i = env->GetByteArrayElements(input, &inputCopy); in IMAGEUTILS_METHOD()
90 jbyte* const y_buff = env->GetByteArrayElements(y, &inputCopy); in IMAGEUTILS_METHOD()
99 jbyte* const u_buff = env->GetByteArrayElements(u, &inputCopy); in IMAGEUTILS_METHOD()
100 jbyte* const v_buff = env->GetByteArrayElements(v, &inputCopy); in IMAGEUTILS_METHOD()
119 jbyte* const i = env->GetByteArrayElements(input, &inputCopy); in IMAGEUTILS_METHOD()
122 jbyte* const o = env->GetByteArrayElements(output, &outputCopy); in IMAGEUTILS_METHOD()
139 jbyte* const o = env->GetByteArrayElements(output, &outputCopy); in IMAGEUTILS_METHOD()
153 jbyte* const i = env->GetByteArrayElements(input, &inputCopy); in IMAGEUTILS_METHOD()
156 jbyte* const o = env->GetByteArrayElements(output, &outputCopy); in IMAGEUTILS_METHOD()
/external/oj-libjdwp/src/share/javavm/export/
DjdwpTransport.h111 jbyte flags;
112 jbyte cmdSet;
113 jbyte cmd;
114 jbyte *data;
120 jbyte flags;
122 jbyte *data;
Djni.h122 jbyte b;
223 (JNIEnv *env, const char *name, jobject loader, const jbyte *buf,
306 jbyte (JNICALL *CallByteMethod)
308 jbyte (JNICALL *CallByteMethodV)
310 jbyte (JNICALL *CallByteMethodA)
380 jbyte (JNICALL *CallNonvirtualByteMethod)
382 jbyte (JNICALL *CallNonvirtualByteMethodV)
385 jbyte (JNICALL *CallNonvirtualByteMethodA)
459 jbyte (JNICALL *GetByteField)
479 (JNIEnv *env, jobject obj, jfieldID fieldID, jbyte val);
[all …]
/external/tensorflow/tensorflow/java/src/main/native/
Dsaved_model_bundle_jni.cc34 jbyte* config_data = env->GetByteArrayElements(config, nullptr); in Java_org_tensorflow_SavedModelBundle_load()
48 jbyte* run_options_data = env->GetByteArrayElements(run_options, nullptr); in Java_org_tensorflow_SavedModelBundle_load()
91 static_assert(sizeof(jbyte) == 1, "unexpected size of the jbyte type"); in Java_org_tensorflow_SavedModelBundle_load()
95 static_cast<const jbyte*>(metagraph_def->data)); in Java_org_tensorflow_SavedModelBundle_load()
Dtensorflow_jni.cc32 env->SetByteArrayRegion(ret, 0, length, static_cast<const jbyte*>(buf->data)); in Java_org_tensorflow_TensorFlow_registeredOpList()
65 env->SetByteArrayRegion(ret, 0, ret_len, static_cast<const jbyte*>(buf.data)); in Java_org_tensorflow_TensorFlow_libraryOpList()
Dtensor_jni.cc47 static_assert(sizeof(jbyte) == 1, in elemByteSize()
96 CASE(TF_UINT8, jbyte, "byteValue", "()B", Byte); in writeScalar()
141 CASE(TF_UINT8, jbyte, Byte); in write1DArray()
176 CASE(TF_UINT8, jbyte, Byte); in read1DArray()
232 jbyte* cpy = env->GetByteArrayElements(ret, nullptr); in TF_StringDecodeTojbyteArray()
376 jbyte* jsrc = env->GetByteArrayElements(value, nullptr); in Java_org_tensorflow_Tensor_allocateScalarBytes()
418 jbyte* jsrc = in fillNonScalarTF_STRINGTensorData()
/external/oj-libjdwp/src/share/transport/socket/
DsocketTransport.c540 jbyte *data; in socketTransport_writePacket()
660 n = recv_fully(socketFD,(char *)&(packet->type.cmd.flags),sizeof(jbyte)); in socketTransport_readPacket()
661 if (n < (int)sizeof(jbyte)) { in socketTransport_readPacket()
666 n = recv_fully(socketFD,(char *)&(packet->type.reply.errorCode),sizeof(jbyte)); in socketTransport_readPacket()
675 n = recv_fully(socketFD,(char *)&(packet->type.cmd.cmdSet),sizeof(jbyte)); in socketTransport_readPacket()
676 if (n < (int)sizeof(jbyte)) { in socketTransport_readPacket()
680 n = recv_fully(socketFD,(char *)&(packet->type.cmd.cmd),sizeof(jbyte)); in socketTransport_readPacket()
681 if (n < (int)sizeof(jbyte)) { in socketTransport_readPacket()
686 data_len = length - ((sizeof(jint) * 2) + (sizeof(jbyte) * 3)); in socketTransport_readPacket()
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dobject_tracker_jni.cc181 jbyte* pixels = env->GetByteArrayElements(frame_data, &iCopied); in OBJECT_TRACKER_METHOD()
316 jbyte* pixels = env->GetByteArrayElements(y_data, &iCopied); in OBJECT_TRACKER_METHOD()
317 jbyte* uv_pixels = in OBJECT_TRACKER_METHOD()
379 jbyte keypoint_arr[kMaxKeypoints * bytes_per_keypoint]; in OBJECT_TRACKER_METHOD()
438 jbyte* const input_array = env->GetByteArrayElements(input, 0); in OBJECT_TRACKER_METHOD()
439 jbyte* const output_array = env->GetByteArrayElements(output, 0); in OBJECT_TRACKER_METHOD()
/external/oj-libjdwp/src/solaris/npt/
Dutf_md.c144 utf8ToPlatform(struct UtfInst*ui, jbyte *utf8, int len, char *output, int outputMaxLen) in utf8ToPlatform()
165 utf8FromPlatform(struct UtfInst*ui, char *str, int len, jbyte *output, int outputMaxLen) in utf8FromPlatform()

123