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

1234567891011

/external/chromium_org/third_party/angle/samples/angle/sample_util/
H A Drandom_utils.cpp20 const size_t divisor = 10000; local
21 return min + ((rand() % divisor) / static_cast<float>(divisor)) * (max - min);
/external/chromium_org/v8/test/mjsunit/compiler/
H A Ddivision-by-constant.js32 function ConstructDiv(divisor) {
33 return "return ((dividend | 0) / ((" + divisor + ") | 0)) | 0";
37 new Function("dividend", "divisor", ConstructDiv("divisor"));
43 function ConstructMod(divisor) {
44 return "return ((dividend | 0) % ((" + divisor + ") | 0)) | 0";
48 new Function("dividend", "divisor", ConstructMod("divisor"));
54 function ConstructFlooringDiv(divisor) {
55 return "return Math.floor(dividend / (" + divisor
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DANGLEInstancedArrays.idl41 void vertexAttribDivisorANGLE(unsigned long index, long divisor);
H A DANGLEInstancedArrays.cpp85 void ANGLEInstancedArrays::vertexAttribDivisorANGLE(GLuint index, GLuint divisor) argument
90 m_context->vertexAttribDivisorANGLE(index, divisor);
H A DWebGLVertexArrayObjectOES.h62 , divisor(0)
77 GLuint divisor; member in class:blink::FINAL::FINAL
91 void setVertexAttribDivisor(GLuint index, GLuint divisor);
H A DANGLEInstancedArrays.h53 void vertexAttribDivisorANGLE(GLuint index, GLuint divisor);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
H A DVertexArrayImpl.h26 virtual void setAttributeDivisor(size_t idx, GLuint divisor) = 0;
/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/builtins/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/chromium_org/third_party/skia/tools/timer/
H A DTimerData.cpp111 int divisor = numTimings * itersPerTiming; local
112 wallStr.appendf(doubleFormat, wallSum / divisor);
113 truncWallStr.appendf(doubleFormat, truncWallSum / divisor);
114 cpuStr.appendf(doubleFormat, cpuSum / divisor);
115 truncCpuStr.appendf(doubleFormat, truncCpuSum / divisor);
116 gpuStr.appendf(doubleFormat, gpuSum / divisor);
196 int divisor = numTimings * itersPerTiming; local
197 wallNode.append(wallSum / divisor);
198 truncWall.append(truncWallSum / divisor);
199 cpuNode.append(cpuSum / divisor);
[all...]
/external/skia/tools/timer/
H A DTimerData.cpp111 int divisor = numTimings * itersPerTiming; local
112 wallStr.appendf(doubleFormat, wallSum / divisor);
113 truncWallStr.appendf(doubleFormat, truncWallSum / divisor);
114 cpuStr.appendf(doubleFormat, cpuSum / divisor);
115 truncCpuStr.appendf(doubleFormat, truncCpuSum / divisor);
116 gpuStr.appendf(doubleFormat, gpuSum / divisor);
196 int divisor = numTimings * itersPerTiming; local
197 wallNode.append(wallSum / divisor);
198 truncWall.append(truncWallSum / divisor);
199 cpuNode.append(cpuSum / divisor);
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DVertexArray.cpp62 void VertexArray::setVertexAttribDivisor(GLuint index, GLuint divisor)
65 mVertexAttributes[index].divisor = divisor;
66 mVertexArray->setAttributeDivisor(index, divisor);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DVertexArray11.h31 virtual void setAttributeDivisor(size_t idx, GLuint divisor) { } argument
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DVertexArray9.h32 virtual void setAttributeDivisor(size_t idx, GLuint divisor) { } argument
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFEConvolveMatrixElement.idl42 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
117 void SetDivisor(GLsizei divisor) { argument
118 divisor_ = divisor;
214 void SetDivisor(GLuint index, GLuint divisor) { argument
217 attrib->SetDivisor(divisor);

Completed in 455 milliseconds

1234567891011