HomeSort by relevance Sort by last modified time
    Searched defs:buffer (Results 551 - 575 of 6723) sorted by null

<<21222324252627282930>>

  /external/valgrind/none/tests/s390x/
stcke.c 6 unsigned long buffer[2]; member in union:stcke
37 cc = stcke(start.buffer);
42 cc = stcke(end.buffer);
  /external/vboot_reference/tests/
sha_benchmark.c 34 uint8_t* buffer = (uint8_t*) malloc(TEST_BUFFER_SIZE); local
42 hash_functions[i].hash(buffer, TEST_BUFFER_SIZE, digest);
56 free(buffer);
  /external/walt/android/WALT/app/src/main/jni/
sync_clock.h 33 char buffer[CLOCK_BUFFER_LENGTH]; member in struct:clock_connection
  /external/webrtc/talk/media/webrtc/
webrtcvideoframe_unittest.cc 299 webrtc::NativeHandleBuffer* buffer = local
302 cricket::WebRtcVideoFrame frame(buffer, 200, webrtc::kVideoRotation_0);
314 webrtc::NativeHandleBuffer* buffer = local
317 cricket::WebRtcVideoFrame frame1(buffer, 200, webrtc::kVideoRotation_0);
  /external/webrtc/webrtc/base/
multipart_unittest.cc 80 char buffer[1024]; local
82 multipart.Read(buffer, sizeof(buffer), NULL, NULL));
85 multipart.Write(buffer, sizeof(buffer), NULL, NULL));
96 Flow(&multipart, buffer, sizeof(buffer), &str_stream));
  /external/webrtc/webrtc/modules/rtp_rtcp/source/
