| /third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
| H A 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 [all...] |
| /third_party/ltp/testcases/kernel/mce-test/tsrc/ |
| H A 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 [all...] |
| /third_party/curl/tests/libtest/ |
| H A D | lib557.c | 69 unsigned short num; /* unsigned short */ member 76 short num; /* signed short */ member 83 unsigned int num; /* unsigned int */ member 90 int num; /* signed int */ member 97 unsigned long num; /* unsigned long */ member 104 long num; /* signed long */ member 111 curl_off_t num; /* curl_off_t */ member 132 i = 1; us_test[i].num = 0xFFFFU; us_test[i].expected = "65535"; in test_unsigned_short_formatting() 133 i++; us_test[i].num = 0xFF00U; us_test[i].expected = "65280"; in test_unsigned_short_formatting() 134 i++; us_test[i].num in test_unsigned_short_formatting() [all...] |
| /third_party/mesa3d/src/imagination/rogue/ |
| H A D | rogue_encode.c | 132 { .start = 47, .num = 1, }, 152 { .start = 100, .num = 1, }, 164 { .start = 43, .num = 2, }, /* SB3(2..1) */ 165 { .start = 54, .num = 1, }, /* SB3(0) */ 166 { .start = 34, .num = 3, }, /* S3(10..8) */ 167 { .start = 41, .num = 2, }, /* S3(7..6) */ 168 { .start = 53, .num = 6, }, /* S3(5..0) */ 179 { .start = 59, .num = 1, }, 190 { .start = 59, .num = 1, }, /* SB0(2) */ 191 { .start = 76, .num [all...] |
| /third_party/musl/libc-test/src/functionalext/supplement/stdlib/ |
| H A 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 87 long long int num; atoll_0500() local 100 long long int num; atoll_0600() local 113 long long int num; atoll_0700() local 126 long long int num; atoll_0800() local 139 long long int num; atoll_0900() local 152 long long int num; atoll_1000() local 165 long long int num; atoll_1100() local 178 long long int num; atoll_1200() local [all...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A 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 94 var num; global() variable [all...] |
| H A 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 109 var num; global() variable [all...] |
| H A 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 75 var num; global() variable [all...] |
| H A D | genericChainedCalls.js | 8 var r1 = v1.func(num => num.toString()) 10 .func(num => num.toString()) 12 var s1 = v1.func(num => num.toString()) 14 var s3 = s2.func(num => num.toString()) 18 var r1 = v1.func(function (num) { return num [all...] |
| H A D | typeGuardsInModule.js | 6 var num: number; variable 12 num = typeof var1 === "string" && var1.length; // string 17 num = var2.length; // string 20 num = var2; // number 38 num = typeof var1 === "string" && var1.length; // string 41 num = typeof var2 === "string" && var2.length; // string 49 num = var4.length; // string 52 num = var4; // number 68 num = typeof var1 === "string" && var1.length; // string 73 num 94 var num; global() variable [all...] |
| H A D | typeGuardOfFormTypeOfNumber.js | 6 var num: number; variable 21 num = strOrNum; // number 27 num = numOrBool; // number 33 num = strOrNumOrBool; // number 39 num = numOrC; // number 59 num = strOrNum; // number 65 num = numOrBool; // number 71 num = strOrNumOrBool; // number 77 num = numOrC; // number 97 var num;
variable [all...] |
| /third_party/ltp/testcases/kernel/fs/doio/ |
| H A 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 * (floa in bytes_by_prefix() 125 float num; lbytes_by_prefix() local 177 double num; llbytes_by_prefix() local [all...] |
| /third_party/ffmpeg/libavutil/ |
| H A D | rational.c | 36 int64_t num, int64_t den, int64_t max) in av_reduce() 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 in av_reduce() 35 av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max) av_reduce() argument [all...] |
| /third_party/ltp/testcases/kernel/syscalls/move_pages/ |
| H A D | move_pages_support.c | 35 * @num: no. of pages in the array 37 void free_pages(void **pages, unsigned int num) in free_pages() argument 43 for (i = 0; i < num; i++) { in free_pages() 54 * @num: no. of pages to allocate 63 int alloc_pages_on_nodes(void **pages, unsigned int num, int *nodes) in alloc_pages_on_nodes() argument 70 for (i = 0; i < (int)num; i++) { in alloc_pages_on_nodes() 74 for (i = 0; i < (int)num; i++) { in alloc_pages_on_nodes() 91 if (i == (int)num) in alloc_pages_on_nodes() 94 free_pages(pages, num); in alloc_pages_on_nodes() 102 * @num 110 alloc_pages_linear(void **pages, unsigned int num) alloc_pages_linear() argument 150 alloc_pages_on_node(void **pages, unsigned int num, int node) alloc_pages_on_node() argument 169 verify_pages_on_nodes(void **pages, int *status, unsigned int num, int *nodes) verify_pages_on_nodes() argument 215 verify_pages_linear(void **pages, int *status, unsigned int num) verify_pages_linear() argument 249 verify_pages_on_node(void **pages, int *status, unsigned int num, int node) verify_pages_on_node() argument 270 alloc_shared_pages_on_node(void **pages, unsigned int num, int node) alloc_shared_pages_on_node() argument 311 free_shared_pages(void **pages, unsigned int num) free_shared_pages() argument 330 alloc_sem(int num) alloc_sem() argument 370 free_sem(sem_t * sem, int num) free_sem() argument [all...] |
| /third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
| H A 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 in printf_0500() local 90 int num = 6; printf_0600() local 105 int num = 6; printf_0700() local 132 char num[] = "test"; printf_0900() local [all...] |
| /third_party/musl/libc-test/src/functionalext/locale/ |
| H A D | strtod_l.c | 118 double num = strtod_l(str, &end, loc); in strtod_l_0200() local 119 EXPECT_DOUBLE_EQ(num, target); in strtod_l_0200() 137 double num = strtod_l(str, &end, loc); in strtod_l_0300() local 138 EXPECT_DOUBLE_EQ(num, target); in strtod_l_0300() 156 double num = strtod_l(str, &end, loc); in strtod_l_0400() local 157 EXPECT_DOUBLE_EQ(num, target); in strtod_l_0400() 175 double num = strtod_l(str, &end, loc); in strtod_l_0500() local 176 EXPECT_DOUBLE_EQ(num, target); in strtod_l_0500() 194 double num = strtod_l(str, &end, loc); in strtod_l_0600() local 195 EXPECT_DOUBLE_EQ(num, targe in strtod_l_0600() 212 double num = strtod_l(str, &end, loc); strtod_l_0700() local 227 double num = strtod_l(str, &end, loc); strtod_l_0800() local 243 double num = strtod_l(str, &end, loc); strtod_l_0900() local 261 double num = strtod_l(str, &end, loc); strtod_l_1000() local 276 double num = strtod_l(str, &end, loc); strtod_l_1100() local 293 double num = strtod_l(str, &end, loc); strtod_l_1200() local 312 double num = strtod_l(str, &end, loc); strtod_l_1300() local 330 double num = strtod_l(str, &end, loc); strtod_l_1400() local 346 double num = strtod_l(str, &end, loc); strtod_l_1500() local 367 double num = strtod_l(str, &end, loc); strtod_l_1600() local 386 double num = strtod_l(str, &end, loc); strtod_l_1700() local 403 double num = strtod_l(str, NULL, loc); strtod_l_1800() local [all...] |
| /third_party/ffmpeg/libavutil/tests/ |
| H A D | rational.c | 34 for (a.num = -2; a.num <= 2; a.num++) { in main() 36 for (b.num = -2; b.num <= 2; b.num++) { in main() 45 av_log(NULL, AV_LOG_ERROR, "%d/%d %d/%d, %d %f\n", a.num, in main() 46 a.den, b.num, b.den, c,d); in main() 48 if(b.den && (r.num*a.den != a.num* in main() [all...] |
| /third_party/jerryscript/jerry-core/ecma/base/ |
| H A D | ecma-helpers-number.c | 72 ecma_number_unpack (ecma_number_t num, /**< ecma-number */ in ecma_number_unpack() argument 78 u.as_ecma_number_t = num; in ecma_number_unpack() 135 ecma_number_unpack (ecma_number_t num, /**< ecma-number */ in ecma_number_unpack() argument 141 u.as_ecma_number_t = num; in ecma_number_unpack() 176 ecma_number_get_fraction_field (ecma_number_t num) /**< ecma-number */ in ecma_number_get_fraction_field() argument 180 ecma_number_unpack (num, NULL, NULL, &fraction); in ecma_number_get_fraction_field() 191 ecma_number_get_biased_exponent_field (ecma_number_t num) /**< ecma-number */ in ecma_number_get_biased_exponent_field() argument 195 ecma_number_unpack (num, NULL, &biased_exp, NULL); in ecma_number_get_biased_exponent_field() 206 ecma_number_get_sign_field (ecma_number_t num) /**< ecma-number */ in ecma_number_get_sign_field() argument 210 ecma_number_unpack (num, in ecma_number_get_sign_field() 223 ecma_number_is_nan(ecma_number_t num) ecma_number_is_nan() argument 286 ecma_number_is_negative(ecma_number_t num) ecma_number_is_negative() argument 301 ecma_number_is_zero(ecma_number_t num) ecma_number_is_zero() argument 324 ecma_number_is_infinity(ecma_number_t num) ecma_number_is_infinity() argument 341 ecma_number_is_finite(ecma_number_t num) ecma_number_is_finite() argument 358 ecma_number_get_fraction_and_exponent(ecma_number_t num, uint64_t *out_fraction_p, int32_t *out_exponent_p) ecma_number_get_fraction_and_exponent() argument 521 ecma_number_get_prev(ecma_number_t num) ecma_number_get_prev() argument 556 ecma_number_get_next(ecma_number_t num) ecma_number_get_next() argument 595 ecma_number_trunc(ecma_number_t num) ecma_number_trunc() argument [all...] |
| /third_party/node/deps/openssl/openssl/crypto/bio/ |
| H A D | bf_buff.c | 15 static int buffer_write(BIO *h, const char *buf, int num); 89 int i, num = 0; in buffer_read() local 98 num = 0; in buffer_read() 110 num += i; in buffer_read() 112 return num; in buffer_read() 129 return ((num > 0) ? num : i); in buffer_read() 131 return num; in buffer_read() 133 num += i; in buffer_read() 135 return num; in buffer_read() 160 int i, num = 0; buffer_write() local 235 buffer_ctrl(BIO *b, int cmd, long num, void *ptr) buffer_ctrl() argument 423 int num = 0, i, flag; buffer_gets() local [all...] |
| /third_party/openssl/crypto/bio/ |
| H A D | bf_buff.c | 15 static int buffer_write(BIO *h, const char *buf, int num); 89 int i, num = 0; in buffer_read() local 98 num = 0; in buffer_read() 110 num += i; in buffer_read() 112 return num; in buffer_read() 129 return ((num > 0) ? num : i); in buffer_read() 131 return num; in buffer_read() 133 num += i; in buffer_read() 135 return num; in buffer_read() 160 int i, num = 0; buffer_write() local 235 buffer_ctrl(BIO *b, int cmd, long num, void *ptr) buffer_ctrl() argument 423 int num = 0, i, flag; buffer_gets() local [all...] |
| /third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/ |
| H A D | QRPolynomial.js | 3 function QRPolynomial(num, shift) { 4 if (num.length === undefined) { 5 throw new Error(num.length + "/" + shift); 10 while (offset < num.length && num[offset] === 0) { 14 this.num = new Array(num.length - offset + shift); 15 for (var i = 0; i < num.length - offset; i++) { 16 this.num[i] = num[ [all...] |
| /third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
| H A D | ciphercommon_hw.c | 51 int num = dat->num; in ossl_cipher_hw_generic_ofb128() local 53 CRYPTO_ofb128_encrypt(in, out, len, dat->ks, dat->iv, &num, dat->block); in ossl_cipher_hw_generic_ofb128() 54 dat->num = num; in ossl_cipher_hw_generic_ofb128() 62 int num = dat->num; in ossl_cipher_hw_generic_cfb128() local 64 CRYPTO_cfb128_encrypt(in, out, len, dat->ks, dat->iv, &num, dat->enc, in ossl_cipher_hw_generic_cfb128() 66 dat->num = num; in ossl_cipher_hw_generic_cfb128() 74 int num = dat->num; ossl_cipher_hw_generic_cfb8() local 86 int num = dat->num; ossl_cipher_hw_generic_cfb1() local 114 unsigned int num = dat->num; ossl_cipher_hw_generic_ctr() local [all...] |
| /third_party/openssl/providers/implementations/ciphers/ |
| H A D | ciphercommon_hw.c | 51 int num = dat->num; in ossl_cipher_hw_generic_ofb128() local 53 CRYPTO_ofb128_encrypt(in, out, len, dat->ks, dat->iv, &num, dat->block); in ossl_cipher_hw_generic_ofb128() 54 dat->num = num; in ossl_cipher_hw_generic_ofb128() 62 int num = dat->num; in ossl_cipher_hw_generic_cfb128() local 64 CRYPTO_cfb128_encrypt(in, out, len, dat->ks, dat->iv, &num, dat->enc, in ossl_cipher_hw_generic_cfb128() 66 dat->num = num; in ossl_cipher_hw_generic_cfb128() 74 int num = dat->num; ossl_cipher_hw_generic_cfb8() local 86 int num = dat->num; ossl_cipher_hw_generic_cfb1() local 114 unsigned int num = dat->num; ossl_cipher_hw_generic_ctr() local [all...] |
| /third_party/node/deps/openssl/openssl/crypto/des/ |
| H A D | ofb_enc.c | 31 register int num = numbits; in DES_ofb_encrypt() local 35 if (num > 64) in DES_ofb_encrypt() 37 if (num > 32) { in DES_ofb_encrypt() 39 if (num >= 64) in DES_ofb_encrypt() 42 mask1 = (1L << (num - 32)) - 1; in DES_ofb_encrypt() 44 if (num == 32) in DES_ofb_encrypt() 47 mask0 = (1L << num) - 1; in DES_ofb_encrypt() 69 if (num == 32) { in DES_ofb_encrypt() 72 } else if (num == 64) { in DES_ofb_encrypt() 75 } else if (num > 3 in DES_ofb_encrypt() [all...] |
| /third_party/openssl/crypto/des/ |
| H A D | ofb_enc.c | 31 register int num = numbits; in DES_ofb_encrypt() local 35 if (num > 64) in DES_ofb_encrypt() 37 if (num > 32) { in DES_ofb_encrypt() 39 if (num >= 64) in DES_ofb_encrypt() 42 mask1 = (1L << (num - 32)) - 1; in DES_ofb_encrypt() 44 if (num == 32) in DES_ofb_encrypt() 47 mask0 = (1L << num) - 1; in DES_ofb_encrypt() 69 if (num == 32) { in DES_ofb_encrypt() 72 } else if (num == 64) { in DES_ofb_encrypt() 75 } else if (num > 3 in DES_ofb_encrypt() [all...] |