/external/v8/src/ |
unbound-queue-inl.h | 13 template<typename Record> 14 struct UnboundQueue<Record>::Node: public Malloced { 15 explicit Node(const Record& value) 19 Record value; 24 template<typename Record> 25 UnboundQueue<Record>::UnboundQueue() { 26 first_ = new Node(Record()); 31 template<typename Record> 32 UnboundQueue<Record>::~UnboundQueue() { 37 template<typename Record> [all...] |
unbound-queue.h | 21 template<typename Record> 27 INLINE(bool Dequeue(Record* rec)); 28 INLINE(void Enqueue(const Record& rec)); 30 INLINE(Record* Peek() const);
|
/external/clang/lib/Frontend/ |
SerializedDiagnosticReader.cpp | 70 Record = 1, 101 // We found a record. 103 return Cursor::Record; 124 case Cursor::Record: 135 SmallVector<uint64_t, 1> Record; 136 unsigned RecordID = Stream.readRecord(BlockOrCode, Record); 139 if (Record.size() < 1) 141 if (Record[0] > VersionNumber) 157 SmallVector<uint64_t, 16> Record; 177 case Cursor::Record [all...] |
SerializedDiagnosticPrinter.cpp | 130 std::error_code adjustSourceLocFilename(RecordData &Record, 133 void adjustAbbrevID(RecordData &Record, AbbrevLookup &Lookup, 136 void writeRecordWithAbbrev(unsigned ID, RecordData &Record); 138 void writeRecordWithBlob(unsigned ID, RecordData &Record, StringRef Blob); 196 /// \brief Emit a DIAG record. 209 /// \brief Emit a record for a CharSourceRange. 224 /// \brief Add SourceLocation information the specified record. 226 PresumedLoc PLoc, RecordDataImpl &Record, 229 /// \brief Add SourceLocation information the specified record. 230 void AddLocToRecord(SourceLocation Loc, RecordDataImpl &Record, [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_NdefRecord.c | 19 * \brief NFC Ndef Record component file. 32 * \name \name NDEF Record Tools Header 52 * Get a specific NDEF record from the data, provided by the caller. The data is a buffer holding 63 * \param[in] IsChunked This boolean tells the user that the record of a certain position within 64 * an array has the CHUNKED flag set (is a partial record). The number 67 * \param[in,out] NumberOfRawRecords Length of the Record pointer array. The caller has to provide 159 /* Check the First Record(MB = 0) for TNF = 0x06(Unchanged) */ 170 /* First Record i.e., MB = 1, TNF != 0x05 and TypeLength = 0 */ 191 /* For Each Record Check whether it contains the ME bit set and CF bit Set 228 short or normal record */ [all...] |
/external/v8/test/cctest/ |
test-circular-queue.cc | 39 typedef v8::base::AtomicWord Record; 41 SamplingCircularQueue<Record, kMaxRecordsInQueue> scq; 46 for (Record i = 1; i < 1 + kMaxRecordsInQueue; ++i) { 47 Record* rec = reinterpret_cast<Record*>(scq.StartEnqueue()); 59 Record* rec = reinterpret_cast<Record*>(scq.StartEnqueue()); 65 for (Record i = 1; i < 1 + kMaxRecordsInQueue; ++i) { 66 Record* rec = reinterpret_cast<Record*>(scq.Peek()) [all...] |
test-unbound-queue.cc | 39 typedef int Record; 40 UnboundQueue<Record> cq; 44 Record rec = 0; 52 typedef int Record; 53 UnboundQueue<Record> cq; 61 Record rec = 0;
|
/external/clang/lib/Serialization/ |
ASTReaderStmt.cpp | 34 const ASTReader::RecordData &Record; 83 const ASTReader::RecordData &Record, unsigned &Idx) 84 : Reader(Reader), F(F), DeclsCursor(Cursor), Record(Record), Idx(Idx) { } 86 /// \brief The number of record fields required for the Stmt class 90 /// \brief The number of record fields required for the Expr class 111 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx); 113 ArgInfo.setLAngleLoc(ReadSourceLocation(Record, Idx)); 114 ArgInfo.setRAngleLoc(ReadSourceLocation(Record, Idx)); 117 Reader.ReadTemplateArgumentLoc(F, Record, Idx)) [all...] |
ASTWriterDecl.cpp | 39 RecordData &Record; 45 ASTDeclWriter(ASTWriter &Writer, ASTContext &Context, RecordData &Record) 46 : Writer(Writer), Context(Context), Record(Record) { 137 Record.push_back(CD->NumCtorInitializers); 140 llvm::makeArrayRef(CD->init_begin(), CD->init_end()), Record); 180 Record.push_back(Specializations.size() + 186 Writer.AddDeclRef(D, Record); 191 Writer.AddDeclRef(D, Record); 194 Record.push_back(ID) [all...] |
ASTWriterStmt.cpp | 34 ASTWriter::RecordData &Record; 40 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) 41 : Writer(Writer), Record(Record) { } 54 Writer.AddSourceLocation(Args.getTemplateKeywordLoc(), Record); 55 Writer.AddSourceLocation(Args.LAngleLoc, Record); 56 Writer.AddSourceLocation(Args.RAngleLoc, Record); 58 Writer.AddTemplateArgumentLoc(Args.getTemplateArgs()[i], Record); 66 Writer.AddSourceLocation(S->getSemiLoc(), Record); 67 Record.push_back(S->HasLeadingEmptyMacro) [all...] |
ASTWriter.cpp | 82 ASTWriter::RecordDataImpl &Record; 85 /// \brief Type code that corresponds to the record generated. 87 /// \brief Abbreviation to use for the record, if any. 90 ASTTypeWriter(ASTWriter &Writer, ASTWriter::RecordDataImpl &Record) 91 : Writer(Writer), Record(Record), Code(TYPE_EXT_QUAL) { } 108 Writer.AddTypeRef(T->getElementType(), Record); 113 Writer.AddTypeRef(T->getPointeeType(), Record); 118 Writer.AddTypeRef(T->getOriginalType(), Record); 123 Writer.AddTypeRef(T->getOriginalType(), Record); [all...] |
ASTReaderDecl.cpp | 43 const RecordData &Record; 71 for (unsigned I = 0, Size = Record[Idx++]; I != Size; ++I) 72 IDs.push_back(ReadDeclID(Record, Idx)); 218 unsigned RawLocation, const RecordData &Record, unsigned &Idx) 220 RawLocation(RawLocation), Record(Record), Idx(Idx), 252 const RecordData &Record); 383 GetTypeSourceInfo(Record, Idx); 386 DD->DeclInfo = GetTypeSourceInfo(Record, Idx); 407 if (Record[Idx++]) [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | 287 /// getValueTypePair - Read a value/type pair out of the specified record from 288 /// slot 'Slot'. Increment Slot past the number of slots used in the record. 290 bool getValueTypePair(SmallVectorImpl<uint64_t> &Record, unsigned &Slot, 292 if (Slot == Record.size()) return true; 293 unsigned ValNo = (unsigned)Record[Slot++]; 302 } else if (Slot == Record.size()) { 306 unsigned TypeNo = (unsigned)Record[Slot++]; 311 /// popValue - Read a value out of the specified record from slot 'Slot'. 312 /// Increment Slot past the number of slots used by the value in the record. 314 bool popValue(SmallVectorImpl<uint64_t> &Record, unsigned &Slot [all...] |
/external/llvm/lib/DebugInfo/PDB/DIA/ |
DIADataStream.cpp | 38 RecordType Record; 44 Record.resize(RecordSize); 45 if (S_OK != StreamData->Item(Index, RecordSize, &RecordSize, &Record[0])) 47 return Record; 50 bool DIADataStream::getNext(RecordType &Record) { 51 Record.clear(); 58 Record.resize(RecordSize); 60 StreamData->Next(1, RecordSize, &RecordSize, &Record[0], &CountFetched))
|
/external/llvm/utils/TableGen/ |
CodeGenIntrinsics.h | 22 class Record; 27 Record *TheDef; // The actual record defining this intrinsic. 48 std::vector<Record*> RetTypeDefs; 57 std::vector<Record*> ParamTypeDefs; 90 CodeGenIntrinsic(Record *R);
|
CodeGenSchedule.h | 21 #include "llvm/TableGen/Record.h" 30 typedef std::vector<Record*> RecVec; 31 typedef std::vector<Record*>::const_iterator RecIter; 49 Record *TheDef; 61 CodeGenSchedRW(unsigned Idx, Record *Def) 71 // (but no record). 83 assert((!HasVariants || TheDef) && "Variant write needs record def"); 125 /// itinerary class. Each inherits the processor index from the ItinRW record 130 Record *ItinClassDef; 147 bool isKeyEqual(Record *IC, const IdxVec &W, const IdxVec &R) [all...] |
CodeGenTarget.h | 23 #include "llvm/TableGen/Record.h" 52 /// record corresponds to. 53 MVT::SimpleValueType getValueType(Record *Rec); 58 /// getQualifiedName - Return the name of the specified record, with a 59 /// namespace qualifier if the record contains one. 60 std::string getQualifiedName(const Record *R); 66 Record *TargetRec; 68 mutable DenseMap<const Record*, 71 mutable std::vector<Record*> RegAltNameIndices; 84 Record *getTargetRecord() const { return TargetRec; [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.cpp | 547 /// getValueTypePair - Read a value/type pair out of the specified record from 548 /// slot 'Slot'. Increment Slot past the number of slots used in the record. 550 bool getValueTypePair(SmallVectorImpl<uint64_t> &Record, unsigned &Slot, 552 if (Slot == Record.size()) return true; 553 unsigned ValNo = (unsigned)Record[Slot++]; 559 } else if (Slot == Record.size()) { 563 unsigned TypeNo = (unsigned)Record[Slot++]; 567 bool getValue(SmallVector<uint64_t, 64> &Record, unsigned &Slot, 569 if (Slot == Record.size()) return true; 570 unsigned ValNo = (unsigned)Record[Slot++] [all...] |
/external/llvm/lib/TableGen/ |
TGParser.h | 21 #include "llvm/TableGen/Record.h" 25 class Record; 45 /// ForeachLoop - Record the iteration state associated with a for loop. 69 // Record tracker 106 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV); 107 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName, 109 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName, 113 bool AddSubClass(Record *Rec, SubClassReference &SubClass); 130 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc); 131 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals) [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | 309 /// getValueTypePair - Read a value/type pair out of the specified record from 310 /// slot 'Slot'. Increment Slot past the number of slots used in the record. 312 bool getValueTypePair(SmallVectorImpl<uint64_t> &Record, unsigned &Slot, 314 if (Slot == Record.size()) return true; 315 unsigned ValNo = (unsigned)Record[Slot++]; 321 } else if (Slot == Record.size()) { 325 unsigned TypeNo = (unsigned)Record[Slot++]; 329 bool getValue(SmallVector<uint64_t, 64> &Record, unsigned &Slot, 331 if (Slot == Record.size()) return true; 332 unsigned ValNo = (unsigned)Record[Slot++] [all...] |
/external/clang/test/CodeGen/ |
pointer-signext.c | 10 #define CR(Record, TYPE, Field) \ 11 ((TYPE *) ((unsigned char *) (Record) - (unsigned char *) &(((TYPE *) 0)->Field)))
|
/external/llvm/include/llvm/TableGen/ |
SetTheory.h | 60 class Record; 65 typedef std::vector<Record*> RecVec; 66 typedef SmallSetVector<Record*, 16> RecSet; 80 /// Expander - A callback function that can transform a Record representing a 88 virtual void expand(SetTheory&, Record*, RecSet &Elts) =0; 94 typedef std::map<Record*, RecVec> ExpandMap; 111 /// FieldName in the Record to get the set elements. That is all that is 133 /// expand - Expand a record into a set of elements if possible. Return a 136 const RecVec *expand(Record *Set);
|
/external/clang/utils/TableGen/ |
ClangSACheckersEmitter.cpp | 16 #include "llvm/TableGen/Record.h" 28 static bool isHidden(const Record &R) { 38 static bool isCheckerNamed(const Record *R) { 42 static std::string getPackageFullName(const Record *R); 44 static std::string getParentPackageFullName(const Record *R) { 51 static std::string getPackageFullName(const Record *R) { 57 static std::string getCheckerFullName(const Record *R) { 66 static std::string getStringValue(const Record &R, StringRef field) { 74 llvm::DenseSet<const Record*> Checkers; 75 llvm::DenseSet<const Record *> SubGroups [all...] |
ClangASTNodesEmitter.cpp | 14 #include "llvm/TableGen/Record.h" 28 typedef std::multimap<Record*, Record*> ChildMap; 32 Record Root; 44 // the record's name plus the base suffix, but if it is the root node and 46 std::string baseName(Record &R) { 53 std::pair<Record *, Record *> EmitNode (const ChildMap &Tree, raw_ostream& OS, 54 Record *Base); 72 std::pair<Record *, Record *> ClangASTNodesEmitter::EmitNode [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 155 // Emit the finished record. 261 SmallVector<uint64_t, 64> Record; 267 Record.push_back(VE.getAttributeGroupID(A)); 268 Record.push_back(AS.getSlotIndex(i)); 274 Record.push_back(0); 275 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); 277 Record.push_back(1); 278 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); 279 Record.push_back(Attr.getValueAsInt()); 284 Record.push_back(Val.empty() ? 3 : 4) [all...] |