/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
H A D | random_utils.cpp | 20 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 D | division-by-constant.js | 32 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 D | ANGLEInstancedArrays.idl | 41 void vertexAttribDivisorANGLE(unsigned long index, long divisor);
|
H A D | ANGLEInstancedArrays.cpp | 85 void ANGLEInstancedArrays::vertexAttribDivisorANGLE(GLuint index, GLuint divisor) argument 90 m_context->vertexAttribDivisorANGLE(index, divisor);
|
H A D | WebGLVertexArrayObjectOES.h | 62 , divisor(0) 77 GLuint divisor; member in class:blink::FINAL::FINAL 91 void setVertexAttribDivisor(GLuint index, GLuint divisor);
|
H A D | ANGLEInstancedArrays.h | 53 void vertexAttribDivisorANGLE(GLuint index, GLuint divisor);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
H A D | VertexArrayImpl.h | 26 virtual void setAttributeDivisor(size_t idx, GLuint divisor) = 0;
|
/external/guava/guava/src/com/google/common/primitives/ |
H A D | UnsignedLongs.java | 171 * 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 D | UnsignedInts.java | 169 * 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 D | muldc3_test.c | 55 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 D | multc3_test.c | 58 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 D | mulxc3_test.c | 58 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 D | divdc3_test.c | 55 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 D | divsc3_test.c | 55 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 D | divtc3_test.c | 59 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 D | divxc3_test.c | 58 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 D | mulsc3_test.c | 55 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 D | div-mod.js | 44 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 D | TimerData.cpp | 111 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 D | TimerData.cpp | 111 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 D | VertexArray.cpp | 62 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 D | VertexArray11.h | 31 virtual void setAttributeDivisor(size_t idx, GLuint divisor) { } argument
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
H A D | VertexArray9.h | 32 virtual void setAttributeDivisor(size_t idx, GLuint divisor) { } argument
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGFEConvolveMatrixElement.idl | 42 readonly attribute SVGAnimatedNumber divisor;
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | vertex_attrib_manager.h | 64 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);
|