Searched refs:divisor (Results 126 - 150 of 251) sorted by relevance

1234567891011

/external/chromium_org/third_party/skia/tests/
H A DImageDecodingTest.cpp523 static inline bool check_rounding(int value, int dividend, int divisor) { argument
524 // returns true if the value is greater than floor(dividend/divisor)
525 // and less than SkNextPow2(ceil(dividend - divisor))
526 return (((divisor * value) > (dividend - divisor))
527 && value <= SkNextPow2(((dividend - 1) / divisor) + 1));
/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-machine-operator-reducer.cc501 Node* divisor = R.Constant<int32_t>(1u << n); local
503 divisor); // x / 2^n => x >> n
553 Node* divisor = R.Constant<int32_t>(1u << n); local
555 divisor); // x % 2^n => x & 2^n-1
/external/libnl/include/linux/
H A Dpkt_sched.h147 unsigned divisor; /* Hash divisor */ member in struct:tc_sfq_qopt
152 * NOTE: limit, divisor and flows are hardwired to code at the moment.
154 * limit=flows=128, divisor=1024;
256 __u32 rate2quantum; /* bps->quantum divisor */
/external/mesa3d/docs/
H A DMESA_swap_frame_usage.spec120 refresh time multiplied by the divisor parameter to
123 1.0 otherwise. The actual usage value is based on the divisor and is
/external/mesa3d/src/mesa/drivers/x11/
H A Dglxapi.h114 int (*WaitVideoSyncSGI)(int divisor, int remainder, unsigned int *count);
H A Drealglx.h179 _real_glXWaitVideoSyncSGI(int divisor, int remainder, unsigned int *count);
/external/mesa3d/src/mesa/main/
H A Dvarray.h260 _mesa_VertexAttribDivisor(GLuint index, GLuint divisor);
/external/skia/tests/
H A DImageDecodingTest.cpp525 static inline bool check_rounding(int value, int dividend, int divisor) { argument
526 // returns true if the value is greater than floor(dividend/divisor)
527 // and less than SkNextPow2(ceil(dividend - divisor))
528 return (((divisor * value) > (dividend - divisor))
529 && value <= SkNextPow2(((dividend - 1) / divisor) + 1));
/external/llvm/lib/Support/
H A DAPFloat.cpp1039 integerPart *lhsSignificand, *dividend, *divisor;
1054 divisor = dividend + partsCount;
1056 /* Copy the dividend and divisor as they will be modified in-place. */
1059 divisor[i] = rhsSignificand[i];
1067 /* Normalize the divisor. */
1068 bit = precision - APInt::tcMSB(divisor, partsCount) - 1;
1071 APInt::tcShiftLeft(divisor, partsCount, bit);
1081 /* Ensure the dividend >= divisor initially for the loop below.
1084 if (APInt::tcCompare(dividend, divisor, partsCount) < 0) {
1087 assert(APInt::tcCompare(dividend, divisor, partsCoun
[all...]
H A DAPInt.cpp1394 /// the divisor not be 0, 1, or -1. Taken from "Hacker's Delight", Henry S.
1436 /// Requires that the divisor not be 0. Taken from "Hacker's Delight", Henry
1491 assert(v && "Must provide divisor");
1714 // Initialize the divisor
1728 // the divisor. m is the number of words by which the dividend exceeds the
1729 // divisor (i.e. m+n is the length of the dividend). These sizes must not
1738 // If we're left with only a single word for the divisor, Knuth doesn't work
1746 unsigned divisor = V[0];
1753 } else if (partial_dividend < divisor) {
1756 } else if (partial_dividend == divisor) {
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
H A Dlayout_test_runner.py488 def divide_and_round_up(numerator, divisor):
489 return int(math.ceil(float(numerator) / divisor))
/external/chromium_org/third_party/mesa/src/src/glx/
H A Ddrisw_glx.c558 int64_t target_msc, int64_t divisor, int64_t remainder)
564 (void) divisor;
557 driswSwapBuffers(__GLXDRIdrawable * pdraw, int64_t target_msc, int64_t divisor, int64_t remainder) argument
H A Ddri2_glx.c445 dri2WaitForMSC(__GLXDRIdrawable *pdraw, int64_t target_msc, int64_t divisor, argument
451 ret = DRI2WaitMSC(pdraw->psc->dpy, pdraw->xDrawable, target_msc, divisor,
702 dri2SwapBuffers(__GLXDRIdrawable *pdraw, int64_t target_msc, int64_t divisor, argument
735 target_msc, divisor, remainder, &ret);
/external/libpng/
H A Dpng.c3169 png_int_32 divisor)
3171 /* Return a * times / divisor, rounded. */
3172 if (divisor != 0)
3184 r /= divisor;
3208 if (divisor < 0)
3209 negative = !negative, D = -divisor;
3211 D = divisor;
3288 png_int_32 divisor)
3292 if (png_muldiv(&result, a, times, divisor))
3168 png_muldiv(png_fixed_point_p res, png_fixed_point a, png_int_32 times, png_int_32 divisor) argument
3287 png_muldiv_warn(png_const_structrp png_ptr, png_fixed_point a, png_int_32 times, png_int_32 divisor) argument
/external/mesa3d/src/glx/
H A Ddrisw_glx.c558 int64_t target_msc, int64_t divisor, int64_t remainder)
564 (void) divisor;
557 driswSwapBuffers(__GLXDRIdrawable * pdraw, int64_t target_msc, int64_t divisor, int64_t remainder) argument
H A Ddri2_glx.c445 dri2WaitForMSC(__GLXDRIdrawable *pdraw, int64_t target_msc, int64_t divisor, argument
451 ret = DRI2WaitMSC(pdraw->psc->dpy, pdraw->xDrawable, target_msc, divisor,
702 dri2SwapBuffers(__GLXDRIdrawable *pdraw, int64_t target_msc, int64_t divisor, argument
735 target_msc, divisor, remainder, &ret);
/external/iproute2/include/linux/
H A Dpkt_sched.h182 unsigned divisor; /* Hash divisor */ member in struct:tc_sfq_qopt
338 __u32 rate2quantum; /* bps->quantum divisor */
/external/chromium_org/third_party/icu/source/i18n/
H A Dcompactdecimalformat.cpp750 double divisor = power10; local
752 divisor /= 10.0;
754 result->divisors[log10Value] = divisor;
844 // a divisor for each log10 value.
850 // For each log10 value not defined in CLDR, it uses the divisor for
/external/deqp/modules/gles31/functional/
H A Des31fVertexAttributeBindingStateQueryTests.cpp434 const int divisor = rnd.getInt(0, 2047);
436 gl.glVertexBindingDivisor(binding, divisor);
437 verifyValue(gl, GL_VERTEX_BINDING_DIVISOR, binding, divisor);
/external/icu/icu4c/source/i18n/
H A Dcompactdecimalformat.cpp750 double divisor = power10; local
752 divisor /= 10.0;
754 result->divisors[log10Value] = divisor;
844 // a divisor for each log10 value.
850 // For each log10 value not defined in CLDR, it uses the divisor for
/external/chromium_org/third_party/khronos/GLES2/
H A Dgl2ext.h485 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
489 GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor);
773 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor);
775 GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor);
1352 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor);
1354 GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor);
/external/chromium_org/third_party/webrtc/system_wrappers/source/spreadsortlib/
H A Dspreadsort.hpp43 unsigned divisor = rough_log_2_size(count); local
44 //Making sure the divisor is positive
45 if(divisor > LOG_MEAN_BIN_SIZE)
46 divisor -= LOG_MEAN_BIN_SIZE;
48 divisor = 1;
49 unsigned relative_width = (LOG_CONST * log_range)/((divisor > MAX_SPLITS) ? MAX_SPLITS : divisor);
86 //Gets a non-negative right bit shift to operate as a logarithmic divisor
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_firstpass.c1684 int divisor = boost >> 10; local
1685 boost /= divisor;
1686 allocation_chunks /= divisor;
2138 const int divisor = kf_boost >> 10; local
2139 kf_boost /= divisor;
2140 allocation_chunks /= divisor;
/external/webrtc/src/system_wrappers/source/spreadsortlib/
H A Dspreadsort.hpp43 unsigned divisor = rough_log_2_size(count); local
44 //Making sure the divisor is positive
45 if(divisor > LOG_MEAN_BIN_SIZE)
46 divisor -= LOG_MEAN_BIN_SIZE;
48 divisor = 1;
49 unsigned relative_width = (LOG_CONST * log_range)/((divisor > MAX_SPLITS) ? MAX_SPLITS : divisor);
86 //Gets a non-negative right bit shift to operate as a logarithmic divisor
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DvalidationES.cpp1484 if (attrib.divisor > 0)
1486 maxVertexElement = static_cast<GLint64>(primcount) / static_cast<GLint64>(attrib.divisor);
1565 // Verify there is at least one active attribute with a divisor of zero
1575 if (active && attrib.divisor == 0)
1582 "has a divisor of zero."));

Completed in 3244 milliseconds

1234567891011