Home
last modified time | relevance | path

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

12345678910>>...18

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLiveRegUnits.h88 for (MCRegUnitIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) in addReg()
89 Units.set(*Unit); in addReg()
95 for (MCRegUnitMaskIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) { in addRegMasked()
96 LaneBitmask UnitMask = (*Unit).second; in addRegMasked()
98 Units.set((*Unit).first); in addRegMasked()
104 for (MCRegUnitIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) in removeReg()
105 Units.reset(*Unit); in removeReg()
118 for (MCRegUnitIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) { in available()
119 if (Units.test(*Unit)) in available()
DLiveIntervals.h393 LiveRange &getRegUnit(unsigned Unit) { in getRegUnit() argument
394 LiveRange *LR = RegUnitRanges[Unit]; in getRegUnit()
398 RegUnitRanges[Unit] = LR = new LiveRange(UseSegmentSetForPhysRegs); in getRegUnit()
399 computeRegUnitRange(*LR, Unit); in getRegUnit()
406 LiveRange *getCachedRegUnit(unsigned Unit) { in getCachedRegUnit() argument
407 return RegUnitRanges[Unit]; in getCachedRegUnit()
410 const LiveRange *getCachedRegUnit(unsigned Unit) const { in getCachedRegUnit() argument
411 return RegUnitRanges[Unit]; in getCachedRegUnit()
416 void removeRegUnit(unsigned Unit) { in removeRegUnit() argument
417 delete RegUnitRanges[Unit]; in removeRegUnit()
[all …]
/third_party/rust/crates/serde/test_suite/tests/
Dtest_remote.rs6 pub struct Unit; struct
12 pub struct NewtypePriv(Unit);
14 pub struct NewtypePub(pub Unit);
16 pub struct TuplePriv(u8, Unit);
18 pub struct TuplePub(pub u8, pub Unit);
22 b: Unit,
27 pub b: Unit,
41 pub fn new(a: Unit) -> Self { in new()
45 pub fn get(&self) -> &Unit { in get() argument
51 pub fn new(a: u8, b: Unit) -> Self { in new()
[all …]
Dtest_macros.rs53 Unit, enumerator
65 Unit, enumerator
96 Unit, enumerator
219 &SerEnum::Unit::<u32, u32, u32>, in test_ser_enum_unit()
287 &DeEnum::Unit::<u32, u32, u32>, in test_de_enum_unit()
503 &GenericEnum::Unit::<u32, u32>, in test_generic_enum_unit()
649 assert_tokens(&Untagged::C, &[Token::Unit]); in test_untagged_enum()
1151 Unit, in test_adjacently_tagged_enum() enumerator
1159 &AdjacentlyTagged::Unit::<u8>, in test_adjacently_tagged_enum()
1176 &AdjacentlyTagged::Unit::<u8>, in test_adjacently_tagged_enum()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DDWARFVisitor.cpp36 static unsigned getOffsetSize(const DWARFYAML::Unit &Unit) { in getOffsetSize() argument
37 return Unit.Length.isDWARF64() ? 8 : 4; in getOffsetSize()
40 static unsigned getRefSize(const DWARFYAML::Unit &Unit) { in getRefSize() argument
41 if (Unit.Version == 2) in getRefSize()
42 return Unit.AddrSize; in getRefSize()
43 return getOffsetSize(Unit); in getRefSize()
47 for (auto &Unit : DebugInfo.CompileUnits) { in traverseDebugInfo() local
48 onStartCompileUnit(Unit); in traverseDebugInfo()
49 auto FirstAbbrevCode = Unit.Entries[0].AbbrCode; in traverseDebugInfo()
51 for (auto &Entry : Unit.Entries) { in traverseDebugInfo()
[all …]
DDWARFVisitor.h23 struct Unit;
38 virtual void onStartCompileUnit(Unit &CU) {} in onStartCompileUnit()
39 virtual void onEndCompileUnit(Unit &CU) {} in onEndCompileUnit()
40 virtual void onStartDIE(Unit &CU, Entry &DIE) {} in onStartDIE()
41 virtual void onEndDIE(Unit &CU, Entry &DIE) {} in onEndDIE()
47 virtual void onStartCompileUnit(const Unit &CU) {} in onStartCompileUnit()
48 virtual void onEndCompileUnit(const Unit &CU) {} in onEndCompileUnit()
49 virtual void onStartDIE(const Unit &CU, const Entry &DIE) {} in onStartDIE()
50 virtual void onEndDIE(const Unit &CU, const Entry &DIE) {} in onEndDIE()
DDWARFYAML.cpp98 void MappingTraits<DWARFYAML::Unit>::mapping(IO &IO, DWARFYAML::Unit &Unit) { in mapping() argument
99 IO.mapRequired("Length", Unit.Length); in mapping()
100 IO.mapRequired("Version", Unit.Version); in mapping()
101 if (Unit.Version >= 5) in mapping()
102 IO.mapRequired("UnitType", Unit.Type); in mapping()
103 IO.mapRequired("AbbrOffset", Unit.AbbrOffset); in mapping()
104 IO.mapRequired("AddrSize", Unit.AddrSize); in mapping()
105 IO.mapOptional("Entries", Unit.Entries); in mapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DReachingDefAnalysis.cpp43 for (MCRegUnitIterator Unit(LI.PhysReg, TRI); Unit.isValid(); ++Unit) { in enterBasicBlock() local
47 LiveRegs[*Unit] = -1; in enterBasicBlock()
48 MBBReachingDefs[MBBNumber][*Unit].push_back(LiveRegs[*Unit]); in enterBasicBlock()
65 for (unsigned Unit = 0; Unit != NumRegUnits; ++Unit) { in enterBasicBlock() local
67 LiveRegs[Unit] = std::max(LiveRegs[Unit], Incoming[Unit]); in enterBasicBlock()
68 if ((LiveRegs[Unit] != ReachingDefDefaultVal)) in enterBasicBlock()
69 MBBReachingDefs[MBBNumber][Unit].push_back(LiveRegs[Unit]); in enterBasicBlock()
111 for (MCRegUnitIterator Unit(MO.getReg(), TRI); Unit.isValid(); ++Unit) { in processDefs() local
117 LiveRegs[*Unit] = CurInstr; in processDefs()
118 MBBReachingDefs[MBBNumber][*Unit].push_back(CurInstr); in processDefs()
[all …]
DLiveRegMatrix.cpp85 unsigned Unit = (*Units).first; in foreachUnit() local
89 if (Func(Unit, S)) in foreachUnit()
111 TRI, VirtReg, PhysReg, [&](unsigned Unit, const LiveRange &Range) { in assign() argument
112 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI) << ' ' << Range); in assign()
113 Matrix[Unit].unify(VirtReg, Range); in assign()
128 [&](unsigned Unit, const LiveRange &Range) { in unassign() argument
129 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI)); in unassign()
130 Matrix[Unit].extract(VirtReg, Range); in unassign()
139 for (MCRegUnitIterator Unit(PhysReg, TRI); Unit.isValid(); ++Unit) { in isPhysRegUsed() local
140 if (!Matrix[*Unit].empty()) in isPhysRegUsed()
[all …]
DTargetRegisterInfo.cpp120 Printable printRegUnit(unsigned Unit, const TargetRegisterInfo *TRI) { in printRegUnit() argument
121 return Printable([Unit, TRI](raw_ostream &OS) { in printRegUnit()
124 OS << "Unit~" << Unit; in printRegUnit()
129 if (Unit >= TRI->getNumRegUnits()) { in printRegUnit()
130 OS << "BadUnit~" << Unit; in printRegUnit()
135 MCRegUnitRootIterator Roots(Unit, TRI); in printRegUnit()
143 Printable printVRegOrUnit(unsigned Unit, const TargetRegisterInfo *TRI) { in printVRegOrUnit() argument
144 return Printable([Unit, TRI](raw_ostream &OS) { in printVRegOrUnit()
145 if (Register::isVirtualRegister(Unit)) { in printVRegOrUnit()
146 OS << '%' << Register::virtReg2Index(Unit); in printVRegOrUnit()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
DdecNumber.cpp215 static const Unit uarrone[1]={1}; /* Unit array of 1, used for incrementing */
268 static Int decGetDigits(Unit *, Int);
280 static void decReverse(Unit *, Unit *);
281 static void decSetCoeff(decNumber *, decContext *, const Unit *,
286 static Int decShiftToLeast(Unit *, Int, Int);
287 static Int decShiftToMost(Unit *, Int, Int);
291 static Int decUnitAddSub(const Unit *, Int, const Unit *, Int, Int,
292 Unit *, Int);
293 static Int decUnitCompare(const Unit *, Int, const Unit *, Int, Int);
352 static void decDumpAr(char, const Unit *, Int);
[all …]
/third_party/icu/icu4c/source/i18n/
DdecNumber.cpp215 static const Unit uarrone[1]={1}; /* Unit array of 1, used for incrementing */
268 static Int decGetDigits(Unit *, Int);
280 static void decReverse(Unit *, Unit *);
281 static void decSetCoeff(decNumber *, decContext *, const Unit *,
286 static Int decShiftToLeast(Unit *, Int, Int);
287 static Int decShiftToMost(Unit *, Int, Int);
291 static Int decUnitAddSub(const Unit *, Int, const Unit *, Int, Int,
292 Unit *, Int);
293 static Int decUnitCompare(const Unit *, Int, const Unit *, Int, Int);
352 static void decDumpAr(char, const Unit *, Int);
[all …]
/third_party/node/deps/icu-small/source/i18n/
DdecNumber.cpp215 static const Unit uarrone[1]={1}; /* Unit array of 1, used for incrementing */
268 static Int decGetDigits(Unit *, Int);
280 static void decReverse(Unit *, Unit *);
281 static void decSetCoeff(decNumber *, decContext *, const Unit *,
286 static Int decShiftToLeast(Unit *, Int, Int);
287 static Int decShiftToMost(Unit *, Int, Int);
291 static Int decUnitAddSub(const Unit *, Int, const Unit *, Int, Int,
292 Unit *, Int);
293 static Int decUnitCompare(const Unit *, Int, const Unit *, Int, Int);
352 static void decDumpAr(char, const Unit *, Int);
[all …]
/third_party/mesa3d/src/mesa/main/
Dtexstate.c80 dst->Texture.Unit[u].LodBias = src->Texture.Unit[u].LodBias; in _mesa_copy_texture_state()
81 dst->Texture.Unit[u].LodBiasQuantized = src->Texture.Unit[u].LodBiasQuantized; in _mesa_copy_texture_state()
94 _mesa_reference_texobj(&dst->Texture.Unit[u].CurrentTex[tex], in _mesa_copy_texture_state()
95 src->Texture.Unit[u].CurrentTex[tex]); in _mesa_copy_texture_state()
96 if (src->Texture.Unit[u].CurrentTex[tex]) { in _mesa_copy_texture_state()
101 dst->Texture.Unit[u]._BoundTextures = src->Texture.Unit[u]._BoundTextures; in _mesa_copy_texture_state()
310 assert(k <= ARRAY_SIZE(ctx->Texture.Unit)); in active_texture()
406 if (ctx->Texture.Unit[u]._Current && in _mesa_update_texture_matrices()
666 texUnit = &ctx->Texture.Unit[unit]; in update_single_program_texture()
723 _mesa_reference_texobj(&ctx->Texture.Unit[unit]._Current, texObj); in update_single_program_texture_state()
[all …]
/third_party/json/tests/thirdparty/Fuzzer/
DFuzzerInternal.h59 void MinimizeCrashLoop(const Unit &U);
117 void ReportNewCoverage(InputInfo *II, const Unit &U);
118 size_t RunOne(const Unit &U) { return RunOne(U.data(), U.size()); } in RunOne()
119 void WriteToOutputCorpus(const Unit &U);
120 void WriteUnitToFileWithPrefix(const Unit &U, const char *Prefix);
122 void PrintStatusForNewUnit(const Unit &U);
124 void AddToCorpus(const Unit &U);
DFuzzerUtil.cpp34 void Print(const Unit &v, const char *PrintAfter) { in Print()
55 void PrintASCII(const Unit &U, const char *PrintAfter) { in PrintASCII()
73 bool IsASCII(const Unit &U) { return IsASCII(U.data(), U.size()); } in IsASCII()
81 bool ParseOneDictionaryEntry(const std::string &Str, Unit *U) { in ParseOneDictionaryEntry()
127 bool ParseDictionaryFile(const std::string &Text, std::vector<Unit> *Units) { in ParseDictionaryFile()
134 Unit U; in ParseDictionaryFile()
154 std::string Base64(const Unit &U) { in Base64()
DFuzzerUtil.h19 void PrintHexArray(const Unit &U, const char *PrintAfter = "");
26 void PrintASCII(const Unit &U, const char *PrintAfter = "");
32 bool IsASCII(const Unit &U);
36 std::string Base64(const Unit &U);
/third_party/skia/modules/svg/src/
DSkSVGRenderContext.cpp53 case SkSVGLength::Unit::kNumber: in resolveForSVG()
55 case SkSVGLength::Unit::kPX: in resolveForSVG()
57 case SkSVGLength::Unit::kPercentage: in resolveForSVG()
59 case SkSVGLength::Unit::kCM: in resolveForSVG()
61 case SkSVGLength::Unit::kMM: in resolveForSVG()
63 case SkSVGLength::Unit::kIN: in resolveForSVG()
65 case SkSVGLength::Unit::kPT: in resolveForSVG()
67 case SkSVGLength::Unit::kPC: in resolveForSVG()
86 case SkSVGLength::Unit::kNumber: in resolve()
88 case SkSVGLength::Unit::kPX: in resolve()
[all …]
/third_party/openh264/autotest/unitTest/
Drun_unitTest.sh80 echo Unit test run on the android devices have not any failure case
82 echo Unit test have cases failed,please check
84 echo Unit test run failed
92 echo Unit test run on the ios devices have not any failure case
94 echo Unit test have cases failed,please check
96 echo Unit test run failed
/third_party/json/tests/thirdparty/Fuzzer/test/
DFuzzerUnittest.cpp31 Unit A({0, 1, 2}), B({5, 6, 7}); in TEST()
32 Unit C; in TEST()
33 Unit Expected[] = { in TEST()
70 std::set<Unit> FoundUnits, ExpectedUnitsWitThisLength; in TEST()
78 for (const Unit &U : Expected) in TEST()
87 fuzzer::Unit U(A, A + sizeof(A)); in TEST()
525 Unit U; in TEST()
534 EXPECT_EQ(U, Unit({'a'})); in TEST()
536 EXPECT_EQ(U, Unit({'a', 'b', 'c'})); in TEST()
538 EXPECT_EQ(U, Unit({'a', 'b', 'c'})); in TEST()
[all …]
/third_party/skia/modules/svg/include/
DSkSVGLinearGradient.h20 SVG_ATTR(X1, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y1, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(X2, SkSVGLength, SkSVGLength(100, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Y2, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
DSkSVGFilter.h20 SVG_ATTR(X, SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y, SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(Width, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Height, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
DSkSVGMask.h20 SVG_ATTR(X , SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y , SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(Width , SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Height, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
/third_party/typescript/tests/baselines/reference/
DModuleWithExportedAndNonExportedImportAlias.symbols59 export var Unit: Lines.Line = new Lines.Line(Origin, { x: 1, y: 0 });
60 >Unit : Symbol(Unit, Decl(ModuleWithExportedAndNonExportedImportAlias.ts, 24, 14))
98 var line = Geometry.Unit;
100 >Geometry.Unit : Symbol(Geometry.Unit, Decl(ModuleWithExportedAndNonExportedImportAlias.ts, 24, 14))
102 >Unit : Symbol(Geometry.Unit, Decl(ModuleWithExportedAndNonExportedImportAlias.ts, 24, 14))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
DDWARFLinker.h138 virtual void emitUnitRangesEntries(CompileUnit &Unit,
153 virtual void emitPubNamesForUnit(const CompileUnit &Unit) = 0;
156 virtual void emitPubTypesForUnit(const CompileUnit &Unit) = 0;
169 const CompileUnit &Unit, DWARFContext &Dwarf,
178 virtual void emitCompileUnitHeader(CompileUnit &Unit) = 0;

12345678910>>...18