/external/u-boot/cmd/ |
D | mfsl.c | 20 unsigned int num; in do_frd() local 37 case 0: NGET (num, 0); in do_frd() 39 case 1: NCGET (num, 0); in do_frd() 41 case 2: GET (num, 0); in do_frd() 43 case 3: CGET (num, 0); in do_frd() 53 case 0: NGET (num, 1); in do_frd() 55 case 1: NCGET (num, 1); in do_frd() 57 case 2: GET (num, 1); in do_frd() 59 case 3: CGET (num, 1); in do_frd() 69 case 0: NGET (num, 2); in do_frd() [all …]
|
/external/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 …]
|
/external/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 …]
|
/external/u-boot/drivers/ata/ |
D | sata_sil3114.c | 25 u8 sil3114_spin_up (int num); 26 u8 sil3114_spin_down (int num); 27 static int sata_bus_softreset (int num); 28 static void sata_identify (int num, int dev); 29 static u8 check_power_mode (int num); 31 static void set_Feature_cmd (int num, int dev); 56 static int sata_bus_softreset (int num) in sata_bus_softreset() argument 60 port[num].dev_mask = 1; in sata_bus_softreset() 62 port[num].ctl_reg = 0x08; /*Default value of control reg */ in sata_bus_softreset() 63 writeb (port[num].ctl_reg, port[num].ioaddr.ctl_addr); in sata_bus_softreset() [all …]
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
D | DateTimeShortcuts.js | 135 var num = DateTimeShortcuts.clockInputs.length; 136 DateTimeShortcuts.clockInputs[num] = inp; 137 …DateTimeShortcuts.dismissClockFunc[num] = function() { DateTimeShortcuts.dismissClock(num); return… 144 …now_link.setAttribute('href', "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", -1);… 147 clock_link.setAttribute('href', 'javascript:DateTimeShortcuts.openClock(' + num + ');'); 148 clock_link.id = DateTimeShortcuts.clockLinkName + num; 173 clock_box.setAttribute('id', DateTimeShortcuts.clockDivName + num); 180 …t), gettext("Now"), "href", "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", -1);"); 181 …gettext("Midnight"), "href", "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", 0);"); 182 …, gettext("6 a.m."), "href", "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", 6);"); [all …]
|
/external/clang/test/SemaCXX/ |
D | err_typecheck_assign_const_filecheck.cpp | 4 int num; member 59 a.b.c.d.e.num = 5; in test1() 64 Ca.b.c.Md.e.num = 5; in test1() 66 Ca.Mb.getC().d.e.num = 5; in test1() 67 Ca.getSB().c.d.e.num = 5; in test1() 68 a.getSCB().c.d.Me.num = 5; in test1() 76 Ca.b.c.d.e.num = 5; in test2() 83 a.Cb.c.d.e.num = 5; in test2() 90 a.b.c.Cd.e.num = 5; in test2() 111 a.getCB().c.d.e.num = 5; in test2() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | cast_op_test.cc | 32 static Graph* Cast(int num) { in Cast() argument 35 TensorShape({64, 64, num / (64 * 64)})); in Cast() 122 static void BM_cpu_float_int64(int iters, int num) { in TEST_ALL_CASTS_FROM() 123 testing::ItemsProcessed(static_cast<int64>(iters) * num); in TEST_ALL_CASTS_FROM() 124 testing::BytesProcessed(static_cast<int64>(iters) * num * in TEST_ALL_CASTS_FROM() 127 test::Benchmark("cpu", Cast<float, int64>(num)).Run(iters); in TEST_ALL_CASTS_FROM() 131 static void BM_gpu_float_int64(int iters, int num) { in BM_gpu_float_int64() argument 132 testing::ItemsProcessed(static_cast<int64>(iters) * num); in BM_gpu_float_int64() 133 testing::BytesProcessed(static_cast<int64>(iters) * num * in BM_gpu_float_int64() 137 test::Benchmark("gpu", Cast<float, int64>(num)).Run(iters); in BM_gpu_float_int64() [all …]
|
/external/u-boot/common/ |
D | cli_readline.c | 179 while (num) { \ 181 num--; \ 186 if (num < eol_num) { \ 187 printf("%*s", (int)(eol_num - num), ""); \ 190 } while (--eol_num > num); \ 195 if (num < eol_num) { \ 196 wlen = eol_num - num; \ 197 putnstr(buf + num, wlen); \ 198 num = eol_num; \ 202 static void cread_add_char(char ichar, int insert, unsigned long *num, in cread_add_char() argument [all …]
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | udivrem24.ll | 17 %num = load i8, i8 addrspace(1) * %in 19 %result = udiv i8 %num, %den 36 %num = load i16, i16 addrspace(1) * %in, align 2 38 %result = udiv i16 %num, %den 55 %num = load i32, i32 addrspace(1) * %in, align 4 57 %num.i23.0 = shl i32 %num, 9 59 %num.i23 = lshr i32 %num.i23.0, 9 61 %result = udiv i32 %num.i23, %den.i23 72 %num = load i32, i32 addrspace(1) * %in, align 4 74 %num.i24.0 = shl i32 %num, 8 [all …]
|
D | sdivrem24.ll | 17 %num = load i8, i8 addrspace(1) * %in 19 %result = sdiv i8 %num, %den 36 %num = load i16, i16 addrspace(1) * %in, align 2 38 %result = sdiv i16 %num, %den 55 %num = load i32, i32 addrspace(1) * %in, align 4 57 %num.i24.0 = shl i32 %num, 8 59 %num.i24 = ashr i32 %num.i24.0, 8 61 %result = sdiv i32 %num.i24, %den.i24 74 %num = load i32, i32 addrspace(1) * %in, align 4 76 %num.i24.0 = shl i32 %num, 7 [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/ |
D | sdivrem24.ll | 17 %num = load i8, i8 addrspace(1) * %in 19 %result = sdiv i8 %num, %den 36 %num = load i16, i16 addrspace(1) * %in, align 2 38 %result = sdiv i16 %num, %den 55 %num = load i32, i32 addrspace(1) * %in, align 4 57 %num.i24.0 = shl i32 %num, 8 59 %num.i24 = ashr i32 %num.i24.0, 8 61 %result = sdiv i32 %num.i24, %den.i24 74 %num = load i32, i32 addrspace(1) * %in, align 4 76 %num.i24.0 = shl i32 %num, 7 [all …]
|
D | udivrem24.ll | 17 %num = load i8, i8 addrspace(1) * %in 19 %result = udiv i8 %num, %den 36 %num = load i16, i16 addrspace(1) * %in, align 2 38 %result = udiv i16 %num, %den 55 %num = load i32, i32 addrspace(1) * %in, align 4 57 %num.i23.0 = shl i32 %num, 9 59 %num.i23 = lshr i32 %num.i23.0, 9 61 %result = udiv i32 %num.i23, %den.i23 72 %num = load i32, i32 addrspace(1) * %in, align 4 74 %num.i24.0 = shl i32 %num, 8 [all …]
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages_support.c | 37 void free_pages(void **pages, unsigned int num) in free_pages() argument 43 for (i = 0; i < num; i++) { in free_pages() 63 int alloc_pages_on_nodes(void **pages, unsigned int num, int *nodes) in alloc_pages_on_nodes() argument 70 for (i = 0; i < num; i++) { in alloc_pages_on_nodes() 74 for (i = 0; i < num; i++) { in alloc_pages_on_nodes() 91 if (i == num) in alloc_pages_on_nodes() 94 free_pages(pages, num); in alloc_pages_on_nodes() 110 int alloc_pages_linear(void **pages, unsigned int num) in alloc_pages_linear() argument 112 int nodes[num]; in alloc_pages_linear() 126 for (i = 0; i < num; i++) { in alloc_pages_linear() [all …]
|
/external/libaom/libaom/test/ |
D | error_resilience_test.cc | 226 void SetErrorFrames(int num, unsigned int *list) { in SetErrorFrames() argument 227 if (num > kMaxErrorFrames) in SetErrorFrames() 228 num = kMaxErrorFrames; in SetErrorFrames() 229 else if (num < 0) in SetErrorFrames() 230 num = 0; in SetErrorFrames() 231 error_nframes_ = num; in SetErrorFrames() 236 void SetInvisibleErrorFrames(int num, unsigned int *list) { in SetInvisibleErrorFrames() argument 237 if (num > kMaxInvisibleErrorFrames) in SetInvisibleErrorFrames() 238 num = kMaxInvisibleErrorFrames; in SetInvisibleErrorFrames() 239 else if (num < 0) in SetInvisibleErrorFrames() [all …]
|
/external/e2fsprogs/misc/ |
D | uuidd.c | 144 int buflen, int *num, const char **err_context) in call_daemon() argument 153 if (((op == 4) || (op == 5)) && !num) { in call_daemon() 179 if ((*num)*16 > buflen-4) in call_daemon() 180 *num = (buflen-4) / 16; in call_daemon() 185 memcpy(op_buf+1, num, sizeof(int)); in call_daemon() 214 memcpy(buf+16, num, sizeof(int)); in call_daemon() 216 *num = -1; in call_daemon() 219 if (*num >= (int) sizeof(int)) in call_daemon() 220 memcpy(buf, num, sizeof(int)); in call_daemon() 222 *num = -1; in call_daemon() [all …]
|
/external/icu/icu4c/source/test/perf/DateFmtPerf/ |
D | DateFmtPerf.h | 56 int num; 61 BreakItFunction(){num = -1;} in BreakItFunction() 62 BreakItFunction(int a, bool b){num = a; wordIteration = b;} in BreakItFunction() 70 for(int i = 0; i < num; i++) in call() 87 for(int i = 0; i < num; i++) in call() 107 if(wordIteration) return 125*num; in getOperationsPerIteration() 108 else return 355*num; in getOperationsPerIteration() 149 int num; 155 num = -1; in DateFmtFunction() 160 num = a; in DateFmtFunction() [all …]
|
/external/squashfs-tools/squashfs-tools/ |
D | swap.c | 69 unsigned short inswap_le16(unsigned short num) in inswap_le16() argument 71 return (num >> 8) | in inswap_le16() 72 ((num & 0xff) << 8); in inswap_le16() 76 unsigned int inswap_le32(unsigned int num) in inswap_le32() argument 78 return (num >> 24) | in inswap_le32() 79 ((num & 0xff0000) >> 8) | in inswap_le32() 80 ((num & 0xff00) << 8) | in inswap_le32() 81 ((num & 0xff) << 24); in inswap_le32() 87 unsigned long long num = n; in inswap_le64() local 89 return (num >> 56) | in inswap_le64() [all …]
|
/external/libcxx/test/std/utilities/ratio/ |
D | typedefs.pass.cpp | 16 static_assert(std::atto::num == 1 && std::atto::den == 1000000000000000000ULL, ""); in main() 17 static_assert(std::femto::num == 1 && std::femto::den == 1000000000000000ULL, ""); in main() 18 static_assert(std::pico::num == 1 && std::pico::den == 1000000000000ULL, ""); in main() 19 static_assert(std::nano::num == 1 && std::nano::den == 1000000000ULL, ""); in main() 20 static_assert(std::micro::num == 1 && std::micro::den == 1000000ULL, ""); in main() 21 static_assert(std::milli::num == 1 && std::milli::den == 1000ULL, ""); in main() 22 static_assert(std::centi::num == 1 && std::centi::den == 100ULL, ""); in main() 23 static_assert(std::deci::num == 1 && std::deci::den == 10ULL, ""); in main() 24 static_assert(std::deca::num == 10ULL && std::deca::den == 1, ""); in main() 25 static_assert(std::hecto::num == 100ULL && std::hecto::den == 1, ""); in main() [all …]
|
/external/e2fsprogs/lib/e2p/ |
D | parse_num.c | 20 unsigned long long num; in parse_num_blocks2() local 22 num = strtoull(arg, &p, 0); in parse_num_blocks2() 29 num <<= 10; in parse_num_blocks2() 32 num <<= 10; in parse_num_blocks2() 35 num <<= 10; in parse_num_blocks2() 39 num <<= 10; in parse_num_blocks2() 41 num >>= log_block_size; in parse_num_blocks2() 45 num <<= 9; in parse_num_blocks2() 47 num >>= (1+log_block_size); in parse_num_blocks2() 54 return num; in parse_num_blocks2() [all …]
|
/external/python/cpython2/Lib/json/tests/ |
D | test_float.py | 7 for num in [1617161771.7650001, math.pi, math.pi**100, 9 self.assertEqual(float(self.dumps(num)), num) 10 self.assertEqual(self.loads(self.dumps(num)), num) 11 self.assertEqual(self.loads(unicode(self.dumps(num))), num) 14 for num in [1, 1L, 1<<32, 1<<64]: 15 self.assertEqual(self.dumps(num), str(num)) 16 self.assertEqual(int(self.dumps(num)), num) 17 self.assertEqual(self.loads(self.dumps(num)), num) 18 self.assertEqual(self.loads(unicode(self.dumps(num))), num)
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_pagelabel.cpp | 16 WideString MakeRoman(int num) { in MakeRoman() argument 22 num %= kMaxNum; in MakeRoman() 25 while (num > 0) { in MakeRoman() 26 while (num >= kArabic[i]) { in MakeRoman() 27 num = num - kArabic[i]; in MakeRoman() 35 WideString MakeLetters(int num) { in MakeLetters() argument 36 if (num == 0) in MakeLetters() 42 --num; in MakeLetters() 44 int count = num / nLetterCount + 1; in MakeLetters() 46 wchar_t ch = L'a' + num % nLetterCount; in MakeLetters() [all …]
|
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget03.c | 43 int res, num; in setup() local 51 for (num = 0; num < maxmsgs; num++) { in setup() 52 queues[num] = -1; in setup() 54 res = msgget(msgkey + num, IPC_CREAT | IPC_EXCL); in setup() 56 queues[num] = res; in setup() 65 int num; in cleanup() local 70 for (num = 0; num < maxmsgs; num++) { in cleanup() 71 if (queues[num] != -1) in cleanup() 72 SAFE_MSGCTL(queues[num], IPC_RMID, NULL); in cleanup()
|
/external/v8/src/codegen/arm64/ |
D | utils-arm64.h | 72 inline bool IsSignallingNaN(double num) { in IsSignallingNaN() argument 73 uint64_t raw = bit_cast<uint64_t>(num); in IsSignallingNaN() 74 if (std::isnan(num) && ((raw & kDQuietNanMask) == 0)) { in IsSignallingNaN() 80 inline bool IsSignallingNaN(float num) { in IsSignallingNaN() argument 81 uint32_t raw = bit_cast<uint32_t>(num); in IsSignallingNaN() 82 if (std::isnan(num) && ((raw & kSQuietNanMask) == 0)) { in IsSignallingNaN() 88 inline bool IsSignallingNaN(float16 num) { in IsSignallingNaN() argument 90 return (float16classify(num) == FP_NAN) && ((num & kFP16QuietNaNMask) == 0); in IsSignallingNaN() 94 inline bool IsQuietNaN(T num) { in IsQuietNaN() argument 95 return std::isnan(num) && !IsSignallingNaN(num); in IsQuietNaN() [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/asm/ |
D | x86_64-mont5.pl | 59 $num="%r9"; # int num, 82 mov ${num}d,${num}d 85 test \$7,${num}d 111 neg $num 113 lea -280(%rsp,$num,8),%r10 # future alloca(8*(num+2)+256+8) 114 neg $num # restore $num 141 mov %rax,8(%rsp,$num,8) # tp[num+1]=%rsp 142 .cfi_cfa_expression %rsp+8,$num,8,mul,plus,deref,+8 153 lea 24-112(%rsp,$num,8),%r10# place the mask after tp[num+3] (+ICache optimization) 279 cmp $num,$j [all …]
|
/external/boringssl/src/crypto/stack/ |
D | stack.c | 103 return sk->num; in sk_num() 107 if (sk == NULL || sk->num == 0) { in sk_zero() 110 OPENSSL_memset(sk->data, 0, sizeof(void*) * sk->num); in sk_zero() 111 sk->num = 0; in sk_zero() 116 if (!sk || i >= sk->num) { in sk_value() 123 if (!sk || i >= sk->num) { in sk_set() 143 for (size_t i = 0; i < sk->num; i++) { in sk_pop_free_ex() 167 if (sk->num_alloc <= sk->num + 1) { in sk_insert() 193 if (where >= sk->num) { in sk_insert() 194 sk->data[sk->num] = p; in sk_insert() [all …]
|