Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 1686) sorted by relevance

12345678910>>...68

/external/curl/tests/libtest/
Dlib557.c59 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/valgrind/VEX/priv/
Dtilegx_disasm.h80 get_BFEnd_X0(tilegx_bundle_bits num) in get_BFEnd_X0() argument
82 const UInt n = (UInt)num; in get_BFEnd_X0()
87 get_BFOpcodeExtension_X0(tilegx_bundle_bits num) in get_BFOpcodeExtension_X0() argument
89 const UInt n = (UInt)num; in get_BFOpcodeExtension_X0()
94 get_BFStart_X0(tilegx_bundle_bits num) in get_BFStart_X0() argument
96 const UInt n = (UInt)num; in get_BFStart_X0()
121 get_Dest_X0(tilegx_bundle_bits num) in get_Dest_X0() argument
123 const UInt n = (UInt)num; in get_Dest_X0()
134 get_Dest_Y0(tilegx_bundle_bits num) in get_Dest_Y0() argument
136 const UInt n = (UInt)num; in get_Dest_Y0()
[all …]
/external/libnfc-nci/halimpl/pn54x/log/
DphNxpLog.c54 unsigned long num = 0; in phNxpLog_SetGlobalLogLevel() local
61 sscanf (valueStr, "%lu", &num); in phNxpLog_SetGlobalLogLevel()
62 level = (unsigned char) num; in phNxpLog_SetGlobalLogLevel()
79 unsigned long num = 0; in phNxpLog_SetHALLogLevel() local
83 if (GetNxpNumValue (NAME_NXPLOG_HAL_LOGLEVEL, &num, sizeof(num))) in phNxpLog_SetHALLogLevel()
85 gLog_level.hal_log_level = (level > (unsigned char) num) ? level : (unsigned char) num;; in phNxpLog_SetHALLogLevel()
92 sscanf (valueStr, "%lu", &num); in phNxpLog_SetHALLogLevel()
93 gLog_level.hal_log_level = (unsigned char) num; in phNxpLog_SetHALLogLevel()
108 unsigned long num = 0; in phNxpLog_SetExtnsLogLevel() local
111 if (GetNxpNumValue (NAME_NXPLOG_EXTNS_LOGLEVEL, &num, sizeof(num))) in phNxpLog_SetExtnsLogLevel()
[all …]
/external/clang/test/SemaCXX/
Derr_typecheck_assign_const_filecheck.cpp4 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/libnfc-nci/halimpl/bcm2079x/adaptation/
DHalAdaptation.cpp88 unsigned long num = 0; in HaiInitializeLibrary() local
95 if ( GetNumValue ( NAME_GLOBAL_RESET, &num, sizeof ( num ) ) ) in HaiInitializeLibrary()
97 if (num == 1) in HaiInitializeLibrary()
106 if ( GetNumValue ( NAME_PRESERVE_STORAGE, (char*)&num, sizeof ( num ) ) && in HaiInitializeLibrary()
107 (num == 1) ) in HaiInitializeLibrary()
114 if ( GetNumValue ( NAME_USE_RAW_NCI_TRACE, &num, sizeof ( num ) ) ) in HaiInitializeLibrary()
116 if (num == 1) in HaiInitializeLibrary()
150 else if ( GetNumValue ( NAME_UART_STOPBITS, &num, sizeof ( num ) ) ) in HaiInitializeLibrary()
152 if ( num == 1 ) in HaiInitializeLibrary()
154 else if ( num == 2 ) in HaiInitializeLibrary()
[all …]
DOverrideLog.cpp53 unsigned long num = 0; in InitializeGlobalAppLogLevel() local
56 num = 1; in InitializeGlobalAppLogLevel()
57 if (GetNumValue (NAME_APPL_TRACE_LEVEL, &num, sizeof(num))) in InitializeGlobalAppLogLevel()
58 appl_trace_level = (unsigned char) num; in InitializeGlobalAppLogLevel()
64 sscanf (valueStr, "%lu", &num); in InitializeGlobalAppLogLevel()
65 appl_trace_level = (unsigned char) num; in InitializeGlobalAppLogLevel()
83 UINT32 num = 0; in InitializeProtocolLogLevel() local
86 if ( GetNumValue ( NAME_PROTOCOL_TRACE_LEVEL, &num, sizeof ( num ) ) ) in InitializeProtocolLogLevel()
87 ScrProtocolTraceFlag = num; in InitializeProtocolLogLevel()
/external/e2fsprogs/misc/
Duuidd.c142 int buflen, int *num, const char **err_context) in call_daemon() argument
151 if (((op == 4) || (op == 5)) && !num) { in call_daemon()
177 if ((*num)*16 > buflen-4) in call_daemon()
178 *num = (buflen-4) / 16; in call_daemon()
183 memcpy(op_buf+1, num, sizeof(int)); in call_daemon()
212 memcpy(buf+16, num, sizeof(int)); in call_daemon()
214 *num = -1; in call_daemon()
217 if (*num >= (int) sizeof(int)) in call_daemon()
218 memcpy(buf, num, sizeof(int)); in call_daemon()
220 *num = -1; in call_daemon()
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dsdivrem24.ll17 %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 …]
Dudivrem24.ll17 %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.i24.0 = shl i32 %num, 8
59 %num.i24 = lshr i32 %num.i24.0, 8
61 %result = udiv i32 %num.i24, %den.i24
75 %num = load i32, i32 addrspace(1) * %in, align 4
77 %num.i24.0 = shl i32 %num, 7
[all …]
/external/icu/icu4c/source/test/perf/DateFmtPerf/
DDateFmtPerf.h52 int num;
57 BreakItFunction(){num = -1;} in BreakItFunction()
58 BreakItFunction(int a, bool b){num = a; wordIteration = b;} in BreakItFunction()
66 for(int i = 0; i < num; i++) in call()
83 for(int i = 0; i < num; i++) in call()
103 if(wordIteration) return 125*num; in getOperationsPerIteration()
104 else return 355*num; in getOperationsPerIteration()
145 int num;
151 num = -1; in DateFmtFunction()
156 num = a; in DateFmtFunction()
[all …]
/external/squashfs-tools/squashfs-tools/
Dswap.c69 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/
Dtypedefs.pass.cpp16 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/
DStackMap.java141 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/boringssl/src/crypto/bio/
Dbuffer.c142 int i, num = 0; in buffer_read() local
151 num = 0; in buffer_read()
164 num += i; in buffer_read()
166 return num; in buffer_read()
182 return (num > 0) ? num : i; in buffer_read()
184 return num; in buffer_read()
186 num += i; in buffer_read()
188 return num; in buffer_read()
201 return (num > 0) ? num : i; in buffer_read()
203 return num; in buffer_read()
[all …]
/external/e2fsprogs/lib/e2p/
Dparse_num.c19 unsigned long long num; in parse_num_blocks2() local
21 num = strtoull(arg, &p, 0); in parse_num_blocks2()
28 num <<= 10; in parse_num_blocks2()
31 num <<= 10; in parse_num_blocks2()
34 num <<= 10; in parse_num_blocks2()
38 num <<= 10; in parse_num_blocks2()
40 num >>= log_block_size; in parse_num_blocks2()
44 num <<= 9; in parse_num_blocks2()
46 num >>= (1+log_block_size); in parse_num_blocks2()
53 return num; in parse_num_blocks2()
[all …]
Dhashstr.c21 int num; member
32 const char *e2p_hash2string(int num) in e2p_hash2string() argument
38 if (num == p->num) in e2p_hash2string()
41 sprintf(buf, "HASHALG_%d", num); in e2p_hash2string()
52 int num; in e2p_string2hash() local
56 return p->num; in e2p_string2hash()
64 num = strtol(string+8, &eptr, 10); in e2p_string2hash()
65 if (num > 255 || num < 0) in e2p_string2hash()
69 return num; in e2p_string2hash()
/external/boringssl/src/crypto/bn/asm/
Dx86_64-mont5.pl54 $num="%r9"; # int num,
76 test \$7,${num}d
87 mov ${num}d,${num}d
103 lea 2($num),%r11
108 mov %rax,8(%rsp,$num,8) # tp[num+1]=%rsp
201 cmp $num,$j
218 mov $hi1,-8(%rsp,$num,8)
219 mov %rdx,(%rsp,$num,8) # store upmost overflow bit
284 cmp $num,$j
303 mov $hi1,-8(%rsp,$num,8)
[all …]
Dbn-586.pl261 $num="ebp";
266 &mov($num,&wparam(2)); #
269 &and($num,0xfffffff8); # num / 8
291 &sub($num,8);
296 &mov($num,&wparam(2)); # get num
297 &and($num,7);
312 &dec($num) if ($i != 7-1);
363 $num="ebx";
367 &mov($num,&wparam(2)); #
369 &and($num,0xfffffff8); # num / 8
[all …]
Dx86_64-mont.pl69 $num="%r9"; # int num);
87 test \$3,${num}d
89 cmp \$8,${num}d
98 test \$7,${num}d
111 mov ${num}d,${num}d
112 lea 2($num),%r10
118 mov %r11,8(%rsp,$num,8) # tp[num+1]=%rsp
168 cmp $num,$j
183 mov $hi1,-8(%rsp,$num,8)
184 mov %rdx,(%rsp,$num,8) # store upmost overflow bit
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c71 unsigned num, in llvmpipe_bind_sampler_states() argument
78 assert(start + num <= Elements(llvmpipe->samplers[shader])); in llvmpipe_bind_sampler_states()
81 if (start + num <= llvmpipe->num_samplers[shader] && in llvmpipe_bind_sampler_states()
83 num * sizeof(void *))) { in llvmpipe_bind_sampler_states()
90 for (i = 0; i < num; i++) { in llvmpipe_bind_sampler_states()
96 unsigned j = MAX2(llvmpipe->num_samplers[shader], start + num); in llvmpipe_bind_sampler_states()
115 unsigned num, void **samplers) in llvmpipe_bind_fragment_sampler_states() argument
117 llvmpipe_bind_sampler_states(pipe, PIPE_SHADER_FRAGMENT, 0, num, samplers); in llvmpipe_bind_fragment_sampler_states()
123 unsigned num, void **samplers) in llvmpipe_bind_vertex_sampler_states() argument
125 llvmpipe_bind_sampler_states(pipe, PIPE_SHADER_VERTEX, 0, num, samplers); in llvmpipe_bind_vertex_sampler_states()
[all …]
/external/boringssl/src/crypto/stack/
Dstack.c99 return sk->num; in sk_num()
103 if (sk == NULL || sk->num == 0) { in sk_zero()
106 memset(sk->data, 0, sizeof(void*) * sk->num); in sk_zero()
107 sk->num = 0; in sk_zero()
112 if (!sk || i >= sk->num) { in sk_value()
119 if (!sk || i >= sk->num) { in sk_set()
140 for (i = 0; i < sk->num; i++) { in sk_pop_free()
153 if (sk->num_alloc <= sk->num + 1) { in sk_insert()
179 if (where >= sk->num) { in sk_insert()
180 sk->data[sk->num] = p; in sk_insert()
[all …]
/external/libnfc-nci/src/adaptation/
DOverrideLog.cpp52 unsigned long num = 0; in initializeGlobalAppLogLevel() local
55 num = 1; in initializeGlobalAppLogLevel()
56 if (GetNumValue (NAME_APPL_TRACE_LEVEL, &num, sizeof(num))) in initializeGlobalAppLogLevel()
57 appl_trace_level = (unsigned char) num; in initializeGlobalAppLogLevel()
63 sscanf (valueStr, "%lu", &num); in initializeGlobalAppLogLevel()
64 appl_trace_level = (unsigned char) num; in initializeGlobalAppLogLevel()
82 UINT32 num = 0; in initializeProtocolLogLevel() local
85 if ( GetNumValue ( NAME_PROTOCOL_TRACE_LEVEL, &num, sizeof ( num ) ) ) in initializeProtocolLogLevel()
86 ScrProtocolTraceFlag = num; in initializeProtocolLogLevel()
/external/webrtc/webrtc/common_audio/signal_processing/
Ddivision_operations.c26 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 …]
/external/boringssl/src/crypto/modes/
Dcfb.c60 const void *key, uint8_t ivec[16], int *num, int enc, in CRYPTO_cfb128_encrypt() argument
65 assert(in && out && key && ivec && num); in CRYPTO_cfb128_encrypt()
67 n = *num; in CRYPTO_cfb128_encrypt()
85 *num = n; in CRYPTO_cfb128_encrypt()
106 *num = n; in CRYPTO_cfb128_encrypt()
127 *num = n; in CRYPTO_cfb128_encrypt()
151 *num = n; in CRYPTO_cfb128_encrypt()
162 int n, rem, num; in cfbr_encrypt_block() local
174 num = (nbits + 7) / 8; in cfbr_encrypt_block()
177 for (n = 0; n < num; ++n) { in cfbr_encrypt_block()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DProperBigFractionFormat.java95 BigInteger num = fraction.getNumerator(); in format() local
97 BigInteger whole = num.divide(den); in format()
98 num = num.remainder(den); in format()
103 if (num.compareTo(BigInteger.ZERO) < 0) { in format()
104 num = num.negate(); in format()
107 getNumeratorFormat().format(num, toAppendTo, pos); in format()
161 BigInteger num = parseNextBigInteger(source, pos); in parse() local
162 if (num == null) { in parse()
170 if (num.compareTo(BigInteger.ZERO) < 0) { in parse()
183 return new BigFraction(num); in parse()
[all …]

12345678910>>...68