Home
last modified time | relevance | path

Searched refs:byte_array (Results 1 – 11 of 11) 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/libmojo/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()
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()
[all …]
Djni_array.h76 jbyteArray byte_array,
81 jbyteArray byte_array,
Djni_array_unittest.cc265 ScopedJavaLocalRef<jbyteArray> byte_array = in TEST() local
268 ASSERT_TRUE(byte_array.obj()); in TEST()
270 env->SetObjectArrayElement(array.obj(), i, byte_array.obj()); in TEST()
/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/v8/src/
Dsource-position-table.cc170 SourcePositionTableIterator::SourcePositionTableIterator(ByteArray* byte_array) in SourcePositionTableIterator() argument
171 : table_(byte_array), index_(0), current_() { in SourcePositionTableIterator()
Dsource-position-table.h64 explicit SourcePositionTableIterator(ByteArray* byte_array);
Dstring-stream.cc353 void StringStream::PrintByteArray(ByteArray* byte_array) { in PrintByteArray() argument
354 unsigned int limit = byte_array->length(); in PrintByteArray()
356 byte b = byte_array->get(i); in PrintByteArray()
/external/sfntly/
DAndroid.bp5 "cpp/src/sfntly/data/byte_array.cc",
/external/skia/third_party/sfntly/
DBUILD.gn20 "../externals/sfntly/cpp/src/sfntly/data/byte_array.cc",
/external/v8/src/heap/
Dheap.cc2370 ALLOCATE_VARSIZE_MAP(BYTE_ARRAY_TYPE, byte_array) in CreateInitialMaps()
2454 ByteArray* byte_array; in CreateInitialMaps() local
2455 if (!AllocateByteArray(0, TENURED).To(&byte_array)) return false; in CreateInitialMaps()
2456 set_empty_byte_array(byte_array); in CreateInitialMaps()