Home
last modified time | relevance | path

Searched refs:chunk_id (Results 1 – 25 of 39) sorted by relevance

12

/external/perfetto/src/tracing/core/
Dpatch_list.h38 Patch(ChunkID c, uint16_t o) : chunk_id(c), offset(o) {} in Patch()
41 const ChunkID chunk_id; variable
53 return chunk_id == o.chunk_id && offset == o.offset &&
73 Patch* emplace_back(ChunkID chunk_id, uint16_t offset) { in emplace_back() argument
74 PERFETTO_DCHECK(empty() || last_->chunk_id != chunk_id || in emplace_back()
76 last_ = list_.emplace_after(last_, chunk_id, offset); in emplace_back()
Dtrace_buffer.h194 ChunkID chunk_id,
298 ChunkID chunk_id = 0; member
339 : producer_id{p}, writer_id{w}, chunk_id{c} {} in Key()
342 : Key(cr.producer_id, cr.writer_id, cr.chunk_id) {} in Key()
348 return std::tie(producer_id, writer_id, chunk_id) <
349 std::tie(other.producer_id, other.writer_id, other.chunk_id);
353 return std::tie(producer_id, writer_id, chunk_id) ==
354 std::tie(other.producer_id, other.writer_id, other.chunk_id);
364 ChunkID chunk_id; member
470 ChunkID chunk_id() const { in chunk_id() function
[all …]
Dtrace_buffer.cc111 ChunkID chunk_id, in CopyChunkUntrusted() argument
149 record.chunk_id = chunk_id; in CopyChunkUntrusted()
197 subsequent_key.chunk_id++; in CopyChunkUntrusted()
309 if (chunk_id - last_chunk_id < kMaxChunkID / 2) { in CopyChunkUntrusted()
310 last_chunk_id = chunk_id; in CopyChunkUntrusted()
372 key.producer_id, key.writer_id, key.chunk_id, in DeleteNextChunksFor()
414 ChunkID chunk_id, in TryPatchChunkContents() argument
418 ChunkMeta::Key key(producer_id, writer_id, chunk_id); in TryPatchChunkContents()
443 producer_id, writer_id, chunk_id, chunk_end - chunk_begin, in TryPatchChunkContents()
507 key.chunk_id = kMaxChunkID; in GetReadIterForSequence()
[all …]
Dshared_memory_abi_unittest.cc94 uint16_t chunk_id = ++last_chunk_id; in TEST_P() local
97 header.chunk_id.store(chunk_id); in TEST_P()
126 ASSERT_EQ(chunk_id, chunk.header()->chunk_id.load()); in TEST_P()
Dshared_memory_abi.cc66 header->chunk_id.store(0u, std::memory_order_relaxed); in ClearChunkHeader()
98 static_assert(sizeof(ChunkHeader::chunk_id) == sizeof(ChunkID), in Initialize()
131 chunk_header.chunk_id.store(static_cast<uint32_t>(-1)); in Initialize()
132 PERFETTO_CHECK(chunk_header.chunk_id.load() == kMaxChunkID); in Initialize()
197 new_header->chunk_id.store(header->chunk_id, std::memory_order_relaxed); in TryAcquireChunk()
Dshared_memory_arbiter_impl.cc320 patch_list->front().chunk_id == curr_patch.chunk_id; in UpdateCommitDataRequest()
332 last_patch_req->chunk_id() != curr_patch.chunk_id) { in UpdateCommitDataRequest()
335 last_patch_req->set_chunk_id(curr_patch.chunk_id); in UpdateCommitDataRequest()
349 patch_list->front().chunk_id == last_patch_req->chunk_id()) { in UpdateCommitDataRequest()
415 chunk.header()->chunk_id.load(std::memory_order_relaxed) == in TryDirectPatchLocked()
416 patch.chunk_id) { in TryDirectPatchLocked()
Dtrace_buffer_unittest.cc113 << it.chunk_id() << "},"; in IteratorSeqEq()
164 for (ChunkID chunk_id = 0; chunk_id < 1000; chunk_id++) { in TEST_F() local
165 char seed = static_cast<char>(chunk_id); in TEST_F()
166 CreateChunk(ProducerID(1), WriterID(1), chunk_id) in TEST_F()
172 EXPECT_EQ(chunk_id + 1u, trace_buffer()->stats().chunks_written()); in TEST_F()
339 ChunkID chunk_id = 0; in TEST_F() local
347 ChunkID c = chunk_id++; in TEST_F()
755 for (ChunkID chunk_id = static_cast<ChunkID>(-2); chunk_id <= 2; chunk_id++) { in TEST_F() local
756 char prefix = static_cast<char>('c' + chunk_id); in TEST_F()
757 expected_fragments.emplace_back(10 + chunk_id, prefix); in TEST_F()
[all …]
Dtrace_writer_impl_unittest.cc163 EXPECT_EQ(chunk.header()->chunk_id.load(), in TEST_P()
164 last_commit.chunks_to_patch()[0].chunk_id()); in TEST_P()
236 EXPECT_EQ(chunk.header()->chunk_id.load(), in TEST_P()
237 last_commit.chunks_to_patch()[0].chunk_id()); in TEST_P()
Dtrace_writer_impl.cc199 header.chunk_id.store(next_chunk_id_, std::memory_order_relaxed); in GetNewBuffer()
321 cur_chunk_.header()->chunk_id.load(std::memory_order_relaxed); in GetNewBuffer()
Dpatch_list_unittest.cc29 o << p.chunk_id << "@" << p.offset << " : {" << std::hex << p.size_field[0] in operator <<()
Dtracing_service_impl.cc1803 uint32_t chunk_id = in ScrapeSharedMemoryBuffers() local
1804 chunk.header()->chunk_id.load(std::memory_order_relaxed); in ScrapeSharedMemoryBuffers()
1807 producer->id_, producer->uid_, writer_id, chunk_id, *target_buffer_id, in ScrapeSharedMemoryBuffers()
2567 ChunkID chunk_id, in CopyProducerPageIntoLogBuffer() argument
2621 chunk_id, num_fragments, chunk_flags, chunk_complete, in CopyProducerPageIntoLogBuffer()
2631 const ChunkID chunk_id = static_cast<ChunkID>(chunk.chunk_id()); in ApplyChunkPatches() local
2644 producer_id_trusted, chunk.target_buffer(), chunk_id, writer_id); in ApplyChunkPatches()
2682 buf->TryPatchChunkContents(producer_id_trusted, writer_id, chunk_id, in ApplyChunkPatches()
3655 ChunkID chunk_id = chunk_header.chunk_id.load(std::memory_order_relaxed); in CommitData() local
3661 id_, uid_, writer_id, chunk_id, buffer_id, num_fragments, chunk_flags, in CommitData()
/external/llvm-project/llvm/utils/
Dchunk-print-before-all.py13 chunk_id = 0 variable
16 global chunk_id
18 fname = basename + str(chunk_id) + ".ll"
19 chunk_id = chunk_id + 1
/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io.cc35 char chunk_id[4]; member
42 char chunk_id[4]; member
54 char chunk_id[4]; member
182 memcpy(riff_chunk->chunk_id, kRiffChunkId, 4); in EncodeAudioAsS16LEWav()
188 memcpy(format_chunk->chunk_id, kFormatChunkId, 4); in EncodeAudioAsS16LEWav()
199 memcpy(data_chunk->chunk_id, kDataChunkId, 4); in EncodeAudioAsS16LEWav()
290 string chunk_id; in DecodeLin16WaveAsFloatVector() local
291 TF_RETURN_IF_ERROR(ReadString(wav_string, 4, &chunk_id, &offset)); in DecodeLin16WaveAsFloatVector()
296 "WAV data chunk '", chunk_id, "' is too large: ", chunk_size, in DecodeLin16WaveAsFloatVector()
299 if (chunk_id == kDataChunkId) { in DecodeLin16WaveAsFloatVector()
/external/mesa3d/src/amd/vulkan/
Dradv_rgp.c78 struct sqtt_file_chunk_id chunk_id; member
171 chunk->header.chunk_id.type = SQTT_FILE_CHUNK_TYPE_CPU_INFO; in radv_sqtt_fill_cpu_info()
172 chunk->header.chunk_id.index = 0; in radv_sqtt_fill_cpu_info()
336 chunk->header.chunk_id.type = SQTT_FILE_CHUNK_TYPE_ASIC_INFO; in radv_fill_sqtt_asic_info()
337 chunk->header.chunk_id.index = 0; in radv_fill_sqtt_asic_info()
484 chunk->header.chunk_id.type = SQTT_FILE_CHUNK_TYPE_API_INFO; in radv_sqtt_fill_api_info()
485 chunk->header.chunk_id.index = 0; in radv_sqtt_fill_api_info()
545 chunk->header.chunk_id.type = SQTT_FILE_CHUNK_TYPE_SQTT_DESC; in radv_sqtt_fill_sqtt_desc()
546 chunk->header.chunk_id.index = chunk_index; in radv_sqtt_fill_sqtt_desc()
574 chunk->header.chunk_id.type = SQTT_FILE_CHUNK_TYPE_SQTT_DATA; in radv_sqtt_fill_sqtt_data()
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-buffer_time_count.hpp92 , chunk_id(0) in buffer_with_time_or_count_subscriber_values()
99 mutable int chunk_id; member
108 auto new_id = state->chunk_id; in buffer_with_time_or_count_observer()
144 if (id != state->chunk_id) in produce_buffer()
149 auto new_id = ++state->chunk_id; in produce_buffer()
171 … produce_buffer(localState->chunk_id, localState->worker.now(), localState)(self); in on_next()
/external/flac/src/flac/
Dencode.c210 …char chunk_id[16] = { '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0'… in get_sample_info_wave() local
212 …if(!read_bytes(e->fin, (FLAC__byte*)chunk_id, e->format==FORMAT_WAVE64?16:4, /*eof_ok=*/true, e->i… in get_sample_info_wave()
219 if(e->format == FORMAT_RF64 && !memcmp(chunk_id, "ds64", 4)) { /* RF64 64-bit sizes chunk */ in get_sample_info_wave()
263 !memcmp(chunk_id, "fmt ", 4) && in get_sample_info_wave()
264 …(e->format!=FORMAT_WAVE64 || !memcmp(chunk_id, "fmt \xF3\xAC\xD3\x11\x8C\xD1\x00\xC0\x4F\x8E\xDB\x… in get_sample_info_wave()
541 !memcmp(chunk_id, "data", 4) && in get_sample_info_wave()
542 …(e->format!=FORMAT_WAVE64 || !memcmp(chunk_id, "data\xF3\xAC\xD3\x11\x8C\xD1\x00\xC0\x4F\x8E\xDB\x… in get_sample_info_wave()
579 … non-zero size, using --ignore-chunk-sizes is probably a bad idea\n", e->inbasefilename, chunk_id); in get_sample_info_wave()
600 …skipping unknown chunk '%s' (use --keep-foreign-metadata to keep)\n", e->inbasefilename, chunk_id); in get_sample_info_wave()
604 (uint32_t)((const uint8_t *)chunk_id)[3], in get_sample_info_wave()
[all …]
/external/usrsctp/usrsctplib/netinet/
Dsctp_output.c7512 if (chk->rec.chunk_id.id == SCTP_COOKIE_ECHO) {
7534 if (chk->rec.chunk_id.id == SCTP_ASCONF) {
7656 if ((chk->rec.chunk_id.id == SCTP_SELECTIVE_ACK) ||
7657 (chk->rec.chunk_id.id == SCTP_NR_SELECTIVE_ACK) || /* EY */
7658 (chk->rec.chunk_id.id == SCTP_HEARTBEAT_REQUEST) ||
7659 (chk->rec.chunk_id.id == SCTP_HEARTBEAT_ACK) ||
7660 (chk->rec.chunk_id.id == SCTP_FORWARD_CUM_TSN) ||
7661 (chk->rec.chunk_id.id == SCTP_SHUTDOWN) ||
7662 (chk->rec.chunk_id.id == SCTP_SHUTDOWN_ACK) ||
7663 (chk->rec.chunk_id.id == SCTP_OPERATION_ERROR) ||
[all …]
/external/tensorflow/tensorflow/python/keras/saving/
Dhdf5_format.py843 for chunk_id, chunk_data in enumerate(chunked_data):
844 group.attrs['%s%d' % (name, chunk_id)] = chunk_data
870 chunk_id = 0
871 while '%s%d' % (name, chunk_id) in group.attrs:
874 for n in group.attrs['%s%d' % (name, chunk_id)]
876 chunk_id += 1
/external/perfetto/src/tracing/test/
Dfake_packet.cc107 : trace_buffer_{t}, producer_id{p}, writer_id{w}, chunk_id{c} {} in FakeChunk()
161 trace_buffer_->CopyChunkUntrusted(producer_id, uid, writer_id, chunk_id, in CopyIntoTraceBuffer()
Dfake_packet.h84 ChunkID chunk_id; variable
/external/libdrm/tests/amdgpu/
Dsyncobj_tests.c122 chunks[0].chunk_id = AMDGPU_CHUNK_ID_IB; in syncobj_command_submission_helper()
134 chunks[1].chunk_id = wait_or_signal ? in syncobj_command_submission_helper()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c1475 struct drm_amdgpu_cs_chunk *chunk, int chunk_id) in radv_amdgpu_cs_alloc_syncobj_chunk() argument
1487 chunk->chunk_id = chunk_id; in radv_amdgpu_cs_alloc_syncobj_chunk()
1496 struct drm_amdgpu_cs_chunk *chunk, int chunk_id) in radv_amdgpu_cs_alloc_timeline_syncobj_chunk() argument
1518 chunk->chunk_id = chunk_id; in radv_amdgpu_cs_alloc_timeline_syncobj_chunk()
1659 chunks[i].chunk_id = AMDGPU_CHUNK_ID_IB; in radv_amdgpu_cs_submit()
1677 chunks[i].chunk_id = AMDGPU_CHUNK_ID_FENCE; in radv_amdgpu_cs_submit()
1734 chunks[i].chunk_id = AMDGPU_CHUNK_ID_DEPENDENCIES; in radv_amdgpu_cs_submit()
1784 chunks[num_chunks].chunk_id = AMDGPU_CHUNK_ID_BO_HANDLES; in radv_amdgpu_cs_submit()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c1504 chunks[num_chunks].chunk_id = AMDGPU_CHUNK_ID_BO_HANDLES; in amdgpu_cs_submit_ib()
1524 chunks[num_chunks].chunk_id = AMDGPU_CHUNK_ID_DEPENDENCIES; in amdgpu_cs_submit_ib()
1547 chunks[num_chunks].chunk_id = AMDGPU_CHUNK_ID_SYNCOBJ_IN; in amdgpu_cs_submit_ib()
1571 chunks[num_chunks].chunk_id = AMDGPU_CHUNK_ID_DEPENDENCIES; in amdgpu_cs_submit_ib()
1591 chunks[num_chunks].chunk_id = AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES; in amdgpu_cs_submit_ib()
1599 chunks[num_chunks].chunk_id = AMDGPU_CHUNK_ID_IB; in amdgpu_cs_submit_ib()
1627 chunks[num_chunks].chunk_id = AMDGPU_CHUNK_ID_SYNCOBJ_OUT; in amdgpu_cs_submit_ib()
1636 chunks[num_chunks].chunk_id = AMDGPU_CHUNK_ID_FENCE; in amdgpu_cs_submit_ib()
1644 chunks[num_chunks].chunk_id = AMDGPU_CHUNK_ID_IB; in amdgpu_cs_submit_ib()
1652 chunks[num_chunks].chunk_id = AMDGPU_CHUNK_ID_IB; in amdgpu_cs_submit_ib()
/external/libdrm/amdgpu/
Damdgpu_cs.c259 chunks[i].chunk_id = AMDGPU_CHUNK_ID_IB; in amdgpu_cs_submit_one()
280 chunks[i].chunk_id = AMDGPU_CHUNK_ID_FENCE; in amdgpu_cs_submit_one()
312 chunks[i].chunk_id = AMDGPU_CHUNK_ID_DEPENDENCIES; in amdgpu_cs_submit_one()
344 chunks[i].chunk_id = AMDGPU_CHUNK_ID_DEPENDENCIES; in amdgpu_cs_submit_one()
/external/libdrm/radeon/
Dradeon_cs_gem.c163 csg->chunks[0].chunk_id = RADEON_CHUNK_ID_IB; in cs_gem_create()
166 csg->chunks[1].chunk_id = RADEON_CHUNK_ID_RELOCS; in cs_gem_create()

12