/third_party/skia/src/core/ |
H A D | SkRTree.cpp | 62 int remainder = branches % kMaxChildren; in CountNodes() local 63 if (remainder > 0) { in CountNodes() 65 if (remainder >= kMinChildren) { in CountNodes() 66 remainder = 0; in CountNodes() 68 remainder = kMinChildren - remainder; in CountNodes() 75 if (remainder != 0) { in CountNodes() 76 if (remainder <= kMaxChildren - kMinChildren) { in CountNodes() 77 incrementBy -= remainder; in CountNodes() 78 remainder in CountNodes() 102 int remainder = (int)branches->size() % kMaxChildren; bulkLoad() local [all...] |
H A D | SkImageFilterTypes.cpp | 31 SkMatrix remainder, layer; in decomposeCTM() local 38 remainder = ctm; in decomposeCTM() 43 remainder = SkMatrix::I(); in decomposeCTM() 45 } else if (ctm.decomposeScale(&decomposed, &remainder)) { in decomposeCTM() 59 // NOTE: This makes remainder and layer the same as the MatrixCapability::Translate case in decomposeCTM() 63 remainder = ctm; in decomposeCTM() 64 remainder.preScale(SkScalarInvert(scale), SkScalarInvert(scale)); in decomposeCTM() 69 if (!remainder.invert(&invRemainder)) { in decomposeCTM() 71 // a scaling matrix and a remainder and have the remainder b in decomposeCTM() [all...] |
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | resample_neon.h | 82 uint32_t remainder = len % 16; in inner_product_single() local 83 len = len - remainder; in inner_product_single() 89 " subs %w[remainder], %w[remainder], #4\n" in inner_product_single() 112 " cmp %w[remainder], #0\n" in inner_product_single() 117 " subs %w[remainder], %w[remainder], #4\n" in inner_product_single() 127 [len] "+r" (len), [remainder] "+r" (remainder) in inner_product_single() 137 uint32_t remainder in inner_product_single() local 227 uint32_t remainder = len % 16; inner_product_single() local 282 uint32_t remainder = len % 16; inner_product_single() local [all...] |
/third_party/skia/src/gpu/effects/ |
H A D | GrSkSLFP.h | 220 Args&&... remainder) { in appendArgs() 224 this->appendArgs(uniformDataPtr, uniformFlagsPtr, std::forward<Args>(remainder)...); in appendArgs() 232 Args&&... remainder) { in appendArgs() 236 this->appendArgs(uniformDataPtr, uniformFlagsPtr, std::forward<Args>(remainder)...); in appendArgs() 243 Args&&... remainder) { in appendArgs() 253 uniformDataPtr, uniformFlagsPtr, name, val.value, std::forward<Args>(remainder)...); in appendArgs() 260 Args&&... remainder) { in appendArgs() 269 this->appendArgs(uniformDataPtr, uniformFlagsPtr, std::forward<Args>(remainder)...); in appendArgs() 276 Args&&... remainder) { in appendArgs() 282 this->appendArgs(uniformDataPtr, uniformFlagsPtr, std::forward<Args>(remainder) in appendArgs() 216 appendArgs(uint8_t* uniformDataPtr, UniformFlags* uniformFlagsPtr, const char* name, std::unique_ptr<GrFragmentProcessor>&& child, Args&&... remainder) appendArgs() argument 228 appendArgs(uint8_t* uniformDataPtr, UniformFlags* uniformFlagsPtr, const char* name, GrIgnoreOptFlags&& child, Args&&... remainder) appendArgs() argument 239 appendArgs(uint8_t* uniformDataPtr, UniformFlags* uniformFlagsPtr, const char* name, const GrSpecializedUniform<T>& val, Args&&... remainder) appendArgs() argument 256 appendArgs(uint8_t* uniformDataPtr, UniformFlags* uniformFlagsPtr, const char* name, const GrOptionalUniform<T>& val, Args&&... remainder) appendArgs() argument 272 appendArgs(uint8_t* uniformDataPtr, UniformFlags* uniformFlagsPtr, const char* name, SkSpan<T> val, Args&&... remainder) appendArgs() argument 285 appendArgs(uint8_t* uniformDataPtr, UniformFlags* uniformFlagsPtr, const char* name, const T& val, Args&&... remainder) appendArgs() argument 317 checkArgs(uniform_iterator uIter, uniform_iterator uEnd, child_iterator cIter, child_iterator cEnd, const char* name, std::unique_ptr<GrFragmentProcessor>&& child, Args&&... remainder) checkArgs() argument 331 checkArgs(uniform_iterator uIter, uniform_iterator uEnd, child_iterator cIter, child_iterator cEnd, const char* name, GrIgnoreOptFlags&& child, Args&&... remainder) checkArgs() argument 345 checkArgs(uniform_iterator uIter, uniform_iterator uEnd, child_iterator cIter, child_iterator cEnd, const char* name, const GrSpecializedUniform<T>& val, Args&&... remainder) checkArgs() argument 356 checkArgs(uniform_iterator uIter, uniform_iterator uEnd, child_iterator cIter, child_iterator cEnd, const char* name, const GrOptionalUniform<T>& val, Args&&... remainder) checkArgs() argument 387 checkArgs(uniform_iterator uIter, uniform_iterator uEnd, child_iterator cIter, child_iterator cEnd, const char* name, SkSpan<T> val, Args&&... remainder) checkArgs() argument 398 checkArgs(uniform_iterator uIter, uniform_iterator uEnd, child_iterator cIter, child_iterator cEnd, const char* name, const T& val, Args&&... remainder) checkArgs() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | gregoimp.cpp | 36 int32_t* remainder) { in floorDivide() 44 *remainder = (int32_t) (uprv_floor(numerator) - (quotient * denominator)); in floorDivide() 49 double* remainder) { in floorDivide() 53 *remainder = dividend - (quotient * divisor); in floorDivide() 57 if (*remainder < 0 || *remainder >= divisor) { in floorDivide() 62 quotient += (*remainder < 0) ? -1 : +1; in floorDivide() 68 // can't give a correct answer, so we set the remainder to in floorDivide() 73 *remainder = 0; in floorDivide() 75 *remainder in floorDivide() 35 floorDivide(double numerator, int32_t denominator, int32_t* remainder) floorDivide() argument 48 floorDivide(double dividend, double divisor, double* remainder) floorDivide() argument [all...] |
/third_party/python/Tools/c-analyzer/c_parser/parser/ |
H A D | _global.py | 70 remainder = srcinfo.text[m.end():] 74 srcinfo.advance(remainder) 81 remainder = maybe_inline_actual + remainder 88 remainder = f'{name} {remainder}' 89 srcinfo.advance(remainder) 100 remainder, 134 srcinfo.advance(remainder) 150 srcinfo.advance(remainder) [all...] |
H A D | _compound_decl_body.py | 58 remainder = srcinfo.text[m.end():] 62 srcinfo.advance(remainder) 74 remainder, 111 remainder = rf'{qualspec} {remainder}' 112 srcinfo.advance(remainder) 139 remainder = srcinfo.text[m.end():] 149 srcinfo.advance(remainder)
|
H A D | _info.py | 92 def resume(self, remainder=None): 97 if remainder is None: 98 remainder = self._current.text 101 self._current.text += ' ' + remainder 104 def advance(self, remainder, start=None): 107 if remainder.strip(): 108 self._replace(remainder, start, fixnested=True)
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | gregoimp.cpp | 36 int32_t& remainder) { in floorDivide() 39 remainder = (int32_t) (numerator - (quotient * denominator)); in floorDivide() 44 double& remainder) { in floorDivide() 48 remainder = dividend - (quotient * divisor); in floorDivide() 52 if (remainder < 0 || remainder >= divisor) { in floorDivide() 57 quotient += (remainder < 0) ? -1 : +1; in floorDivide() 63 // can't give a correct answer, so we set the remainder to in floorDivide() 68 remainder = 0; in floorDivide() 70 remainder in floorDivide() 35 floorDivide(double numerator, int32_t denominator, int32_t& remainder) floorDivide() argument 43 floorDivide(double dividend, double divisor, double& remainder) floorDivide() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Grego.java | 110 long[] remainder = new long[1]; in dayOfWeek() 111 floorDivide(day + 5 /* Calendar.THURSDAY */, 7, remainder); in dayOfWeek() 112 int dayOfWeek = (int)remainder[0]; in dayOfWeek() 176 long[] remainder = new long[1]; in timeToFields() 177 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder); in timeToFields() 179 fields[5] = (int)remainder[0]; in timeToFields() 191 private static long floorDivide(long numerator, long denominator, long[] remainder) { in floorDivide() argument 193 remainder[0] = numerator % denominator; in floorDivide() 197 remainder[0] = numerator - (quotient * denominator); in floorDivide()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | Grego.java | 112 long[] remainder = new long[1]; in dayOfWeek() 113 floorDivide(day + 5 /* Calendar.THURSDAY */, 7, remainder); in dayOfWeek() 114 int dayOfWeek = (int)remainder[0]; in dayOfWeek() 178 long[] remainder = new long[1]; in timeToFields() 179 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder); in timeToFields() 181 fields[5] = (int)remainder[0]; in timeToFields() 193 private static long floorDivide(long numerator, long denominator, long[] remainder) { in floorDivide() argument 195 remainder[0] = numerator % denominator; in floorDivide() 199 remainder[0] = numerator - (quotient * denominator); in floorDivide()
|
/third_party/mesa3d/src/util/ |
H A D | fast_idiv_by_const.c | 86 /* The remainder and quotient of our power of 2 divided by d */ in util_compute_fast_udiv_info() 88 uint64_t remainder = initial_power_of_2 % D; in util_compute_fast_udiv_info() local 110 /* Quotient and remainder is from previous exponent; compute it for this in util_compute_fast_udiv_info() 113 if (remainder >= D - remainder) { in util_compute_fast_udiv_info() 114 /* Doubling remainder will wrap around D */ in util_compute_fast_udiv_info() 116 remainder = remainder * 2 - D; in util_compute_fast_udiv_info() 120 remainder = remainder * in util_compute_fast_udiv_info() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
H A D | math_remainder_test.cpp | 17 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the remainder interface. 24 bool testResult = DoubleUlpCmp(g_remainderData[i].expected, remainder(g_remainderData[i].input1, in HWTEST_F() 37 EXPECT_DOUBLE_EQ(4.0, remainder(15.0, 11.0)); in HWTEST_F() 47 EXPECT_TRUE(isnan(remainder(nan(""), 11.0))); in HWTEST_F() 48 EXPECT_TRUE(isnan(remainder(13.0, nan("")))); in HWTEST_F() 58 EXPECT_TRUE(isnan(remainder(HUGE_VAL, 14.0))); in HWTEST_F() 59 EXPECT_TRUE(isnan(remainder(-HUGE_VAL, 14.0))); in HWTEST_F() 69 EXPECT_TRUE(isnan(remainder(15.0, 0.0))); in HWTEST_F()
|
/third_party/node/deps/v8/src/bigint/ |
H A D | div-schoolbook.cc | 25 // Computes Q(uotient) and remainder for A/b, such that 26 // Q = (A - remainder) / b, with 0 <= remainder < b. 27 // If Q.len == 0, only the remainder will be returned. 29 void ProcessorImpl::DivideSingle(RWDigits Q, digit_t* remainder, Digits A, in DivideSingle() argument 33 *remainder = 0; in DivideSingle() 39 Q[i] = digit_div(*remainder, A[i], b, remainder); in DivideSingle() 44 *remainder = A[length - 1]; in DivideSingle() 46 Q[i] = digit_div(*remainder, in DivideSingle() [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | opt_rebalance_tree.cpp | 75 ir_rvalue *remainder = root->operands[1]; in tree_to_vine() local 77 while (remainder != NULL) { in tree_to_vine() 78 ir_expression *remainder_temp = remainder->as_expression(); in tree_to_vine() 84 vine_tail = remainder; in tree_to_vine() 85 remainder = remainder->as_expression() ? in tree_to_vine() 86 ((ir_expression *)remainder)->operands[1] : NULL; in tree_to_vine() 91 ((ir_expression *)remainder)->operands[0] = tempptr->operands[1]; in tree_to_vine() 92 tempptr->operands[1] = remainder; in tree_to_vine() 93 remainder in tree_to_vine() [all...] |
/third_party/qrcodegen/c/ |
H A D | qrcodegen-test.c | 299 uint8_t remainder[ARRAY_LENGTH(generator)]; in testReedSolomonComputeRemainder() local 301 reedSolomonComputeRemainder(data, 0, generator, ARRAY_LENGTH(generator), remainder); in testReedSolomonComputeRemainder() 302 assert(remainder[0] == 0); in testReedSolomonComputeRemainder() 303 assert(remainder[1] == 0); in testReedSolomonComputeRemainder() 304 assert(remainder[2] == 0); in testReedSolomonComputeRemainder() 310 uint8_t remainder[ARRAY_LENGTH(generator)]; in testReedSolomonComputeRemainder() local 312 reedSolomonComputeRemainder(data, ARRAY_LENGTH(data), generator, ARRAY_LENGTH(generator), remainder); in testReedSolomonComputeRemainder() 313 assert(remainder[0] == generator[0]); in testReedSolomonComputeRemainder() 314 assert(remainder[1] == generator[1]); in testReedSolomonComputeRemainder() 315 assert(remainder[ in testReedSolomonComputeRemainder() 322 uint8_t remainder[ARRAY_LENGTH(generator)]; testReedSolomonComputeRemainder() local 341 uint8_t remainder[ARRAY_LENGTH(generator)]; testReedSolomonComputeRemainder() local [all...] |
/third_party/node/deps/npm/node_modules/columnify/ |
H A D | utils.js | 115 var remainder = '' 119 while (remainder || words.length) { 120 if (remainder) { 121 var word = remainder 122 remainder = '' 141 remainder = word.slice(i) // get remainder 142 // save remainder for next loop
|
/third_party/rust/crates/clap/clap_lex/src/ |
H A D | lib.rs | 314 let remainder = raw.strip_prefix("--")?; in to_long() 315 if remainder.is_empty() { in to_long() 320 let (flag, value) = if let Some((p0, p1)) = remainder.split_once('=') { in to_long() 323 (remainder, None) in to_long() 330 let remainder = raw.strip_prefix("--")?; in to_long() 331 if remainder.is_empty() { in to_long() 336 let (flag, value) = if let Some((p0, p1)) = remainder.split_once('=') { in to_long() 339 (remainder, None) in to_long() 360 let remainder = self.utf8.map(|s| &s[1..]); in to_short() 361 Some(ShortFlags::new(remainder_os, remainder)) in to_short() [all...] |
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
H A D | kernel.h | 209 * This API is used to do a division implimentation,and return the remainder 219 * @retval remainder 231 * This API is used to do a division implimentation,and return the remainder 241 * @retval remainder 309 * This API is used to do a division implimentation,and return the quotient ,and remainder as OUT 314 * <li>the param remainder should point to a valid address.</li> 319 * @param remainder [OUT] the remainder should point to a valid address. remainder as OUT 325 static inline INT64 div_s64_rem(INT64 dividend, INT32 divisor, INT32 *remainder) in div_s64_rem() argument 352 div64_u64_rem(UINT64 dividend, UINT64 divisor, UINT64 *remainder) div64_u64_rem() argument 379 div_u64_rem(UINT64 dividend, UINT32 divisor, UINT32 *remainder) div_u64_rem() argument 406 INT32 remainder; div_s64() local 431 UINT32 remainder; div_u64() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/ |
H A D | int128.cc | 80 // remainder will be left in dividend. in DivModImpl() 144 uint128 remainder = 0; 145 DivModImpl(lhs, rhs, "ient, &remainder); 151 uint128 remainder = 0; 152 DivModImpl(lhs, rhs, "ient, &remainder); 153 return remainder; 266 uint128 remainder = 0; 268 "ient, &remainder); 278 uint128 remainder = 0; 280 "ient, &remainder); [all...] |
/third_party/skia/src/gpu/ |
H A D | BufferWriter.h | 161 void writeQuad(const Args&... remainder) { in writeQuad() 162 this->writeQuadVertex<0>(remainder...); in writeQuad() 163 this->writeQuadVertex<1>(remainder...); in writeQuad() 164 this->writeQuadVertex<2>(remainder...); in writeQuad() 165 this->writeQuadVertex<3>(remainder...); in writeQuad() 171 const Args&... remainder) { in writeQuadVertex() 173 this->writeQuadVertex<kCornerIdx>(remainder...); in writeQuadVertex() 178 const Args&... remainder) { in writeQuadVertex() 180 this->writeQuadVertex<kCornerIdx>(remainder...); in writeQuadVertex()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | gregoimp.cpp | 36 int32_t* remainder) { in floorDivide() 40 if (remainder != nullptr) { in floorDivide() 45 *remainder = (int32_t) (uprv_floor(numerator) - (quotient * denominator)); in floorDivide() 51 double* remainder) { in floorDivide() 70 // can't give a correct answer, so we set the remainder to in floorDivide() 81 if (remainder != nullptr) { in floorDivide() 82 *remainder = r; in floorDivide() 35 floorDivide(double numerator, int32_t denominator, int32_t* remainder) floorDivide() argument 50 floorDivide(double dividend, double divisor, double* remainder) floorDivide() argument
|
/third_party/mesa3d/src/glx/apple/ |
H A D | glx_empty.c | 45 glXWaitVideoSyncSGI(int divisor, int remainder, unsigned int *count) in glXWaitVideoSyncSGI() argument 69 int64_t target_msc, int64_t divisor, int64_t remainder) in glXSwapBuffersMscOML() 75 (void) remainder; in glXSwapBuffersMscOML() 83 int64_t remainder, int64_t * ust, in glXWaitForMscOML() 90 (void) remainder; in glXWaitForMscOML() 68 glXSwapBuffersMscOML(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder) glXSwapBuffersMscOML() argument 81 glXWaitForMscOML(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t * ust, int64_t * msc, int64_t * sbc) glXWaitForMscOML() argument
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | numbers_test_common.h | 48 int remainder = in Itoa() 51 char c = remainder < 10 ? '0' + remainder : 'A' + remainder - 10; in Itoa()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_idiv.c | 133 /* Get initial estimate for quotient/remainder, then refine the estimate in emit_udiv() 137 nir_ssa_def *remainder = nir_isub(bld, numer, num_s_remainder); in emit_udiv() local 140 nir_ssa_def *remainder_ge_den = nir_uge(bld, remainder, denom); in emit_udiv() 145 remainder = nir_bcsel(bld, remainder_ge_den, in emit_udiv() 146 nir_isub(bld, remainder, denom), remainder); in emit_udiv() 149 remainder_ge_den = nir_uge(bld, remainder, denom); in emit_udiv() 151 return nir_bcsel(bld, remainder_ge_den, nir_isub(bld, remainder, denom), in emit_udiv() 152 remainder); in emit_udiv() 218 /* Get remainder give in convert_instr_small() [all...] |