/third_party/rust/crates/rustix/src/backend/linux_raw/ |
D | conv.rs | 55 pub(super) fn x86_sys<'a, Num: ArgNumber>(sys: u32) -> ArgReg<'a, Num> { in x86_sys() argument 63 pub(super) fn lo<'a, Num: ArgNumber>(x: u64) -> ArgReg<'a, Num> { in lo() argument 76 pub(super) fn hi<'a, Num: ArgNumber>(x: u64) -> ArgReg<'a, Num> { in hi() argument 87 pub(super) fn zero<'a, Num: ArgNumber>() -> ArgReg<'a, Num> { in zero() argument 93 pub(super) fn size_of<'a, T: Sized, Num: ArgNumber>() -> ArgReg<'a, Num> { in size_of() argument 102 pub(super) fn pass_usize<'a, Num: ArgNumber>(t: usize) -> ArgReg<'a, Num> { in pass_usize() argument 106 impl<'a, Num: ArgNumber, T> From<*mut T> for ArgReg<'a, Num> { 108 fn from(c: *mut T) -> ArgReg<'a, Num> { in from() argument 113 impl<'a, Num: ArgNumber, T> From<*const T> for ArgReg<'a, Num> { 115 fn from(c: *const T) -> ArgReg<'a, Num> { in from() argument [all …]
|
D | reg.rs | 88 pub(super) struct ArgReg<'a, Num: ArgNumber> { 90 _phantom: PhantomData<(&'a (), Num)>, 93 impl<'a, Num: ArgNumber> ToAsm for ArgReg<'a, Num> { 107 pub(super) struct RetReg<Num: RetNumber> { 109 _phantom: PhantomData<Num>, 112 impl<Num: RetNumber> RetReg<Num> { 196 impl<Num: RetNumber> FromAsm for RetReg<Num> { 221 pub(super) fn raw_arg<'a, Num: ArgNumber>(raw: *mut Opaque) -> ArgReg<'a, Num> { in raw_arg() argument 244 impl<'a, Num: super::ArgNumber> Sealed for super::ArgReg<'a, Num> {} 245 impl<Num: super::RetNumber> Sealed for super::RetReg<Num> {}
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/ |
D | PackedVersion.cpp | 35 unsigned long long Num; in parse32() local 36 if (getAsUnsignedInteger(Parts[0], 10, Num)) in parse32() 39 if (Num > UINT16_MAX) in parse32() 42 Version = Num << 16; in parse32() 45 if (getAsUnsignedInteger(Parts[i], 10, Num)) in parse32() 48 if (Num > UINT8_MAX) in parse32() 51 Version |= (Num << ShiftNum); in parse32() 70 unsigned long long Num; in parse64() local 71 if (getAsUnsignedInteger(Parts[0], 10, Num)) in parse64() 74 if (Num > 0xFFFFFFULL) in parse64() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | invariantGenericErrorElaboration.types | 4 const wat: Runtype<any> = Num; 6 >Num : Num 8 const Foo = Obj({ foo: Num }) 10 >Obj({ foo: Num }) : Obj<{ [_: string]: Runtype<any>; }> 12 >{ foo: Num } : { foo: Num; } 13 >foo : Num 14 >Num : Num 24 interface Num extends Runtype<number> { 28 declare const Num: Num 29 >Num : Num
|
D | invariantGenericErrorElaboration.errors.txt | 1 tests/cases/compiler/invariantGenericErrorElaboration.ts(3,7): error TS2322: Type 'Num' is not assi… 3 …Type 'Constraint<Constraint<Num>>' is not assignable to type 'Constraint<Constraint<Runtype<any>>>… 4 Type 'Runtype<any>' is not assignable to type 'Num'. 5 tests/cases/compiler/invariantGenericErrorElaboration.ts(4,19): error TS2322: Type 'Num' is not ass… 11 const wat: Runtype<any> = Num; 13 !!! error TS2322: Type 'Num' is not assignable to type 'Runtype<any>'. 15 !!! error TS2322: Type 'Constraint<Constraint<Num>>' is not assignable to type 'Constraint<Cons… 16 !!! error TS2322: Type 'Runtype<any>' is not assignable to type 'Num'. 17 const Foo = Obj({ foo: Num }) 19 !!! error TS2322: Type 'Num' is not assignable to type 'Runtype<any>'. [all …]
|
D | invariantGenericErrorElaboration.symbols | 4 const wat: Runtype<any> = Num; 7 >Num : Symbol(Num, Decl(invariantGenericErrorElaboration.ts, 8, 1), Decl(invariantGenericErrorElabo… 9 const Foo = Obj({ foo: Num }) 13 >Num : Symbol(Num, Decl(invariantGenericErrorElaboration.ts, 8, 1), Decl(invariantGenericErrorElabo… 28 interface Num extends Runtype<number> { 29 >Num : Symbol(Num, Decl(invariantGenericErrorElaboration.ts, 8, 1), Decl(invariantGenericErrorElabo… 33 >tag : Symbol(Num.tag, Decl(invariantGenericErrorElaboration.ts, 10, 39)) 35 declare const Num: Num 36 >Num : Symbol(Num, Decl(invariantGenericErrorElaboration.ts, 8, 1), Decl(invariantGenericErrorElabo… 37 >Num : Symbol(Num, Decl(invariantGenericErrorElaboration.ts, 8, 1), Decl(invariantGenericErrorElabo…
|
D | invariantGenericErrorElaboration.js | 4 const wat: Runtype<any> = Num; 5 const Foo = Obj({ foo: Num }) 12 interface Num extends Runtype<number> { 15 declare const Num: Num 29 var wat = Num; 30 var Foo = Obj({ foo: Num });
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | GCNMinRegStrategy.cpp | 72 unsigned findMax(unsigned Num, Calc C); 114 unsigned GCNMinRegScheduler::findMax(unsigned Num, Calc C) { in findMax() argument 115 assert(!RQ.empty() && Num <= RQ.size()); in findMax() 121 for (auto I = RQ.begin(); Num; --Num) { in findMax() 141 unsigned Num = RQ.size(); in pickCandidate() local 142 if (Num == 1) break; in pickCandidate() 144 LLVM_DEBUG(dbgs() << "\nSelecting max priority candidates among " << Num in pickCandidate() 146 Num = findMax(Num, [=](const Candidate &C) { return C.Priority; }); in pickCandidate() 147 if (Num == 1) break; in pickCandidate() 150 << Num << '\n'); in pickCandidate() [all …]
|
D | AMDGPUCodeGenPrepare.cpp | 157 Value *Num, Value *Den, 162 Value *Num, Value *Den) const; 528 static bool shouldKeepFDivF32(Value *Num, bool UnsafeDiv, bool HasDenormals) { in shouldKeepFDivF32() argument 529 const ConstantFP *CNum = dyn_cast<ConstantFP>(Num); in shouldKeepFDivF32() 574 Value *Num = FDiv.getOperand(0); in visitFDiv() local 585 Value *NumEltI = Builder.CreateExtractElement(Num, I); in visitFDiv() 598 if (!shouldKeepFDivF32(Num, UnsafeDiv, HasFP32Denormals)) in visitFDiv() 599 NewFDiv = Builder.CreateCall(Decl, { Num, Den }); in visitFDiv() 638 Value *Num, Value *Den, in expandDivRem24() argument 640 assert(Num->getType()->isIntegerTy(32)); in expandDivRem24() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZSchedule.td | 37 foreach Num = ["", "2", "3", "4", "5", "6"] in { 39 def "FXa"#Num : SchedWrite; 40 def "FXb"#Num : SchedWrite; 41 def "FXU"#Num : SchedWrite; 43 def "LSU"#Num : SchedWrite; 45 def "VecBF"#Num : SchedWrite; 46 def "VecDF"#Num : SchedWrite; 47 def "VecDFX"#Num : SchedWrite; 48 def "VecMul"#Num : SchedWrite; 49 def "VecStr"#Num : SchedWrite; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | RecordSerialization.cpp | 36 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume() argument 44 Num = APSInt(APInt(/*numBits=*/16, Short, /*isSigned=*/false), in consume() 54 Num = APSInt(APInt(8, N, true), false); in consume() 61 Num = APSInt(APInt(16, N, true), false); in consume() 68 Num = APSInt(APInt(16, N, false), true); in consume() 75 Num = APSInt(APInt(32, N, true), false); in consume() 82 Num = APSInt(APInt(32, N, FalseVal), true); in consume() 89 Num = APSInt(APInt(64, N, true), false); in consume() 96 Num = APSInt(APInt(64, N, false), true); in consume() 104 Error llvm::codeview::consume(StringRef &Data, APSInt &Num) { in consume() argument [all …]
|
/third_party/cJSON/tests/unity/test/tests/ |
D | testparameterized.c | 67 void test_TheseShouldAllPass(int Num) in test_TheseShouldAllPass() argument 69 TEST_ASSERT_TRUE(Num < 100); in test_TheseShouldAllPass() 75 void test_TheseShouldAllFail(int Num) in test_TheseShouldAllFail() argument 78 TEST_ASSERT_TRUE(Num > 100); in test_TheseShouldAllFail() 86 void test_TheseAreEveryOther(int Num) in test_TheseAreEveryOther() argument 88 if (Num & 1) in test_TheseAreEveryOther() 91 TEST_ASSERT_TRUE(Num > 100); in test_TheseAreEveryOther() 96 TEST_ASSERT_TRUE(Num < 100); in test_TheseAreEveryOther()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | BranchProbability.cpp | 68 static uint64_t scale(uint64_t Num, uint32_t N, uint32_t D) { in scale() argument 75 if (!Num || D == N) in scale() 76 return Num; in scale() 79 uint64_t ProductHigh = (Num >> 32) * N; in scale() 80 uint64_t ProductLow = (Num & UINT32_MAX) * N; in scale() 106 uint64_t BranchProbability::scale(uint64_t Num) const { in scale() 107 return ::scale<D>(Num, N, D); in scale() 110 uint64_t BranchProbability::scaleByInverse(uint64_t Num) const { in scaleByInverse() 111 return ::scale<0>(Num, D, N); in scaleByInverse()
|
/third_party/unity/test/tests/ |
D | testparameterized.c | 78 void test_TheseShouldAllPass(int Num) in test_TheseShouldAllPass() argument 80 TEST_ASSERT_TRUE(Num < 100); in test_TheseShouldAllPass() 86 void test_TheseShouldAllFail(int Num) in test_TheseShouldAllFail() argument 89 TEST_ASSERT_TRUE(Num > 100); in test_TheseShouldAllFail() 97 void test_TheseAreEveryOther(int Num) in test_TheseAreEveryOther() argument 99 if (Num & 1) in test_TheseAreEveryOther() 102 TEST_ASSERT_TRUE(Num > 100); in test_TheseAreEveryOther() 107 TEST_ASSERT_TRUE(Num < 100); in test_TheseAreEveryOther()
|
D | test_unity_parameterized.c | 78 void test_TheseShouldAllPass(int Num) in test_TheseShouldAllPass() argument 80 TEST_ASSERT_TRUE(Num < 100); in test_TheseShouldAllPass() 86 void test_TheseShouldAllFail(int Num) in test_TheseShouldAllFail() argument 89 TEST_ASSERT_TRUE(Num > 100); in test_TheseShouldAllFail() 97 void test_TheseAreEveryOther(int Num) in test_TheseAreEveryOther() argument 99 if (Num & 1) in test_TheseAreEveryOther() 102 TEST_ASSERT_TRUE(Num > 100); in test_TheseAreEveryOther() 107 TEST_ASSERT_TRUE(Num < 100); in test_TheseAreEveryOther()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
D | errno.rs | 81 pub(in crate::backend) fn try_decode_c_int<Num: RetNumber>( in try_decode_c_int() 82 raw: RetReg<Num>, in try_decode_c_int() argument 96 pub(in crate::backend) fn try_decode_c_uint<Num: RetNumber>( in try_decode_c_uint() 97 raw: RetReg<Num>, in try_decode_c_uint() argument 111 pub(in crate::backend) fn try_decode_usize<Num: RetNumber>(raw: RetReg<Num>) -> io::Result<usize> { in try_decode_usize() 124 pub(in crate::backend) fn try_decode_void_star<Num: RetNumber>( in try_decode_void_star() 125 raw: RetReg<Num>, in try_decode_void_star() argument 140 pub(in crate::backend) fn try_decode_u64<Num: RetNumber>(raw: RetReg<Num>) -> io::Result<u64> { in try_decode_u64() 158 pub(in crate::backend) unsafe fn try_decode_raw_fd<Num: RetNumber>( in try_decode_raw_fd() 159 raw: RetReg<Num>, in try_decode_raw_fd() argument [all …]
|
/third_party/cJSON/tests/unity/test/testdata/ |
D | testRunnerGenerator.c | 140 void paratest_ShouldHandleParameterizedTests(int Num) in paratest_ShouldHandleParameterizedTests() argument 142 TEST_ASSERT_EQUAL_MESSAGE(0, (Num % 5), "All The Values Are Divisible By 5"); in paratest_ShouldHandleParameterizedTests() 146 void paratest_ShouldHandleParameterizedTests2(int Num) in paratest_ShouldHandleParameterizedTests2() argument 148 TEST_ASSERT_EQUAL_MESSAGE(7, Num, "The Only Call To This Passes"); in paratest_ShouldHandleParameterizedTests2() 157 void paratest_ShouldHandleParameterizedTestsThatFail(int Num) in paratest_ShouldHandleParameterizedTestsThatFail() argument 159 TEST_ASSERT_EQUAL_MESSAGE(3, Num, "This call should fail"); in paratest_ShouldHandleParameterizedTestsThatFail()
|
D | testRunnerGeneratorWithMocks.c | 141 void paratest_ShouldHandleParameterizedTests(int Num) in paratest_ShouldHandleParameterizedTests() argument 143 TEST_ASSERT_EQUAL_MESSAGE(0, (Num % 5), "All The Values Are Divisible By 5"); in paratest_ShouldHandleParameterizedTests() 147 void paratest_ShouldHandleParameterizedTests2(int Num) in paratest_ShouldHandleParameterizedTests2() argument 149 TEST_ASSERT_EQUAL_MESSAGE(7, Num, "The Only Call To This Passes"); in paratest_ShouldHandleParameterizedTests2() 158 void paratest_ShouldHandleParameterizedTestsThatFail(int Num) in paratest_ShouldHandleParameterizedTestsThatFail() argument 160 TEST_ASSERT_EQUAL_MESSAGE(3, Num, "This call should fail"); in paratest_ShouldHandleParameterizedTestsThatFail()
|
/third_party/unity/test/testdata/ |
D | testRunnerGenerator.c | 148 void paratest_ShouldHandleParameterizedTests(int Num) in paratest_ShouldHandleParameterizedTests() argument 150 TEST_ASSERT_EQUAL_MESSAGE(0, (Num % 5), "All The Values Are Divisible By 5"); in paratest_ShouldHandleParameterizedTests() 154 void paratest_ShouldHandleParameterizedTests2(int Num) in paratest_ShouldHandleParameterizedTests2() argument 156 TEST_ASSERT_EQUAL_MESSAGE(7, Num, "The Only Call To This Passes"); in paratest_ShouldHandleParameterizedTests2() 165 void paratest_ShouldHandleParameterizedTestsThatFail(int Num) in paratest_ShouldHandleParameterizedTestsThatFail() argument 167 TEST_ASSERT_EQUAL_MESSAGE(3, Num, "This call should fail"); in paratest_ShouldHandleParameterizedTestsThatFail()
|
D | testRunnerGeneratorWithMocks.c | 146 void paratest_ShouldHandleParameterizedTests(int Num) in paratest_ShouldHandleParameterizedTests() argument 148 TEST_ASSERT_EQUAL_MESSAGE(0, (Num % 5), "All The Values Are Divisible By 5"); in paratest_ShouldHandleParameterizedTests() 152 void paratest_ShouldHandleParameterizedTests2(int Num) in paratest_ShouldHandleParameterizedTests2() argument 154 TEST_ASSERT_EQUAL_MESSAGE(7, Num, "The Only Call To This Passes"); in paratest_ShouldHandleParameterizedTests2() 163 void paratest_ShouldHandleParameterizedTestsThatFail(int Num) in paratest_ShouldHandleParameterizedTestsThatFail() argument 165 TEST_ASSERT_EQUAL_MESSAGE(3, Num, "This call should fail"); in paratest_ShouldHandleParameterizedTestsThatFail()
|
/third_party/typescript/tests/cases/compiler/ |
D | invariantGenericErrorElaboration.ts | 5 const wat: Runtype<any> = Num; 6 const Foo = Obj({ foo: Num }) 13 interface Num extends Runtype<number> { interface 16 declare const Num: Num constant
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 107 unsigned Num; member 169 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument 172 Op->Reg.Num = Num; in createReg() 227 return Reg.Num; in getReg() 404 unsigned Num; member 713 if (Name.substr(1).getAsInteger(10, Reg.Num)) in parseRegister() 717 if (Prefix == 'r' && Reg.Num < 16) in parseRegister() 719 else if (Prefix == 'f' && Reg.Num < 16) in parseRegister() 721 else if (Prefix == 'v' && Reg.Num < 32) in parseRegister() 723 else if (Prefix == 'a' && Reg.Num < 16) in parseRegister() [all …]
|
/third_party/python/Lib/test/ |
D | test_ast.py | 391 x = ast.Num() 397 x = ast.Num() 406 x = ast.Num(42) 416 x = ast.Num(lineno=2) 419 x = ast.Num(42, lineno=0) 425 self.assertRaises(TypeError, ast.Num, 1, None, 2) 426 self.assertRaises(TypeError, ast.Num, 1, None, 2, lineno=0) 430 self.assertEqual(ast.Num(1, foo='bar').foo, 'bar') 433 ast.Num(1, n=2) 437 self.assertEqual(ast.Num(42).n, 42) [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
D | BlotMapVector.h | 59 size_t Num = Vector.size(); 60 Pair.first->second = Num; 62 return Vector[Num].second; 71 size_t Num = Vector.size(); in insert() local 72 Pair.first->second = Num; in insert() 74 return std::make_pair(Vector.begin() + Num, true); in insert()
|
/third_party/rust/crates/nom/tests/ |
D | json.rs | 22 Num(f64), enumerator 126 map(double, Num), in json_value() 163 ("a".to_string(), Num(42.0)), in json_object() 179 let expected = Array(vec![Num(42.0), Str("x".to_string())]); in json_array() 211 ("number".to_string(), Num(123e4)), in json_whitespace() 215 Array(vec![Bool(false), Num(1.0), Str("two".to_string())]) in json_whitespace() 221 ("a".to_string(), Num(1.0)), in json_whitespace()
|