h264_sps_parser_unittest.cc 38 // Pass in a buffer of at least kSpsBufferMaxSize.
42 void GenerateFakeSps(uint16_t width, uint16_t height, uint8_t buffer[]) {
108 *buffer++ = rbsp[i];
109 *buffer++ = rbsp[i + 1];
110 *buffer++ = 0x3u;
113 *buffer++ = rbsp[i];
122 const uint8_t buffer[] = {0x7A, 0x00, 0x1F, 0xBC, 0xD9, 0x40, 0x50, 0x05, local
125 H264SpsParser parser = H264SpsParser(buffer, arraysize(buffer));
134 const uint8_t buffer[] = {0x7A, 0x00, 0x1E, 0xBC, 0xD9, 0x40, 0xA0, 0x2F local
146 const uint8_t buffer[] = {0x7A, 0x00, 0x0D, 0xBC, 0xD9, 0x43, 0x43, 0x3E, local
156 uint8_t buffer[kSpsBufferMaxSize] = {0}; local
165 uint8_t buffer[kSpsBufferMaxSize] = {0}; local
    [all...]
  /external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
dlrr_unittest.cc 40 uint8_t buffer[kBlockSizeBytes]; local
42 dlrr.Create(buffer);
43 EXPECT_EQ(0, memcmp(buffer, kBlock, kBlockSizeBytes));
60 uint8_t buffer[kBigBufferSize]; local
61 buffer[0] = Dlrr::kBlockType;
62 buffer[1] = 0; // Reserved.
63 buffer[2] = 0; // Most significant size byte.
65 buffer[3] = size;
68 EXPECT_EQ(size % 3 == 0, dlrr.Parse(buffer, static_cast<uint16_t>(size)));
82 uint8_t buffer[kBufferSize] local
    [all...]
report_block_unittest.cc 34 uint8_t buffer[kBufferLength]; local
35 memset(buffer, 0, sizeof(buffer));
38 EXPECT_FALSE(rb.Parse(buffer, kBufferLength - 1));
39 EXPECT_TRUE(rb.Parse(buffer, kBufferLength));
43 uint8_t buffer[kBufferLength]; local
44 // Fill buffer with semi-random data.
47 buffer[i] = static_cast<uint8_t>(generator.Rand(0, 0xff));
50 EXPECT_TRUE(rb.Parse(buffer, kBufferLength));
63 uint8_t buffer[kBufferLength] local
    [all...]
voip_metric_unittest.cc 31 uint8_t buffer[VoipMetric::kLength]; local
57 metric_block.Create(buffer);
58 EXPECT_EQ(0, memcmp(buffer, kBlock, kBlockSizeBytes));
  /external/webrtc/webrtc/modules/video_coding/codecs/vp9/
vp9_frame_buffer_pool.cc 42 // Called by libvpx when it needs another frame buffer.
44 // Called by libvpx when it no longer uses a frame buffer.
60 // Do we have a buffer we can recycle?
61 for (const auto& buffer : allocated_buffers_) {
62 if (buffer->HasOneRef()) {
63 available_buffer = buffer;
88 for (const auto& buffer : allocated_buffers_) {
89 if (!buffer->HasOneRef())
108 rtc::scoped_refptr<Vp9FrameBuffer> buffer = pool->GetFrameBuffer(min_size); local
109 fb->data = buffer->GetData()
125 Vp9FrameBuffer* buffer = static_cast<Vp9FrameBuffer*>(fb->priv); local
    [all...]
  /external/webrtc/webrtc/system_wrappers/source/
trace_posix.cc 38 struct tm buffer; local
40 localtime_r(&system_time_high_res.tv_sec, &buffer);
77 char buffer[26]; // man ctime says buffer should have room for >=26 bytes. local
78 sprintf(trace_message, "Local Date: %s", ctime_r(&t, buffer));
  /external/webrtc/webrtc/test/
frame_generator_unittest.cc 61 uint8_t* buffer; local
63 buffer = frame->buffer(PlaneType::kYPlane);
65 ASSERT_EQ(y, buffer[i]);
67 buffer = frame->buffer(PlaneType::kUPlane);
69 ASSERT_EQ(u, buffer[i]);
71 buffer = frame->buffer(PlaneType::kVPlane);
73 ASSERT_EQ(v, buffer[i])
    [all...]
  /external/webrtc/webrtc/test/testsupport/
frame_reader_unittest.cc 56 uint8_t buffer[3]; local
57 bool result = frame_reader_->ReadFrame(buffer);
59 ASSERT_EQ(kInputFileContents[0], buffer[0]);
60 ASSERT_EQ(kInputFileContents[1], buffer[1]);
61 ASSERT_EQ(kInputFileContents[2], buffer[2]);
65 uint8_t buffer[3]; local
67 ASSERT_FALSE(file_reader.ReadFrame(buffer));
frame_writer_unittest.cc 47 uint8_t buffer[kFrameLength]; local
48 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer
49 bool result = frame_writer_->WriteFrame(buffer);
57 uint8_t buffer[3]; local
59 ASSERT_FALSE(frame_writer.WriteFrame(buffer));
  /external/zlib/src/contrib/iostream/
zfstream.h 64 gzfilebuf buffer; member in class:gzfilestream_common
  /frameworks/av/cmds/stagefright/
record.cpp 56 // that the buffer size mSize it set correctly above.
81 MediaBuffer **buffer, const MediaSource::ReadOptions *options) {
88 status_t err = mGroup.acquire_buffer(buffer);
94 memset((*buffer)->data(), x, mSize);
95 (*buffer)->set_range(0, mSize);
96 (*buffer)->meta_data()->clear();
97 (*buffer)->meta_data()->setInt64(
101 // printf("DummySource::read - returning buffer\n");
102 // ALOGI("DummySource::read - returning buffer");
239 MediaBuffer *buffer;
331 MediaBufferBase *buffer; local
    [all...]
  /frameworks/av/media/audioserver/
main_audioserver.cpp 79 char buffer[32]; local
101 snprintf(buffer, sizeof(buffer), "unknown (%d)", info.si_code);
102 code = buffer;
  /frameworks/av/media/libaaudio/tests/
test_session_id.cpp 32 float *buffer = new float[kNumFrames * kChannelCount]; local
54 ASSERT_EQ(kNumFrames, AAudioStream_write(aaudioStream1, buffer, kNumFrames, kNanosPerSecond));
59 delete[] buffer;
75 float *buffer = new float[kNumFrames * kChannelCount]; local
109 buffer, kNumFrames, kNanosPerSecond));
112 buffer, kNumFrames, kNanosPerSecond));
138 buffer, kNumFrames, kNanosPerSecond));
141 buffer, kNumFrames, kNanosPerSecond));
150 delete[] buffer;
  /frameworks/av/media/libmedia/
