Home
last modified time | relevance | path

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

12345678910>>...54

/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h40 class Init; variable
87 virtual Init *convertValue( UnsetInit *UI) { return 0; } in convertValue()
88 virtual Init *convertValue( BitInit *BI) { return 0; } in convertValue()
89 virtual Init *convertValue( BitsInit *BI) { return 0; } in convertValue()
90 virtual Init *convertValue( IntInit *II) { return 0; } in convertValue()
91 virtual Init *convertValue(StringInit *SI) { return 0; } in convertValue()
92 virtual Init *convertValue( ListInit *LI) { return 0; } in convertValue()
93 virtual Init *convertValue( UnOpInit *UI) { in convertValue()
96 virtual Init *convertValue( BinOpInit *UI) { in convertValue()
99 virtual Init *convertValue( TernOpInit *UI) { in convertValue()
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h239 class Init {
282 Init(const Init &) = delete;
283 Init &operator=(const Init &) = delete;
290 explicit Init(InitKind K, uint8_t Opc = 0) : Kind(K), Opc(Opc) {} in Kind()
293 virtual ~Init() {} in ~Init()
316 virtual Init *convertInitializerTo(RecTy *Ty) const = 0;
323 virtual Init *
333 virtual Init *
350 virtual Init *getFieldInit(Record &R, const RecordVal *RV, in getFieldInit()
360 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp92 Init *BitRecTy::convertValue(BitsInit *BI) { in convertValue()
101 Init *BitRecTy::convertValue(IntInit *II) { in convertValue()
108 Init *BitRecTy::convertValue(TypedInit *VI) { in convertValue()
128 Init *BitsRecTy::convertValue(UnsetInit *UI) { in convertValue()
129 SmallVector<Init *, 16> NewBits(Size); in convertValue()
137 Init *BitsRecTy::convertValue(BitInit *UI) { in convertValue()
153 Init *BitsRecTy::convertValue(IntInit *II) { in convertValue()
159 SmallVector<Init *, 16> NewBits(Size); in convertValue()
167 Init *BitsRecTy::convertValue(BitsInit *BI) { in convertValue()
174 Init *BitsRecTy::convertValue(TypedInit *VI) { in convertValue()
[all …]
DTGParser.h28 class Init; variable
36 Init *Value;
38 LetRecord(const std::string &N, const std::vector<unsigned> &B, Init *V, in LetRecord()
76 const std::vector<unsigned> &BitList, Init *V);
95 std::vector<Init *> &TemplateVals,
116 Init *ParseIDValue(Record *CurRec);
117 Init *ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc);
118 Init *ParseSimpleValue(Record *CurRec, RecTy *ItemType = 0);
119 Init *ParseValue(Record *CurRec, RecTy *ItemType = 0);
120 std::vector<Init*> ParseValueList(Record *CurRec, Record *ArgsRec = 0, RecTy *EltTy = 0);
[all …]
/external/llvm/lib/TableGen/
DRecord.cpp211 void Init::anchor() { } in anchor()
212 LLVM_DUMP_METHOD void Init::dump() const { return print(errs()); } in dump()
219 Init *UnsetInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
221 SmallVector<Init *, 16> NewBits(BRT->getNumBits()); in convertInitializerTo()
240 Init *BitInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
257 ProfileBitsInit(FoldingSetNodeID &ID, ArrayRef<Init *> Range) { in ProfileBitsInit()
260 for (Init *I : Range) in ProfileBitsInit()
264 BitsInit *BitsInit::get(ArrayRef<Init *> Range) { in get()
275 void *Mem = ::operator new (totalSizeToAlloc<Init *>(Range.size())); in get()
278 I->getTrailingObjects<Init *>()); in get()
[all …]
DTGParser.h29 class Init; variable
37 Init *Value;
39 LetRecord(const std::string &N, const std::vector<unsigned> &B, Init *V, in LetRecord()
107 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName,
108 ArrayRef<unsigned> BitList, Init *V,
111 ArrayRef<unsigned> BitList, Init *V,
125 Init *IterValue;
126 IterRecord(VarInit *Var, Init *Val) : IterVar(Var), IterValue(Val) {} in IterRecord()
142 Init *&DefmPrefix, SMRange DefmPrefixRange,
143 ArrayRef<Init *> TArgs,
[all …]
DTGParser.cpp30 std::vector<Init*> TemplateArgs;
39 std::vector<Init*> TemplateArgs;
52 for (Init *TA : TemplateArgs) in dump()
77 bool TGParser::SetValue(Record *CurRec, SMLoc Loc, Init *ValName, in SetValue()
78 ArrayRef<unsigned> BitList, Init *V, in SetValue()
107 Init *BI = V->convertInitializerTo(BitsRecTy::get(BitList.size())); in SetValue()
114 SmallVector<Init *, 16> NewBits(CurVal->getNumBits()); in SetValue()
154 ArrayRef<Init *> TArgs = SC->getTemplateArgs(); in AddSubClass()
229 ArrayRef<Init *> SMCTArgs = SMC->Rec.getTemplateArgs(); in AddSubMultiClass()
308 Init *ItemVal = List->resolveListElementReference(*CurRec, nullptr, i); in ProcessForeachDefs()
[all …]
/external/llvm/test/CodeGen/ARM/
D2010-06-21-nondarwin-tc.ll8 …RecordVal" = type { %"class.std::basic_string", %"struct.llvm::Init"*, i32, %"struct.llvm::Init"* }
13 %"struct.llvm::Init" = type { i32 (...)** }
23Init"*, i32), void (%"class.llvm::RecordVal"*, %"class.std::basic_string"*, %"struct.llvm::Init"*,…
29 …RecTyEj(%"class.llvm::RecordVal"*, %"class.std::basic_string"*, %"struct.llvm::Init"*, i32) align 2
31 define %"struct.llvm::Init"* @_ZNK4llvm7VarInit12getFieldInitERNS_6RecordEPKNS_9RecordValERKSs(%"cl…
37 %0 = bitcast i8* %tmp.i to %"struct.llvm::Init"** ; <%"struct.llvm::Init"**> [#uses=1]
38 …%tmp2.i = load %"struct.llvm::Init"*, %"struct.llvm::Init"** %0 ; <%"struct.llvm::Init"*> […
39 %1 = icmp eq %"struct.llvm::Init"* %tmp2.i, null ; <i1> [#uses=1]
46 %2 = bitcast %"struct.llvm::Init"* %tmp2.i to i8* ; <i8*> [#uses=1]
103 …Val", %"class.llvm::RecordVal"* %tmp6.i.i, i32 %.reload, i32 3 ; <%"struct.llvm::Init"**> [#uses=1]
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
D2010-06-21-nondarwin-tc.ll8 …RecordVal" = type { %"class.std::basic_string", %"struct.llvm::Init"*, i32, %"struct.llvm::Init"* }
13 %"struct.llvm::Init" = type { i32 (...)** }
23 …t.llvm::Init"*, i32)* @_ZN4llvm9RecordValC2ERKSsPNS_5RecTyEj ; <void (%"class.llvm::RecordVal"*, %…
29 …RecTyEj(%"class.llvm::RecordVal"*, %"class.std::basic_string"*, %"struct.llvm::Init"*, i32) align 2
31 define %"struct.llvm::Init"* @_ZNK4llvm7VarInit12getFieldInitERNS_6RecordEPKNS_9RecordValERKSs(%"cl…
37 %0 = bitcast i8* %tmp.i to %"struct.llvm::Init"** ; <%"struct.llvm::Init"**> [#uses=1]
38 %tmp2.i = load %"struct.llvm::Init"** %0 ; <%"struct.llvm::Init"*> [#uses=2]
39 %1 = icmp eq %"struct.llvm::Init"* %tmp2.i, null ; <i1> [#uses=1]
46 %2 = bitcast %"struct.llvm::Init"* %tmp2.i to i8* ; <i8*> [#uses=1]
103 …ounds %"class.llvm::RecordVal"* %tmp6.i.i, i32 %.reload, i32 3 ; <%"struct.llvm::Init"**> [#uses=1]
[all …]
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaDecoder.cs30 public void Init() in Init() method in SevenZip.Compression.LZMA.Decoder.LenDecoder
32 m_Choice.Init(); in Init()
35 m_LowCoder[posState].Init(); in Init()
36 m_MidCoder[posState].Init(); in Init()
38 m_Choice2.Init(); in Init()
39 m_HighCoder.Init(); in Init()
67 public void Init() { for (int i = 0; i < 0x300; i++) m_Decoders[i].Init(); } in Init() method
118 public void Init() in Init() method in SevenZip.Compression.LZMA.Decoder.LiteralDecoder
122 m_Coders[i].Init(); in Init()
198 void Init(System.IO.Stream inStream, System.IO.Stream outStream) in Init() method in SevenZip.Compression.LZMA.Decoder
[all …]
/external/webrtc/webrtc/sound/
Dautomaticallychosensoundsystem_unittest.cc22 virtual bool Init() { in Init() function in rtc::NeverFailsToFailSoundSystem
34 virtual bool Init() { in Init() function in rtc::InitCheckingSoundSystem1
51 virtual bool Init() { in Init() function in rtc::InitCheckingSoundSystem2
118 EXPECT_FALSE(sound_system.Init()); in TEST()
129 EXPECT_TRUE(sound_system.Init()); in TEST()
142 EXPECT_TRUE(sound_system.Init()); in TEST()
156 EXPECT_TRUE(sound_system.Init()); in TEST()
175 EXPECT_TRUE(sound_system.Init()); in TEST()
192 EXPECT_TRUE(sound_system->Init()); in TEST()
/external/lzma/Java/SevenZip/Compression/LZMA/
DDecoder.java27 public void Init() in Init() method in Decoder.LenDecoder
32 m_LowCoder[posState].Init(); in Init()
33 m_MidCoder[posState].Init(); in Init()
35 m_HighCoder.Init(); in Init()
57 public void Init() in Init() method in Decoder.LiteralDecoder.Decoder2
110 public void Init() in Init() method in Decoder.LiteralDecoder
114 m_Coders[i].Init(); in Init()
179 void Init() throws IOException in Init() method in Decoder
181 m_OutWindow.Init(false); in Init()
191 m_LiteralDecoder.Init(); in Init()
[all …]
/external/webrtc/webrtc/test/
Drtp_file_reader_unittest.cc23 void Init(const std::string& filename, bool headers_only_file) { in Init() function in webrtc::TestRtpFileReader
51 Init("pltype103", false); in TEST_F()
56 Init("pltype103_header_only", true); in TEST_F()
64 void Init(const std::string& filename) { in Init() function in webrtc::TestPcapFileReader
101 Init("frame-ethernet-ii"); in TEST_F()
106 Init("frame-loopback"); in TEST_F()
111 Init("ssrcs-2"); in TEST_F()
119 Init("ssrcs-3"); in TEST_F()
/external/webrtc/webrtc/voice_engine/
Dvoe_network_unittest.cc35 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in CreateChannelAndRegisterExternalTransport()
50 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
57 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
62 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
75 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
81 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
108 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
114 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
/external/compiler-rt/test/tsan/
Ddeadlock_detector_stress_test.cc108 void Init(size_t n) { in Init() function in LockTest
154 Init(5); in Test1()
180 Init(5); in Test2()
198 Init(5); in Test3()
214 Init(5); in Test4()
227 Init(5); in Test5()
242 Init(100); in Test6()
252 Init(10); in Test7()
282 Init(5); in Test8()
302 Init(5); in Test9()
[all …]
/external/clang/lib/CodeGen/
DCGDecl.cpp210 llvm::Constant *Init = nullptr; in getOrCreateStaticVarDecl() local
212 Init = EmitNullConstant(Ty); in getOrCreateStaticVarDecl()
214 Init = llvm::UndefValue::get(LTy); in getOrCreateStaticVarDecl()
219 Init, Name, nullptr, in getOrCreateStaticVarDecl()
294 llvm::Constant *Init = CGM.EmitConstantInit(D, this); in AddInitializerToStaticVarDecl() local
298 if (!Init) { in AddInitializerToStaticVarDecl()
315 if (GV->getType()->getElementType() != Init->getType()) { in AddInitializerToStaticVarDecl()
318 GV = new llvm::GlobalVariable(CGM.getModule(), Init->getType(), in AddInitializerToStaticVarDecl()
320 OldGV->getLinkage(), Init, "", in AddInitializerToStaticVarDecl()
340 GV->setInitializer(Init); in AddInitializerToStaticVarDecl()
[all …]
/external/sfntly/cpp/src/sfntly/data/
Dmemory_byte_array.cc44 void MemoryByteArray::Init() { in Init() function in sfntly::MemoryByteArray
52 Init(); in InternalPut()
61 Init(); in InternalPut()
67 Init(); in InternalGet()
76 Init(); in InternalGet()
89 Init(); in Begin()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc92 a->Init(); in TestSizeClassAllocator()
95 cache.Init(0); in TestSizeClassAllocator()
173 a->Init(); in SizeClassAllocatorMetadataStress()
176 cache.Init(0); in SizeClassAllocatorMetadataStress()
216 a->Init(); in SizeClassAllocatorGetBlockBeginStress()
219 cache.Init(0); in SizeClassAllocatorGetBlockBeginStress()
265 a->Init(); in TEST()
269 cache.Init(0); in TEST()
271 stats.Init(); in TEST()
292 a->Init(); in TEST()
[all …]
/external/clang/include/clang/AST/
DGlobalDecl.h32 void Init(const Decl *D) { in Init() function
42 GlobalDecl(const VarDecl *D) { Init(D);} in GlobalDecl()
43 GlobalDecl(const FunctionDecl *D) { Init(D); } in GlobalDecl()
44 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl()
45 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
46 GlobalDecl(const ObjCMethodDecl *D) { Init(D); } in GlobalDecl()
47 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
/external/libtextclassifier/tests/
Dembedding-feature-extractor_test.cc51 ASSERT_TRUE(tefe.Init(&context)); in TEST_F()
64 ASSERT_TRUE(tefe.Init(&context)); in TEST_F()
81 ASSERT_FALSE(tefe.Init(&context)); in TEST_F()
93 ASSERT_FALSE(tefe.Init(&context)); in TEST_F()
105 ASSERT_FALSE(tefe.Init(&context)); in TEST_F()
117 ASSERT_FALSE(tefe.Init(&context)); in TEST_F()
129 ASSERT_TRUE(tefe.Init(&context)); in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddtmf_tone_generator_unittest.cc39 ASSERT_EQ(0, tone_gen_.Init(fs_hz, event, kAttenuation)); in TestAllTones()
70 ASSERT_EQ(0, tone_gen_.Init(fs_hz, event, 0)); // 0 attenuation. in TestAmplitudes()
78 ASSERT_EQ(0, tone_gen_.Init(fs_hz, event, attenuation)); in TestAmplitudes()
161 tone_gen.Init(fs, -1, attenuation)); in TEST()
164 tone_gen.Init(fs, 16, attenuation)); in TEST()
166 EXPECT_EQ(DtmfToneGenerator::kParameterError, tone_gen.Init(fs, event, -1)); in TEST()
168 EXPECT_EQ(DtmfToneGenerator::kParameterError, tone_gen.Init(fs, event, 37)); in TEST()
172 ASSERT_EQ(0, tone_gen.Init(fs, event, attenuation)); in TEST()
/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp35 void Init() { Processed = 0; } in Init() function
53 void Init() { Processed = 0; } in Init() function
144 bool Init();
151 bool CRangeDecoder::Init() in Init() function in CRangeDecoder
244 void Init() in Init() function in CBitTreeDecoder
283 void Init() in Init() function in CLenDecoder
287 HighCoder.Init(); in Init()
290 LowCoder[i].Init(); in Init()
291 MidCoder[i].Init(); in Init()
408 PosSlotDecoder[i].Init(); in InitDist()
[all …]
/external/llvm/utils/TableGen/
DCodeGenMapTable.cpp85 typedef std::map<std::vector<Init*>, std::vector<Record*> > RowInstrMapTy;
135 for (Init *I : ColValList->getValues()) { in InstrMap()
243 std::vector<Init*> KeyValue; in buildRowInstrMap()
245 for (Init *RowField : RowFields->getValues()) { in buildRowInstrMap()
246 Init *CurInstrVal = CurInstr->getValue(RowField)->getValue(); in buildRowInstrMap()
310 std::vector<Init*> KeyValue; in getInstrForColumn()
313 for (Init *RowField : RowFields->getValues()) { in getInstrForColumn()
314 Init *KeyInstrVal = KeyInstr->getValue(RowField)->getValue(); in getInstrForColumn()
332 Init *ColFieldJ = ColFields->getElement(j); in getInstrForColumn()
333 Init *CurInstrInit = CurInstr->getValue(ColFieldJ)->getValue(); in getInstrForColumn()
[all …]
/external/libbrillo/brillo/
Dflag_helper_unittest.cc21 static void SetUpTestCase() { base::CommandLine::Init(0, nullptr); } in SetUpTestCase()
48 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue"); in TEST_F()
110 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue"); in TEST_F()
170 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue"); in TEST_F()
199 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDuplicateSetvalue"); in TEST_F()
213 brillo::FlagHelper::Init(arraysize(argv), argv, "TestFlagTerminator"); in TEST_F()
238 brillo::FlagHelper::Init(arraysize(argv), argv, "TestHelpMessage"), in TEST_F()
264 ASSERT_EXIT(brillo::FlagHelper::Init(arraysize(argv), argv, "TestIntExit"), in TEST_F()
286 brillo::FlagHelper::Init(arraysize(argv), argv, "TestBoolParseError"), in TEST_F()
307 ASSERT_EXIT(brillo::FlagHelper::Init(arraysize(argv), in TEST_F()
[all …]
/external/lzma/CPP/7zip/Common/
DStreamObjects.h19 void Init() { _pos = 0; } in Init() function
44 void Init(const Byte *data, size_t size, IUnknown *ref = 0)
51 void Init(CReferenceBuf *ref) { Init(ref->Buf, ref->Buf.Size(), ref); } in Init() function
86 void Init() { _size = 0; } in Init() function
105 void Init(Byte *buffer, size_t size) in Init() function
125 void Init() { _size = 0; } in Init() function
150 void Init(UInt64 size) throw();

12345678910>>...54