Home
last modified time | relevance | path

Searched refs:new_chunk (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/executor/
Dmpmcqueue.cc69 Node* new_chunk = static_cast<Node*>(gpr_zalloc(sizeof(Node) * num)); in AllocateNodes() local
70 new_chunk[0].next = &new_chunk[1]; in AllocateNodes()
71 new_chunk[num - 1].prev = &new_chunk[num - 2]; in AllocateNodes()
73 new_chunk[i].prev = &new_chunk[i - 1]; in AllocateNodes()
74 new_chunk[i].next = &new_chunk[i + 1]; in AllocateNodes()
76 return new_chunk; in AllocateNodes()
84 Node* new_chunk = AllocateNodes(kQueueInitNumNodes); in InfLenFIFOQueue() local
85 delete_list_[delete_list_count_++] = new_chunk; in InfLenFIFOQueue()
86 queue_head_ = queue_tail_ = new_chunk; in InfLenFIFOQueue()
87 new_chunk[0].prev = &new_chunk[kQueueInitNumNodes - 1]; in InfLenFIFOQueue()
[all …]
/external/webp/src/mux/
Dmuxinternal.c140 WebPChunk* new_chunk; in ChunkSetHead() local
147 new_chunk = (WebPChunk*)WebPSafeMalloc(1ULL, sizeof(*new_chunk)); in ChunkSetHead()
148 if (new_chunk == NULL) return WEBP_MUX_MEMORY_ERROR; in ChunkSetHead()
149 *new_chunk = *chunk; in ChunkSetHead()
151 new_chunk->next_ = NULL; in ChunkSetHead()
152 *chunk_list = new_chunk; in ChunkSetHead()
/external/perfetto/src/tracing/core/
Dtrace_writer_impl.cc202 SharedMemoryABI::Chunk new_chunk = in GetNewBuffer() local
204 if (!new_chunk.is_valid()) { in GetNewBuffer()
284 PERFETTO_DCHECK(new_chunk.is_valid()); in GetNewBuffer()
353 cur_chunk_ = std::move(new_chunk); in GetNewBuffer()
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc605 BFCAllocator::Chunk* new_chunk = ChunkFromHandle(h_new_chunk); in SplitChunk() local
606 new_chunk->ptr = static_cast<void*>(static_cast<char*>(c->ptr) + num_bytes); in SplitChunk()
607 region_manager_.set_handle(new_chunk->ptr, h_new_chunk); in SplitChunk()
610 new_chunk->size = c->size - num_bytes; in SplitChunk()
614 new_chunk->allocation_id = -1; in SplitChunk()
617 new_chunk->freed_at_count = c->freed_at_count; in SplitChunk()
623 new_chunk->prev = h; in SplitChunk()
624 new_chunk->next = h_neighbor; in SplitChunk()
/external/kernel-headers/original/uapi/linux/raid/
Dmd_p.h186 __u32 new_chunk; /* 17 new chunk size (bytes) */ member
264 __le32 new_chunk; /* new chunk size (512byte sectors) */ member