/external/adhd/cras/src/common/ |
D | byte_buffer.h | 10 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/ |
D | cras_loopback_iodev.c | 47 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()
|
D | cras_hfp_info.c | 48 struct byte_buffer *capture_buf; 49 struct byte_buffer *playback_buf;
|
D | dev_stream.h | 37 struct byte_buffer *conv_buffer;
|
D | test_iodev.c | 40 struct byte_buffer *audbuff;
|
D | cras_a2dp_iodev.c | 51 struct byte_buffer *pcm_buf;
|
/external/libmojo/mojo/android/system/ |
D | core_impl.cc | 232 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/ |
D | audio_record_jni.cc | 216 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()
|
D | audio_track_jni.cc | 211 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()
|
D | audio_record_jni.h | 95 JNIEnv* env, jobject obj, jobject byte_buffer, jlong nativeAudioRecord); 96 void OnCacheDirectBufferAddress(JNIEnv* env, jobject byte_buffer);
|
D | audio_track_jni.h | 92 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/ |
D | list_ports_windows.py | 35 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/ |
D | validation_test_util.cc | 47 jobject byte_buffer = in ParseData() local 49 return Java_ValidationTestUtil_buildData(env, byte_buffer, num_handles, in ParseData()
|
/external/mesa3d/src/gallium/tests/unit/ |
D | translate_test.c | 58 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/ |
D | byte_buffer_unittest.cc | 12 struct byte_buffer *b; in TEST() 51 struct byte_buffer *b; in TEST()
|
D | dev_stream_unittest.cc | 212 (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/ |
D | compat.py | 21 from io import BytesIO as byte_buffer unknown 39 byte_buffer = StringIO variable
|
/external/webrtc/talk/app/webrtc/java/jni/ |
D | native_handle_impl.cc | 148 jobject byte_buffer = jni->NewDirectByteBuffer(y_data, size); in NativeToI420Buffer() local 157 byte_buffer, width(), height(), stride, in NativeToI420Buffer()
|
D | peerconnection_jni.cc | 612 jobject byte_buffer = jni()->NewDirectByteBuffer( in OnMessage() local 615 byte_buffer, buffer.binary); in OnMessage()
|