Home
last modified time | relevance | path

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

/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.cpp747 const DeclaratorChunk &Chunk = D.getTypeObject(I); in containsUnexpandedParameterPacks() local
748 switch (Chunk.Kind) { in containsUnexpandedParameterPacks()
757 if (Chunk.Arr.NumElts && in containsUnexpandedParameterPacks()
758 Chunk.Arr.NumElts->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
762 for (unsigned i = 0, e = Chunk.Fun.NumParams; i != e; ++i) { in containsUnexpandedParameterPacks()
763 ParmVarDecl *Param = cast<ParmVarDecl>(Chunk.Fun.Params[i].Param); in containsUnexpandedParameterPacks()
769 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks()
770 for (unsigned i = 0; i != Chunk.Fun.NumExceptions; ++i) { in containsUnexpandedParameterPacks()
771 if (Chunk.Fun.Exceptions[i] in containsUnexpandedParameterPacks()
776 } else if (Chunk.Fun.getExceptionSpecType() == EST_ComputedNoexcept && in containsUnexpandedParameterPacks()
[all …]
DSemaType.cpp3171 const DeclaratorChunk &Chunk = D.getTypeObject(I); in GetFullTypeForDeclarator() local
3172 assert(Chunk.Kind == DeclaratorChunk::Function); in GetFullTypeForDeclarator()
3173 if (Chunk.Fun.hasRefQualifier()) in GetFullTypeForDeclarator()
3174 RemovalLocs.push_back(Chunk.Fun.getRefQualifierLoc()); in GetFullTypeForDeclarator()
3175 if (Chunk.Fun.TypeQuals & Qualifiers::Const) in GetFullTypeForDeclarator()
3176 RemovalLocs.push_back(Chunk.Fun.getConstQualifierLoc()); in GetFullTypeForDeclarator()
3177 if (Chunk.Fun.TypeQuals & Qualifiers::Volatile) in GetFullTypeForDeclarator()
3178 RemovalLocs.push_back(Chunk.Fun.getVolatileQualifierLoc()); in GetFullTypeForDeclarator()
3179 if (Chunk.Fun.TypeQuals & Qualifiers::Restrict) in GetFullTypeForDeclarator()
3180 RemovalLocs.push_back(Chunk.Fun.getRestrictQualifierLoc()); in GetFullTypeForDeclarator()
[all …]
DSemaExprCXX.cpp1168 DeclaratorChunk &Chunk = D.getTypeObject(0); in ActOnCXXNew() local
1170 return ExprError(Diag(Chunk.Loc, diag::err_new_array_of_auto) in ActOnCXXNew()
1172 if (Chunk.Arr.hasStatic) in ActOnCXXNew()
1173 return ExprError(Diag(Chunk.Loc, diag::err_static_illegal_in_new) in ActOnCXXNew()
1175 if (!Chunk.Arr.NumElts) in ActOnCXXNew()
1176 return ExprError(Diag(Chunk.Loc, diag::err_array_new_needs_size) in ActOnCXXNew()
1179 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts); in ActOnCXXNew()
DSemaDeclCXX.cpp6945 for (auto &Chunk : D.type_objects()) { in CheckConversionDeclarator() local
6946 switch (Chunk.Kind) { in CheckConversionDeclarator()
6949 if (Chunk.Fun.HasTrailingReturnType) { in CheckConversionDeclarator()
6951 GetTypeFromParser(Chunk.Fun.getTrailingReturnType(), &TRT); in CheckConversionDeclarator()
6960 extendRight(After, Chunk.getSourceRange()); in CheckConversionDeclarator()
6967 extendLeft(Before, Chunk.getSourceRange()); in CheckConversionDeclarator()
6971 extendLeft(Before, Chunk.Loc); in CheckConversionDeclarator()
6972 extendRight(After, Chunk.EndLoc); in CheckConversionDeclarator()
DSemaDecl.cpp4466 DeclaratorChunk &Chunk = D.getTypeObject(I); in RebuildDeclaratorInCurrentInstantiation() local
4471 if (Chunk.Kind != DeclaratorChunk::MemberPointer) in RebuildDeclaratorInCurrentInstantiation()
4475 CXXScopeSpec &SS = Chunk.Mem.Scope(); in RebuildDeclaratorInCurrentInstantiation()
/external/v8/src/
Dbignum.cc48 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.h74 typedef uint32_t Chunk; typedef
77 static const int kChunkSize = sizeof(Chunk) * 8;
82 static const Chunk kBigitMask = (1 << kBigitSize) - 1;
102 Chunk BigitAt(int index) const;
105 Chunk bigits_buffer_[kBigitCapacity];
108 Vector<Chunk> bigits_;
/external/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp79 const uint64_t Chunk = getChunk(Imm, FromIdx) << ShiftAmt; in replicateChunk() local
83 return Imm | Chunk; in replicateChunk()
125 static bool canUseOrr(uint64_t Chunk, uint64_t &Encoding) { in canUseOrr() argument
126 Chunk = (Chunk << 48) | (Chunk << 32) | (Chunk << 16) | Chunk; in canUseOrr()
128 return AArch64_AM::processLogicalImmediate(Chunk, 64, Encoding); in canUseOrr()
151 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks() local
152 Chunk != End; ++Chunk) { in tryToreplicateChunks()
153 const uint64_t ChunkVal = Chunk->first; in tryToreplicateChunks()
154 const unsigned Count = Chunk->second; in tryToreplicateChunks()
228 static bool isStartChunk(uint64_t Chunk) { in isStartChunk() argument
[all …]
/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/clang/include/clang/Sema/
DCodeCompleteConsumer.h383 struct Chunk { struct
401 Chunk() : Kind(CK_Text), Text(nullptr) { } in Chunk() argument
403 explicit Chunk(ChunkKind Kind, const char *Text = "");
406 static Chunk CreateText(const char *Text);
409 static Chunk CreateOptional(CodeCompletionString *Optional);
412 static Chunk CreatePlaceholder(const char *Placeholder);
415 static Chunk CreateInformative(const char *Informative);
418 static Chunk CreateResultType(const char *ResultType);
421 static Chunk CreateCurrentParameter(const char *CurrentParameter);
447 CodeCompletionString(const Chunk *Chunks, unsigned NumChunks,
[all …]
/external/ceres-solver/internal/ceres/
Dschur_eliminator.h267 struct Chunk { struct
268 Chunk() : size(0) {} in Chunk() function
275 const Chunk& chunk, argument
284 void UpdateRhs(const Chunk& chunk,
322 vector<Chunk> chunks_;
Dschur_eliminator_impl.h117 chunks_.push_back(Chunk()); in Init()
118 Chunk& chunk = chunks_.back(); in Init()
149 const Chunk& chunk = chunks_.back(); in Init()
230 const Chunk& chunk = chunks_[i]; in Eliminate()
312 const Chunk& chunk = chunks_[i]; in BackSubstitute()
374 UpdateRhs(const Chunk& chunk, in UpdateRhs()
435 const Chunk& chunk, in ChunkDiagonalBlockAndGradient()
/external/webp/src/demux/
Ddemux.c57 typedef struct Chunk { struct
59 struct Chunk* next_; argument
60 } Chunk; typedef
73 Chunk* chunks_; // non-image chunks
74 Chunk** chunks_tail_;
178 static void AddChunk(WebPDemuxer* const dmux, Chunk* const chunk) { in AddChunk()
382 Chunk* const chunk = (Chunk*)WebPSafeCalloc(1ULL, sizeof(*chunk)); in StoreChunk()
757 Chunk* c; in WebPDemuxDelete()
767 Chunk* const cur_chunk = c; in WebPDemuxDelete()
927 const Chunk* c; in ChunkCount()
[all …]
/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/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.cpp2005 int Chunk = API.getNumWords() - 1; in emitGlobalConstantFP() local
2008 AP.OutStreamer.EmitIntValue(p[Chunk--], TrailingBytes); in emitGlobalConstantFP()
2010 for (; Chunk >= 0; --Chunk) in emitGlobalConstantFP()
2011 AP.OutStreamer.EmitIntValue(p[Chunk], sizeof(uint64_t)); in emitGlobalConstantFP()
2013 unsigned Chunk; in emitGlobalConstantFP() local
2014 for (Chunk = 0; Chunk < NumBytes / sizeof(uint64_t); ++Chunk) in emitGlobalConstantFP()
2015 AP.OutStreamer.EmitIntValue(p[Chunk], sizeof(uint64_t)); in emitGlobalConstantFP()
2018 AP.OutStreamer.EmitIntValue(p[Chunk], TrailingBytes); in emitGlobalConstantFP()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp834 llvm::Value *Chunk) { in EmitOMPForOuterLoop() argument
840 assert(!RT.isStaticNonchunked(ScheduleKind, /* Chunked */ Chunk != nullptr) && in EmitOMPForOuterLoop()
898 Chunk); in EmitOMPForOuterLoop()
1029 llvm::Value *Chunk = nullptr; in EmitOMPWorksharingLoop() local
1034 Chunk = EmitScalarExpr(Ch); in EmitOMPWorksharingLoop()
1035 Chunk = EmitScalarConversion(Chunk, Ch->getType(), in EmitOMPWorksharingLoop()
1042 /* Chunked */ Chunk != nullptr)) { in EmitOMPWorksharingLoop()
1069 Chunk); in EmitOMPWorksharingLoop()
DCGOpenMPRuntime.cpp1333 llvm::Value *Chunk) { in emitForInit() argument
1334 OpenMPSchedType Schedule = getRuntimeSchedule(ScheduleKind, Chunk != nullptr); in emitForInit()
1342 if (Chunk == nullptr) in emitForInit()
1343 Chunk = CGF.Builder.getIntN(IVSize, 1); in emitForInit()
1350 Chunk // Chunk in emitForInit()
1359 if (Chunk == nullptr) { in emitForInit()
1363 Chunk = CGF.Builder.getIntN(IVSize, 1); in emitForInit()
1375 Chunk // Chunk in emitForInit()
DCGOpenMPRuntime.h429 llvm::Value *Chunk = nullptr);
DCodeGenFunction.h2161 llvm::Value *Chunk);
/external/clang/lib/Basic/
DSourceManager.cpp1228 const __m128i Chunk = *(const __m128i*)NextBuf; in ComputeLineNumbers() local
1229 __m128i Cmp = _mm_or_si128(_mm_cmpeq_epi8(Chunk, CRs), in ComputeLineNumbers()
1230 _mm_cmpeq_epi8(Chunk, LFs)); in ComputeLineNumbers()
/external/llvm/lib/Target/X86/
DX86FrameLowering.cpp223 uint64_t Chunk = (1LL << 31) - 1; in emitSPUpdate() local
227 if (Offset > Chunk) { in emitSPUpdate()
253 uint64_t ThisVal = std::min(Offset, Chunk); in emitSPUpdate()
/external/clang/lib/Parse/
DParseDecl.cpp5914 const DeclaratorChunk &Chunk = TempDeclarator.getTypeObject(i); in ParseMisplacedBracketDeclarator() local
5916 attrs.set(Chunk.Common.AttrList); in ParseMisplacedBracketDeclarator()
5917 D.AddTypeInfo(Chunk, attrs, SourceLocation()); in ParseMisplacedBracketDeclarator()
/external/jemalloc/
DChangeLog29 + Chunk fragmentation tends to be lower because there are fewer distinct run