Home
last modified time | relevance | path

Searched refs:byte_buffer (Results 1 – 25 of 45) sorted by relevance

12

/external/adhd/cras/src/common/
Dbyte_buffer.h13 struct byte_buffer { struct
23 static inline struct byte_buffer *byte_buffer_create(size_t buffer_size_bytes) in byte_buffer_create() argument
25 struct byte_buffer *buf; in byte_buffer_create()
26 buf = (struct byte_buffer *) in byte_buffer_create()
27 calloc(1, sizeof(struct byte_buffer) + buffer_size_bytes); in byte_buffer_create()
35 static inline void byte_buffer_set_used_size(struct byte_buffer *buf, in byte_buffer_set_used_size()
42 static inline void byte_buffer_destroy(struct byte_buffer **buf) in byte_buffer_destroy()
48 static inline unsigned int buf_writable(struct byte_buffer *buf) in buf_writable()
58 static inline unsigned int buf_readable(struct byte_buffer *buf) in buf_readable()
69 static inline unsigned int buf_queued(struct byte_buffer *buf) in buf_queued()
[all …]
/external/adhd/cras/src/server/
Dcras_loopback_iodev.c47 struct byte_buffer *sample_buffer;
55 struct byte_buffer *sbuf = loopdev->sample_buffer; in sample_hook()
129 struct byte_buffer *sbuf = loopdev->sample_buffer; in frames_queued()
164 struct byte_buffer *sbuf = loopdev->sample_buffer; in close_record_dev()
201 struct byte_buffer *sbuf = loopdev->sample_buffer; in get_record_buffer()
217 struct byte_buffer *sbuf = loopdev->sample_buffer; in put_record_buffer()
228 struct byte_buffer *sbuf = loopdev->sample_buffer; in flush_record_buffer()
330 struct byte_buffer *sbuf = loopdev->sample_buffer; in loopback_iodev_destroy()
Dfloat_buffer.h18 struct byte_buffer *buf;
39 b->buf = (struct byte_buffer *) in float_buffer_create()
40 calloc(1, sizeof(struct byte_buffer) + in float_buffer_create()
Dcras_hfp_info.c48 struct byte_buffer *capture_buf;
49 struct byte_buffer *playback_buf;
Ddev_stream.h37 struct byte_buffer *conv_buffer;
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_record_jni.cc216 JNIEnv* env, jobject obj, jobject byte_buffer, jlong nativeAudioRecord) { in CacheDirectBufferAddress() argument
219 this_object->OnCacheDirectBufferAddress(env, byte_buffer); in CacheDirectBufferAddress()
223 JNIEnv* env, jobject byte_buffer) { in OnCacheDirectBufferAddress() argument
228 env->GetDirectBufferAddress(byte_buffer); in OnCacheDirectBufferAddress()
229 jlong capacity = env->GetDirectBufferCapacity(byte_buffer); in OnCacheDirectBufferAddress()
Daudio_track_jni.cc211 JNIEnv* env, jobject obj, jobject byte_buffer, jlong nativeAudioTrack) { in CacheDirectBufferAddress() argument
214 this_object->OnCacheDirectBufferAddress(env, byte_buffer); in CacheDirectBufferAddress()
218 JNIEnv* env, jobject byte_buffer) { in OnCacheDirectBufferAddress() argument
223 env->GetDirectBufferAddress(byte_buffer); in OnCacheDirectBufferAddress()
224 jlong capacity = env->GetDirectBufferCapacity(byte_buffer); in OnCacheDirectBufferAddress()
Daudio_track_jni.h92 JNIEnv* env, jobject obj, jobject byte_buffer, jlong nativeAudioTrack);
93 void OnCacheDirectBufferAddress(JNIEnv* env, jobject byte_buffer);
Daudio_record_jni.h95 JNIEnv* env, jobject obj, jobject byte_buffer, jlong nativeAudioRecord);
96 void OnCacheDirectBufferAddress(JNIEnv* env, jobject byte_buffer);
/external/image_io/src/jpeg/
Djpeg_segment_builder.cc22 bool JpegSegmentBuilder::SetPayloadSize(ByteBuffer* byte_buffer) { in SetPayloadSize() argument
23 std::uint16_t size = byte_buffer->GetSize(); in SetPayloadSize()
24 if (size == byte_buffer->GetSize() && size >= 4) { in SetPayloadSize()
25 return byte_buffer->SetBigEndianValue(2, size - 2); in SetPayloadSize()
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dproto_buffer_writer.h60 ProtoBufferWriter(ByteBuffer* byte_buffer, int block_size, int total_size) in ProtoBufferWriter() argument
65 GPR_CODEGEN_ASSERT(!byte_buffer->Valid()); in ProtoBufferWriter()
69 byte_buffer->set_buffer(bp); in ProtoBufferWriter()
Dbyte_buffer.h187 static Status Deserialize(ByteBuffer* byte_buffer, ByteBuffer* dest) { in Deserialize() argument
188 dest->set_buffer(byte_buffer->buffer_); in Deserialize()
/external/libchrome/mojo/public/java/system/
Dcore_impl.cc214 ScopedJavaLocalRef<jobject> byte_buffer( in JNI_CoreImpl_BeginReadData() local
216 return Java_CoreImpl_newResultAndBuffer(env, result, byte_buffer); in JNI_CoreImpl_BeginReadData()
264 ScopedJavaLocalRef<jobject> byte_buffer( in JNI_CoreImpl_BeginWriteData() local
266 return Java_CoreImpl_newResultAndBuffer(env, result, byte_buffer); in JNI_CoreImpl_BeginWriteData()
313 ScopedJavaLocalRef<jobject> byte_buffer( in JNI_CoreImpl_Map() local
315 return Java_CoreImpl_newResultAndBuffer(env, result, byte_buffer); in JNI_CoreImpl_Map()
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_windows.py35 def byte_buffer(length): function
162 port_name_buffer = byte_buffer(250)
180 szHardwareID = byte_buffer(250)
214 szFriendlyName = byte_buffer(250)
/external/libchrome/mojo/public/java/system/javatests/
Dvalidation_test_util.cc41 ScopedJavaLocalRef<jobject> byte_buffer( in JNI_ValidationTestUtil_ParseData() local
43 return Java_ValidationTestUtil_buildData(env, byte_buffer, num_handles, in JNI_ValidationTestUtil_ParseData()
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c58 unsigned char* byte_buffer; in main() local
140 byte_buffer = align_malloc(buffer_size, 4096); in main()
158 byte_buffer[i] = rand() & 0x7f7f7f7f; in main()
261 buffer[0] = byte_buffer; in main()
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc205 (struct byte_buffer *)byte_buffer_create(conv_buf_size * 4); in SetUpFmtConv()
319 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
344 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
366 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
384 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
401 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
423 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
444 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
462 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
480 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
[all …]
Dbyte_buffer_unittest.cc12 struct byte_buffer *b; in TEST()
51 struct byte_buffer *b; in TEST()
/external/webrtc/talk/app/webrtc/java/jni/
Dnative_handle_impl.cc148 jobject byte_buffer = jni->NewDirectByteBuffer(y_data, size); in NativeToI420Buffer() local
157 byte_buffer, width(), height(), stride, in NativeToI420Buffer()
/external/grpc-grpc/include/grpc/
Dmodule.modulemap24 header "impl/codegen/byte_buffer.h"
41 header "byte_buffer.h"
/external/grpc-grpc/test/core/end2end/
Dcq_verifier.h56 int byte_buffer_eq_string(grpc_byte_buffer* byte_buffer, const char* string);
/external/grpc-grpc/include/grpc/impl/codegen/
Dbyte_buffer.h56 GRPCAPI void grpc_byte_buffer_destroy(grpc_byte_buffer* byte_buffer);
/external/drrickorang/LoopbackApp/app/src/main/cpp/
DAndroid.bp5 "byte_buffer.c",
DCMakeLists.txt23 byte_buffer.c
/external/image_io/includes/image_io/jpeg/
Djpeg_segment_builder.h24 static bool SetPayloadSize(ByteBuffer* byte_buffer);

12