Home
last modified time | relevance | path

Searched refs:Chunk (Results 1 – 25 of 101) sorted by relevance

12345

/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp81 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) in Chunk() function in CodeCompletionString::Chunk
155 CodeCompletionString::Chunk
156 CodeCompletionString::Chunk::CreateText(const char *Text) { in CreateText()
157 return Chunk(CK_Text, Text); in CreateText()
160 CodeCompletionString::Chunk
161 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) { in CreateOptional()
162 Chunk Result; in CreateOptional()
168 CodeCompletionString::Chunk
169 CodeCompletionString::Chunk::CreatePlaceholder(const char *Placeholder) { in CreatePlaceholder()
170 return Chunk(CK_Placeholder, Placeholder); in CreatePlaceholder()
[all …]
DSemaTemplateVariadic.cpp751 const DeclaratorChunk &Chunk = D.getTypeObject(I); in containsUnexpandedParameterPacks() local
752 switch (Chunk.Kind) { in containsUnexpandedParameterPacks()
762 if (Chunk.Arr.NumElts && in containsUnexpandedParameterPacks()
763 Chunk.Arr.NumElts->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
767 for (unsigned i = 0, e = Chunk.Fun.NumParams; i != e; ++i) { in containsUnexpandedParameterPacks()
768 ParmVarDecl *Param = cast<ParmVarDecl>(Chunk.Fun.Params[i].Param); in containsUnexpandedParameterPacks()
774 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks()
775 for (unsigned i = 0; i != Chunk.Fun.NumExceptions; ++i) { in containsUnexpandedParameterPacks()
776 if (Chunk.Fun.Exceptions[i] in containsUnexpandedParameterPacks()
781 } else if (Chunk.Fun.getExceptionSpecType() == EST_ComputedNoexcept && in containsUnexpandedParameterPacks()
[all …]
/external/v8/src/
Dbignum.cc46 bigits_[i] = static_cast<Chunk>(value & kBigitMask); in AssignUInt64()
120 Chunk current_bigit = 0; in AssignHexString()
128 Chunk most_significant_bigit = 0; // Could be = 0; in AssignHexString()
170 Chunk carry = 0; in AddBignum()
174 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry; in AddBignum()
181 Chunk sum = bigits_[bigit_pos] + carry; in AddBignum()
200 Chunk borrow = 0; in SubtractBignum()
204 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow; in SubtractBignum()
209 Chunk difference = bigits_[i + offset] - borrow; in SubtractBignum()
241 bigits_[i] = static_cast<Chunk>(product & kBigitMask); in MultiplyByUInt32()
[all …]
Dbignum.h76 typedef uint32_t Chunk; typedef
79 static const int kChunkSize = sizeof(Chunk) * 8;
84 static const Chunk kBigitMask = (1 << kBigitSize) - 1;
104 Chunk BigitAt(int index) const;
107 Chunk bigits_buffer_[kBigitCapacity];
110 Vector<Chunk> bigits_;
/external/perfetto/include/perfetto/tracing/core/
Dshared_memory_abi.h336 class Chunk {
338 Chunk(); // Constructs an invalid chunk.
342 Chunk(const Chunk&) = delete;
343 Chunk operator=(const Chunk&) = delete;
344 Chunk(Chunk&&) noexcept;
345 Chunk& operator=(Chunk&&);
419 Chunk(uint8_t* begin, uint16_t size, uint8_t chunk_idx);
499 Chunk TryAcquireChunkForWriting(size_t page_idx, in TryAcquireChunkForWriting()
507 Chunk TryAcquireChunkForReading(size_t page_idx, size_t chunk_idx) { in TryAcquireChunkForReading()
512 Chunk GetChunkUnchecked(size_t page_idx,
[all …]
/external/icu/icu4c/source/i18n/
Ddouble-conversion-bignum.cpp154 Chunk current_bigit = 0; in AssignHexString()
162 Chunk most_significant_bigit = 0; // Could be = 0; in AssignHexString()
204 Chunk carry = 0; in AddBignum()
208 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry; in AddBignum()
215 Chunk sum = bigits_[bigit_pos] + carry; in AddBignum()
234 Chunk borrow = 0; in SubtractBignum()
238 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow; in SubtractBignum()
243 Chunk difference = bigits_[i + offset] - borrow; in SubtractBignum()
275 bigits_[i] = static_cast<Chunk>(product & kBigitMask); in MultiplyByUInt32()
388 Chunk chunk1 = bigits_[copy_offset + bigit_index1]; in Square()
[all …]
Ddouble-conversion-bignum.h114 typedef uint32_t Chunk; typedef
117 static const int kChunkSize = sizeof(Chunk) * 8;
122 static const Chunk kBigitMask = (1 << kBigitSize) - 1;
142 Chunk BigitAt(int index) const;
145 Chunk bigits_buffer_[kBigitCapacity];
148 Vector<Chunk> bigits_;
/external/perfetto/src/tracing/core/
Dshared_memory_abi.cc142 SharedMemoryABI::Chunk SharedMemoryABI::GetChunkUnchecked(size_t page_idx, in GetChunkUnchecked()
151 Chunk chunk(page_start(page_idx) + chunk_offset_in_page, chunk_size, in GetChunkUnchecked()
157 SharedMemoryABI::Chunk SharedMemoryABI::TryAcquireChunk( in TryAcquireChunk()
171 return Chunk(); in TryAcquireChunk()
181 return Chunk(); in TryAcquireChunk()
189 Chunk chunk = GetChunkUnchecked(page_idx, layout, chunk_idx); in TryAcquireChunk()
202 return Chunk(); // All our attempts failed. in TryAcquireChunk()
229 size_t SharedMemoryABI::ReleaseChunk(Chunk chunk, in ReleaseChunk()
289 SharedMemoryABI::Chunk::Chunk() = default;
291 SharedMemoryABI::Chunk::Chunk(uint8_t* begin, uint16_t size, uint8_t chunk_idx) in Chunk() function in perfetto::SharedMemoryABI::Chunk
[all …]
Dshared_memory_abi_unittest.cc28 using Chunk = SharedMemoryABI::Chunk; typedef
86 Chunk chunks[14]; in TEST_P()
89 Chunk& chunk = chunks[chunk_idx]; in TEST_P()
152 Chunk& chunk = chunks[chunk_idx]; in TEST_P()
163 Chunk& chunk = chunks[chunk_idx]; in TEST_P()
172 Chunk& chunk = chunks[chunk_idx]; in TEST_P()
Dshared_memory_arbiter_impl.cc33 using Chunk = SharedMemoryABI::Chunk; typedef
62 Chunk SharedMemoryArbiterImpl::GetNewChunk( in GetNewChunk()
102 Chunk chunk = shmem_abi_.TryAcquireChunkForWriting( in GetNewChunk()
151 void SharedMemoryArbiterImpl::ReturnCompletedChunk(Chunk chunk, in ReturnCompletedChunk()
164 UpdateCommitDataRequest(Chunk(), writer_id, target_buffer, patch_list); in SendPatches()
167 void SharedMemoryArbiterImpl::UpdateCommitDataRequest(Chunk chunk, in UpdateCommitDataRequest()
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp210 void Recycle(ScudoChunk *Chunk) { in Recycle()
212 Chunk->loadHeader(&Header); in Recycle()
215 Chunk); in Recycle()
217 void *Ptr = Chunk->AllocBeg(&Header); in Recycle()
359 ScudoChunk *Chunk = in allocate() local
367 Chunk->storeHeader(&Header); in allocate()
389 ScudoChunk *Chunk = in deallocate() local
392 Chunk->loadHeader(&OldHeader); in deallocate()
395 "%p\n", Chunk); in deallocate()
399 Chunk->compareExchangeHeader(&NewHeader, &OldHeader); in deallocate()
[all …]
/external/v8/src/zone/
Dzone-chunk-list.h112 struct Chunk { struct
115 Chunk* next_ = nullptr; argument
116 Chunk* previous_ = nullptr; argument
121 Chunk* NewChunk(const uint32_t capacity) { in NewChunk() argument
122 Chunk* chunk = in NewChunk()
123 new (zone_->New(sizeof(Chunk) + capacity * sizeof(T))) Chunk(); in NewChunk()
129 Chunk* chunk_;
140 Chunk* front_ = nullptr;
141 Chunk* back_ = nullptr;
154 using Chunk = maybe_const<typename ZoneChunkList<T>::Chunk>; variable
[all …]
/external/tensorflow/tensorflow/core/util/
Dexec_on_stall_test.cc25 struct Chunk { struct
29 Chunk* NewChunk(int stall_seconds, std::function<void()> f) { in NewChunk()
30 Chunk* c = new Chunk; in NewChunk()
39 Chunk* a = NewChunk(1, [&mu, &a_triggered]() { in TEST()
43 Chunk* b = NewChunk(1, [&mu, &b_triggered]() { in TEST()
/external/v8/src/heap/
Dslot-set.h460 : page_start_(page_start), top_(new Chunk(nullptr, kInitialBufferSize)) {} in TypedSlotSet()
463 Chunk* chunk = load_top(); in ~TypedSlotSet()
465 Chunk* n = chunk->next(); in ~TypedSlotSet()
476 Chunk* top_chunk = load_top(); in Insert()
478 top_chunk = new Chunk(nullptr, kInitialBufferSize); in Insert()
482 Chunk* new_top_chunk = in Insert()
483 new Chunk(top_chunk, NextCapacity(top_chunk->capacity())); in Insert()
503 Chunk* chunk = load_top(); in Iterate()
504 Chunk* previous = nullptr; in Iterate()
526 Chunk* n = chunk->next(); in Iterate()
[all …]
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h385 struct Chunk { struct
403 Chunk() : Kind(CK_Text), Text(nullptr) { } in Chunk() function
405 explicit Chunk(ChunkKind Kind, const char *Text = "");
408 static Chunk CreateText(const char *Text);
411 static Chunk CreateOptional(CodeCompletionString *Optional);
414 static Chunk CreatePlaceholder(const char *Placeholder);
417 static Chunk CreateInformative(const char *Informative);
420 static Chunk CreateResultType(const char *ResultType);
423 static Chunk CreateCurrentParameter(const char *CurrentParameter);
449 CodeCompletionString(const Chunk *Chunks, unsigned NumChunks,
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp100 const uint64_t Chunk = getChunk(Imm, FromIdx) << ShiftAmt; in replicateChunk() local
104 return Imm | Chunk; in replicateChunk()
146 static bool canUseOrr(uint64_t Chunk, uint64_t &Encoding) { in canUseOrr() argument
147 Chunk = (Chunk << 48) | (Chunk << 32) | (Chunk << 16) | Chunk; in canUseOrr()
149 return AArch64_AM::processLogicalImmediate(Chunk, 64, Encoding); in canUseOrr()
172 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks() local
173 Chunk != End; ++Chunk) { in tryToreplicateChunks()
174 const uint64_t ChunkVal = Chunk->first; in tryToreplicateChunks()
175 const unsigned Count = Chunk->second; in tryToreplicateChunks()
249 static bool isStartChunk(uint64_t Chunk) { in isStartChunk() argument
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc84 BFCAllocator::Chunk* BFCAllocator::ChunkFromHandle(ChunkHandle h) { in ChunkFromHandle()
150 BFCAllocator::Chunk* c = ChunkFromHandle(h); in Extend()
169 Chunk* c = ChunkFromHandle(h); in AllocateChunk()
180 Chunk* c = ChunkFromHandle(h); in DeallocateChunk()
307 BFCAllocator::Chunk* chunk = ChunkFromHandle(h); in FindChunkPtr()
359 Chunk* c = ChunkFromHandle(h); in SplitChunk()
363 BFCAllocator::Chunk* new_chunk = ChunkFromHandle(h_new_chunk); in SplitChunk()
385 Chunk* c_neighbor = ChunkFromHandle(h_neighbor); in SplitChunk()
422 Chunk* c1 = ChunkFromHandle(h1); in Merge()
423 Chunk* c2 = ChunkFromHandle(h2); in Merge()
[all …]
Dbfc_allocator.h114 struct Chunk { struct
156 Chunk* p = a->ChunkFromHandle(prev); in DebugString() argument
160 Chunk* n = a->ChunkFromHandle(next); in DebugString()
178 const Chunk* a = allocator_->ChunkFromHandle(ha); in operator()
179 const Chunk* b = allocator_->ChunkFromHandle(hb); in operator()
370 Chunk* ChunkFromHandle(ChunkHandle h) EXCLUSIVE_LOCKS_REQUIRED(lock_);
446 std::vector<Chunk> chunks_ GUARDED_BY(lock_);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp117 static bool canUseOrr(uint64_t Chunk, uint64_t &Encoding) { in canUseOrr() argument
118 Chunk = (Chunk << 48) | (Chunk << 32) | (Chunk << 16) | Chunk; in canUseOrr()
120 return AArch64_AM::processLogicalImmediate(Chunk, 64, Encoding); in canUseOrr()
143 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks() local
144 Chunk != End; ++Chunk) { in tryToreplicateChunks()
145 const uint64_t ChunkVal = Chunk->first; in tryToreplicateChunks()
146 const unsigned Count = Chunk->second; in tryToreplicateChunks()
220 static bool isStartChunk(uint64_t Chunk) { in isStartChunk() argument
221 if (Chunk == 0 || Chunk == std::numeric_limits<uint64_t>::max()) in isStartChunk()
224 return isMask_64(~Chunk); in isStartChunk()
[all …]
/external/lz4/examples/
Dstreaming_api_basics.md33 | 4KiB Chunk A | 4KiB Chunk B | C | D |... |
38 | 4KiB Chunk A | 4KiB Chunk B | C | D |... |
48 | 4KiB Chunk A | 4KiB Chunk B | C | D |... |
60 | 4KiB Chunk A | 4KiB Chunk B | C | D |... |
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceImpl.java214 final Queue<Chunk> chunks = new ArrayDeque<Chunk>();
240 private final Chunk completionChunk = new Chunk(0, 0, 0, false);
241 private final Queue<Chunk> chunks;
288 public synchronized ResponseDispatcher enqueue(Queue<Chunk> moreChunks) {
333 Chunk chunk = chunks.remove();
363 Chunk nextChunk = chunks.peek();
384 public Queue<Chunk> toChunkQueue(StreamingOutputCallRequest request) {
385 Queue<Chunk> chunkQueue = new ArrayDeque<Chunk>();
389 chunkQueue.add(new Chunk(params.getIntervalUs(), offset, params.getSize(), compressable));
405 private class Chunk {
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dheap_simulator.cc482 Chunk chunk = FindOrDie(result.chunk_map, group->canonical); in Finish()
617 result_.chunk_map.emplace(buffer, Chunk{0, 0}); in Alloc()
621 auto best_fit_it = free_.lower_bound(Chunk{0, size}); in Alloc()
624 const Chunk best = *best_fit_it; in Alloc()
634 result_.chunk_map.emplace(buffer, Chunk{new_offset, size}); in Alloc()
657 const Chunk last = *it; in Alloc()
666 result_.chunk_map.emplace(buffer, Chunk{new_offset, size}); in Alloc()
679 result_.chunk_map.emplace(buffer, Chunk{kLazyAllocOffset, size}); in Alloc()
686 Chunk* alloc = &alloc_it->second; in Free()
711 Chunk chunk{offset, size}; in AddFreeChunk()
[all …]
Dheap_simulator.h51 struct Chunk { struct
61 absl::flat_hash_map<const BufferValue*, Chunk> chunk_map; argument
213 using Chunk = HeapSimulator::Chunk;
332 bool operator()(const Chunk& a, const Chunk& b) const { in operator()
344 std::set<Chunk, OrderChunkByIncreasingSize> free_;
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DThumb1RegisterInfo.cpp145 unsigned Chunk = ((1 << NumBits) - 1) * Scale; in calcNumMI() local
148 unsigned ThisVal = (Bytes > Chunk) ? Chunk : Bytes; in calcNumMI()
153 Chunk = ((1 << NumBits) - 1) * Scale; in calcNumMI()
156 NumMIs += Bytes / Chunk; in calcNumMI()
157 if ((Bytes % Chunk) != 0) in calcNumMI()
237 unsigned Chunk = (1 << 3) - 1; in emitThumbRegPlusImmediate() local
238 unsigned ThisVal = (Bytes > Chunk) ? Chunk : Bytes; in emitThumbRegPlusImmediate()
253 unsigned Chunk = ((1 << NumBits) - 1) * Scale; in emitThumbRegPlusImmediate() local
255 unsigned ThisVal = (Bytes > Chunk) ? Chunk : Bytes; in emitThumbRegPlusImmediate()
282 Chunk = ((1 << NumBits) - 1) * Scale; in emitThumbRegPlusImmediate()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DDM/
DDDMDebuggee.java26 import org.apache.harmony.dalvik.ddmc.Chunk;
65 public Chunk handleChunk(Chunk request) { in handleChunk()
71 return new Chunk(DDM_RESULT_TYPE, res, 0, res.length); in handleChunk()

12345