Home
last modified time | relevance | path

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

123

/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 *)calloc(1, sizeof(struct byte_buffer) + 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()
70 static inline unsigned int buf_adjust_readable(struct byte_buffer *buf, in buf_adjust_readable()
78 static inline unsigned int buf_queued(struct byte_buffer *buf) in buf_queued()
[all …]
/external/adhd/cras/src/server/
Dcras_loopback_iodev.c51 struct byte_buffer *sample_buffer;
72 struct byte_buffer *sbuf = loopdev->sample_buffer; in sample_hook()
142 struct byte_buffer *sbuf = loopdev->sample_buffer; in frames_queued()
176 struct byte_buffer *sbuf = loopdev->sample_buffer; in close_record_dev()
218 struct byte_buffer *sbuf = loopdev->sample_buffer; in get_record_buffer()
236 struct byte_buffer *sbuf = loopdev->sample_buffer; in put_record_buffer()
248 struct byte_buffer *sbuf = loopdev->sample_buffer; in flush_record_buffer()
355 struct byte_buffer *sbuf = loopdev->sample_buffer; in loopback_iodev_destroy()
Dfloat_buffer.h18 struct byte_buffer *buf;
38 b->buf = (struct byte_buffer *)calloc( in float_buffer_create()
39 1, sizeof(struct byte_buffer) + in float_buffer_create()
/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()
/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/webrtc/modules/audio_device/android/
Daudio_record_jni.cc235 jobject byte_buffer, in CacheDirectBufferAddress() argument
239 this_object->OnCacheDirectBufferAddress(env, byte_buffer); in CacheDirectBufferAddress()
243 jobject byte_buffer) { in OnCacheDirectBufferAddress() argument
247 direct_buffer_address_ = env->GetDirectBufferAddress(byte_buffer); in OnCacheDirectBufferAddress()
248 jlong capacity = env->GetDirectBufferCapacity(byte_buffer); in OnCacheDirectBufferAddress()
Daudio_track_jni.cc243 jobject byte_buffer, in CacheDirectBufferAddress() argument
247 this_object->OnCacheDirectBufferAddress(env, byte_buffer); in CacheDirectBufferAddress()
251 jobject byte_buffer) { in OnCacheDirectBufferAddress() argument
255 direct_buffer_address_ = env->GetDirectBufferAddress(byte_buffer); in OnCacheDirectBufferAddress()
256 jlong capacity = env->GetDirectBufferCapacity(byte_buffer); in OnCacheDirectBufferAddress()
Daudio_record_jni.h96 jobject byte_buffer,
98 void OnCacheDirectBufferAddress(JNIEnv* env, jobject byte_buffer);
Daudio_track_jni.h96 jobject byte_buffer,
98 void OnCacheDirectBufferAddress(JNIEnv* env, jobject byte_buffer);
/external/rust/crates/grpcio-sys/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()
/external/rust/crates/grpcio-sys/grpc/spm-cpp-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()
/external/webrtc/sdk/android/src/jni/
Djni_common.cc39 const JavaParamRef<jobject>& byte_buffer) { in JNI_JniCommon_FreeByteBuffer() argument
40 void* data = jni->GetDirectBufferAddress(byte_buffer.obj()); in JNI_JniCommon_FreeByteBuffer()
/external/ukey2/src/main/cpp/src/securegcm/
Djava_util.cc46 int32_t JavaHashCode(const securemessage::ByteBuffer& byte_buffer) { in JavaHashCode() argument
47 const string bytes = byte_buffer.String(); in JavaHashCode()
/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/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/
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/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()
267 buffer[0] = byte_buffer; in main()
/external/webrtc/sdk/android/src/jni/audio_device/
Daudio_record_jni.cc233 const JavaParamRef<jobject>& byte_buffer) { in CacheDirectBufferAddress() argument
237 direct_buffer_address_ = env->GetDirectBufferAddress(byte_buffer.obj()); in CacheDirectBufferAddress()
238 jlong capacity = env->GetDirectBufferCapacity(byte_buffer.obj()); in CacheDirectBufferAddress()
Daudio_track_jni.cc221 const JavaParamRef<jobject>& byte_buffer) { in CacheDirectBufferAddress() argument
225 direct_buffer_address_ = env->GetDirectBufferAddress(byte_buffer.obj()); in CacheDirectBufferAddress()
226 jlong capacity = env->GetDirectBufferCapacity(byte_buffer.obj()); in CacheDirectBufferAddress()
/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.cc230 (struct byte_buffer*)byte_buffer_create(conv_buf_size * 4); in SetUpFmtConv()
339 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
381 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
402 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
420 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
437 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
458 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
478 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
496 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
514 EXPECT_NE(static_cast<byte_buffer*>(NULL), dev_stream->conv_buffer); in TEST_F()
[all …]
/external/rust/crates/grpcio-sys/grpc/include/grpc/
Dmodule.modulemap6 header "impl/codegen/byte_buffer.h"
34 header "byte_buffer.h"
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/
Dmodule.modulemap6 header "impl/codegen/byte_buffer.h"
34 header "byte_buffer.h"
/external/webrtc/api/transport/
DDEPS3 "+rtc_base/byte_buffer.h",
/external/ukey2/src/main/cpp/include/securegcm/
Djava_util.h52 int32_t JavaHashCode(const securemessage::ByteBuffer& byte_buffer);

123