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

1234

/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/
H A Ddiv-err.asm0 div byte si
2 div word si label
3 div dword si label
4 div byte esi label
5 div word esi label
6 div dword esi label
1 div byte si label
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2132.js40 function div(x, y) { function
44 div(4, 2);
45 div(4, 2);
46 %OptimizeFunctionOnNextCall(div);
47 assertEquals(1, div(5, 3));
48 assertOptimized(div);
H A Dregress-1278.js45 function div(x, y) { function
65 assertEquals(0, div(0, 1));
66 assertEquals(-0, div(0, -1));
67 assertEquals(-0, div(-0, 1));
68 assertEquals(0, div(-0, -1));
/external/clang/test/SemaCXX/
H A Dwarn-div-or-rem-by-zero.cpp5 void div() { function
/external/chromium_org/v8/test/mjsunit/
H A Ddiv-mul-minus-one.js30 function div(g) { function
35 var expected_MinInt = div(kMinInt);
36 var expected_minus_zero = div(0);
37 %OptimizeFunctionOnNextCall(div);
38 assertEquals(expected_MinInt, div(kMinInt));
39 assertEquals(expected_minus_zero , div(0));
H A Dmath-floor-of-div-nosudiv.js31 function div(a, b) { function
54 assertEquals(Math.floor(div(k, 1)), Math.floor(k / 1));
55 assertEquals(Math.floor(div(k, -1)), Math.floor(k / -1));
56 assertEquals(Math.floor(div(k, 2)), Math.floor(k / 2));
57 assertEquals(Math.floor(div(k, -2)), Math.floor(k / -2));
58 assertEquals(Math.floor(div(k, 3)), Math.floor(k / 3));
59 assertEquals(Math.floor(div(k, -3)), Math.floor(k / -3));
60 assertEquals(Math.floor(div(k, 4)), Math.floor(k / 4));
61 assertEquals(Math.floor(div(k, -4)), Math.floor(k / -4));
62 assertEquals(Math.floor(div(
[all...]
H A Dmath-floor-of-div.js31 function div(a, b) { function
54 assertEquals(Math.floor(div(k, 1)), Math.floor(k / 1));
55 assertEquals(Math.floor(div(k, -1)), Math.floor(k / -1));
56 assertEquals(Math.floor(div(k, 2)), Math.floor(k / 2));
57 assertEquals(Math.floor(div(k, -2)), Math.floor(k / -2));
58 assertEquals(Math.floor(div(k, 3)), Math.floor(k / 3));
59 assertEquals(Math.floor(div(k, -3)), Math.floor(k / -3));
60 assertEquals(Math.floor(div(k, 4)), Math.floor(k / 4));
61 assertEquals(Math.floor(div(k, -4)), Math.floor(k / -4));
62 assertEquals(Math.floor(div(
[all...]
/external/stlport/test/unit/
H A Ddivides_test.cpp16 CPPUNIT_TEST(div);
20 void div();
28 void DivideTest::div() function in class:DivideTest
/external/chromium_org/third_party/libyuv/unit_test/
H A Dmath_test.cc25 int div[1280]; local
70 MemRandomize(reinterpret_cast<uint8*>(&div[0]), sizeof(div));
72 if (div[j] == 0) {
73 div[j] = 1280;
79 result_opt[j] = libyuv::FixedDiv(num[j], div[j]);
83 result_c[j] = libyuv::FixedDiv_C(num[j], div[j]);
90 int div[1280]; local
96 MemRandomize(reinterpret_cast<uint8*>(&div[0]), sizeof(div));
125 int div[1280]; local
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkUnPreMultiply.cpp83 uint32_t div = roundf(j * 255.0f / i); local
84 int diff = SkAbs32(test - div);
/external/skia/src/core/
H A DSkUnPreMultiply.cpp83 uint32_t div = roundf(j * 255.0f / i); local
84 int diff = SkAbs32(test - div);
/external/stlport/stlport/stl/
H A D_cstdlib.h114 inline _STLP_VENDOR_CSTD::div_t div(int __x, int __y) { return _STLP_VENDOR_CSTD::div(__x, __y); } function
124 //HP-UX native lib has abs() and div() functions in global namespace
137 inline _STLP_VENDOR_CSTD::ldiv_t div(long __x, long __y) { return _STLP_VENDOR_CSTD::ldiv(__x, __y); } function
152 inline lldiv_t div(_STLP_LONG_LONG __x, _STLP_LONG_LONG __y) { return _STLP_VENDOR_CSTD::lldiv(__x, __y); } function
155 inline lldiv_t div(_STLP_LONG_LONG __x, _STLP_LONG_LONG __y) { return ::lldiv(__x, __y); } function
176 using ::div;
/external/chromium_org/third_party/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/webrtc/src/common_audio/signal_processing/
H A Ddivision_operations.c66 WebRtc_Word32 div = 0; local
85 div <<= 1;
90 div++;
95 div = -div;
97 return div;
/external/chromium_org/third_party/skia/samplecode/
H A DSampleAvoid.cpp84 int div = 3; local
85 SkRect rr = { 0, 0, r.width()/div, r.height()/div };
/external/skia/samplecode/
H A DSampleAvoid.cpp84 int div = 3; local
85 SkRect rr = { 0, 0, r.width()/div, r.height()/div };
/external/bluetooth/bluedroid/btif/include/
H A Dbtif_dm.h80 UINT16 div; member in struct:__anon1005
88 UINT16 div; member in struct:__anon1006
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/app_launcher/
H A Dpopup.js31 var div = document.createElement('div');
32 div.className = 'app' + (selected ? ' app_selected' : '');
34 div.onclick = function() {
40 div.appendChild(img);
45 div.appendChild(title);
47 appsDiv.appendChild(div);
89 // list of apps shown, we set an explicit width on the outermost div.
/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
H A Dtranslate_test.c38 double div = 1; local
43 div *= rm;
44 v += (double)rand() / div;
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dloop_controls.cpp96 ir_expression *const div = local
99 ir_constant *iter = div->constant_expression_value();
/external/chromium_org/third_party/skia/include/core/
H A DSkMath.h208 * Stores numer/denom and numer%denom into div and mod respectively.
211 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { argument
214 // divmod call, but rather a div call followed by a divmod. Silly! This
220 *div = static_cast<Out>(d);
224 *div = static_cast<Out>(numer/denom);
/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/gallium/tests/unit/
H A Dtranslate_test.c38 double div = 1; local
43 div *= rm;
44 v += (double)rand() / div;
/external/mesa3d/src/glsl/
H A Dloop_controls.cpp96 ir_expression *const div = local
99 ir_constant *iter = div->constant_expression_value();
/external/skia/include/core/
H A DSkMath.h208 * Stores numer/denom and numer%denom into div and mod respectively.
211 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { argument
214 // divmod call, but rather a div call followed by a divmod. Silly! This
220 *div = static_cast<Out>(d);
224 *div = static_cast<Out>(numer/denom);

Completed in 687 milliseconds

1234