OMXBuffer.cpp 146 sp<GraphicBuffer> buffer = new GraphicBuffer(); local
147 status_t err = parcel->read(*buffer);
151 mGraphicBuffer = buffer;
  /frameworks/av/media/libstagefright/
DataURISource.cpp 37 sp<ABuffer> buffer; local
52 buffer = decodeBase64(encoded);
54 if (buffer == NULL) {
61 buffer = new ABuffer(dataLen);
62 memcpy(buffer->data(), commaPos + 1, dataLen);
74 return new DataURISource(buffer);
77 DataURISource::DataURISource(const sp<ABuffer> &buffer)
78 : mBuffer(buffer) {
  /frameworks/av/media/libstagefright/rtsp/
AMPEG2TSAssembler.cpp 76 sp<ABuffer> buffer = *queue->begin(); local
80 mNextExpectedSeqNo = (uint32_t)buffer->int32Data();
81 } else if ((uint32_t)buffer->int32Data() != mNextExpectedSeqNo) {
87 // hexdump(buffer->data(), buffer->size());
89 if ((buffer->size() % 188) > 0) {
99 msg->setBuffer("access-unit", buffer);
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
AudioGain.cpp 104 char buffer[SIZE]; local
107 snprintf(buffer, SIZE, "%*sGain %d:\n", spaces, "", index+1);
108 result.append(buffer);
109 snprintf(buffer, SIZE, "%*s- mode: %08x\n", spaces, "", mGain.mode);
110 result.append(buffer);
111 snprintf(buffer, SIZE, "%*s- channel_mask: %08x\n", spaces, "", mGain.channel_mask);
112 result.append(buffer);
113 snprintf(buffer, SIZE, "%*s- min_value: %d mB\n", spaces, "", mGain.min_value);
114 result.append(buffer);
115 snprintf(buffer, SIZE, "%*s- max_value: %d mB\n", spaces, "", mGain.max_value)
    [all...]
AudioPatch.cpp 40 char buffer[SIZE]; local
43 snprintf(buffer, SIZE, "%*sAudio patch %d:\n", spaces, "", index+1);
44 result.append(buffer);
45 snprintf(buffer, SIZE, "%*s- handle: %2d\n", spaces, "", mHandle);
46 result.append(buffer);
47 snprintf(buffer, SIZE, "%*s- audio flinger handle: %2d\n", spaces, "", mAfPatchHandle);
48 result.append(buffer);
49 snprintf(buffer, SIZE, "%*s- owner uid: %2d\n", spaces, "", mUid);
50 result.append(buffer);
51 snprintf(buffer, SIZE, "%*s- %d sources:\n", spaces, "", mPatch.num_sources)
167 char buffer[SIZE]; local
    [all...]
EffectDescriptor.cpp 28 char buffer[SIZE]; local
31 snprintf(buffer, SIZE, " I/O: %d\n", mIo);
32 result.append(buffer);
33 snprintf(buffer, SIZE, " Strategy: %d\n", mStrategy);
34 result.append(buffer);
35 snprintf(buffer, SIZE, " Session: %d\n", mSession);
36 result.append(buffer);
37 snprintf(buffer, SIZE, " Name: %s\n", mDesc.name);
38 result.append(buffer);
39 snprintf(buffer, SIZE, " %s\n", mEnabled ? "Enabled" : "Disabled")
180 char buffer[SIZE]; local
    [all...]
IOProfile.cpp 114 char buffer[SIZE]; local
119 snprintf(buffer, SIZE, " - flags: 0x%04x", getFlags());
120 result.append(buffer);
135 snprintf(buffer, SIZE, "\n - maxOpenCount: %u - curOpenCount: %u\n",
137 result.append(buffer);
138 snprintf(buffer, SIZE, " - maxActiveCount: %u - curActiveCount: %u\n",
140 result.append(buffer);

Completed in 959 milliseconds

<<21222324252627282930>>