Home
last modified time | relevance | path

Searched refs:modulo (Results 1 – 25 of 73) sorted by relevance

123

/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DBOCSU.java240 int modulo = number % factor; in getNegDivMod() local
242 if (modulo < 0) { in getNegDivMod()
244 modulo += factor; in getNegDivMod()
246 return (result << 32) | modulo; in getNegDivMod()
294 int modulo = (int)division; in writeDiff() local
298 buffer[offset ++] = (byte)(SLOPE_MIN_ + modulo); in writeDiff()
301 buffer[offset + 2] = (byte)(SLOPE_MIN_ + modulo); in writeDiff()
304 modulo = (int)division; in writeDiff()
306 buffer[offset + 1] = (byte)(SLOPE_MIN_ + modulo); in writeDiff()
311 buffer[offset + 3] = (byte)(SLOPE_MIN_ + modulo); in writeDiff()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DBOCSU.java239 int modulo = number % factor; in getNegDivMod() local
241 if (modulo < 0) { in getNegDivMod()
243 modulo += factor; in getNegDivMod()
245 return (result << 32) | modulo; in getNegDivMod()
293 int modulo = (int)division; in writeDiff() local
297 buffer[offset ++] = (byte)(SLOPE_MIN_ + modulo); in writeDiff()
300 buffer[offset + 2] = (byte)(SLOPE_MIN_ + modulo); in writeDiff()
303 modulo = (int)division; in writeDiff()
305 buffer[offset + 1] = (byte)(SLOPE_MIN_ + modulo); in writeDiff()
310 buffer[offset + 3] = (byte)(SLOPE_MIN_ + modulo); in writeDiff()
[all …]
/external/fio/lib/
Dnum2str.c17 unsigned int modulo, decimals; in num2str() local
37 modulo = -1U; in num2str()
43 modulo = num % thousand[!!pow2]; in num2str()
45 carry = modulo >= thousand[!!pow2] / 2; in num2str()
49 if (modulo == -1U) { in num2str()
68 sprintf(tmp, "%u", modulo); in num2str()
72 modulo = (modulo + 9) / 10; in num2str()
75 sprintf(buf, "%llu.%u%s%s", (unsigned long long) num, modulo, in num2str()
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt058rewriteAST70.g4 modulo
5 : 'modulo' ID ('(' parms+ ')')? -> ^('modulo' ID ^(PARMS parms+)?)
/external/valgrind/none/tests/ppc32/
Ddata-cache-instructions.stdout.exp2 Passed dcbzl test at un-aligned (1 modulo block_size) address within the test block.
3 Passed dcbzl test at un-aligned ((block_size - 1) modulo block_size) address within the test block.
/external/valgrind/none/tests/ppc64/
Ddata-cache-instructions.stdout.exp2 Passed dcbzl test at un-aligned (1 modulo block_size) address within the test block.
3 Passed dcbzl test at un-aligned ((block_size - 1) modulo block_size) address within the test block.
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
Dcommon.py171 for modulo in modulo_values:
172 m *= modulo
/external/chromium-trace/catapult/third_party/Paste/paste/exceptions/
Dserial_number_generator.py72 modulo = base ** length
75 number = (number * 256 + six.byte2int([c])) % modulo
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3collections.c155 table->modulo = sizeHint; in antlr3HashTableNew()
208 for (bucket = 0; bucket < table->modulo; bucket++) in antlr3HashFree()
283 hash = (ANTLR3_UINT32)(key % (ANTLR3_INTKEY)(table->modulo)); in antlr3HashRemoveI()
344 bucket = table->buckets + (hash % table->modulo); in antlr3HashRemove()
452 hash = (ANTLR3_UINT32)(key % (ANTLR3_INTKEY)(table->modulo)); in antlr3HashGetI()
496 bucket = table->buckets + (hash % table->modulo); in antlr3HashGet()
532 hash = (ANTLR3_UINT32)(key % (ANTLR3_INTKEY)(table->modulo)); in antlr3HashPutI()
607 bucket = table->buckets + (hash % table->modulo); in antlr3HashPut()
733 if (en->bucket >= en->table->modulo) in antlr3EnumNext()
791 while (en->bucket < en->table->modulo) in antlr3EnumNextEntry()
/external/v8/src/
Dcodegen.cc23 double modulo(double x, double y) { in modulo() function
35 double modulo(double x, double y) {
Dcodegen.h98 double modulo(double x, double y);
/external/opencv3/modules/flann/include/opencv2/flann/
Ddist.h448 const size_t modulo = size % sizeof(pop_t);
455 if (modulo) {
459 memcpy(&a_final, a2, modulo);
460 memcpy(&b_final, b2, modulo);
/external/v8/test/webkit/
Dmod-by-zero-expected.txt24 This tests that modulo with zero does not crash but returns NaN.
/external/skia/tools/lua/
Dlua_pictures.cpp34 DEFINE_string(modulo, "", "[--modulo <remainder> <divisor>]: only run tests for which "
/external/v8/test/mjsunit/harmony/
Darray-concat.js242 function testConcatTypedArray(type, elems, modulo) { argument
247 ta_by_len[i] = items[i] = modulo === false ? i : elems % modulo;
/external/v8/test/unittests/compiler/
Dtyper-unittest.cc275 TestBinaryArithOp(javascript_.Modulus(LanguageMode::SLOPPY, hints_), modulo); in TEST_F()
276 TestBinaryArithOp(javascript_.Modulus(LanguageMode::STRONG, hints_), modulo); in TEST_F()
/external/autotest/client/deps/glbench/src/
Dyuv2rgb_2.glslf35 * of the original image is 2 modulo 4.
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3collections.h111 ANTLR3_UINT32 modulo; member
/external/zlib/src/doc/
Drfc1950.txt327 are done modulo 65521. s1 is initialized to 1, s2 to zero. The
484 The modulo on unsigned long accumulators can be delayed for 5552
485 bytes, so the modulo operation time is negligible. If the bytes
525 % modulo operator: a % b is the remainder of a divided by b.
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/type/
Duniv.py42 def __pow__(self, value, modulo=None): return self.clone(pow(self._value, value, modulo)) argument
583 def __pow__(self, value, modulo=None): return self.clone(pow(float(self), value, modulo)) argument
/external/opencv3/doc/py_tutorials/py_core/py_image_arithmetics/
Dpy_image_arithmetics.markdown19 saturated operation while Numpy addition is a modulo operation.
/external/iputils/doc/
Dclockdiff.sgml76 <command/clockdiff/ shows difference in time modulo 24 days.
/external/llvm/docs/
DAMDGPUUsage.rst19 Below some of the currently supported features (modulo bugs). These
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
Djsilver.sablecc499 | {modulo} [left]:factor percent [right]:value // x.y % a.b
500 {->New expression.modulo(left.expression, right.expression)}
700 | {modulo} [left]:expression [right]:expression // x % y
/external/srtp/doc/
Ddraft-irtf-cfrg-icm-00.txt217 Implementation of the `add one modulo 2^m' operation is simple. For
223 The implementation of general purpose addition modulo 2^m is

123