Home
last modified time | relevance | path

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

/external/adhd/cras/src/common/
Dbyte_buffer.h10 struct byte_buffer { struct
20 static inline struct byte_buffer *byte_buffer_create(size_t buffer_size_bytes) in byte_buffer_create() argument
22 struct byte_buffer *buf; in byte_buffer_create()
23 buf = (struct byte_buffer *) in byte_buffer_create()
24 calloc(1, sizeof(struct byte_buffer) + buffer_size_bytes); in byte_buffer_create()
32 static inline void byte_buffer_set_used_size(struct byte_buffer *buf, in byte_buffer_set_used_size()
39 static inline void byte_buffer_destroy(struct byte_buffer *buf) in byte_buffer_destroy()
44 static inline unsigned int buf_writable_bytes(struct byte_buffer *buf) in buf_writable_bytes()
54 static inline unsigned int buf_readable_bytes(struct byte_buffer *buf) in buf_readable_bytes()
65 static inline unsigned int buf_queued_bytes(struct byte_buffer *buf) in buf_queued_bytes()
[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()
124 struct byte_buffer *sbuf = loopdev->sample_buffer; in frames_queued()
159 struct byte_buffer *sbuf = loopdev->sample_buffer; in close_record_dev()
195 struct byte_buffer *sbuf = loopdev->sample_buffer; in get_record_buffer()
211 struct byte_buffer *sbuf = loopdev->sample_buffer; in put_record_buffer()
222 struct byte_buffer *sbuf = loopdev->sample_buffer; in flush_record_buffer()
324 struct byte_buffer *sbuf = loopdev->sample_buffer; in loopback_iodev_destroy()
Dcras_hfp_info.c48 struct byte_buffer *capture_buf;
49 struct byte_buffer *playback_buf;
Ddev_stream.h37 struct byte_buffer *conv_buffer;
Dtest_iodev.c40 struct byte_buffer *audbuff;
Dcras_a2dp_iodev.c51 struct byte_buffer *pcm_buf;
/external/libmojo/mojo/android/system/
Dcore_impl.cc232 jobject byte_buffer = 0; in BeginReadData() local
234 byte_buffer = in BeginReadData()
237 return Java_CoreImpl_newResultAndBuffer(env, result, byte_buffer); in BeginReadData()
274 jobject byte_buffer = 0; in BeginWriteData() local
276 byte_buffer = env->NewDirectByteBuffer(buffer, buffer_size); in BeginWriteData()
278 return Java_CoreImpl_newResultAndBuffer(env, result, byte_buffer); in BeginWriteData()
317 jobject byte_buffer = 0; in Map() local
319 byte_buffer = env->NewDirectByteBuffer(buffer, num_bytes); in Map()
321 return Java_CoreImpl_newResultAndBuffer(env, result, byte_buffer); in Map()
/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_record_jni.h95 JNIEnv* env, jobject obj, jobject byte_buffer, jlong nativeAudioRecord);
96 void OnCacheDirectBufferAddress(JNIEnv* env, jobject byte_buffer);
Daudio_track_jni.h92 JNIEnv* env, jobject obj, jobject byte_buffer, jlong nativeAudioTrack);
93 void OnCacheDirectBufferAddress(JNIEnv* env, jobject byte_buffer);
/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/libmojo/mojo/android/javatests/
Dvalidation_test_util.cc47 jobject byte_buffer = in ParseData() local
49 return Java_ValidationTestUtil_buildData(env, byte_buffer, num_handles, in 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/
Dbyte_buffer_unittest.cc12 struct byte_buffer *b; in TEST()
51 struct byte_buffer *b; in TEST()
Ddev_stream_unittest.cc212 (struct byte_buffer *)byte_buffer_create(kBufferFrames * 2 * 4); in TEST_F()
279 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
297 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
314 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
332 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
350 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
370 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dcompat.py21 from io import BytesIO as byte_buffer unknown
39 byte_buffer = StringIO variable
/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()
Dpeerconnection_jni.cc612 jobject byte_buffer = jni()->NewDirectByteBuffer( in OnMessage() local
615 byte_buffer, buffer.binary); in OnMessage()