/external/clang/lib/Serialization/ |
D | ASTWriterStmt.cpp | 33 ASTRecordWriter Record; member in clang::ASTStmtWriter 39 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) in ASTStmtWriter() argument 40 : Writer(Writer), Record(Writer, Record), in ASTStmtWriter() 48 return Record.EmitStmt(Code, AbbrevToUse); in Emit() 63 Record.AddSourceLocation(ArgInfo.TemplateKWLoc); in AddTemplateKWAndArgsInfo() 64 Record.AddSourceLocation(ArgInfo.LAngleLoc); in AddTemplateKWAndArgsInfo() 65 Record.AddSourceLocation(ArgInfo.RAngleLoc); in AddTemplateKWAndArgsInfo() 67 Record.AddTemplateArgumentLoc(Args[i]); in AddTemplateKWAndArgsInfo() 75 Record.AddSourceLocation(S->getSemiLoc()); in VisitNullStmt() 76 Record.push_back(S->HasLeadingEmptyMacro); in VisitNullStmt() [all …]
|
D | ASTReaderStmt.cpp | 34 const ASTReader::RecordData &Record; member in clang::ASTStmtReader 83 const ASTReader::RecordData &Record, unsigned &Idx) in ASTStmtReader() argument 84 : Reader(Reader), F(F), DeclsCursor(Cursor), Record(Record), Idx(Idx) { } in ASTStmtReader() 86 /// \brief The number of record fields required for the Stmt class 90 /// \brief The number of record fields required for the Expr class 112 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx); in ReadTemplateKWAndArgsInfo() 114 ArgInfo.setLAngleLoc(ReadSourceLocation(Record, Idx)); in ReadTemplateKWAndArgsInfo() 115 ArgInfo.setRAngleLoc(ReadSourceLocation(Record, Idx)); in ReadTemplateKWAndArgsInfo() 118 Reader.ReadTemplateArgumentLoc(F, Record, Idx)); in ReadTemplateKWAndArgsInfo() 128 S->setSemiLoc(ReadSourceLocation(Record, Idx)); in VisitNullStmt() [all …]
|
D | ASTWriter.cpp | 88 ASTRecordWriter Record; member in clang::ASTTypeWriter 90 /// \brief Type code that corresponds to the record generated. 92 /// \brief Abbreviation to use for the record, if any. 96 ASTTypeWriter(ASTWriter &Writer, ASTWriter::RecordDataImpl &Record) in ASTTypeWriter() argument 97 : Writer(Writer), Record(Writer, Record), Code((TypeCode)0), AbbrevToUse(0) { } in ASTTypeWriter() 100 return Record.Emit(Code, AbbrevToUse); in Emit() 106 Record.AddTypeRef(T.getLocalUnqualifiedType()); in Visit() 107 Record.push_back(Qs.getAsOpaqueValue()); in Visit() 137 Record.AddTypeRef(T->getElementType()); in VisitComplexType() 142 Record.AddTypeRef(T->getPointeeType()); in VisitPointerType() [all …]
|
D | ASTWriterDecl.cpp | 37 ASTRecordWriter Record; member in clang::ASTDeclWriter 44 ASTWriter::RecordDataImpl &Record) in ASTDeclWriter() argument 45 : Writer(Writer), Context(Context), Record(Writer, Record), in ASTDeclWriter() 52 return Record.Emit(Code, AbbrevToUse); in Emit() 145 /// Add an Objective-C type parameter list to the given record. 149 Record.push_back(0); in AddObjCTypeParamList() 153 Record.push_back(typeParams->size()); in AddObjCTypeParamList() 155 Record.AddDeclRef(typeParam); in AddObjCTypeParamList() 157 Record.AddSourceLocation(typeParams->getLAngleLoc()); in AddObjCTypeParamList() 158 Record.AddSourceLocation(typeParams->getRAngleLoc()); in AddObjCTypeParamList() [all …]
|
D | ASTReaderDecl.cpp | 44 const RecordData &Record; member in clang::ASTDeclReader 62 assert(LocalOffset < Offset && "offset point after current record"); in ReadLocalOffset() 92 for (unsigned I = 0, Size = Record[Idx++]; I != Size; ++I) in ReadDeclIDList() 93 IDs.push_back(ReadDeclID(Record, Idx)); in ReadDeclIDList() 220 const RecordData &Record, unsigned &Idx) in ASTDeclReader() argument 222 ThisDeclLoc(ThisDeclLoc), Record(Record), Idx(Idx), in ASTDeclReader() 255 const RecordData &Record); 463 GetTypeSourceInfo(Record, Idx); in Visit() 466 DD->DeclInfo = GetTypeSourceInfo(Record, Idx); in Visit() 487 if (Record[Idx++]) { in Visit() [all …]
|
D | ASTReader.cpp | 570 // Detailed record is important since it is used for the module cache hash. in checkPreprocessorOptions() 996 RecordData Record; in ReadLexicalDeclContextStorage() local 999 unsigned RecCode = Cursor.readRecord(Code, Record, &Blob); in ReadLexicalDeclContextStorage() 1006 "expected a TU_UPDATE_LEXICAL record for TU"); in ReadLexicalDeclContextStorage() 1008 // lexical updates for the same record. It's important that we select only one in ReadLexicalDeclContextStorage() 1032 RecordData Record; in ReadVisibleDeclContextStorage() local 1035 unsigned RecCode = Cursor.readRecord(Code, Record, &Blob); in ReadVisibleDeclContextStorage() 1072 const RecordData &Record) { in ParseLineTable() argument 1078 for (unsigned I = 0; Record[Idx]; ++I) { in ParseLineTable() 1080 auto Filename = ReadPath(F, Record, Idx); in ParseLineTable() [all …]
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | TypeTableBuilder.cpp | 24 TypeIndex TypeTableBuilder::writeModifier(const ModifierRecord &Record) { in writeModifier() argument 25 TypeRecordBuilder Builder(Record.getKind()); in writeModifier() 27 Builder.writeTypeIndex(Record.getModifiedType()); in writeModifier() 28 Builder.writeUInt16(static_cast<uint16_t>(Record.getModifiers())); in writeModifier() 33 TypeIndex TypeTableBuilder::writeProcedure(const ProcedureRecord &Record) { in writeProcedure() argument 34 TypeRecordBuilder Builder(Record.getKind()); in writeProcedure() 36 Builder.writeTypeIndex(Record.getReturnType()); in writeProcedure() 37 Builder.writeUInt8(static_cast<uint8_t>(Record.getCallConv())); in writeProcedure() 38 Builder.writeUInt8(static_cast<uint8_t>(Record.getOptions())); in writeProcedure() 39 Builder.writeUInt16(Record.getParameterCount()); in writeProcedure() [all …]
|
D | FieldListRecordBuilder.cpp | 18 void FieldListRecordBuilder::writeBaseClass(const BaseClassRecord &Record) { in writeBaseClass() argument 22 Builder.writeUInt16(static_cast<uint16_t>(Record.getAccess())); in writeBaseClass() 23 Builder.writeTypeIndex(Record.getBaseType()); in writeBaseClass() 24 Builder.writeEncodedUnsignedInteger(Record.getBaseOffset()); in writeBaseClass() 29 void FieldListRecordBuilder::writeEnumerator(const EnumeratorRecord &Record) { in writeEnumerator() argument 33 Builder.writeUInt16(static_cast<uint16_t>(Record.getAccess())); in writeEnumerator() 35 Builder.writeEncodedUnsignedInteger(Record.getValue().getZExtValue()); in writeEnumerator() 36 Builder.writeNullTerminatedString(Record.getName()); in writeEnumerator() 41 void FieldListRecordBuilder::writeDataMember(const DataMemberRecord &Record) { in writeDataMember() argument 44 Builder.writeTypeRecordKind(Record.getKind()); in writeDataMember() [all …]
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | LanguageData.java | 23 public static class Record class in LanguageData 28 public Record(String tag, String name) in Record() method in LanguageData.Record 59 private Record[] languages = 61 new Record("", "null"), 62 new Record("ARA", "Arabic"), 63 new Record("ASM", "Assamese"), 64 new Record("BEN", "Bengali"), 65 new Record("FAR", "Farsi"), 66 new Record("GUJ", "Gujarati"), 67 new Record("HIN", "Hindi"), [all …]
|
/external/clang/include/clang/Serialization/ |
D | ASTBitCodes.h | 156 /// preprocessing record. 227 /// \brief The block containing the detailed preprocessing record. 258 /// \brief Record types that occur within the control block. 264 /// \brief Record code for the list of other AST files imported by 268 /// \brief Record code for the original file that was used to 276 /// \brief Record code for file ID of the file or buffer that was used to 284 /// \brief Record code for the module name. 287 /// \brief Record code for the module map file that was used to build this 291 /// \brief Record code for the signature that identifiers this AST file. 294 /// \brief Record code for the module build directory. [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkAllocationCallbackUtil.cpp | 132 AllocationCallbackRecord record; in allocation() local 134 record.type = TYPE_ALLOCATION; in allocation() 135 record.data.allocation.size = size; in allocation() 136 record.data.allocation.alignment = alignment; in allocation() 137 record.data.allocation.scope = scope; in allocation() 138 record.data.allocation.returnedPtr = returnedPtr; in allocation() 140 return record; in allocation() 145 AllocationCallbackRecord record; in reallocation() local 147 record.type = TYPE_REALLOCATION; in reallocation() 148 record.data.reallocation.original = original; in reallocation() [all …]
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 356 /// Read a value/type pair out of the specified record from slot 'Slot'. 357 /// Increment Slot past the number of slots used in the record. Return true on 359 bool getValueTypePair(SmallVectorImpl<uint64_t> &Record, unsigned &Slot, in getValueTypePair() argument 361 if (Slot == Record.size()) return true; in getValueTypePair() 362 unsigned ValNo = (unsigned)Record[Slot++]; in getValueTypePair() 372 if (Slot == Record.size()) in getValueTypePair() 375 unsigned TypeNo = (unsigned)Record[Slot++]; in getValueTypePair() 380 /// Read a value out of the specified record from slot 'Slot'. Increment Slot 381 /// past the number of slots used by the value in the record. Return true if 383 bool popValue(SmallVectorImpl<uint64_t> &Record, unsigned &Slot, in popValue() argument [all …]
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 49 /// ConvertToString - Convert a string from a record into an std::string, return 52 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() 421 return Error("Malformed block record"); in ParseAttributeBlock() 426 SmallVector<uint64_t, 64> Record; in ParseAttributeBlock() local 443 return Error("Malformed block record"); in ParseAttributeBlock() 452 // Read a record. in ParseAttributeBlock() 453 Record.clear(); in ParseAttributeBlock() [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | ndef.c | 36 struct ndef_record *record) in ndef_parse_record() argument 42 record->type_length = *pos++; in ndef_parse_record() 46 record->payload_length = *pos++; in ndef_parse_record() 55 record->payload_length = len; in ndef_parse_record() 62 record->id_length = *pos++; in ndef_parse_record() 64 record->id_length = 0; in ndef_parse_record() 66 record->type = record->type_length == 0 ? NULL : pos; in ndef_parse_record() 67 pos += record->type_length; in ndef_parse_record() 69 record->id = record->id_length == 0 ? NULL : pos; in ndef_parse_record() 70 pos += record->id_length; in ndef_parse_record() [all …]
|
/external/skia/tests/ |
D | RecordTest.cpp | 30 void apply(const SkRecord& record) { in apply() argument 31 for (int i = 0; i < record.count(); i++) { in apply() 32 record.visit(i, *this); in apply() 48 void apply(SkRecord* record) { in apply() 49 for (int i = 0; i < record->count(); i++) { in apply() 50 record->mutate(i, *this); in apply() 55 #define APPEND(record, type, ...) new (record.append<type>()) type{__VA_ARGS__} argument 58 DEF_TEST(Record, r) { in DEF_TEST() argument 59 SkRecord record; in DEF_TEST() local 64 APPEND(record, SkRecords::DrawRect, paint, rect); in DEF_TEST() [all …]
|
D | RecordPatternTest.cpp | 24 SkRecord record; in DEF_TEST() local 25 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 27 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 31 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 34 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 37 REPORTER_ASSERT(r, pattern.match(&record, 0)); in DEF_TEST() 46 SkRecord record; in DEF_TEST() local 47 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 59 REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3); in DEF_TEST() 61 REPORTER_ASSERT(r, !pattern.match(&record, i)); in DEF_TEST() [all …]
|
D | RecordOptsTest.cpp | 24 SkRecord record; in DEF_TEST() local 25 SkRecorder recorder(&record, W, H); in DEF_TEST() 31 record.replace<SkRecords::NoOp>(1); // NoOps should be allowed. in DEF_TEST() 33 SkRecordNoopSaveRestores(&record); in DEF_TEST() 35 REPORTER_ASSERT(r, 2 == count_instances_of_type<SkRecords::DrawRect>(record)); in DEF_TEST() 39 SkRecord record; in DEF_TEST() local 40 SkRecorder recorder(&record, W, H); in DEF_TEST() 46 SkRecordNoopSaveRestores(&record); in DEF_TEST() 48 assert_type<SkRecords::NoOp>(r, record, i); in DEF_TEST() 53 SkRecord record; in DEF_TEST() local [all …]
|
D | FontNamesTest.cpp | 18 SkOTTableName::Record nameRecord[R]; 24 SkOTTableName::Record nameRecord[R]; 40 /*Record*/ { 41 /*platformID*/ { SkOTTableName::Record::PlatformID::Windows }, 42 /*encodingID*/ { SkOTTableName::Record::EncodingID::Windows::UnicodeBMPUCS2 }, 43 /*languageID*/ { SkOTTableName::Record::LanguageID::Windows::English_UnitedStates }, 44 /*nameID*/ { SkOTTableName::Record::NameID::Predefined::FontFamilyName }, 60 /*Record*/ { 61 /*platformID*/ { SkOTTableName::Record::PlatformID::Windows }, 62 /*encodingID*/ { SkOTTableName::Record::EncodingID::Windows::UnicodeBMPUCS2 }, [all …]
|
/external/clang/lib/Frontend/ |
D | SerializedDiagnosticReader.cpp | 70 Record = 1, enumerator 101 // We found a record. in skipUntilRecordOrBlock() 103 return Cursor::Record; in skipUntilRecordOrBlock() 124 case Cursor::Record: in readMetaBlock() 135 SmallVector<uint64_t, 1> Record; in readMetaBlock() local 136 unsigned RecordID = Stream.readRecord(BlockOrCode, Record); in readMetaBlock() 139 if (Record.size() < 1) in readMetaBlock() 141 if (Record[0] > VersionNumber) in readMetaBlock() 157 SmallVector<uint64_t, 16> Record; in readDiagnosticBlock() local 177 case Cursor::Record: in readDiagnosticBlock() [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeParser.cpp | 36 const NaClBitcodeRecord &Record) in NaClBitcodeBlock() argument 37 : NaClBitcodeData(Record), in NaClBitcodeBlock() 39 EnclosingBlock(&Record.GetBlock()), in NaClBitcodeBlock() 40 LocalStartBit(Record.GetStartBit()) in NaClBitcodeBlock() 52 Parser->Record.SetStartBit(StartBit); in SetBID() 53 Parser->Record.Entry.Kind = NaClBitstreamEntry::Record; in SetBID() 54 Parser->Record.Entry.ID = naclbitc::UNABBREV_RECORD; in SetBID() 55 Parser->Record.Data.Code = naclbitc::BLOCKINFO_CODE_SETBID; in SetBID() 56 Parser->Record.Data.Values = Values; in SetBID() 63 Parser->Record.SetStartBit(StartBit); in EndBlockInfoBlock() [all …]
|
/external/v8/src/ |
D | locked-queue-inl.h | 14 template <typename Record> 15 struct LockedQueue<Record>::Node : Malloced { 17 Record value; 22 template <typename Record> 23 inline LockedQueue<Record>::LockedQueue() { 30 template <typename Record> 31 inline LockedQueue<Record>::~LockedQueue() { 43 template <typename Record> 44 inline void LockedQueue<Record>::Enqueue(const Record& record) { 47 n->value = record; [all …]
|
/external/v8/src/profiler/ |
D | 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 …]
|
/external/skia/src/core/ |
D | SkRecords.h | 38 // A list of all the types of canvas calls we can record. 44 // types polymorphically. (See SkRecord::Record::{visit,mutate} for an example.) 87 // Defines SkRecords::Type, an enum of all record types. 146 // Recording is a convenient time to cache these, or we can delay it to between record and playback. 169 #define RECORD(T, tags, ...) \ 176 RECORD(NoOp, 0); 177 RECORD(Restore, 0, 180 RECORD(Save, 0); 182 RECORD(SaveLayer, kHasPaint_Tag, 190 RECORD(SetMatrix, 0, [all …]
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeTableBuilder.h | 40 TypeIndex writeModifier(const ModifierRecord &Record); 41 TypeIndex writeProcedure(const ProcedureRecord &Record); 42 TypeIndex writeMemberFunction(const MemberFunctionRecord &Record); 43 TypeIndex writeArgList(const ArgListRecord &Record); 44 TypeIndex writePointer(const PointerRecord &Record); 45 TypeIndex writeArray(const ArrayRecord &Record); 46 TypeIndex writeClass(const ClassRecord &Record); 47 TypeIndex writeUnion(const UnionRecord &Record); 48 TypeIndex writeEnum(const EnumRecord &Record); 49 TypeIndex writeBitField(const BitFieldRecord &Record); [all …]
|
/external/clang/test/Layout/ |
D | ms-x86-alias-avoidance-padding.cpp | 1 // RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-la… 3 // RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-… 48 // CHECK: *** Dumping AST Record Layout 49 // CHECK: *** Dumping AST Record Layout 50 // CHECK: *** Dumping AST Record Layout 51 // CHECK: *** Dumping AST Record Layout 52 // CHECK: *** Dumping AST Record Layout 53 // CHECK: *** Dumping AST Record Layout 54 // CHECK: *** Dumping AST Record Layout 55 // CHECK: *** Dumping AST Record Layout [all …]
|