/external/curl/tests/libtest/ |
D | lib557.c | 59 unsigned short num; /* unsigned short */ member 66 short num; /* signed short */ member 73 unsigned int num; /* unsigned int */ member 80 int num; /* signed int */ member 87 unsigned long num; /* unsigned long */ member 94 long num; /* signed long */ member 101 curl_off_t num; /* curl_off_t */ member 124 i=1; us_test[i].num = 0xFFU; us_test[i].expected = "256"; in test_unsigned_short_formatting() 125 i++; us_test[i].num = 0xF0U; us_test[i].expected = "240"; in test_unsigned_short_formatting() 126 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/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/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/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages_support.c | 36 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 …]
|
D | move_pages_support.h | 34 void free_pages(void **pages, unsigned int num); 36 int alloc_pages_on_nodes(void **pages, unsigned int num, int *nodes); 37 int alloc_pages_linear(void **pages, unsigned int num); 38 int alloc_pages_on_node(void **pages, unsigned int num, int node); 41 unsigned int num, int *nodes); 42 void verify_pages_linear(void **pages, int *status, unsigned int num); 44 unsigned int num, int node); 46 int alloc_shared_pages_on_node(void **pages, unsigned int num, int node); 47 void free_shared_pages(void **pages, unsigned int num); 49 sem_t *alloc_sem(int num); [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/javassist/src/main/javassist/bytecode/ |
D | StackMap.java | 141 int num = ByteArray.readU16bit(info, 0); in visit() local 143 for (int i = 0; i < num; i++) { in visit() 156 public int locals(int pos, int offset, int num) { in locals() argument 157 return typeInfoArray(pos, offset, num, true); in locals() 164 public int stack(int pos, int offset, int num) { in stack() argument 165 return typeInfoArray(pos, offset, num, false); in stack() 176 public int typeInfoArray(int pos, int offset, int num, boolean isLocals) { in typeInfoArray() argument 177 for (int k = 0; k < num; k++) in typeInfoArray() 237 int num = ByteArray.readU16bit(info, 0); in visit() local 238 ByteArray.write16bit(num, dest, 0); in visit() [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 …]
|
D | hashstr.c | 22 int num; member 33 const char *e2p_hash2string(int num) in e2p_hash2string() argument 39 if (num == p->num) in e2p_hash2string() 42 sprintf(buf, "HASHALG_%d", num); in e2p_hash2string() 53 int num; in e2p_string2hash() local 57 return p->num; in e2p_string2hash() 65 num = strtol(string+8, &eptr, 10); in e2p_string2hash() 66 if (num > 255 || num < 0) in e2p_string2hash() 70 return num; in e2p_string2hash()
|
D | crypto_mode.c | 23 unsigned int num; member 35 const char *e2p_encmode2string(int num) in e2p_encmode2string() argument 41 if (num == p->num) in e2p_encmode2string() 44 sprintf(buf, "ENC_MODE_%d", num); in e2p_encmode2string() 55 int num; in e2p_string2encmode() local 59 return p->num; in e2p_string2encmode() 67 num = strtol(string+9, &eptr, 10); in e2p_string2encmode() 68 if (num > 255 || num < 0) in e2p_string2encmode() 72 return num; in e2p_string2encmode()
|
/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/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget03.c | 55 int res, num; in setup() local 63 for (num = 0; num < maxmsgs; num++) { in setup() 64 queues[num] = -1; in setup() 66 res = msgget(msgkey + num, IPC_CREAT | IPC_EXCL); in setup() 68 queues[num] = res; in setup() 77 int num; in cleanup() local 82 for (num = 0; num < maxmsgs; num++) { in cleanup() 83 if (queues[num] != -1) in cleanup() 84 SAFE_MSGCTL(queues[num], IPC_RMID, NULL); in cleanup()
|
/external/boringssl/src/crypto/stack/ |
D | stack.c | 102 return sk->num; in sk_num() 106 if (sk == NULL || sk->num == 0) { in sk_zero() 109 OPENSSL_memset(sk->data, 0, sizeof(void*) * sk->num); in sk_zero() 110 sk->num = 0; in sk_zero() 115 if (!sk || i >= sk->num) { in sk_value() 122 if (!sk || i >= sk->num) { in sk_set() 141 for (size_t i = 0; i < sk->num; i++) { in sk_pop_free() 154 if (sk->num_alloc <= sk->num + 1) { in sk_insert() 180 if (where >= sk->num) { in sk_insert() 181 sk->data[sk->num] = p; in sk_insert() [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/asm/ |
D | x86_64-mont5.pl | 54 $num="%r9"; # int num, 77 mov ${num}d,${num}d 80 test \$7,${num}d 106 neg $num 108 lea -280(%rsp,$num,8),%r10 # future alloca(8*(num+2)+256+8) 109 neg $num # restore $num 136 mov %rax,8(%rsp,$num,8) # tp[num+1]=%rsp 137 .cfi_cfa_expression %rsp+8,$num,8,mul,plus,deref,+8 148 lea 24-112(%rsp,$num,8),%r10# place the mask after tp[num+3] (+ICache optimization) 274 cmp $num,$j [all …]
|
D | bn-586.pl | 266 $num="ebp"; 271 &mov($num,&wparam(2)); # 274 &and($num,0xfffffff8); # num / 8 296 &sub($num,8); 301 &mov($num,&wparam(2)); # get num 302 &and($num,7); 317 &dec($num) if ($i != 7-1); 368 $num="ebx"; 372 &mov($num,&wparam(2)); # 374 &and($num,0xfffffff8); # num / 8 [all …]
|
D | x86_64-mont.pl | 69 $num="%r9"; # int num); 88 mov ${num}d,${num}d 91 test \$3,${num}d 93 cmp \$8,${num}d 103 test \$7,${num}d 122 neg $num 124 lea -16(%rsp,$num,8),%r10 # future alloca(8*(num+2)) 125 neg $num # restore $num 152 mov %rax,8(%rsp,$num,8) # tp[num+1]=%rsp 153 .cfi_cfa_expression %rsp+8,$num,8,mul,plus,deref,+8 [all …]
|
D | armv4-mont.pl | 72 $num="r0"; # starts as num argument, but holds &tp[num-1] 90 $_rp="$num,#12*4"; 92 $_bp="$num,#13*4"; 94 $_n0="$num,#14*4"; 95 $_num="$num,#15*4"; $_bpend=$_num; 140 mov $num,ip @ load num 150 mov $num,$num,lsl#2 @ rescale $num for byte count 151 sub sp,sp,$num @ alloca(4*num) 153 sub $num,$num,#4 @ "num=num-1" 154 add $tp,$bp,$num @ &bp[num-1] [all …]
|
/external/libyuv/files/unit_test/ |
D | math_test.cc | 24 int num[1280]; in TEST_F() local 68 MemRandomize(reinterpret_cast<uint8*>(&num[0]), sizeof(num)); in TEST_F() 74 num[j] &= 0xffff; // Clamp to avoid divide overflow. in TEST_F() 78 result_opt[j] = libyuv::FixedDiv(num[j], div[j]); in TEST_F() 82 result_c[j] = libyuv::FixedDiv_C(num[j], div[j]); in TEST_F() 88 int num[1280]; in TEST_F() local 93 MemRandomize(reinterpret_cast<uint8*>(&num[0]), sizeof(num)); in TEST_F() 96 num[j] &= 4095; // Make numerator smaller. in TEST_F() 107 result_opt[j] = libyuv::FixedDiv(num[j], div[j]); in TEST_F() 111 result_opt[j] = libyuv::FixedDiv_C(num[j], div[j]); in TEST_F() [all …]
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_pagelabel.cpp | 16 CFX_WideString MakeRoman(int num) { in MakeRoman() argument 23 num %= kMaxNum; in MakeRoman() 26 while (num > 0) { in MakeRoman() 27 while (num >= kArabic[i]) { in MakeRoman() 28 num = num - kArabic[i]; in MakeRoman() 36 CFX_WideString MakeLetters(int num) { in MakeLetters() argument 37 if (num == 0) in MakeLetters() 43 --num; in MakeLetters() 45 int count = num / nLetterCount + 1; in MakeLetters() 47 FX_WCHAR ch = L'a' + num % nLetterCount; in MakeLetters() [all …]
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | division_operations.c | 26 uint32_t WebRtcSpl_DivU32U16(uint32_t num, uint16_t den) in WebRtcSpl_DivU32U16() argument 31 return (uint32_t)(num / den); in WebRtcSpl_DivU32U16() 38 int32_t WebRtcSpl_DivW32W16(int32_t num, int16_t den) in WebRtcSpl_DivW32W16() argument 43 return (int32_t)(num / den); in WebRtcSpl_DivW32W16() 50 int16_t WebRtcSpl_DivW32W16ResW16(int32_t num, int16_t den) in WebRtcSpl_DivW32W16ResW16() argument 55 return (int16_t)(num / den); in WebRtcSpl_DivW32W16ResW16() 62 int32_t WebRtcSpl_DivResultInQ31(int32_t num, int32_t den) in WebRtcSpl_DivResultInQ31() argument 64 int32_t L_num = num; in WebRtcSpl_DivResultInQ31() 70 if (num == 0) in WebRtcSpl_DivResultInQ31() 73 if (num < 0) in WebRtcSpl_DivResultInQ31() [all …]
|