Home
last modified time | relevance | path

Searched refs:divider (Results 1 – 25 of 95) sorted by relevance

1234

/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DHttpPostRequestTest.java73 String divider = UUID.randomUUID().toString(); in preparePostWithMultipartForm() local
74 …ServerTest.URI + " HTTP/1.1\nContent-Type: " + "multipart/form-data, boundary=" + divider + "\r\n"; in preparePostWithMultipartForm()
76 …"--" + divider + "\r\n" + "Content-Disposition: form-data; name=\"" + HttpPostRequestTest.FIELD + … in preparePostWithMultipartForm()
77 … + "Content-Type: image/jpeg\r\n" + "\r\n" + fileContent + "\r\n" + "--" + divider + "--\r\n"; in preparePostWithMultipartForm()
117 String divider = UUID.randomUUID().toString(); in testPostWithMultipleMultipartFormFields() local
118 …tpServerTest.URI + " HTTP/1.1\nContent-Type: " + "multipart/form-data; boundary=" + divider + "\n"; in testPostWithMultipleMultipartFormFields()
120 …"--" + divider + "\r\n" + "Content-Disposition: form-data; name=\"" + HttpPostRequestTest.FIELD + … in testPostWithMultipleMultipartFormFields()
121 …+ "--" + divider + "\r\n" + "Content-Disposition: form-data; name=\"" + HttpPostRequestTest.FIELD2… in testPostWithMultipleMultipartFormFields()
122 + "\r\n" + "--" + divider + "--\r\n"; in testPostWithMultipleMultipartFormFields()
136 String divider = UUID.randomUUID().toString(); in testPostWithMultipleMultipartFormFieldsWhereContentTypeWasSeparatedByComma() local
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/
DDividerItemDecoration.java78 private Drawable divider; field in DividerItemDecoration
87 final Drawable divider = in DividerItemDecoration() local
97 setDivider(divider); in DividerItemDecoration()
104 if (divider == null) { in onDraw()
114 divider.setBounds(0, top, width, top + dividerHeight); in onDraw()
115 divider.draw(c); in onDraw()
185 public void setDivider(Drawable divider) { in setDivider() argument
186 if (divider != null) { in setDivider()
187 dividerIntrinsicHeight = divider.getIntrinsicHeight(); in setDivider()
191 this.divider = divider; in setDivider()
[all …]
/external/u-boot/arch/x86/lib/
Ddiv64.c57 static u64 _64bit_divide(u64 dividend, u64 divider, u64 *rem_p) in _64bit_divide() argument
65 if (!divider) in _64bit_divide()
66 return 1 / (u32)divider; in _64bit_divide()
70 if (divider > MAX_32BIT_UINT) { in _64bit_divide()
73 *rem_p = divider; in _64bit_divide()
75 result = (u32)dividend / (u32)divider; in _64bit_divide()
77 *rem_p = (u32)dividend % (u32)divider; in _64bit_divide()
82 while (divider <= dividend) { in _64bit_divide()
83 u64 locald = divider; in _64bit_divide()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorIntDiv.h110 …EN_DEVICE_FUNC EIGEN_ALWAYS_INLINE uint32_t computeMultiplier(const int log_div, const T divider) { in computeMultiplier()
112 …return static_cast<uint32_t>((static_cast<uint64_t>(1) << (N+log_div)) / divider - (static_cast<ui… in computeMultiplier()
118 …EN_DEVICE_FUNC EIGEN_ALWAYS_INLINE uint64_t computeMultiplier(const int log_div, const T divider) {
120 …(static_cast<__uint128_t>(1) << (64+log_div)) / static_cast<__uint128_t>(divider) - (static_cast<_…
123 …TensorUInt128<uint64_t, static_val<0> >(shift, 0) / TensorUInt128<static_val<0>, uint64_t>(divider)
145 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorIntDivisor(const T divider) {
147 …eigen_assert(static_cast<typename UnsignedTraits<T>::type>(divider) < NumTraits<UnsignedType>::hig…
148 eigen_assert(divider > 0);
151 const int leading_zeros = count_leading_zeros(static_cast<UnsignedType>(divider));
154 …ignedTraits<T>::type>(1) << (log_div-1)) == static_cast<typename UnsignedTraits<T>::type>(divider))
[all …]
/external/u-boot/arch/arm/mach-tegra/
Dclock.c248 u64 divider = parent_rate * 2; in clk_get_divider() local
251 divider += rate - 1; in clk_get_divider()
252 do_div(divider, rate); in clk_get_divider()
254 if ((s64)divider - 2 < 0) in clk_get_divider()
257 if ((s64)divider - 2 >= max_divider) in clk_get_divider()
260 return divider - 2; in clk_get_divider()
300 int divider) in get_rate_from_divider() argument
305 do_div(rate, divider + 2); in get_rate_from_divider()
378 int divider = clk_get_divider(divider_bits, divided_parent, in find_best_divider() local
381 divider); in find_best_divider()
[all …]
/external/u-boot/arch/arm/dts/
Ddm816x-clocks.dtsi99 compatible = "ti,divider-clock";
117 compatible = "ti,divider-clock";
125 compatible = "ti,divider-clock";
133 compatible = "ti,divider-clock";
141 compatible = "ti,divider-clock";
149 compatible = "ti,divider-clock";
157 compatible = "ti,divider-clock";
165 compatible = "ti,divider-clock";
173 compatible = "ti,divider-clock";
189 compatible = "ti,divider-clock";
Ddra7xx-clocks.dtsi214 compatible = "ti,divider-clock";
225 compatible = "ti,divider-clock";
234 compatible = "ti,divider-clock";
245 compatible = "ti,divider-clock";
277 compatible = "ti,divider-clock";
303 compatible = "ti,divider-clock";
347 compatible = "ti,divider-clock";
385 compatible = "ti,divider-clock";
423 compatible = "ti,divider-clock";
436 compatible = "ti,divider-clock";
[all …]
Dam33xx-clocks.dtsi181 compatible = "ti,divider-clock";
190 compatible = "ti,divider-clock";
199 compatible = "ti,divider-clock";
215 compatible = "ti,divider-clock";
231 compatible = "ti,divider-clock";
255 compatible = "ti,divider-clock";
272 compatible = "ti,divider-clock";
558 compatible = "ti,divider-clock";
573 compatible = "ti,divider-clock";
614 compatible = "ti,divider-clock";
[all …]
Dam43xx-clocks.dtsi213 compatible = "ti,divider-clock";
224 compatible = "ti,divider-clock";
235 compatible = "ti,divider-clock";
253 compatible = "ti,divider-clock";
271 compatible = "ti,divider-clock";
289 compatible = "ti,divider-clock";
308 compatible = "ti,divider-clock";
568 compatible = "ti,divider-clock";
591 compatible = "ti,divider-clock";
667 compatible = "ti,divider-clock";
[all …]
/external/eigen/unsupported/test/
Dcxx11_tensor_intdiv.cpp100 Eigen::internal::TensorIntDivisor<int32_t> divider = in test_powers_32bit() local
103 int32_t result_op = divider.divide(num); in test_powers_32bit()
119 Eigen::internal::TensorIntDivisor<int64_t> divider(div); in test_powers_64bit() local
121 int64_t result_op = divider.divide(num); in test_powers_64bit()
132 Eigen::internal::TensorIntDivisor<int64_t> divider(div); in test_specific() local
134 int64_t result_op = divider.divide(num); in test_specific()
Dcxx11_tensor_uint128.cpp134 for (int64_t divider = 1; divider <= 1000000 * incr; divider += incr) { in test_misc2() local
135 …d = (static_cast<uint128_t>(1) << (64+log_div)) / static_cast<uint128_t>(divider) - (static_cast<u… in test_misc2()
138 …64_t, static_val<0> >(shift, 0) / TensorUInt128<static_val<0>, uint64_t>(divider) - TensorUInt128<… in test_misc2()
/external/freetype/src/psaux/
Dpsconv.c205 FT_Long divider = 1; in PS_Conv_ToFixed() local
262 if ( divider < 0xCCCCCCCL && decimal < 0xCCCCCCCL ) in PS_Conv_ToFixed()
269 divider *= 10; in PS_Conv_ToFixed()
315 if ( divider == 1 ) in PS_Conv_ToFixed()
317 divider /= 10; in PS_Conv_ToFixed()
328 if ( divider < 0xCCCCCCCL ) in PS_Conv_ToFixed()
329 divider *= 10; in PS_Conv_ToFixed()
341 decimal = FT_DivFix( decimal, divider ); in PS_Conv_ToFixed()
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
DKconfig380 int "Platform clock divider"
386 This is the divider that is used to derive Platform clock from
391 int "DSPI clock divider"
395 This is the divider that is used to derive DSPI clock from Platform
399 int "DUART clock divider"
403 This is the divider that is used to derive DUART clock from Platform
407 int "I2C clock divider"
411 This is the divider that is used to derive I2C clock from Platform
415 int "IFC clock divider"
419 This is the divider that is used to derive IFC clock from Platform
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DListMixin.java47 private Drawable divider; field in ListMixin
105 if (divider == null) { in onLayout()
190 divider = in updateDivider()
198 listView.setDivider(divider); in updateDivider()
204 return divider; in getDivider()
DRecyclerMixin.java63 private Drawable divider; field in RecyclerMixin
162 if (divider == null) { in onLayout()
237 divider = in updateDivider()
245 dividerDecoration.setDivider(divider); in updateDivider()
251 return divider; in getDivider()
/external/u-boot/drivers/clk/
Dclk_stm32h7.c430 u32 divider; in stm32_get_HSI_divider() local
433 divider = readl(&regs->cr) & RCC_CR_HSIDIV_MASK; in stm32_get_HSI_divider()
434 divider = divider >> RCC_CR_HSIDIV_SHIFT; in stm32_get_HSI_divider()
436 return divider; in stm32_get_HSI_divider()
462 u32 divider; in stm32_get_rate() local
481 divider = 0; in stm32_get_rate()
483 divider = stm32_get_HSI_divider(regs); in stm32_get_rate()
486 divider, clk_get_rate(&clk)); in stm32_get_rate()
488 return clk_get_rate(&clk) >> divider; in stm32_get_rate()
/external/u-boot/arch/m68k/cpu/mcf532x/
Dspeed.c54 int divider; in get_sys_clock() local
58 divider = in_be16(&ccm->cdr) & CCM_CDR_LPDIV(0xF); in get_sys_clock()
60 return (FREF / (3 * (1 << divider))); in get_sys_clock()
63 return (FREF / (2 << divider)); in get_sys_clock()
/external/iperf3/docs/_esnet/static/
Desnet.css66 * Veritcal divider
68 .navbar .divider-vertical {
75 .navbar-inverse .divider-vertical {
81 .navbar-collapse .nav > .divider-vertical {
/external/python/rsa/rsa/
Dcommon.py142 (divider, inv, _) = extended_gcd(x, n)
144 if divider != 1:
145 raise NotRelativePrimeError(x, n, divider)
/external/u-boot/drivers/i2c/
Dfsl_i2c.c85 unsigned short divider; member
122 ushort divider = min(i2c_clk / speed, (uint)USHRT_MAX); in set_i2c_bus_speed() local
144 speed = i2c_clk / divider; /* Fake something */ in set_i2c_bus_speed()
155 if (c_div > divider && c_div < est_div) { in set_i2c_bus_speed()
180 debug("divider: %d, est_div: %ld, DFSR: %d\n", divider, est_div, dfsr); in set_i2c_bus_speed()
189 if (fsl_i2c_speed_map[i].divider >= divider) { in set_i2c_bus_speed()
193 speed = i2c_clk / fsl_i2c_speed_map[i].divider; in set_i2c_bus_speed()
/external/u-boot/drivers/mmc/
Dmxcmmc.c423 unsigned int divider; in mxcmci_set_clk_rate() local
428 for (divider = 1; divider <= 0xF; divider++) { in mxcmci_set_clk_rate()
431 x = (clk_in / (divider + 1)); in mxcmci_set_clk_rate()
439 if (divider < 0x10) in mxcmci_set_clk_rate()
448 writel((prescaler << 4) | divider, &host->base->clk_rate); in mxcmci_set_clk_rate()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleTests.cpp1397 deUint32 divider = 2; in iterateInternal() local
1402 depth += (range / (float)divider) in iterateInternal()
1404 divider *= 2; in iterateInternal()
1456 deUint32 divider = 2; in iterateInternal() local
1466 color[compNdx] += (range[compNdx] / divider) in iterateInternal()
1473 divider *= 2; in iterateInternal()
1501 deUint32 divider = 2; in iterateInternal() local
1511 color[compNdx] += (range[compNdx] / divider) in iterateInternal()
1518 divider *= 2; in iterateInternal()
1551 deUint32 divider = 2; in iterateInternal() local
[all …]
/external/u-boot/arch/powerpc/cpu/mpc8xx/
Dspeed.c21 uint divider = 1 << (((sccr & SCCR_DFBRG11) >> 11) * 2); in get_clocks() local
39 gd->arch.brg_clk = gd->cpu_clk / divider; in get_clocks()
/external/ltp/lib/
Drandom_range.c99 static long long divider(long long, long long, long long, long long);
352 randnum = divider(min, max, 0, -1); in random_range()
439 randnum = divider(min, max, 0, -1); in random_rangel()
526 randnum = divider(min, max, 0, -1); in random_rangell()
547 divider(long long min, long long max, long long cnt, long long rand) in divider() function
596 return divider(med, max, cnt + 1, rand); in divider()
598 return divider(min, med, cnt + 1, rand); in divider()
/external/u-boot/drivers/serial/
Dserial_pxa.c61 uint32_t divider = pxa_uart_get_baud_divider(baudrate); in pxa_setbrg_common() local
62 if (!divider) in pxa_setbrg_common()
74 writel(divider & 0xff, &uart_regs->dll); in pxa_setbrg_common()
75 writel(divider >> 8, &uart_regs->dlh); in pxa_setbrg_common()

1234