Home
last modified time | relevance | path

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

12

/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 …]
DSemaType.cpp4442 const DeclaratorChunk &Chunk = D.getTypeObject(I); in GetFullTypeForDeclarator() local
4443 assert(Chunk.Kind == DeclaratorChunk::Function); in GetFullTypeForDeclarator()
4444 if (Chunk.Fun.hasRefQualifier()) in GetFullTypeForDeclarator()
4445 RemovalLocs.push_back(Chunk.Fun.getRefQualifierLoc()); in GetFullTypeForDeclarator()
4446 if (Chunk.Fun.TypeQuals & Qualifiers::Const) in GetFullTypeForDeclarator()
4447 RemovalLocs.push_back(Chunk.Fun.getConstQualifierLoc()); in GetFullTypeForDeclarator()
4448 if (Chunk.Fun.TypeQuals & Qualifiers::Volatile) in GetFullTypeForDeclarator()
4449 RemovalLocs.push_back(Chunk.Fun.getVolatileQualifierLoc()); in GetFullTypeForDeclarator()
4450 if (Chunk.Fun.TypeQuals & Qualifiers::Restrict) in GetFullTypeForDeclarator()
4451 RemovalLocs.push_back(Chunk.Fun.getRestrictQualifierLoc()); in GetFullTypeForDeclarator()
[all …]
/external/v8/src/
Dbignum.cc46 bigits_[i] = static_cast<Chunk>(value & kBigitMask); in AssignUInt64()
121 Chunk current_bigit = 0; in AssignHexString()
129 Chunk most_significant_bigit = 0; // Could be = 0; in AssignHexString()
171 Chunk carry = 0; in AddBignum()
175 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry; in AddBignum()
182 Chunk sum = bigits_[bigit_pos] + carry; in AddBignum()
201 Chunk borrow = 0; in SubtractBignum()
205 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow; in SubtractBignum()
210 Chunk difference = bigits_[i + offset] - borrow; in SubtractBignum()
242 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/valgrind/perf/
Dmany-loss-records.c42 struct Chunk { struct
43 struct Chunk* child; argument
47 struct Chunk** topblocks; argument
58 void free_chunks (struct Chunk ** mem) in free_chunks()
70 void release (struct Chunk ** mem) in release()
87 int sz = sizeof(struct Chunk*) + malloc_data; in call_stack()
92 struct Chunk *new = NULL; // shut gcc up in call_stack()
93 struct Chunk *prev = NULL; in call_stack()
206 topblocks = malloc(sizeof(struct Chunk*) * stacks * malloc_fan); in main()
/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.h105 struct Chunk { struct
108 Chunk* next_ = nullptr; argument
109 Chunk* previous_ = nullptr; argument
113 Chunk* NewChunk(const uint32_t capacity) { in NewChunk() argument
114 Chunk* chunk = in NewChunk()
115 new (zone_->New(sizeof(Chunk) + capacity * sizeof(T))) Chunk(); in NewChunk()
121 Chunk* chunk_;
132 Chunk* front_ = nullptr;
133 Chunk* back_ = nullptr;
150 ZoneChunkListIterator(typename ZoneChunkList<T>::Chunk* current, in ZoneChunkListIterator()
[all …]
/external/v8/src/heap/
Dslot-set.h380 chunk_.SetValue(new Chunk(nullptr, kInitialBufferSize)); in TypedSlotSet()
384 Chunk* chunk = chunk_.Value(); in ~TypedSlotSet()
386 Chunk* next = chunk->next.Value(); in ~TypedSlotSet()
397 Chunk* top_chunk = chunk_.Value(); in Insert()
399 top_chunk = new Chunk(nullptr, kInitialBufferSize); in Insert()
403 Chunk* new_top_chunk = in Insert()
404 new Chunk(top_chunk, NextCapacity(top_chunk->capacity.Value())); in Insert()
424 Chunk* chunk = chunk_.Value(); in Iterate()
425 Chunk* previous = nullptr; in Iterate()
448 Chunk* next = chunk->next.Value(); in Iterate()
[all …]
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h385 struct Chunk { struct
403 Chunk() : Kind(CK_Text), Text(nullptr) { } in Chunk() argument
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/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/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/llvm/lib/DebugInfo/CodeView/
DStreamWriter.cpp70 ArrayRef<uint8_t> Chunk; in writeStreamRef() local
71 if (auto EC = SrcReader.readLongestContiguousChunk(Chunk)) in writeStreamRef()
73 if (auto EC = writeBytes(Chunk)) in writeStreamRef()
/external/v8/src/parsing/
Dscanner-character-streams.cc232 struct Chunk { struct in v8::internal::Utf8ExternalStreamingStream
248 std::vector<Chunk> chunks_;
260 const Chunk& chunk = chunks_[current_.chunk_no]; in SkipToPosition()
292 const Chunk& chunk = chunks_[current_.chunk_no]; in FillBufferFromCurrentChunk()
459 struct Chunk { struct
465 typedef std::vector<struct Chunk> Chunks;
545 const Chunk& chunk = chunks_[FindChunk(chunks_, source_, position, stats_)]; in FillBuffer()
604 Chunk& current = chunks_[chunk_no]; in ReadBlock()
613 Chunk& previous_chunk = chunks_[chunk_no - 1]; in ReadBlock()
706 Chunk& current = chunks_[chunk_no]; in ReadBlock()
[all …]
/external/webp/src/demux/
Ddemux.c56 typedef struct Chunk { struct
58 struct Chunk* next_; argument
59 } Chunk; typedef
72 Chunk* chunks_; // non-image chunks
73 Chunk** chunks_tail_;
177 static void AddChunk(WebPDemuxer* const dmux, Chunk* const chunk) { in AddChunk()
353 Chunk* const chunk = (Chunk*)WebPSafeCalloc(1ULL, sizeof(*chunk)); in StoreChunk()
755 Chunk* c; in WebPDemuxDelete()
765 Chunk* const cur_chunk = c; in WebPDemuxDelete()
890 const Chunk* c; in ChunkCount()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZFrameLowering.cpp69 unsigned Opc; uint64_t Chunk; in emitSPUpdate() local
75 Chunk = (1LL << 31) - 1; in emitSPUpdate()
78 Chunk = (1LL << 15) - 1; in emitSPUpdate()
84 uint64_t ThisVal = (Offset > Chunk) ? Chunk : Offset; in emitSPUpdate()
/external/python/cpython2/Doc/library/
Dchunk.rst28 | 0 | 4 | Chunk ID |
48 the :class:`Chunk` class defined here is to instantiate an instance at the start
54 .. class:: Chunk(file[, align, bigendian, inclheader])
70 A :class:`Chunk` object supports the following methods:
/external/llvm/lib/MC/
DMCCodeView.cpp397 uint16_t Chunk = std::min((uint32_t)MaxDefRange, RangeSize); in encodeDefRange() local
424 support::endian::Writer<support::little>(OS).write<uint16_t>(Chunk); in encodeDefRange()
427 Bias += Chunk; in encodeDefRange()
428 RangeSize -= Chunk; in encodeDefRange()
/external/tinyxml2/
Dtinyxml2.h284 Chunk* chunk = (Chunk*)mem; in Free()
285 memset( chunk, 0xfe, sizeof(Chunk) ); in Free()
296 union Chunk { union
297 Chunk* next;
301 Chunk chunk[COUNT];
304 Chunk* root;
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_packet.cc166 void CreateSdes(const std::vector<Sdes::Chunk>& chunks, in CreateSdes()
170 for (std::vector<Sdes::Chunk>::const_iterator it = chunks.begin(); in CreateSdes()
441 Chunk chunk; in WithCName()
454 for (const Chunk& chunk : chunks_) in BlockLength()
Drtcp_packet.h235 struct Chunk { struct
252 std::vector<Chunk> chunks_; argument
/external/python/cpython2/Lib/
Dwave.py87 from chunk import Chunk
129 self._file = Chunk(file, bigendian = 0)
139 chunk = Chunk(self._file, bigendian = 0)
/external/iptables/extensions/
Dlibxt_sctp.man10 Chunk types: DATA INIT INIT_ACK SACK HEARTBEAT HEARTBEAT_ACK ABORT SHUTDOWN SHUTDOWN_ACK ERROR COOK…
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2072 int Chunk = API.getNumWords() - 1; in emitGlobalConstantFP() local
2075 AP.OutStreamer->EmitIntValue(p[Chunk--], TrailingBytes); in emitGlobalConstantFP()
2077 for (; Chunk >= 0; --Chunk) in emitGlobalConstantFP()
2078 AP.OutStreamer->EmitIntValue(p[Chunk], sizeof(uint64_t)); in emitGlobalConstantFP()
2080 unsigned Chunk; in emitGlobalConstantFP() local
2081 for (Chunk = 0; Chunk < NumBytes / sizeof(uint64_t); ++Chunk) in emitGlobalConstantFP()
2082 AP.OutStreamer->EmitIntValue(p[Chunk], sizeof(uint64_t)); in emitGlobalConstantFP()
2085 AP.OutStreamer->EmitIntValue(p[Chunk], TrailingBytes); in emitGlobalConstantFP()

12