/external/webrtc/modules/audio_processing/transient/ |
D | file_utils.cc | 86 std::unique_ptr<uint8_t[]> byte_array(new uint8_t[2]); in ReadInt16BufferFromFile() local 91 size_t bytes_read = file->Read(byte_array.get(), 2); in ReadInt16BufferFromFile() 95 int16_t value = byte_array[1]; in ReadInt16BufferFromFile() 97 value += byte_array[0]; in ReadInt16BufferFromFile() 148 std::unique_ptr<uint8_t[]> byte_array(new uint8_t[4]); in ReadFloatBufferFromFile() local 153 size_t bytes_read = file->Read(byte_array.get(), 4); in ReadFloatBufferFromFile() 157 ConvertByteArrayToFloat(byte_array.get(), &buffer[floats_read]); in ReadFloatBufferFromFile() 171 std::unique_ptr<uint8_t[]> byte_array(new uint8_t[8]); in ReadDoubleBufferFromFile() local 176 size_t bytes_read = file->Read(byte_array.get(), 8); in ReadDoubleBufferFromFile() 180 ConvertByteArrayToDouble(byte_array.get(), &buffer[doubles_read]); in ReadDoubleBufferFromFile() [all …]
|
/external/libchrome/base/android/ |
D | jni_array.cc | 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() 129 ScopedJavaLocalRef<jbyteArray> byte_array = ToJavaByteArray( in ToJavaArrayOfByteArray() local 131 env->SetObjectArrayElement(joa, i, byte_array.obj()); in ToJavaArrayOfByteArray() 195 jbyteArray byte_array, in AppendJavaByteArrayToByteVector() argument 198 if (!byte_array) in AppendJavaByteArrayToByteVector() 200 size_t len = SafeGetArrayLength(env, byte_array); in AppendJavaByteArrayToByteVector() 205 env->GetByteArrayRegion(byte_array, 0, len, in AppendJavaByteArrayToByteVector() [all …]
|
D | jni_array.h | 80 jbyteArray byte_array, 85 jbyteArray byte_array,
|
D | jni_array_unittest.cc | 323 ScopedJavaLocalRef<jbyteArray> byte_array = in TEST() local 326 ASSERT_TRUE(byte_array.obj()); in TEST() 328 env->SetObjectArrayElement(array.obj(), i, byte_array.obj()); in TEST()
|
/external/webrtc/test/fuzzers/ |
D | audio_encoder_fuzzer.cc | 44 auto byte_array = data.ReadByteArray(block_size_bytes); in FuzzAudioEncoder() local 47 byte_array.size() * sizeof(uint8_t)); in FuzzAudioEncoder() 48 memcpy(input_aligned.data(), byte_array.data(), byte_array.size()); in FuzzAudioEncoder()
|
D | audio_processing_fuzzer_helper.cc | 40 rtc::ArrayView<const uint8_t> byte_array = in GenerateFloatFrame() local 42 memmove(float_frames[i], byte_array.begin(), read_bytes); in GenerateFloatFrame()
|
/external/tflite-support/tensorflow_lite_support/java/src/native/task/vision/segmenter/ |
D | image_segmenter_jni.cc | 115 jbyteArray byte_array = CreateByteArray( in ConvertToSegmentationResults() local 119 env->CallBooleanMethod(jmask_buffers, array_list_add_method, byte_array); in ConvertToSegmentationResults() 120 env->DeleteLocalRef(byte_array); in ConvertToSegmentationResults() 124 jbyteArray byte_array = CreateByteArray( in ConvertToSegmentationResults() local 127 env->CallBooleanMethod(jmask_buffers, array_list_add_method, byte_array); in ConvertToSegmentationResults() 128 env->DeleteLocalRef(byte_array); in ConvertToSegmentationResults()
|
/external/tensorflow/tensorflow/lite/java/src/main/native/ |
D | tensor_jni.cc | 140 jbyteArray byte_array = static_cast<jbyteArray>(array); in WriteOneDimensionalArray() local 142 env->GetByteArrayRegion(byte_array, 0, num_elements, byte_dst); in WriteOneDimensionalArray() 196 jbyteArray byte_array = static_cast<jbyteArray>(dst); in ReadOneDimensionalArray() local 197 env->SetByteArrayRegion(byte_array, 0, len, in ReadOneDimensionalArray() 301 jbyteArray byte_array = static_cast<jbyteArray>(src); in AddStringDynamicBuffer() local 302 jsize byte_array_length = env->GetArrayLength(byte_array); in AddStringDynamicBuffer() 303 jbyte* bytes = env->GetByteArrayElements(byte_array, nullptr); in AddStringDynamicBuffer() 306 env->ReleaseByteArrayElements(byte_array, bytes, JNI_ABORT); in AddStringDynamicBuffer()
|
/external/llvm/test/CodeGen/Mips/cconv/ |
D | memory-layout.ll | 71 @byte_array = global [2 x i8] [i8 1, i8 2], align 1 80 ; ALL-LABEL: byte_array: 82 ; ALL: .size byte_array, 2
|
/external/llvm-project/llvm/test/CodeGen/Mips/cconv/ |
D | memory-layout.ll | 71 @byte_array = global [2 x i8] [i8 1, i8 2], align 1 80 ; ALL-LABEL: byte_array: 82 ; ALL: .size byte_array, 2
|
/external/capstone/bindings/python/ |
D | test_m680x.py | 49 def to_hex_short_uc(byte_array): argument 50 return "".join("%02X" % b for b in byte_array)
|
/external/llvm-project/lldb/examples/python/ |
D | disasm-stress-test.py | 104 def PrintByteArray(log_file, byte_array): argument 105 for byte in byte_array:
|
/external/skia/third_party/sfntly/ |
D | BUILD.gn | 25 "$_src/sfntly/data/byte_array.cc",
|
/external/skqp/third_party/sfntly/ |
D | BUILD.gn | 20 "../externals/sfntly/cpp/src/sfntly/data/byte_array.cc",
|
/external/skqp/platform_tools/libraries/include/ |
D | arcore_c_api.h | 2249 void ArByteArray_release(uint8_t *byte_array);
|
/external/skia/platform_tools/libraries/include/ |
D | arcore_c_api.h | 2249 void ArByteArray_release(uint8_t *byte_array);
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | iterator_test.py | 721 def _encode_raw(byte_array): argument 722 return bytes(bytearray(byte_array))
|