/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | cell_reader_test.cc | 319 EXPECT_FLOAT_EQ(histogram.num(), 0.0); in TEST() 322 EXPECT_FLOAT_EQ(histogram.num(0), 0.0); in TEST() 323 EXPECT_FLOAT_EQ(histogram.num(1), 0.0); in TEST() 324 EXPECT_FLOAT_EQ(histogram.num(2), 0.0); in TEST() 325 EXPECT_FLOAT_EQ(histogram.num(3), 0.0); in TEST() 326 EXPECT_FLOAT_EQ(histogram.num(4), 0.0); in TEST() 327 EXPECT_FLOAT_EQ(histogram.num(5), 0.0); in TEST() 328 EXPECT_FLOAT_EQ(histogram.num(6), 0.0); in TEST() 329 EXPECT_FLOAT_EQ(histogram.num(7), 0.0); in TEST() 330 EXPECT_FLOAT_EQ(histogram.num(8), 0.0); in TEST() [all …]
|
D | test_utils_test.cc | 82 EXPECT_FLOAT_EQ(delta.num(), 2.0); in TEST() 85 EXPECT_FLOAT_EQ(delta.num(0), 0.0); in TEST() 86 EXPECT_FLOAT_EQ(delta.num(1), 0.0); in TEST() 87 EXPECT_FLOAT_EQ(delta.num(2), 1.0); in TEST() 88 EXPECT_FLOAT_EQ(delta.num(3), 1.0); in TEST() 166 EXPECT_FLOAT_EQ(delta.num(), 3.0); in TEST() 169 EXPECT_FLOAT_EQ(delta.num(0), 3.0); in TEST() 170 EXPECT_FLOAT_EQ(delta.num(1), 0.0); in TEST() 171 EXPECT_FLOAT_EQ(delta.num(2), 0.0); in TEST() 172 EXPECT_FLOAT_EQ(delta.num(3), 0.0); in TEST() [all …]
|
/external/curl/tests/libtest/ |
D | lib557.c | 67 unsigned short num; /* unsigned short */ member 74 short num; /* signed short */ member 81 unsigned int num; /* unsigned int */ member 88 int num; /* signed int */ member 95 unsigned long num; /* unsigned long */ member 102 long num; /* signed long */ member 109 curl_off_t num; /* curl_off_t */ member 130 i = 1; us_test[i].num = 0xFFFFU; us_test[i].expected = "65535"; in test_unsigned_short_formatting() 131 i++; us_test[i].num = 0xFF00U; us_test[i].expected = "65280"; in test_unsigned_short_formatting() 132 i++; us_test[i].num = 0x00FFU; us_test[i].expected = "255"; in test_unsigned_short_formatting() [all …]
|
/external/skia/resources/sksl/folding/ |
D | PreserveSideEffects.rts | 8 float num = 0.0; 9 ok = ok && float2(++num, 0).y == 0.0; // num => 1 10 ok = ok && float2(0, ++num).x == 0.0; // num => 2 12 ok = ok && float3(++num, float2(1, 0)).yz == float2(1, 0); // num => 3 13 ok = ok && float3(float2(1, 0), ++num).xy == float2(1, 0); // num => 4 14 ok = ok && float3(float2(++num, 1), 0).yz == float2(1, 0); // num => 5 16 ok = ok && float4(++num, float3(1, 0, 0)).yzw == float3(1, 0, 0); // num => 6 17 ok = ok && float4(1, ++num, float2(1, 0)).x == 1.0; // num => 7 18 ok = ok && float4(float2(1, 0), ++num, 1).w == 1.0; // num => 8 19 ok = ok && float4(float2(1, 0), float2(1, ++num)).xyz == float3(1, 0, 1); // num => 9 [all …]
|
/external/rust/crates/num-bigint/ |
D | RELEASES.md | 7 [228]: https://github.com/rust-num/num-bigint/pull/228 8 [GHSA-v935-pqmr-g8v9]: https://github.com/rust-num/num-bigint/security/advisories/GHSA-v935-pqmr-g8… 16 [219]: https://github.com/rust-num/num-bigint/pull/219 27 [199]: https://github.com/rust-num/num-bigint/pull/199 28 [200]: https://github.com/rust-num/num-bigint/pull/200 29 [208]: https://github.com/rust-num/num-bigint/pull/208 30 [216]: https://github.com/rust-num/num-bigint/pull/216 45 [185]: https://github.com/rust-num/num-bigint/pull/185 46 [194]: https://github.com/rust-num/num-bigint/pull/194 47 [195]: https://github.com/rust-num/num-bigint/pull/195 [all …]
|
D | TEST_MAPPING | 10 "name": "num-bigint_test_src_lib" 13 "name": "num-bigint_test_tests_bigint" 16 "name": "num-bigint_test_tests_bigint_bitwise" 19 "name": "num-bigint_test_tests_bigint_scalar" 22 "name": "num-bigint_test_tests_biguint" 25 "name": "num-bigint_test_tests_biguint_scalar" 28 "name": "num-bigint_test_tests_fuzzed" 31 "name": "num-bigint_test_tests_modpow" 34 "name": "num-bigint_test_tests_roots" 39 "name": "num-bigint_test_src_lib" [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/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/rust/crates/num-derive/ |
D | RELEASES.md | 5 [41]: https://github.com/rust-num/num-derive/pull/41 11 [40]: https://github.com/rust-num/num-derive/pull/40 18 [35]: https://github.com/rust-num/num-derive/pull/35 19 [39]: https://github.com/rust-num/num-derive/pull/39 26 [28]: https://github.com/rust-num/num-derive/pull/28 32 [23]: https://github.com/rust-num/num-derive/pull/23 38 [22]: https://github.com/rust-num/num-derive/pull/22 46 [17]: https://github.com/rust-num/num-derive/pull/17 52 [14]: https://github.com/rust-num/num-derive/pull/14 58 [12]: https://github.com/rust-num/num-derive/pull/12 [all …]
|
/external/rust/crates/num-traits/ |
D | RELEASES.md | 20 [195]: https://github.com/rust-num/num-traits/pull/195 21 [196]: https://github.com/rust-num/num-traits/pull/196 22 [201]: https://github.com/rust-num/num-traits/pull/201 23 [202]: https://github.com/rust-num/num-traits/pull/202 24 [205]: https://github.com/rust-num/num-traits/pull/205 25 [207]: https://github.com/rust-num/num-traits/pull/207 26 [210]: https://github.com/rust-num/num-traits/pull/210 27 [214]: https://github.com/rust-num/num-traits/pull/214 50 [180]: https://github.com/rust-num/num-traits/pull/180 51 [185]: https://github.com/rust-num/num-traits/pull/185 [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/rust/crates/minimal-lexical/src/ |
D | parse.rs | 10 use crate::num::Float; 30 let mut num = Number::default(); in parse_number_fast() localVariable 36 num.mantissa = num.mantissa.wrapping_mul(10).wrapping_add(digit as u64); in parse_number_fast() 41 num.mantissa = num.mantissa.wrapping_mul(10).wrapping_add(digit as u64); in parse_number_fast() 46 num.exponent = exponent.saturating_sub(fraction_count as i32); in parse_number_fast() 47 Some(num) in parse_number_fast() 64 if let Some(num) = parse_number_fast(integer.clone(), fraction.clone(), exponent) { in parse_number() 65 return num; in parse_number() 69 let mut num = Number::default(); in parse_number() localVariable 75 num.many_digits = true; in parse_number() [all …]
|
/external/rust/crates/num-integer/ |
D | RELEASES.md | 11 [45]: https://github.com/rust-num/num-integer/pull/45 12 [46]: https://github.com/rust-num/num-integer/pull/46 13 [47]: https://github.com/rust-num/num-integer/pull/47 23 [35]: https://github.com/rust-num/num-integer/pull/35 32 [31]: https://github.com/rust-num/num-integer/pull/31 40 [29]: https://github.com/rust-num/num-integer/pull/29 48 [25]: https://github.com/rust-num/num-integer/pull/25 59 [11]: https://github.com/rust-num/num-integer/pull/11 60 [16]: https://github.com/rust-num/num-integer/pull/16 61 [18]: https://github.com/rust-num/num-integer/pull/18 [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 | 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 < (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() 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/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() 125 const int num = state.range(0); in TEST_ALL_CASTS_FROM() local 126 test::Benchmark("cpu", Cast<float, int64_t>(num), /*old_benchmark_api=*/false) in TEST_ALL_CASTS_FROM() 128 state.SetItemsProcessed(static_cast<int64_t>(state.iterations()) * num); in TEST_ALL_CASTS_FROM() 129 state.SetBytesProcessed(static_cast<int64_t>(state.iterations()) * num * in TEST_ALL_CASTS_FROM() 135 const int num = state.range(0); in BM_gpu_float_int64() local 138 test::Benchmark("gpu", Cast<float, int64_t>(num), /*old_benchmark_api=*/false) in BM_gpu_float_int64() 141 state.SetItemsProcessed(static_cast<int64_t>(state.iterations()) * num); in BM_gpu_float_int64() 142 state.SetBytesProcessed(static_cast<int64_t>(state.iterations()) * num * in BM_gpu_float_int64() [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_ll_usb.c | 316 HAL_StatusTypeDef USB_FlushTxFifo (USB_OTG_GlobalTypeDef *USBx, uint32_t num) in USB_FlushTxFifo() argument 320 USBx->GRSTCTL = ( USB_OTG_GRSTCTL_TXFFLSH |(uint32_t)( num << 6)); in USB_FlushTxFifo() 416 USBx_DEVICE->DAINTMSK |= USB_OTG_DAINTMSK_IEPM & ((1 << (ep->num))); in USB_ActivateEndpoint() 418 if (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0) in USB_ActivateEndpoint() 420 … USBx_INEP(ep->num)->DIEPCTL |= ((ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ ) | (ep->type << 18 ) |\ in USB_ActivateEndpoint() 421 ((ep->num) << 22 ) | (USB_OTG_DIEPCTL_SD0PID_SEVNFRM) | (USB_OTG_DIEPCTL_USBAEP)); in USB_ActivateEndpoint() 427 USBx_DEVICE->DAINTMSK |= USB_OTG_DAINTMSK_OEPM & ((1 << (ep->num)) << 16); in USB_ActivateEndpoint() 429 if (((USBx_OUTEP(ep->num)->DOEPCTL) & USB_OTG_DOEPCTL_USBAEP) == 0) in USB_ActivateEndpoint() 431 … USBx_OUTEP(ep->num)->DOEPCTL |= ((ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ ) | (ep->type << 18 ) |\ in USB_ActivateEndpoint() 450 if (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0) in USB_ActivateDedicatedEndpoint() [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_ll_usb.c | 316 HAL_StatusTypeDef USB_FlushTxFifo (USB_OTG_GlobalTypeDef *USBx, uint32_t num) in USB_FlushTxFifo() argument 320 USBx->GRSTCTL = ( USB_OTG_GRSTCTL_TXFFLSH |(uint32_t)( num << 6)); in USB_FlushTxFifo() 416 USBx_DEVICE->DAINTMSK |= USB_OTG_DAINTMSK_IEPM & ((1 << (ep->num))); in USB_ActivateEndpoint() 418 if (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0) in USB_ActivateEndpoint() 420 … USBx_INEP(ep->num)->DIEPCTL |= ((ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ ) | (ep->type << 18 ) |\ in USB_ActivateEndpoint() 421 ((ep->num) << 22 ) | (USB_OTG_DIEPCTL_SD0PID_SEVNFRM) | (USB_OTG_DIEPCTL_USBAEP)); in USB_ActivateEndpoint() 427 USBx_DEVICE->DAINTMSK |= USB_OTG_DAINTMSK_OEPM & ((1 << (ep->num)) << 16); in USB_ActivateEndpoint() 429 if (((USBx_OUTEP(ep->num)->DOEPCTL) & USB_OTG_DOEPCTL_USBAEP) == 0) in USB_ActivateEndpoint() 431 … USBx_OUTEP(ep->num)->DOEPCTL |= ((ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ ) | (ep->type << 18 ) |\ in USB_ActivateEndpoint() 450 if (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0) in USB_ActivateDedicatedEndpoint() [all …]
|
/external/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/rust/crates/vulkano/src/swapchain/ |
D | display.rs | 63 let num = unsafe { in enumerate_raw() localVariable 64 let mut num: u32 = 0; in enumerate_raw() localVariable 69 &mut num, in enumerate_raw() 73 num in enumerate_raw() 77 let mut planes = Vec::with_capacity(num as usize); in enumerate_raw() 78 let mut num = num; in enumerate_raw() localVariable 83 &mut num, in enumerate_raw() 87 planes.set_len(num as usize); in enumerate_raw() 95 let num = unsafe { in enumerate_raw() localVariable 96 let mut num: u32 = 0; in enumerate_raw() localVariable [all …]
|
/external/cronet/third_party/icu/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/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/perfetto/ui/src/controller/ |
D | record_config_types.ts | 17 num, 30 durationMs: num(10000.0), 31 maxFileSizeMb: num(100), 32 fileWritePeriodMs: num(2500), 33 bufferSizeMb: num(64.0), 37 cpuFreqPollMs: num(1000), 50 ftraceBufferSizeKb: num(0), 51 ftraceDrainPeriodMs: num(0), 57 androidNetworkTracingPollMs: num(250), 60 cpuCoarsePollMs: num(1000), [all …]
|