Searched refs:divisor (Results 1 - 25 of 200) sorted by relevance

12345678

/external/chromium/chrome/browser/debugger/manual_tests/resources/
H A Dprimes.js6 for (var divisor in this.primes_) {
7 if (p % divisor === 0) return false;
8 if (divisor * divisor > p)
/external/kernel-headers/original/linux/
H A Dcalc64.h11 * The 64bit dividend is divided by the divisor (data type long), the
17 #define div_long_long_rem(dividend, divisor, remainder) \
18 do_div_llr((dividend), divisor, remainder)
21 const long divisor, long *remainder)
25 *(remainder) = do_div(result, divisor);
36 const long divisor, long *remainder)
41 res = -div_long_long_rem(-dividend, divisor, remainder);
44 res = div_long_long_rem(dividend, divisor, remainder);
20 do_div_llr(const long long dividend, const long divisor, long *remainder) argument
35 div_long_long_rem_signed(const long long dividend, const long divisor, long *remainder) argument
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DANGLEInstancedArrays.idl39 [StrictTypeChecking] void vertexAttribDivisorANGLE(unsigned long index, long divisor);
H A DWebGLVertexArrayObjectOES.h58 , divisor(0)
71 GC3Duint divisor; member in struct:WebCore::WebGLVertexArrayObjectOES::VertexAttribState
85 void setVertexAttribDivisor(GC3Duint index, GC3Duint divisor);
H A DANGLEInstancedArrays.h53 void vertexAttribDivisorANGLE(GC3Duint index, GC3Duint divisor);
H A DANGLEInstancedArrays.cpp88 void ANGLEInstancedArrays::vertexAttribDivisorANGLE(GC3Duint index, GC3Duint divisor) argument
93 m_context->vertexAttribDivisorANGLE(index, divisor);
/external/guava/guava/src/com/google/common/primitives/
H A DUnsignedLongs.java171 * Returns dividend / divisor, where the dividend and divisor are treated as unsigned 64-bit
175 * @param divisor the divisor (denominator)
176 * @throws ArithmeticException if divisor is 0
178 public static long divide(long dividend, long divisor) { argument
179 if (divisor < 0) { // i.e., divisor >= 2^63:
180 if (compare(dividend, divisor) < 0) {
181 return 0; // dividend < divisor
212 remainder(long dividend, long divisor) argument
[all...]
H A DUnsignedInts.java169 * Returns dividend / divisor, where the dividend and divisor are treated as unsigned 32-bit
173 * @param divisor the divisor (denominator)
174 * @throws ArithmeticException if divisor is 0
176 public static int divide(int dividend, int divisor) { argument
177 return (int) (toLong(dividend) / toLong(divisor));
181 * Returns dividend % divisor, where the dividend and divisor are treated as unsigned 32-bit
185 * @param divisor th
188 remainder(int dividend, int divisor) argument
[all...]
/external/compiler-rt/test/Unit/
H A Dmuldc3_test.c55 double _Complex divisor; local
59 __real__ divisor = c; local
60 __imag__ divisor = d; local
65 switch (classify(divisor))
90 switch (classify(divisor))
117 switch (classify(divisor))
142 switch (classify(divisor))
167 switch (classify(divisor))
H A Dmultc3_test.c58 long double _Complex divisor; local
62 __real__ divisor = c; local
63 __imag__ divisor = d; local
68 switch (classify(divisor))
93 switch (classify(divisor))
120 switch (classify(divisor))
145 switch (classify(divisor))
170 switch (classify(divisor))
H A Dmulxc3_test.c58 long double _Complex divisor; local
62 __real__ divisor = c; local
63 __imag__ divisor = d; local
68 switch (classify(divisor))
93 switch (classify(divisor))
120 switch (classify(divisor))
145 switch (classify(divisor))
170 switch (classify(divisor))
H A Ddivdc3_test.c55 double _Complex divisor; local
59 __real__ divisor = c; local
60 __imag__ divisor = d; local
65 switch (classify(divisor))
90 switch (classify(divisor))
121 switch (classify(divisor))
146 switch (classify(divisor))
171 switch (classify(divisor))
H A Ddivsc3_test.c55 float _Complex divisor; local
59 __real__ divisor = c; local
60 __imag__ divisor = d; local
65 switch (classify(divisor))
90 switch (classify(divisor))
121 switch (classify(divisor))
146 switch (classify(divisor))
171 switch (classify(divisor))
H A Ddivtc3_test.c59 long double _Complex divisor; local
63 __real__ divisor = c; local
64 __imag__ divisor = d; local
69 switch (classify(divisor))
94 switch (classify(divisor))
125 switch (classify(divisor))
150 switch (classify(divisor))
175 switch (classify(divisor))
H A Ddivxc3_test.c58 long double _Complex divisor; local
62 __real__ divisor = c; local
63 __imag__ divisor = d; local
68 switch (classify(divisor))
93 switch (classify(divisor))
124 switch (classify(divisor))
149 switch (classify(divisor))
174 switch (classify(divisor))
H A Dmulsc3_test.c55 float _Complex divisor; local
59 __real__ divisor = c; local
60 __imag__ divisor = d; local
65 switch (classify(divisor))
90 switch (classify(divisor))
121 switch (classify(divisor))
146 switch (classify(divisor))
171 switch (classify(divisor))
/external/chromium_org/v8/test/mjsunit/
H A Ddiv-mod.js44 function run_tests_for(divisor) {
45 print("(function(left) { return left / " + divisor + "; })");
46 var div_func = this.eval("(function(left) { return left / " + divisor + "; })");
47 var mod_func = this.eval("(function(left) { return left % " + divisor + "; })");
50 divmod(div_func, mod_func, 0, divisor);
51 divmod(div_func, mod_func, 1 / 0, divisor);
54 divmod(div_func, mod_func, Math.pow(2, exp), divisor);
55 divmod(div_func, mod_func, 0.9999999 * Math.pow(2, exp), divisor);
56 divmod(div_func, mod_func, 1.0000001 * Math.pow(2, exp), divisor);
60 divmod(div_func, mod_func, 1 << exp, divisor);
[all...]
/external/v8/test/mjsunit/
H A Ddiv-mod.js44 function run_tests_for(divisor) {
45 print("(function(left) { return left / " + divisor + "; })");
46 var div_func = this.eval("(function(left) { return left / " + divisor + "; })");
47 var mod_func = this.eval("(function(left) { return left % " + divisor + "; })");
50 divmod(div_func, mod_func, 0, divisor);
51 divmod(div_func, mod_func, 1 / 0, divisor);
54 divmod(div_func, mod_func, Math.pow(2, exp), divisor);
55 divmod(div_func, mod_func, 0.9999999 * Math.pow(2, exp), divisor);
56 divmod(div_func, mod_func, 1.0000001 * Math.pow(2, exp), divisor);
60 divmod(div_func, mod_func, 1 << exp, divisor);
[all...]
/external/skia/tools/skpdiff/
H A Ddiff_viewer.js35 var divisor = 1;
36 while ((image.width / divisor) > MAX_SWAP_IMG_SIZE) {
37 divisor *= 2;
41 elm[0].width = image.width / divisor;
42 elm[0].height = image.height / divisor;
/external/skia/bench/
H A DTimerData.cpp116 int divisor = numTimings * itersPerTiming; local
117 wallStr.appendf(doubleFormat, wallSum / divisor);
118 truncWallStr.appendf(doubleFormat, truncWallSum / divisor);
119 cpuStr.appendf(doubleFormat, cpuSum / divisor);
120 truncCpuStr.appendf(doubleFormat, truncCpuSum / divisor);
121 gpuStr.appendf(doubleFormat, gpuSum / divisor);
/external/libppp/src/
H A Dthroughput.c102 int secs_up, divisor; local
112 divisor = secs_up ? secs_up : 1;
119 (t->OctetsIn + t->OctetsOut) / divisor);
129 (t->OctetsIn + t->OctetsOut) / divisor);
164 int uptime, divisor; local
170 divisor = uptime < t->SamplePeriod ? uptime + 1 : t->SamplePeriod;
174 t->in.OctetsPerSecond = (t->in.SampleOctets[t->nSample] - old) / divisor;
178 t->out.OctetsPerSecond = (t->out.SampleOctets[t->nSample] - old) / divisor;
265 int divisor; local
267 if ((divisor
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFEConvolveMatrixElement.idl39 readonly attribute SVGAnimatedNumber divisor;
/external/chromium_org/gpu/command_buffer/service/
H A Dvertex_attrib_manager.h64 GLuint divisor() const { function in class:gpu::gles2::VertexAttrib
118 void SetDivisor(GLsizei divisor) { argument
119 divisor_ = divisor;
215 void SetDivisor(GLuint index, GLuint divisor) { argument
218 attrib->SetDivisor(divisor);
/external/chromium_org/third_party/mesa/src/src/glx/apple/
H A Dglx_empty.c45 glXWaitVideoSyncSGI(int divisor, int remainder, unsigned int *count) argument
102 int64_t target_msc, int64_t divisor, int64_t remainder)
107 (void) divisor;
115 int64_t target_msc, int64_t divisor,
122 (void) divisor;
101 glXSwapBuffersMscOML(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder) argument
114 glXWaitForMscOML(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t * ust, int64_t * msc, int64_t * sbc) argument
/external/mesa3d/src/glx/apple/
H A Dglx_empty.c45 glXWaitVideoSyncSGI(int divisor, int remainder, unsigned int *count) argument
102 int64_t target_msc, int64_t divisor, int64_t remainder)
107 (void) divisor;
115 int64_t target_msc, int64_t divisor,
122 (void) divisor;
101 glXSwapBuffersMscOML(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder) argument
114 glXWaitForMscOML(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t * ust, int64_t * msc, int64_t * sbc) argument

Completed in 337 milliseconds

12345678