Home
last modified time | relevance | path

Searched refs:divisor (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dint128.cc82 void uint128::DivModImpl(uint128 dividend, uint128 divisor, in DivModImpl() argument
84 if (divisor == 0) { in DivModImpl()
89 if (divisor > dividend) { in DivModImpl()
95 if (divisor == dividend) { in DivModImpl()
101 uint128 denominator = divisor; in DivModImpl()
125 uint128& uint128::operator/=(const uint128& divisor) { in operator /=() argument
128 DivModImpl(*this, divisor, &quotient, &remainder); in operator /=()
132 uint128& uint128::operator%=(const uint128& divisor) { in operator %=() argument
135 DivModImpl(*this, divisor, &quotient, &remainder); in operator %=()
Dint128.h91 static void DivModImpl(uint128 dividend, uint128 divisor,
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Darith.js237 var divisor = new jspb.arith.UInt64(_divisor, 0);
241 while (!divisor.msb()) {
242 divisor = divisor.leftShift();
250 if (divisor.cmp(remainder) <= 0) {
252 remainder = remainder.sub(divisor);
255 divisor = divisor.rightShift();
/frameworks/base/services/core/java/com/android/server/security/
DVerityUtils.java424 private static long roundUpToNextMultiple(long number, long divisor) { in roundUpToNextMultiple() argument
425 if (number > (Long.MAX_VALUE - divisor)) { in roundUpToNextMultiple()
428 return ((number + (divisor - 1)) / divisor) * divisor; in roundUpToNextMultiple()
/frameworks/base/core/java/android/view/
DChoreographer.java651 void setFPSDivisor(int divisor) { in setFPSDivisor() argument
652 if (divisor <= 0) divisor = 1; in setFPSDivisor()
653 mFPSDivisor = divisor; in setFPSDivisor()
654 ThreadedRenderer.setFPSDivisor(divisor); in setFPSDivisor()
/frameworks/ml/nn/common/include/
DOperationsUtils.h270 inline int32_t PositiveRemainder(int32_t dividend, int32_t divisor) { in PositiveRemainder() argument
271 return (divisor + (dividend % divisor)) % divisor; in PositiveRemainder()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java864 int divisor = 1000000000; in append()
866 while (value < divisor) { in append()
867 divisor /= 10; in append()
875 int digit = value / divisor; in append()
876 value -= digit * divisor; in append()
877 divisor /= 10; in append()
879 } while (divisor != 0); in append()
/frameworks/base/core/java/android/util/apk/
DVerityBuilder.java533 private static long divideRoundup(long dividend, long divisor) { in divideRoundup() argument
534 return (dividend + divisor - 1) / divisor; in divideRoundup()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp665 unsigned long long divisor = fields[__STAT_READ_TICKS] in dump_stat_from_fd() local
669 * fields[__STAT_IN_QUEUE] + (divisor >> 1)) in dump_stat_from_fd()
670 / divisor; in dump_stat_from_fd()
672 * fields[__STAT_IN_QUEUE] + (divisor >> 1)) in dump_stat_from_fd()
673 / divisor; in dump_stat_from_fd()
679 unsigned long long divisor = fields[__STAT_WRITE_TICKS] in dump_stat_from_fd() local
683 * fields[__STAT_IN_QUEUE] + (divisor >> 1)) in dump_stat_from_fd()
684 / divisor; in dump_stat_from_fd()
686 * fields[__STAT_IN_QUEUE] + (divisor >> 1)) in dump_stat_from_fd()
687 / divisor; in dump_stat_from_fd()
/frameworks/base/core/java/android/widget/
DCalendarViewLegacyDelegate.java1455 final int divisor = 2 * nDays; in drawWeekNumbersAndDates() local
1466 int x = (2 * i + 1) * mWidth / divisor; in drawWeekNumbersAndDates()
1471 int x = mWidth - mWidth / divisor; in drawWeekNumbersAndDates()
1477 int x = mWidth / divisor; in drawWeekNumbersAndDates()
1484 int x = (2 * i + 1) * mWidth / divisor; in drawWeekNumbersAndDates()
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java866 public static void setFPSDivisor(int divisor) { in setFPSDivisor() argument
867 nHackySetRTAnimationsEnabled(divisor <= 1); in setFPSDivisor()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES31.spec68 void glVertexBindingDivisor ( GLuint bindingindex, GLuint divisor )
DGLES30.spec96 void glVertexAttribDivisor ( GLuint index, GLuint divisor )
/frameworks/base/opengl/java/android/opengl/
DGLES31.java1103 int divisor in glVertexBindingDivisor() argument
DGLES30.java1638 int divisor in glVertexAttribDivisor() argument
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java1006 final double divisor = numSamples == 1 ? 1.0 : n - 1.0; in addSample() local
1007 var = sum2 / divisor; in addSample()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in265 void API_ENTRY(glVertexAttribDivisorANGLE)(GLuint index, GLuint divisor) {
266 CALL_GL_API(glVertexAttribDivisorANGLE, index, divisor);
454 void API_ENTRY(glVertexAttribDivisorEXT)(GLuint index, GLuint divisor) {
455 CALL_GL_API(glVertexAttribDivisorEXT, index, divisor);
1087 void API_ENTRY(glVertexAttribDivisorNV)(GLuint index, GLuint divisor) {
1088 CALL_GL_API(glVertexAttribDivisorNV, index, divisor);
Dgl2_api.in694 void API_ENTRY(glVertexAttribDivisor)(GLuint index, GLuint divisor) {
695 CALL_GL_API(glVertexAttribDivisor, index, divisor);
940 void API_ENTRY(glVertexBindingDivisor)(GLuint bindingindex, GLuint divisor) {
941 CALL_GL_API(glVertexBindingDivisor, bindingindex, divisor);
/frameworks/base/libs/hwui/debug/
Dgles_stubs.in694 void API_ENTRY(glVertexAttribDivisor)(GLuint index, GLuint divisor) {
695 CALL_GL_API(glVertexAttribDivisor, index, divisor);
940 void API_ENTRY(glVertexBindingDivisor)(GLuint bindingindex, GLuint divisor) {
941 CALL_GL_API(glVertexBindingDivisor, bindingindex, divisor);
1387 void API_ENTRY(glVertexAttribDivisorEXT)(GLuint index, GLuint divisor) {
1388 CALL_GL_API(glVertexAttribDivisorEXT, index, divisor);
Dgles_decls.in232 GL_ENTRY(void, glVertexAttribDivisor, GLuint index, GLuint divisor)
314 GL_ENTRY(void, glVertexBindingDivisor, GLuint bindingindex, GLuint divisor)
463 GL_ENTRY(void, glVertexAttribDivisorEXT, GLuint index, GLuint divisor)
/frameworks/av/services/audioflinger/
DEffects.cpp911 static T roundUpDelta(const T &value, const T &divisor) { in roundUpDelta() argument
912 T remainder = value % divisor; in roundUpDelta()
913 return remainder == 0 ? 0 : divisor - remainder; in roundUpDelta()
/frameworks/native/opengl/include/GLES3/
Dgl31.h1086 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
1191 GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
1451 typedef void (GL_APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
1520 GL_APICALL void GL_APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
Dgl32.h1086 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
1191 GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
1451 typedef void (GL_APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
1520 GL_APICALL void GL_APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h880 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
884 GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor);
1442 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor);
1444 GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor);
2880 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor);
2882 GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor);
/frameworks/native/opengl/libs/
Dentries.in991 GL_ENTRY(void, glVertexAttribDivisor, GLuint index, GLuint divisor)
992 GL_ENTRY(void, glVertexAttribDivisorANGLE, GLuint index, GLuint divisor)
993 GL_ENTRY(void, glVertexAttribDivisorEXT, GLuint index, GLuint divisor)
994 GL_ENTRY(void, glVertexAttribDivisorNV, GLuint index, GLuint divisor)
1003 GL_ENTRY(void, glVertexBindingDivisor, GLuint bindingindex, GLuint divisor)

12