Home
last modified time | relevance | path

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

12345678

/external/clang/lib/Serialization/
DASTWriterStmt.cpp29 ASTWriter::RecordData &Record; member in clang::ASTStmtWriter
35 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) in ASTStmtWriter() argument
36 : Writer(Writer), Record(Record) { } in ASTStmtWriter()
50 Writer.AddSourceLocation(Args.LAngleLoc, Record); in AddExplicitTemplateArgumentList()
51 Writer.AddSourceLocation(Args.RAngleLoc, Record); in AddExplicitTemplateArgumentList()
53 Writer.AddTemplateArgumentLoc(Args.getTemplateArgs()[i], Record); in AddExplicitTemplateArgumentList()
61 Writer.AddSourceLocation(S->getSemiLoc(), Record); in VisitNullStmt()
62 Writer.AddSourceLocation(S->LeadingEmptyMacro, Record); in VisitNullStmt()
68 Record.push_back(S->size()); in VisitCompoundStmt()
72 Writer.AddSourceLocation(S->getLBracLoc(), Record); in VisitCompoundStmt()
[all …]
DASTReaderStmt.cpp28 const ASTReader::RecordData &Record; member in clang::ASTStmtReader
54 const ASTReader::RecordData &Record, unsigned &Idx) in ASTStmtReader() argument
55 : Reader(Reader), F(F), DeclsCursor(Cursor), Record(Record), Idx(Idx) { } in ASTStmtReader()
80 ArgInfo.setLAngleLoc(ReadSourceLocation(Record, Idx)); in ReadExplicitTemplateArgumentList()
81 ArgInfo.setRAngleLoc(ReadSourceLocation(Record, Idx)); in ReadExplicitTemplateArgumentList()
84 Reader.ReadTemplateArgumentLoc(F, Record, Idx)); in ReadExplicitTemplateArgumentList()
94 S->setSemiLoc(ReadSourceLocation(Record, Idx)); in VisitNullStmt()
95 S->LeadingEmptyMacro = ReadSourceLocation(Record, Idx); in VisitNullStmt()
101 unsigned NumStmts = Record[Idx++]; in VisitCompoundStmt()
105 S->setLBracLoc(ReadSourceLocation(Record, Idx)); in VisitCompoundStmt()
[all …]
DASTReaderDecl.cpp38 const RecordData &Record; member in clang::ASTDeclReader
73 const RecordData &Record, unsigned &Idx);
77 const RecordData &Record, unsigned &Idx) in ASTDeclReader() argument
79 Record(Record), Idx(Idx), TypeIDForTypeDecl(0) { } in ASTDeclReader()
86 const RecordData &Record);
182 GetTypeSourceInfo(Record, Idx); in Visit()
185 DD->DeclInfo = GetTypeSourceInfo(Record, Idx); in Visit()
194 if (Record[Idx++]) in Visit()
214 DeclContextIDForTemplateParmDecl = Record[Idx++]; in VisitDecl()
215 LexicalDeclContextIDForTemplateParmDecl = Record[Idx++]; in VisitDecl()
[all …]
DASTWriter.cpp75 ASTWriter::RecordDataImpl &Record; member in __anoned0a47d10111::ASTTypeWriter
81 ASTTypeWriter(ASTWriter &Writer, ASTWriter::RecordDataImpl &Record) in ASTTypeWriter() argument
82 : Writer(Writer), Record(Record), Code(TYPE_EXT_QUAL) { } in ASTTypeWriter()
99 Writer.AddTypeRef(T->getElementType(), Record); in VisitComplexType()
104 Writer.AddTypeRef(T->getPointeeType(), Record); in VisitPointerType()
109 Writer.AddTypeRef(T->getPointeeType(), Record); in VisitBlockPointerType()
114 Writer.AddTypeRef(T->getPointeeTypeAsWritten(), Record); in VisitLValueReferenceType()
115 Record.push_back(T->isSpelledAsLValue()); in VisitLValueReferenceType()
120 Writer.AddTypeRef(T->getPointeeTypeAsWritten(), Record); in VisitRValueReferenceType()
125 Writer.AddTypeRef(T->getPointeeType(), Record); in VisitMemberPointerType()
[all …]
DASTWriterDecl.cpp37 RecordData &Record; member in clang::ASTDeclWriter
43 ASTDeclWriter(ASTWriter &Writer, ASTContext &Context, RecordData &Record) in ASTDeclWriter() argument
44 : Writer(Writer), Context(Context), Record(Record) { in ASTDeclWriter()
131 Writer.AddTypeSourceInfo(DD->getTypeSourceInfo(), Record); in Visit()
138 Record.push_back(FD->doesThisDeclarationHaveABody()); in Visit()
145 Writer.AddDeclRef(cast_or_null<Decl>(D->getDeclContext()), Record); in VisitDecl()
146 Writer.AddDeclRef(cast_or_null<Decl>(D->getLexicalDeclContext()), Record); in VisitDecl()
147 Writer.AddSourceLocation(D->getLocation(), Record); in VisitDecl()
148 Record.push_back(D->isInvalidDecl()); in VisitDecl()
149 Record.push_back(D->hasAttrs()); in VisitDecl()
[all …]
DASTReader.cpp924 RecordData Record; in ReadDeclContextStorage() local
928 unsigned RecCode = Cursor.ReadRecord(Code, Record, &Blob, &BlobLen); in ReadDeclContextStorage()
945 RecordData Record; in ReadDeclContextStorage() local
949 unsigned RecCode = Cursor.ReadRecord(Code, Record, &Blob, &BlobLen); in ReadDeclContextStorage()
956 (const unsigned char *)Blob + Record[0], in ReadDeclContextStorage()
995 llvm::SmallVectorImpl<uint64_t> &Record) { in ParseLineTable() argument
1001 for (int I = 0, N = Record[Idx++]; I != N; ++I) { in ParseLineTable()
1003 unsigned FilenameLen = Record[Idx++]; in ParseLineTable()
1004 std::string Filename(&Record[Idx], &Record[Idx] + FilenameLen); in ParseLineTable()
1012 while (Idx < Record.size()) { in ParseLineTable()
[all …]
/external/libnfc-nxp/src/
DphFriNfc_NdefRecord.c388 uint32_t phFriNfc_NdefRecord_GetLength(phFriNfc_NdefRecord_t *Record) in phFriNfc_NdefRecord_GetLength() argument
393 FlagCheck=phFriNfc_NdefRecord_NdefFlag(Record->Tnf,PH_FRINFC_NDEFRECORD_TNFBYTE_MASK); in phFriNfc_NdefRecord_GetLength()
407 RecordLength += Record->TypeLength; in phFriNfc_NdefRecord_GetLength()
411 FlagCheck=phFriNfc_NdefRecord_NdefFlag(Record->Flags,PH_FRINFC_NDEFRECORD_FLAGS_SR); in phFriNfc_NdefRecord_GetLength()
424 FlagCheck=phFriNfc_NdefRecord_NdefFlag(Record->Tnf,PH_FRINFC_NDEFRECORD_TNFBYTE_MASK); in phFriNfc_NdefRecord_GetLength()
427 RecordLength += Record->PayloadLength; in phFriNfc_NdefRecord_GetLength()
431 FlagCheck=phFriNfc_NdefRecord_NdefFlag(Record->Flags,PH_FRINFC_NDEFRECORD_FLAGS_IL); in phFriNfc_NdefRecord_GetLength()
434 RecordLength +=Record->IdLength; in phFriNfc_NdefRecord_GetLength()
463 NFCSTATUS phFriNfc_NdefRecord_Parse(phFriNfc_NdefRecord_t *Record, in phFriNfc_NdefRecord_Parse() argument
475 if (Record == NULL || RawRecord == NULL) in phFriNfc_NdefRecord_Parse()
[all …]
/external/v8/test/cctest/
Dtest-circular-queue.cc15 typedef SamplingCircularQueue::Cell Record; in TEST() typedef
17 SamplingCircularQueue scq(sizeof(Record), in TEST()
18 kRecordsPerChunk * sizeof(Record), in TEST()
26 for (Record i = 1; i < 1 + kRecordsPerChunk; ++i) { in TEST()
27 Record* rec = reinterpret_cast<Record*>(scq.Enqueue()); in TEST()
35 for (Record i = 10; i < 10 + kRecordsPerChunk; ++i) { in TEST()
36 Record* rec = reinterpret_cast<Record*>(scq.Enqueue()); in TEST()
42 Record* rec = reinterpret_cast<Record*>(scq.Enqueue()); in TEST()
50 for (Record i = 1; i < 1 + kRecordsPerChunk; ++i) { in TEST()
51 Record* rec = reinterpret_cast<Record*>(scq.StartDequeue()); in TEST()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp52 static bool ConvertToString(SmallVector<uint64_t, 64> &Record, unsigned Idx, in ConvertToString() argument
54 if (Idx > Record.size()) in ConvertToString()
57 for (unsigned i = Idx, e = Record.size(); i != e; ++i) in ConvertToString()
58 Result += (char)Record[i]; in ConvertToString()
388 SmallVector<uint64_t, 64> Record; in ParseAttributeBlock() local
415 Record.clear(); in ParseAttributeBlock()
416 switch (Stream.ReadRecord(Code, Record)) { in ParseAttributeBlock()
420 if (Record.size() & 1) in ParseAttributeBlock()
429 for (unsigned i = 0, e = Record.size(); i != e; i += 2) { in ParseAttributeBlock()
434 unsigned Alignment = (Record[i+1] & (0xffffull << 16)) >> 16; in ParseAttributeBlock()
[all …]
/external/v8/src/
Dunbound-queue-inl.h36 template<typename Record>
37 struct UnboundQueue<Record>::Node: public Malloced {
38 explicit Node(const Record& value)
42 Record value;
47 template<typename Record>
48 UnboundQueue<Record>::UnboundQueue() {
49 first_ = new Node(Record());
54 template<typename Record>
55 UnboundQueue<Record>::~UnboundQueue() {
60 template<typename Record>
[all …]
/external/llvm/utils/TableGen/
DCodeGenRegisters.h35 Record *TheDef;
40 typedef std::map<Record*, CodeGenRegister*, LessRecord> SubRegMap;
42 CodeGenRegister(Record *R, unsigned Enum);
88 const std::vector<Record*> *Elements;
89 std::vector<SmallVector<Record*, 16> > AltOrders;
91 Record *TheDef;
99 DenseMap<Record*,Record*> SubRegClasses;
130 ArrayRef<Record*> getOrder(unsigned No = 0) const {
140 CodeGenRegisterClass(CodeGenRegBank&, Record *R);
149 std::vector<Record*> SubRegIndices;
[all …]
DCodeGenDAGPatterns.h28 class Record; variable
157 SDTypeConstraint(Record *R);
199 Record *Def;
207 SDNodeInfo(Record *R); // Parse the specified record.
214 Record *getRecord() const { return Def; } in getRecord()
305 Record *Operator;
321 Record *TransformFn;
325 TreePatternNode(Record *Op, const std::vector<TreePatternNode*> &Ch, in TreePatternNode()
362 Record *getOperator() const { assert(!isLeaf()); return Operator; } in getOperator()
394 Record *getTransformFn() const { return TransformFn; } in getTransformFn()
[all …]
DTGParser.h24 class Record; variable
74 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV);
75 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName,
77 bool AddSubClass(Record *Rec, SubClassReference &SubClass);
91 bool ParseObjectBody(Record *CurRec);
92 bool ParseBody(Record *CurRec);
93 bool ParseBodyItem(Record *CurRec);
95 bool ParseTemplateArgList(Record *CurRec);
96 std::string ParseDeclaration(Record *CurRec, bool ParsingTemplateArgs);
98 SubClassReference ParseSubClassReference(Record *CurRec, bool isDefm);
[all …]
DClangSACheckersEmitter.cpp27 static bool isHidden(const Record &R) { in isHidden()
37 static bool isCheckerNamed(const Record *R) { in isCheckerNamed()
41 static std::string getPackageFullName(const Record *R);
43 static std::string getParentPackageFullName(const Record *R) { in getParentPackageFullName()
50 static std::string getPackageFullName(const Record *R) { in getPackageFullName()
56 static std::string getCheckerFullName(const Record *R) { in getCheckerFullName()
65 static std::string getStringValue(const Record &R, StringRef field) { in getStringValue()
74 llvm::DenseSet<const Record*> Checkers;
75 llvm::DenseSet<const Record *> SubGroups;
83 static void addPackageToCheckerGroup(const Record *package, const Record *group, in addPackageToCheckerGroup()
[all …]
DCodeGenTarget.h52 MVT::SimpleValueType getValueType(Record *Rec);
59 std::string getQualifiedName(const Record *R);
65 Record *TargetRec;
67 mutable DenseMap<const Record*, CodeGenInstruction*> Instructions;
69 mutable std::vector<Record*> RegAltNameIndices;
79 Record *getTargetRecord() const { return TargetRec; } in getTargetRecord()
88 Record *getInstructionSet() const;
92 Record *getAsmParser() const;
96 Record *getAsmWriter() const;
105 const std::vector<Record*> &getRegAltNameIndices() const { in getRegAltNameIndices()
[all …]
DSubtargetEmitter.cpp29 std::vector<Record*> DefList = Records.getAllDerivedDefinitions(ClassName); in Enumeration()
48 Record *Def = DefList[i]; in Enumeration()
74 std::vector<Record*> FeatureList = in FeatureKeyValues()
90 Record *Feature = FeatureList[i]; in FeatureKeyValues()
104 const std::vector<Record*> &ImpliesList = in FeatureKeyValues()
137 std::vector<Record*> ProcessorList = in CPUKeyValues()
148 Record *Processor = ProcessorList[i]; in CPUKeyValues()
151 const std::vector<Record*> &FeatureList = in CPUKeyValues()
190 std::vector<Record*> &ItinClassList) { in CollectAllItinClasses()
195 const Record *ItinClass = ItinClassList[i]; in CollectAllItinClasses()
[all …]
DCodeGenRegisters.cpp27 CodeGenRegister::CodeGenRegister(Record *R, unsigned Enum) in CodeGenRegister()
41 Record *First, *Second;
42 Orphan(CodeGenRegister *r, Record *a, Record *b) in Orphan()
54 std::vector<Record*> SubList = TheDef->getValueAsListOfDefs("SubRegs"); in getSubRegs()
55 std::vector<Record*> Indices = TheDef->getValueAsListOfDefs("SubRegIndices"); in getSubRegs()
146 std::vector<Record*> Indices = TheDef->getValueAsListOfDefs("SubRegIndices"); in addSubRegsPreOrder()
163 void expand(SetTheory &ST, Record *Def, SetTheory::RecSet &Elts) { in expand()
164 std::vector<Record*> Indices = Def->getValueAsListOfDefs("SubRegIndices"); in expand()
184 Record *RegisterCl = Def->getRecords().getClass("Register"); in expand()
191 Record *Proto = Lists[0][n]; in expand()
[all …]
DClangASTNodesEmitter.cpp24 std::pair<Record *, Record *> ClangASTNodesEmitter::EmitNode( in EmitNode()
27 Record *Base) { in EmitNode()
32 Record *First = 0, *Last = 0; in EmitNode()
39 Record *R = i->second; in EmitNode()
56 const std::pair<Record *, Record *> &Result in EmitNode()
105 const std::vector<Record*> Stmts in run()
111 Record *R = Stmts[i]; in run()
138 typedef std::set<Record*> RecordSet; in run()
139 typedef std::vector<Record*> RecordVector; in run()
147 Record *R = *i; in run()
[all …]
DCodeGenInstruction.h25 class Record; variable
67 Record *Rec;
107 OperandInfo(Record *R, const std::string &N, const std::string &PMN, in OperandInfo()
126 CGIOperandList(Record *D);
128 Record *TheDef; // The actual record containing this OperandList.
203 Record *TheDef; // The actual record defining this instruction.
216 std::vector<Record*> ImplicitDefs, ImplicitUses;
247 CodeGenInstruction(Record *R);
266 Record *TheDef; // The actual record defining this InstAlias.
283 Record *R;
[all …]
DClangDiagnosticsEmitter.cpp35 std::map<const Record*, std::vector<Record*> > Mapping;
38 std::vector<Record*> DiagGroups in DiagGroupParentMap()
41 std::vector<Record*> SubGroups = in DiagGroupParentMap()
48 const std::vector<Record*> &getParents(const Record *Group) { in getParents()
56 getCategoryFromDiagGroup(const Record *Group, in getCategoryFromDiagGroup()
64 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in getCategoryFromDiagGroup()
74 static std::string getDiagnosticCategory(const Record *R, in getDiagnosticCategory()
101 std::vector<Record*> Diags = in DiagCategoryIDMap()
141 const std::vector<Record*> &Diags = in run()
148 const Record &R = *Diags[i]; in run()
[all …]
DClangAttrEmitter.cpp23 getValueAsListOfStrings(Record &R, StringRef FieldName) { in getValueAsListOfStrings()
71 Argument(Record &Arg, StringRef Attr) in Argument()
102 SimpleArgument(Record &Arg, StringRef Attr, std::string T) in SimpleArgument()
138 StringArgument(Record &Arg, StringRef Attr) in StringArgument()
192 AlignedArgument(Record &Arg, StringRef Attr) in AlignedArgument()
297 VariadicArgument(Record &Arg, StringRef Attr, std::string T) in VariadicArgument()
366 EnumArgument(Record &Arg, StringRef Attr) in EnumArgument()
424 VersionArgument(Record &Arg, StringRef Attr) in VersionArgument()
464 static Argument *createArgument(Record &Arg, StringRef Attr, in createArgument()
465 Record *Search = 0) { in createArgument()
[all …]
DClangASTNodesEmitter.h30 typedef std::multimap<Record*, Record*> ChildMap;
34 Record Root;
48 std::string baseName(Record &R) { in baseName()
55 std::pair<Record *, Record *> EmitNode (const ChildMap &Tree, raw_ostream& OS,
56 Record *Base);
DRecord.h57 class Record; variable
437 Record *Rec;
438 explicit RecordRecTy(Record *R) : Rec(R) {} in RecordRecTy()
439 friend class Record; variable
441 static RecordRecTy *get(Record *R);
443 Record *getRecord() const { return Rec; } in getRecord()
538 virtual Init *getFieldInit(Record &R, const RecordVal *RV, in getFieldInit()
548 virtual Init *resolveReferences(Record &R, const RecordVal *RV) { in resolveReferences()
580 virtual Init *resolveBitReference(Record &R, const RecordVal *RV,
586 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV,
[all …]
/external/clang/include/clang/Serialization/
DASTWriter.h334 void WriteAttributes(const AttrVec &Attrs, RecordDataImpl &Record);
392 void AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record);
395 void AddSourceRange(SourceRange Range, RecordDataImpl &Record);
398 void AddAPInt(const llvm::APInt &Value, RecordDataImpl &Record);
401 void AddAPSInt(const llvm::APSInt &Value, RecordDataImpl &Record);
404 void AddAPFloat(const llvm::APFloat &Value, RecordDataImpl &Record);
407 void AddIdentifierRef(const IdentifierInfo *II, RecordDataImpl &Record);
410 void AddSelectorRef(Selector, RecordDataImpl &Record);
413 void AddCXXTemporary(const CXXTemporary *Temp, RecordDataImpl &Record);
418 RecordDataImpl &Record);
[all …]
/external/chromium/chrome/browser/metrics/
Duser_metrics.cc13 Record(action.str_, profile); in RecordAction()
18 Record(action.c_str(), profile); in RecordComputedAction()
21 void UserMetrics::Record(const char *action, Profile *profile) { in Record() function in UserMetrics
22 Record(action); in Record()
26 Record(action.str_); in RecordAction()
30 Record(action.c_str()); in RecordComputedAction()
33 void UserMetrics::Record(const char *action) { in Record() function in UserMetrics
47 Record(action.c_str()); in CallRecordOnUI()

12345678