Lines Matching refs:byte_array
31 jbyteArray byte_array = env->NewByteArray(len); in ToJavaByteArray() local
33 DCHECK(byte_array); in ToJavaByteArray()
36 byte_array, 0, len, reinterpret_cast<const jbyte*>(bytes)); in ToJavaByteArray()
39 return ScopedJavaLocalRef<jbyteArray>(env, byte_array); in ToJavaByteArray()
115 ScopedJavaLocalRef<jbyteArray> byte_array = ToJavaByteArray( in ToJavaArrayOfByteArray() local
117 env->SetObjectArrayElement(joa, i, byte_array.obj()); in ToJavaArrayOfByteArray()
181 jbyteArray byte_array, in AppendJavaByteArrayToByteVector() argument
184 if (!byte_array) in AppendJavaByteArrayToByteVector()
186 size_t len = SafeGetArrayLength(env, byte_array); in AppendJavaByteArrayToByteVector()
191 env->GetByteArrayRegion(byte_array, 0, len, in AppendJavaByteArrayToByteVector()
196 jbyteArray byte_array, in JavaByteArrayToByteVector() argument
199 DCHECK(byte_array); in JavaByteArrayToByteVector()
201 AppendJavaByteArrayToByteVector(env, byte_array, out); in JavaByteArrayToByteVector()