Searched defs:div (Results 1 - 25 of 105) sorted by relevance

12345

/external/clang/test/SemaCXX/
H A Dwarn-div-or-rem-by-zero.cpp5 void div() { function
/external/libcxx/include/
H A Dstdlib.h72 div_t div( int numer, int denom);
73 ldiv_t div( long numer, long denom);
74 lldiv_t div(long long numer, long long denom); // C++0X
101 #undef div macro
116 inline _LIBCPP_INLINE_VISIBILITY ldiv_t div( long __x, long __y) _NOEXCEPT {return ldiv(__x, __y);}
118 inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x, long long __y) _NOEXCEPT {return lldiv(__x, __y);}
/external/libyuv/files/unit_test/
H A Dmath_test.cc25 int div[1280]; local
69 MemRandomize(reinterpret_cast<uint8*>(&div[0]), sizeof(div));
71 if (div[j] == 0) {
72 div[j] = 1280;
78 result_opt[j] = libyuv::FixedDiv(num[j], div[j]);
82 result_c[j] = libyuv::FixedDiv_C(num[j], div[j]);
89 int div[1280]; local
94 MemRandomize(reinterpret_cast<uint8*>(&div[0]), sizeof(div));
123 int div[1280]; local
[all...]
/external/clang/tools/scan-build-py/tests/functional/src/
H A Demit-one.c3 int div(int numerator, int denominator) function
12 assert(div(2 * i, i) == 2);
/external/skia/src/core/
H A DSkUnPreMultiply.cpp82 uint32_t div = roundf(j * 255.0f / i); local
83 int diff = SkAbs32(test - div);
/external/skqp/src/core/
H A DSkUnPreMultiply.cpp82 uint32_t div = roundf(j * 255.0f / i); local
83 int diff = SkAbs32(test - div);
/external/eigen/unsupported/test/
H A Dcxx11_tensor_intdiv.cpp28 const Eigen::internal::TensorIntDivisor<int32_t, false> div(i);
31 const int32_t fast_div = j / div;
39 const Eigen::internal::TensorIntDivisor<int32_t, true> div(i);
42 const int32_t fast_div = j / div;
53 const Eigen::internal::TensorIntDivisor<uint32_t> div(i);
56 const uint32_t fast_div = j / div;
67 const Eigen::internal::TensorIntDivisor<int64_t> div(i);
70 const int64_t fast_div = j / div;
81 const Eigen::internal::TensorIntDivisor<uint64_t> div(i);
84 const uint64_t fast_div = j / div;
93 int32_t div = (1 << expon); local
112 int64_t div = (1ull << expon); local
130 int64_t div = 209715200; local
[all...]
/external/webrtc/webrtc/common_audio/signal_processing/
H A Ddivision_operations.c66 int32_t div = 0; local
85 div <<= 1;
90 div++;
95 div = -div;
97 return div;
/external/deqp/external/vulkancts/modules/vulkan/image/
H A DvktImageLoadStoreUtil.cpp38 const float div = static_cast<float>(maxImageDimension - 1); local
41 return 1.0f / div;
43 return 2.0f / div;
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
H A DReportPage.java103 final HTMLElement navigation = body.div(Styles.BREADCRUMB);
133 private void breadcrumb(final HTMLElement div, final ReportOutputFolder base) argument
135 breadcrumbParent(parent, div, base);
136 div.span(getLinkStyle()).text(getLinkLabel());
140 final HTMLElement div, final ReportOutputFolder base)
143 breadcrumbParent(page.parent, div, base);
144 div.a(page, base);
145 div.text(" > ");
150 final HTMLElement footer = body.div(Styles.FOOTER);
139 breadcrumbParent(final ReportPage page, final HTMLElement div, final ReportOutputFolder base) argument
/external/skia/include/core/
H A DSkMath.h123 * Stores numer/denom and numer%denom into div and mod respectively.
126 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { argument
129 // divmod call, but rather a div call followed by a divmod. Silly! This
135 *div = static_cast<Out>(d);
139 *div = static_cast<Out>(numer/denom);
/external/skqp/include/core/
H A DSkMath.h123 * Stores numer/denom and numer%denom into div and mod respectively.
126 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { argument
129 // divmod call, but rather a div call followed by a divmod. Silly! This
135 *div = static_cast<Out>(d);
139 *div = static_cast<Out>(numer/denom);
/external/tensorflow/tensorflow/compiler/xla/service/
H A Ddefuser_test.cc124 auto div = builder.AddInstruction( local
129 HloInstruction::CreateBinary(shape_, HloOpcode::kAdd, constant, div));
133 {add2, constant, div, mul, sub, negate, add},
162 auto div = builder.AddInstruction( local
167 HloInstruction::CreateBinary(shape_, HloOpcode::kAdd, constant, div));
170 computation->CreateFusionInstruction({add2, constant, div, mul},
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/
H A DHTMLElement.java168 * Creates a 'div' element.
172 * @return 'div' element
176 public HTMLElement div(final String classattr) throws IOException { method in class:HTMLElement
177 final HTMLElement div = element("div");
178 div.classattr(classattr);
179 return div;
/external/libgsm/src/
H A Dadd.c201 * of the div(num, denum) arithmetic operation. Compute div
210 word div = 0; local
225 div <<= 1;
230 div++;
234 return div;
/external/mesa3d/src/compiler/glsl/
H A Dloop_controls.cpp96 ir_expression *const div = local
99 ir_constant *iter = div->constant_expression_value();
/external/mesa3d/src/gallium/tests/unit/
H A Dtranslate_test.c38 double div = 1; local
43 div *= rm;
44 v += (double)rand() / div;
/external/protobuf/src/google/protobuf/stubs/
H A Dint128.cc144 uint128 div; local
148 div = GOOGLE_ULONGLONG(0x1000000000000000); // 16^15
152 div = GOOGLE_ULONGLONG(01000000000000000000000); // 8^21
156 div = GOOGLE_ULONGLONG(10000000000000000000); // 10^19
162 // the original value, each less than "div" and therefore representable
170 uint128::DivModImpl(high, div, &high, &low);
172 uint128::DivModImpl(high, div, &high, &mid);
/external/tensorflow/tensorflow/contrib/lite/kernels/
H A Ddiv.cc27 namespace div { namespace in namespace:tflite::ops::builtin
99 } // namespace div
102 static TfLiteRegistration r = {nullptr, nullptr, div::Prepare,
103 div::Eval<div::kReference>};
108 static TfLiteRegistration r = {nullptr, nullptr, div::Prepare,
109 div::Eval<div::kGenericOptimized>};
114 static TfLiteRegistration r = {nullptr, nullptr, div::Prepare,
115 div
[all...]
/external/tremolo/Tremolo/
H A Dres012.c167 ogg_uint32_t div=partword[j][i+k]; local
168 partword[j][i+k]= (div == 0) ? 0 : (temp / div);
169 temp-=partword[j][i+k]*div;
240 ogg_uint32_t div=partword[i+k]; local
241 partword[i+k]= (div == 0) ? 0 : (temp / div);
242 temp-=partword[i+k]*div;
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/examples/
H A DLabelImage.java94 b.div(
166 Output<Float> div(Output<Float> x, Output<Float> y) { method in class:LabelImage.GraphBuilder
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
H A DCompiler.java148 expr = div(opPos); break;
397 * Compile a 'div' operation.
405 protected Expression div(int opPos) throws TransformerException method in class:Compiler
/external/deqp/framework/common/
H A DtcuVectorUtil.hpp47 template<typename T> inline T div (T a, T b) { return a / b; } function in namespace:tcu
416 TCU_DECLARE_VECTOR_BINARY_FUNC(div, div)
/external/libvpx/libvpx/third_party/libyuv/source/
H A Dscale_gcc.cc1284 // Divide num by div and return as 16.16 fixed point result.
1285 int FixedDiv_X86(int num, int div) { argument
1293 : "c"(div) // %1
1299 // Divide num - 1 by div - 1 and return as 16.16 fixed point result.
1300 int FixedDiv1_X86(int num, int div) { argument
1311 : "c"(div) // %1
/external/libyuv/files/source/
H A Dscale_gcc.cc1341 // Divide num by div and return as 16.16 fixed point result.
1342 int FixedDiv_X86(int num, int div) { argument
1350 : "c"(div) // %1
1355 // Divide num - 1 by div - 1 and return as 16.16 fixed point result.
1356 int FixedDiv1_X86(int num, int div) { argument
1367 : "c"(div) // %1

Completed in 2122 milliseconds

12345