Home
last modified time | relevance | path

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

12

/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/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/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/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleTests.cpp1643 deUint32 divider = 2; in iterate() local
1648 depth += (range / (float)divider) in iterate()
1650 divider *= 2; in iterate()
1702 deUint32 divider = 2; in iterate() local
1712 color[compNdx] += (range[compNdx] / divider) in iterate()
1719 divider *= 2; in iterate()
1747 deUint32 divider = 2; in iterate() local
1757 color[compNdx] += (range[compNdx] / divider) in iterate()
1764 divider *= 2; in iterate()
1797 deUint32 divider = 2; in iterate() local
[all …]
/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/libusb/libusb/os/
Dwindows_nt_common.c139 unsigned int divider = 3; in isprime() local
141 while((divider * divider < number) && (number % divider != 0)) in isprime()
142 divider += 2; in isprime()
144 return (number % divider != 0); in isprime()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/
DPolynomialFunctionLagrangeForm.java190 final double divider = x[j] - x[i+j]; in evaluate() local
191 if (divider == 0.0) { in evaluate()
196 final double w = (c[j+1] - d[j]) / divider; in evaluate()
/external/python/cpython2/Doc/library/
Dmultifile.rst37 nested message parts, each with its own pattern for section-divider and
57 Read a line. If the line is data (not a section-divider or end-marker or real
89 Skip lines to the next section (that is, read lines until a section-divider or
109 an input line, it will be interpreted as a section-divider or end-marker
126 Turn a boundary into a section-divider line. By default, this method
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DCompoundTransliteratorTest.java197 private static String[] split(String s, char divider) { in split() argument
202 if (s.charAt(i) == divider) ++count; in split()
211 if (s.charAt(i) == divider) { in split()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DCompoundTransliteratorTest.java200 private static String[] split(String s, char divider) { in split() argument
205 if (s.charAt(i) == divider) ++count; in split()
214 if (s.charAt(i) == divider) { in split()
/external/libvncserver/libvncclient/
Dzrle.c303 divider=(8/bpp); in HandleZRLETile() local
305 if(1+type*REALBPP/8+((w+divider-1)/divider)*h>buffer_length) in HandleZRLETile()
/external/mesa3d/src/compiler/glsl/glcpp/tests/
D147-define-macro-no-space.c.expected38 / divider
D147-define-macro-no-space.c15 #define D/ divider
/external/swiftshader/src/D3D9/
DDirect3DDevice9Ex.cpp516 long Direct3DDevice9Ex::GetStreamSourceFreq(unsigned int streamNumber, unsigned int *divider) in GetStreamSourceFreq() argument
518 TRACE("unsigned int streamNumber = %d, unsigned int *divider = 0x%0.8p", streamNumber, divider); in GetStreamSourceFreq()
520 return Direct3DDevice9::GetStreamSourceFreq(streamNumber, divider); in GetStreamSourceFreq()
796 long Direct3DDevice9Ex::SetStreamSourceFreq(unsigned int streamNumber, unsigned int divider) in SetStreamSourceFreq() argument
798 TRACE("unsigned int streamNumber = %d, unsigned int divider = %d", streamNumber, divider); in SetStreamSourceFreq()
800 return Direct3DDevice9::SetStreamSourceFreq(streamNumber, divider); in SetStreamSourceFreq()
DDirect3DStateBlock9.hpp69 void setStreamSourceFreq(unsigned int streamNumber, unsigned int divider);
DDirect3DDevice9Ex.hpp159 long __stdcall SetStreamSourceFreq(unsigned int streamNumber, unsigned int divider) override;
160 long __stdcall GetStreamSourceFreq(unsigned int streamNumber, unsigned int *divider) override;
/external/curl/docs/cmdline-opts/
Dnext.d6 Magic: divider
/external/protobuf/src/google/protobuf/util/
Dtime_util.cc129 int64 RoundTowardZero(int64 value, int64 divider) { in RoundTowardZero() argument
130 int64 result = value / divider; in RoundTowardZero()
131 int64 remainder = value % divider; in RoundTowardZero()
/external/protobuf/python/google/protobuf/internal/
Dwell_known_types.py362 def _RoundTowardZero(value, divider): argument
369 result = value // divider
370 remainder = value % divider
/external/tensorflow/tensorflow/python/debug/cli/
Ddebugger_cli_common_test.py1098 prefix="Menu: ", divider=", ", enabled_item_attrs="underline")
1108 prefix="Menu: ", divider=", ", enabled_item_attrs=["underline", "bold"])
1117 output = self.menu.format_as_single_line(prefix="Menu: ", divider=", ")
1132 output = self.menu.format_as_single_line(prefix="Menu: ", divider=", ")
1142 prefix="Menu: ", divider=", ", disabled_item_attrs="bold")
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlaze.td37 "Implements hardware divider">;
/external/perfetto/src/tracing/core/
Dshared_memory_abi.cc39 constexpr size_t GetChunkSize(size_t page_size, size_t divider) { in GetChunkSize() argument
40 return ((page_size - sizeof(SharedMemoryABI::PageHeader)) / divider) & ~3UL; in GetChunkSize()
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.cpp659 static UInt64 MyMultAndDiv(UInt64 mult1, UInt64 mult2, UInt64 divider) in MyMultAndDiv() argument
667 divider >>= 1; in MyMultAndDiv()
670 if (divider != 0) in MyMultAndDiv()
671 res /= divider; in MyMultAndDiv()

12