Home
last modified time | relevance | path

Searched refs:chunk_size_ (Results 1 – 11 of 11) sorted by relevance

/external/perfetto/src/protozero/test/
Dfake_scattered_buffer.cc42 : chunk_size_(chunk_size) {} in FakeScatteredBuffer()
47 std::unique_ptr<uint8_t[]> chunk(new uint8_t[chunk_size_]); in GetNewBuffer()
49 memset(begin, 0, chunk_size_); in GetNewBuffer()
51 return {begin, begin + chunk_size_}; in GetNewBuffer()
55 return ToHex(chunks_[chunk_index].get(), chunk_size_); in GetChunkAsString()
59 ASSERT_LE(start + length, chunks_.size() * chunk_size_); in GetBytes()
61 size_t chunk_index = (start + pos) / chunk_size_; in GetBytes()
62 size_t chunk_offset = (start + pos) % chunk_size_; in GetBytes()
Dfake_scattered_buffer.h48 const size_t chunk_size_;
/external/webrtc/webrtc/common_audio/
Dblocker.cc108 : chunk_size_(chunk_size), in Blocker()
114 input_buffer_(num_input_channels_, chunk_size_ + initial_delay_), in Blocker()
115 output_buffer_(chunk_size_ + initial_delay_, num_output_channels_), in Blocker()
172 RTC_CHECK_EQ(chunk_size, chunk_size_); in ProcessChunk()
176 input_buffer_.Write(input, num_input_channels, chunk_size_); in ProcessChunk()
180 while (first_frame_in_block < chunk_size_) { in ProcessChunk()
214 chunk_size_, in ProcessChunk()
229 chunk_size_, in ProcessChunk()
233 frame_offset_ = first_frame_in_block - chunk_size_; in ProcessChunk()
Dblocker.h81 const size_t chunk_size_;
/external/perfetto/src/protozero/
Dscattered_stream_null_delegate.cc28 : chunk_size_(chunk_size), in ScatteredStreamWriterNullDelegate()
29 chunk_(std::unique_ptr<uint8_t[]>(new uint8_t[chunk_size_])) {} in ScatteredStreamWriterNullDelegate()
34 return {chunk_.get(), chunk_.get() + chunk_size_}; in GetNewBuffer()
/external/webp/src/dec/
Didec_dec.c76 size_t chunk_size_; // Compressed VP8/VP8L size extracted from Header. member
320 idec->chunk_size_ = headers.compressed_size; in DecodeWebPHeaders()
352 if (!VP8GetInfo(data, curr_size, idec->chunk_size_, &width, &height)) { in DecodeVP8FrameHeader()
524 if (curr_size < (idec->chunk_size_ >> 3)) { in DecodeVP8LHeader()
531 curr_size < idec->chunk_size_) { in DecodeVP8LHeader()
553 dec->incremental_ = (curr_size < idec->chunk_size_); in DecodeVP8LData()
607 idec->chunk_size_ = 0; in NewDecoder()
/external/perfetto/include/perfetto/protozero/
Dscattered_stream_null_delegate.h40 const size_t chunk_size_;
/external/vulkan-validation-layers/layers/
Dgpu_validation.h62 uint32_t chunk_size_; variable
Dgpu_validation.cpp48 chunk_size_ = blocks_per_chunk_ * block_size_; in GpuDeviceMemoryManager()
155 buffer_create_info.size = chunk_size_; in AllocMemoryChunk()
188 memset(pData, 0, chunk_size_); in AllocMemoryChunk()
/external/v8/src/profiler/
Dheap-snapshot-generator.cc2549 chunk_size_(stream->GetChunkSize()), in OutputStreamWriter()
2550 chunk_(chunk_size_), in OutputStreamWriter()
2553 DCHECK_GT(chunk_size_, 0); in OutputStreamWriter()
2558 DCHECK(chunk_pos_ < chunk_size_); in AddCharacter()
2571 Min(chunk_size_ - chunk_pos_, static_cast<int>(s_end - s)); in AddSubstring()
2582 DCHECK(chunk_pos_ < chunk_size_); in Finalize()
2595 if (chunk_size_ - chunk_pos_ >= kMaxNumberSize) { in AddNumberImpl()
2597 chunk_.SubVector(chunk_pos_, chunk_size_), format, n); in AddNumberImpl()
2610 DCHECK(chunk_pos_ <= chunk_size_); in MaybeWriteChunk()
2611 if (chunk_pos_ == chunk_size_) { in MaybeWriteChunk()
[all …]
/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader_unittest.cc107 : chunk_size_(chunk_size), delegate_(chunk_size_), stream_(&delegate_) { in ProtoProvider()
130 size_t chunk_size_; member in perfetto::__anonb7e545f60111::ProtoProvider