/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
D | run-huge-test.sh | 19 num=0 26 num=$7 50 file_type="-f $num" 76 num=$((num+1)) 77 exec_testcase 2 1 "head" "early" "file" "fork_shared" $num 78 num=$((num+1)) 79 exec_testcase 2 1 "head" "early" "file" "fork_private_nocow" $num 80 num=$((num+1)) 81 exec_testcase 2 1 "head" "early" "file" "fork_private_cow" $num 82 num=$((num+1)) [all …]
|
/third_party/boost/libs/algorithm/test/ |
D | mismatch_test.cpp | 34 BOOST_CXX14_CONSTEXPR int num[] = { 1, 1, 2, 3, 5 }; in test_mismatch() local 35 const int sz = sizeof (num)/sizeof(num[0]); in test_mismatch() 40 ba::mismatch ( input_iterator<const int *>(num), input_iterator<const int *>(num), in test_mismatch() 41 input_iterator<const int *>(num), input_iterator<const int *>(num)), in test_mismatch() 42 input_iterator<const int *>(num), input_iterator<const int *>(num))); in test_mismatch() 44 ba::mismatch ( input_iterator<const int *>(num), input_iterator<const int *>(num), in test_mismatch() 45 input_iterator<const int *>(num), input_iterator<const int *>(num), in test_mismatch() 47 input_iterator<const int *>(num), input_iterator<const int *>(num))); in test_mismatch() 50 …ba::mismatch ( random_access_iterator<const int *>(num), random_access_iterator<const int *>(n… in test_mismatch() 51 … random_access_iterator<const int *>(num), random_access_iterator<const int *>(num), in test_mismatch() [all …]
|
D | equal_test.cpp | 36 int num[] = { 1, 1, 2, 3, 5 }; in test_equal() local 37 const int sz = sizeof (num)/sizeof(num[0]); in test_equal() 41 BOOST_CHECK ( ba::equal ( input_iterator<int *>(num), input_iterator<int *>(num), in test_equal() 42 input_iterator<int *>(num), input_iterator<int *>(num))); in test_equal() 43 BOOST_CHECK ( ba::equal ( input_iterator<int *>(num), input_iterator<int *>(num), in test_equal() 44 input_iterator<int *>(num), input_iterator<int *>(num), in test_equal() 46 …OOST_CHECK ( ba::equal ( random_access_iterator<int *>(num), random_access_iterator<int *>(num… in test_equal() 47 … random_access_iterator<int *>(num), random_access_iterator<int *>(num), in test_equal() 50 BOOST_CHECK (!ba::equal ( input_iterator<int *>(num), input_iterator<int *>(num), in test_equal() 51 input_iterator<int *>(num), input_iterator<int *>(num + 1))); in test_equal() [all …]
|
D | is_permutation_test1.cpp | 34 int num[] = { 1, 1, 2, 3, 5 }; in test_sequence1() local 35 const int sz = sizeof (num)/sizeof(num[0]); in test_sequence1() 40 forward_iterator<int *>(num), forward_iterator<int *>(num), in test_sequence1() 41 forward_iterator<int *>(num))); in test_sequence1() 44 forward_iterator<int *>(num), forward_iterator<int *>(num), in test_sequence1() 45 forward_iterator<int *>(num), forward_iterator<int *>(num))); in test_sequence1() 48 random_access_iterator<int *>(num), random_access_iterator<int *>(num), in test_sequence1() 49 random_access_iterator<int *>(num), random_access_iterator<int *>(num))); in test_sequence1() 52 forward_iterator<int *>(num), forward_iterator<int *>(num), in test_sequence1() 53 forward_iterator<int *>(num), in test_sequence1() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | numberVsBigIntOperations.js | 3 let bigInt = 1n, num = 2; variable 4 bigInt = 1n; bigInt = 2; num = 1n; num = 2; 5 bigInt += 1n; bigInt += 2; num += 1n; num += 2; 6 bigInt -= 1n; bigInt -= 2; num -= 1n; num -= 2; 7 bigInt *= 1n; bigInt *= 2; num *= 1n; num *= 2; 8 bigInt /= 1n; bigInt /= 2; num /= 1n; num /= 2; 9 bigInt %= 1n; bigInt %= 2; num %= 1n; num %= 2; 10 bigInt **= 1n; bigInt **= 2; num **= 1n; num **= 2; 11 bigInt <<= 1n; bigInt <<= 2; num <<= 1n; num <<= 2; 12 bigInt >>= 1n; bigInt >>= 2; num >>= 1n; num >>= 2; [all …]
|
D | numberVsBigIntOperations.types | 3 let bigInt = 1n, num = 2; 6 >num : number 9 bigInt = 1n; bigInt = 2; num = 1n; num = 2; 16 >num = 1n : 1n 17 >num : number 19 >num = 2 : 2 20 >num : number 23 bigInt += 1n; bigInt += 2; num += 1n; num += 2; 30 >num += 1n : any 31 >num : number [all …]
|
D | numberVsBigIntOperations.symbols | 3 let bigInt = 1n, num = 2; 5 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16)) 7 bigInt = 1n; bigInt = 2; num = 1n; num = 2; 10 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16)) 11 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16)) 13 bigInt += 1n; bigInt += 2; num += 1n; num += 2; 16 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16)) 17 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16)) 19 bigInt -= 1n; bigInt -= 2; num -= 1n; num -= 2; 22 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16)) [all …]
|
D | typeGuardsInClassAccessors.js | 6 var num: number; variable 13 num = typeof var1 === "string" && var1.length; // string 17 num = typeof var2 === "string" && var2.length; // string 24 num = typeof var1 === "string" && var1.length; // string 27 num = typeof param === "string" && param.length; // string 31 num = typeof var2 === "string" && var2.length; // string 36 num = typeof var1 === "string" && var1.length; // string 40 num = typeof var2 === "string" && var2.length; // string 47 num = typeof var1 === "string" && var1.length; // string 50 num = typeof param === "string" && param.length; // string [all …]
|
D | typeGuardsInFunction.js | 6 var num: number; variable 11 num = typeof var1 === "string" && var1.length; // string 15 num = typeof var2 === "string" && var2.length; // string 18 num = typeof param === "string" && param.length; // string 25 num = typeof var1 === "string" && var1.length; // string 28 num = typeof var2 === "string" && var2.length; // string 31 num = typeof param === "string" && param.length; // string 35 num = typeof var3 === "string" && var3.length; // string 36 num = typeof param1 === "string" && param1.length; // string 46 num = typeof var1 === "string" && var1.length; // string [all …]
|
D | genericChainedCalls.types | 12 var r1 = v1.func(num => num.toString()) 14 >v1.func(num => num.toString()) .func(str => str.length) // error, number doesn't have a… 15 >v1.func(num => num.toString()) .func(str => str.length) // error, number doesn't have a… 16 >v1.func(num => num.toString()) .func(str => str.length) : I1<number> 17 >v1.func(num => num.toString()) .func : <U>(callback: (value: number) => U) => I1<number> 18 >v1.func(num => num.toString()) : I1<number> 22 >num => num.toString() : (num: number) => string 23 >num : number 24 >num.toString() : string 25 >num.toString : (radix?: number) => string [all …]
|
D | typeGuardsInClassMethods.js | 6 var num: number; variable 11 num = typeof var1 === "string" && var1.length; // string 15 num = typeof var2 === "string" && var2.length; // string 18 num = typeof param === "string" && param.length; // string 23 num = typeof var1 === "string" && var1.length; // string 27 num = typeof var2 === "string" && var2.length; // string 30 num = typeof param === "string" && param.length; // string 35 num = typeof var1 === "string" && var1.length; // string 39 num = typeof var2 === "string" && var2.length; // string 42 num = typeof param === "string" && param.length; // string [all …]
|
D | overEagerReturnTypeSpecialization.types | 14 var r1: I1<string> = v1.func(num => num.toString()) // Correctly returns an I1<string> 16 >v1.func(num => num.toString()) // Correctly returns an I1<string> .func(str => str.lengt… 17 >v1.func(num => num.toString()) // Correctly returns an I1<string> .func : <U>(callback: … 18 >v1.func(num => num.toString()) : I1<string> 22 >num => num.toString() : (num: number) => string 23 >num : number 24 >num.toString() : string 25 >num.toString : (radix?: number) => string 26 >num : number 37 var r2: I1<number> = v1.func(num => num.toString()) // Correctly returns an I1<string> [all …]
|
D | keyofDoesntContainSymbols.types | 7 const num = 0; 8 >num : 0 11 const obj = { num: 0, str: 's', [num]: num as 0, [sym]: sym }; 12 >obj : { num: number; str: string; 0: 0; [sym]: symbol; } 13 >{ num: 0, str: 's', [num]: num as 0, [sym]: sym } : { num: number; str: string; 0: 0; [sym]: symbo… 14 >num : number 18 >[num] : 0 19 >num : 0 20 >num as 0 : 0 21 >num : 0 [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | numberVsBigIntOperations.ts | 4 let bigInt = 1n, num = 2; variable 5 bigInt = 1n; bigInt = 2; num = 1n; num = 2; 6 bigInt += 1n; bigInt += 2; num += 1n; num += 2; 7 bigInt -= 1n; bigInt -= 2; num -= 1n; num -= 2; 8 bigInt *= 1n; bigInt *= 2; num *= 1n; num *= 2; 9 bigInt /= 1n; bigInt /= 2; num /= 1n; num /= 2; 10 bigInt %= 1n; bigInt %= 2; num %= 1n; num %= 2; 11 bigInt **= 1n; bigInt **= 2; num **= 1n; num **= 2; 12 bigInt <<= 1n; bigInt <<= 2; num <<= 1n; num <<= 2; 13 bigInt >>= 1n; bigInt >>= 2; num >>= 1n; num >>= 2; [all …]
|
/third_party/curl/tests/libtest/ |
D | lib557.c | 65 unsigned short num; /* unsigned short */ member 72 short num; /* signed short */ member 79 unsigned int num; /* unsigned int */ member 86 int num; /* signed int */ member 93 unsigned long num; /* unsigned long */ member 100 long num; /* signed long */ member 107 curl_off_t num; /* curl_off_t */ member 130 i = 1; us_test[i].num = 0xFFU; us_test[i].expected = "256"; in test_unsigned_short_formatting() 131 i++; us_test[i].num = 0xF0U; us_test[i].expected = "240"; in test_unsigned_short_formatting() 132 i++; us_test[i].num = 0x0FU; us_test[i].expected = "15"; in test_unsigned_short_formatting() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/stdlib/ |
D | atoll.c | 35 long long int num; in atoll_0100() local 37 num = atoll(str); in atoll_0100() 38 EXPECT_EQ("atoll_0100", num, result); in atoll_0100() 48 long long int num; in atoll_0200() local 50 num = atoll(str); in atoll_0200() 51 EXPECT_EQ("atoll_0200", num, resultA); in atoll_0200() 61 long long int num; in atoll_0300() local 63 num = atoll(str); in atoll_0300() 64 EXPECT_EQ("atoll_0300", num, resultA); in atoll_0300() 74 long long int num; in atoll_0400() local [all …]
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | bytes_by_prefix.c | 77 float num; in bytes_by_prefix() local 80 nconv = sscanf(s, "%f%c%c", &num, &mult, &junk); in bytes_by_prefix() 85 result = num; in bytes_by_prefix() 91 result = (int)(num * (float)B_MULT); in bytes_by_prefix() 94 result = (int)(num * (float)K_MULT); in bytes_by_prefix() 97 result = (int)((num * (float)K_MULT) * sizeof(long)); in bytes_by_prefix() 100 result = (int)(num * (float)M_MULT); in bytes_by_prefix() 103 result = (int)((num * (float)M_MULT) * sizeof(long)); in bytes_by_prefix() 106 result = (int)(num * (float)G_MULT); in bytes_by_prefix() 109 result = (int)((num * (float)G_MULT) * sizeof(long)); in bytes_by_prefix() [all …]
|
/third_party/ffmpeg/libavutil/ |
D | rational.c | 36 int64_t num, int64_t den, int64_t max) in av_reduce() argument 39 int sign = (num < 0) ^ (den < 0); in av_reduce() 40 int64_t gcd = av_gcd(FFABS(num), FFABS(den)); in av_reduce() 43 num = FFABS(num) / gcd; in av_reduce() 46 if (num <= max && den <= max) { in av_reduce() 47 a1 = (AVRational) { num, den }; in av_reduce() 52 uint64_t x = num / den; in av_reduce() 53 int64_t next_den = num - den * x; in av_reduce() 54 int64_t a2n = x * a1.num + a0.num; in av_reduce() 58 if (a1.num) x = (max - a0.num) / a1.num; in av_reduce() [all …]
|
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/ |
D | typeGuardsInClassAccessors.ts | 7 var num: number; variable 14 num = typeof var1 === "string" && var1.length; // string 18 num = typeof var2 === "string" && var2.length; // string 25 num = typeof var1 === "string" && var1.length; // string 28 num = typeof param === "string" && param.length; // string 32 num = typeof var2 === "string" && var2.length; // string 37 num = typeof var1 === "string" && var1.length; // string 41 num = typeof var2 === "string" && var2.length; // string 48 num = typeof var1 === "string" && var1.length; // string 51 num = typeof param === "string" && param.length; // string [all …]
|
D | typeGuardsInFunction.ts | 5 var num: number; variable 10 num = typeof var1 === "string" && var1.length; // string 14 num = typeof var2 === "string" && var2.length; // string 17 num = typeof param === "string" && param.length; // string 24 num = typeof var1 === "string" && var1.length; // string 27 num = typeof var2 === "string" && var2.length; // string 30 num = typeof param === "string" && param.length; // string 34 num = typeof var3 === "string" && var3.length; // string 35 num = typeof param1 === "string" && param1.length; // string 45 num = typeof var1 === "string" && var1.length; // string [all …]
|
/third_party/boost/boost/sort/common/util/ |
D | circular_buffer.hpp | 325 void pop_copy_front(iter_t it_dest, size_t num); 328 void pop_move_front(iter_t it_dest, size_t num); 331 void pop_copy_back(iter_t it_dest, size_t num); 334 void pop_move_back(iter_t it_dest, size_t num); 337 void push_copy_front(iter_t it_src, size_t num); 340 void push_move_front(iter_t it_src, size_t num); 343 void push_copy_back(iter_t it_src, size_t num); 346 void push_move_back(iter_t it_src, size_t num); 368 ::pop_copy_front(iter_t it_dest, size_t num) in pop_copy_front() argument 372 if (num == 0) return; in pop_copy_front() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
D | printf.c | 27 int num = 6; in printf_0100() local 28 int result = printf("%d\n", num); in printf_0100() 39 int num = 6; in printf_0200() local 40 int result = printf("%o\n", num); in printf_0200() 51 int num = 6; in printf_0300() local 52 int result = printf("%x\n", num); in printf_0300() 55 result = printf("%X\n", num); in printf_0300() 66 int num = 6; in printf_0400() local 67 int result = printf("%u\n", num); in printf_0400() 78 int num = 6; in printf_0500() local [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ |
D | ms_simd_instructions.h | 166 #define LOAD128X8_F32(src, input_ptr, num) \ argument 167 MS_FLOAT32X4 src##1 = MS_LDQ_F32(input_ptr + 0 * num); \ 168 MS_FLOAT32X4 src##2 = MS_LDQ_F32(input_ptr + 1 * num); \ 169 MS_FLOAT32X4 src##3 = MS_LDQ_F32(input_ptr + 2 * num); \ 170 MS_FLOAT32X4 src##4 = MS_LDQ_F32(input_ptr + 3 * num); \ 171 MS_FLOAT32X4 src##5 = MS_LDQ_F32(input_ptr + 4 * num); \ 172 MS_FLOAT32X4 src##6 = MS_LDQ_F32(input_ptr + 5 * num); \ 173 MS_FLOAT32X4 src##7 = MS_LDQ_F32(input_ptr + 6 * num); \ 174 MS_FLOAT32X4 src##8 = MS_LDQ_F32(input_ptr + 7 * num); 176 #define STORE128X8_F32(output_ptr, num, dst) \ argument [all …]
|
/third_party/iowow/src/utils/ |
D | iwarr.c | 182 list->num = 0; in iwulist_init() 233 return list->num; in iwulist_length() 237 if (!list->num) { in iwulist_clone() 244 size_t anum = list->num > IWULIST_ALLOC_UNIT ? list->num : IWULIST_ALLOC_UNIT; in iwulist_clone() 250 memcpy(nlist->array, list->array + list->start, list->num * list->usize); in iwulist_clone() 252 nlist->num = list->num; in iwulist_clone() 260 if (index >= list->num) { in iwulist_at() 269 if (index >= list->num) { in iwulist_at2() 277 size_t index = list->start + list->num; in iwulist_push() 279 size_t anum = list->anum + list->num + 1; in iwulist_push() [all …]
|
/third_party/openssl/crypto/bio/ |
D | bf_buff.c | 15 static int buffer_write(BIO *h, const char *buf, int num); 91 int i, num = 0; in buffer_read() local 100 num = 0; in buffer_read() 112 num += i; in buffer_read() 114 return num; in buffer_read() 131 return ((num > 0) ? num : i); in buffer_read() 133 return num; in buffer_read() 135 num += i; in buffer_read() 137 return num; in buffer_read() 149 return ((num > 0) ? num : i); in buffer_read() [all …]
|