Home
last modified time | relevance | path

Searched refs:byte_array (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/transient/
Dfile_utils.cc86 rtc::scoped_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 rtc::scoped_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 rtc::scoped_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/
Djni_array.cc31 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 …]
Djni_array.h80 jbyteArray byte_array,
85 jbyteArray byte_array,
/external/v8/src/codegen/
Dsource-position-table.cc112 Vector<const byte> VectorFromByteArray(ByteArray byte_array) { in VectorFromByteArray() argument
113 return Vector<const byte>(byte_array.GetDataStartAddress(), in VectorFromByteArray()
114 byte_array.length()); in VectorFromByteArray()
222 ByteArray byte_array, IterationFilter iteration_filter, in SourcePositionTableIterator() argument
224 : raw_table_(VectorFromByteArray(byte_array)), in SourcePositionTableIterator()
231 Handle<ByteArray> byte_array, IterationFilter iteration_filter, in SourcePositionTableIterator() argument
233 : table_(byte_array), in SourcePositionTableIterator()
Dsource-position-table.h103 Handle<ByteArray> byte_array,
111 ByteArray byte_array, IterationFilter iteration_filter = kJavaScriptOnly,
Dhandler-table.cc30 HandlerTable::HandlerTable(ByteArray byte_array) in HandlerTable() argument
31 : HandlerTable(reinterpret_cast<Address>(byte_array.GetDataStartAddress()), in HandlerTable()
32 byte_array.length(), kRangeBasedEncoding) {} in HandlerTable()
Dhandler-table.h60 explicit HandlerTable(ByteArray byte_array);
/external/llvm/test/CodeGen/Mips/cconv/
Dmemory-layout.ll71 @byte_array = global [2 x i8] [i8 1, i8 2], align 1
80 ; ALL-LABEL: byte_array:
82 ; ALL: .size byte_array, 2
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/cconv/
Dmemory-layout.ll71 @byte_array = global [2 x i8] [i8 1, i8 2], align 1
80 ; ALL-LABEL: byte_array:
82 ; ALL: .size byte_array, 2
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc130 jbyteArray byte_array = static_cast<jbyteArray>(array); in WriteOneDimensionalArray() local
132 env->GetByteArrayRegion(byte_array, 0, num_elements, byte_dst); in WriteOneDimensionalArray()
178 jbyteArray byte_array = static_cast<jbyteArray>(dst); in ReadOneDimensionalArray() local
179 env->SetByteArrayRegion(byte_array, 0, len, in ReadOneDimensionalArray()
/external/v8/src/regexp/experimental/
Dexperimental.cc52 Handle<ByteArray> byte_array = isolate->factory()->NewByteArray(byte_length); in VectorToByteArray() local
54 MemCopy(byte_array->GetDataStartAddress(), data.begin(), byte_length); in VectorToByteArray()
55 return byte_array; in VectorToByteArray()
/external/v8/src/strings/
Dstring-stream.cc347 void StringStream::PrintByteArray(ByteArray byte_array) { in PrintByteArray() argument
348 unsigned int limit = byte_array.length(); in PrintByteArray()
350 byte b = byte_array.get(i); in PrintByteArray()
/external/skia/third_party/sfntly/
DBUILD.gn27 "$_src/sfntly/data/byte_array.cc",
/external/skqp/third_party/sfntly/
DBUILD.gn20 "../externals/sfntly/cpp/src/sfntly/data/byte_array.cc",
/external/skqp/platform_tools/libraries/include/
Darcore_c_api.h2249 void ArByteArray_release(uint8_t *byte_array);
/external/skia/platform_tools/libraries/include/
Darcore_c_api.h2249 void ArByteArray_release(uint8_t *byte_array);
/external/tensorflow/tensorflow/python/data/kernel_tests/
Diterator_test.py721 def _encode_raw(byte_array): argument
722 return bytes(bytearray(byte_array))
/external/v8/src/heap/
Dsetup-heap-internal.cc416 ALLOCATE_VARSIZE_MAP(BYTE_ARRAY_TYPE, byte_array) in CreateInitialMaps()