Searched refs:multiplier (Results 1 - 25 of 135) sorted by relevance

123456

/external/glide/library/src/main/java/com/bumptech/glide/
H A DMemoryCategory.java20 private float multiplier; field in class:MemoryCategory
22 MemoryCategory(float multiplier) { argument
23 this.multiplier = multiplier;
27 * Returns the multiplier that should be applied to the initial maximum size of Glide's memory cache and bitmap
31 return multiplier;
/external/replicaisland/src/com/replica/replicaisland/
H A DGravityComponent.java51 public void setGravityMultiplier(float multiplier) { argument
53 mGravity.multiply(multiplier);
/external/syslinux/com32/gpllib/dmi/
H A Ddmi_battery.c50 void dmi_battery_capacity(uint16_t code, uint8_t multiplier, char *capacity) argument
55 sprintf(capacity, "%u mWh", code * multiplier);
/external/v8/src/base/
H A Ddivision-by-constant.h23 : multiplier(m), shift(s), add(a) {}
25 return multiplier == rhs.multiplier && shift == rhs.shift && add == rhs.add;
28 T multiplier; member in struct:v8::base::MagicNumbersForDivision
34 // Calculate the multiplier and shift for signed division via multiplication.
39 // Calculate the multiplier and shift for unsigned division via multiplication,
/external/ppp/pppd/plugins/pppoatm/
H A Dtext2qos.c28 const char *multiplier; local
44 multiplier = NULL;
45 if (*end && (multiplier = strchr(mult,*end))) {
46 while (multiplier >= mult) {
50 multiplier -= 2;
65 if (multiplier) return RATE_ERROR;
73 else if (multiplier) return RATE_ERROR;
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
H A Dpitest-4.c244 time_t multiplier = 1; local
279 sleep(base_time + multiplier * 10 - seconds_read());
288 sleep(base_time + multiplier * 20 - seconds_read());
297 sleep(base_time + multiplier * 30 - seconds_read());
300 time_t timeout = multiplier * 40;
306 sleep(base_time + multiplier * 40 - seconds_read());
309 timeout = multiplier * 20;
315 sleep(base_time + multiplier * 75 - seconds_read());
319 sleep(base_time + multiplier * 85 - seconds_read());
323 sleep(base_time + multiplier * 9
[all...]
H A Dpitest-6.c237 time_t multiplier = 1; local
272 sleep(base_time + multiplier * 10 - seconds_read());
281 sleep(base_time + multiplier * 20 - seconds_read());
290 sleep(base_time + multiplier * 30 - seconds_read());
293 unsigned long timeout = multiplier * 20;
299 sleep(base_time + multiplier * 40 - seconds_read());
306 sleep(base_time + multiplier * 60 - seconds_read());
310 sleep(base_time + multiplier * 70 - seconds_read());
314 sleep(base_time + multiplier * 80 - seconds_read());
H A Dpitest-1.c237 int multiplier = 1; local
271 sleep(base_time + multiplier * 10 - seconds_read());
281 sleep(base_time + multiplier * 20 - seconds_read());
290 sleep(base_time + multiplier * 30 - seconds_read());
294 time_t timeout = multiplier * 20;
300 sleep(base_time + multiplier * 60 - seconds_read());
306 sleep(base_time + multiplier * 70 - seconds_read());
311 sleep(base_time + multiplier * 80 - seconds_read());
H A Dpitest-5.c260 time_t multiplier = 1; local
294 sleep(base_time + multiplier * 10 - seconds_read());
303 sleep(base_time + multiplier * 20 - seconds_read());
312 sleep(base_time + multiplier * 30 - seconds_read());
320 sleep(base_time + multiplier * 40 - seconds_read());
322 sleep(base_time + multiplier * 50 - seconds_read());
326 sleep(base_time + multiplier * 60 - seconds_read());
330 sleep(base_time + multiplier * 70 - seconds_read());
H A Dpitest-2.c263 time_t multiplier = 1; local
297 sleep(base_time + multiplier * 10 - seconds_read());
309 sleep(base_time + multiplier * 20 - seconds_read());
318 sleep(base_time + multiplier * 30 - seconds_read());
321 time_t timeout = multiplier * 20;
327 sleep(base_time + multiplier * 60 - seconds_read());
335 sleep(base_time + multiplier * 90 - seconds_read());
339 sleep(base_time + multiplier * 100 - seconds_read());
343 sleep(base_time + multiplier * 110 - seconds_read());
346 sleep(base_time + multiplier * 12
[all...]
H A Dpitest-3.c274 time_t multiplier = 1; local
309 sleep(base_time + multiplier * 10 - seconds_read());
321 sleep(base_time + multiplier * 20 - seconds_read());
330 sleep(base_time + multiplier * 30 - seconds_read());
333 time_t timeout = multiplier * 20;
339 sleep(base_time + multiplier * 60 - seconds_read());
347 sleep(base_time + multiplier * 90 - seconds_read());
351 sleep(base_time + multiplier * 100 - seconds_read());
355 sleep(base_time + multiplier * 110 - seconds_read());
358 sleep(base_time + multiplier * 12
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/util/
H A DLruCache.java30 * Sets a size multiplier that will be applied to the size provided in the constructor to set the new size of the
34 * @param multiplier The multiplier to apply.
36 public void setSizeMultiplier(float multiplier) { argument
37 if (multiplier < 0) {
40 maxSize = Math.round(initialMaxSize * multiplier);
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DMemoryCache.java28 * Adjust the maximum size of the cache by multiplying the original size of the cache by the given multiplier.
31 * If the size multiplier causes the size of the cache to be decreased, items will be evicted until the cache
35 * @param multiplier A size multiplier >= 0.
37 void setSizeMultiplier(float multiplier); argument
H A DMemoryCacheAdapter.java24 public void setSizeMultiplier(float multiplier) { argument
/external/wycheproof/java/com/google/security/wycheproof/
H A DRandomUtil.java78 long multiplier = A;
85 // We have l1 + delta = (l0 + eps)*multiplier + 0xBL (mod 2**48).
86 // This allows to find an upper bound w for eps * multiplier mod 2**48
88 long w = (l1 - l0 * multiplier + 65535L - 0xBL) & mask;
89 // The reduction eps * multiplier mod 2**48 only cuts off at most 3 bits.
91 for (long em = w; em < (multiplier << 16); em += 1L << 48) {
93 // em == eps * multiplier + 65535 - delta.
94 long eps = em / multiplier;
/external/jemalloc/src/
H A Dnstime.c73 nstime_imultiply(nstime_t *time, uint64_t multiplier) argument
76 assert((((time->ns | multiplier) & (UINT64_MAX << (sizeof(uint64_t) <<
77 2))) == 0) || ((time->ns * multiplier) / multiplier == time->ns));
79 time->ns *= multiplier;
/external/skia/src/core/
H A DSkAnalyticEdge.h139 const int multiplier = (1 << kDefaultAccuracy);
140 SkFixed x0 = SkFDot6ToFixed(SkScalarToFDot6(p0.fX * multiplier)) >> accuracy;
141 SkFixed y0 = SnapY(SkFDot6ToFixed(SkScalarToFDot6(p0.fY * multiplier)) >> accuracy);
142 SkFixed x1 = SkFDot6ToFixed(SkScalarToFDot6(p1.fX * multiplier)) >> accuracy;
143 SkFixed y1 = SnapY(SkFDot6ToFixed(SkScalarToFDot6(p1.fY * multiplier)) >> accuracy);
/external/minijail/
H A Dutil.c172 size_t i, multiplier = 1, nsize, size = 0; local
186 multiplier = 1024;
188 multiplier *= 1024;
199 if ((multiplier != 1 && end != sizespec + len - 1) ||
200 (multiplier == 1 && end != sizespec + len))
204 nsize = size * multiplier;
205 if (nsize / multiplier != size)
/external/syslinux/com32/gplinclude/dmi/
H A Ddmi_battery.h54 void dmi_battery_capacity(uint16_t code, uint8_t multiplier, char *capacity);
/external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/
H A Dvalues.pass.cpp17 // static constexpr result_type multiplier = a;
37 static_assert((LCE::multiplier == a), "");
62 where(LCE::multiplier);
/external/libtextclassifier/common/
H A Dembedding-network.cc198 float multiplier; local
204 embedding_matrix->get_embedding(id, &embedding_data, &multiplier);
205 multiplier *= float_feature_value.weight;
208 // Hence, after we grab the multiplier below, we don't multiply it by
211 &multiplier);
222 *concat_ptr += (static_cast<int>(*quant_weights) - 128) * multiplier;
227 *concat_ptr += *weights * multiplier;
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorIntDiv.h137 multiplier = 0;
157 multiplier = DividerHelper<N, T>::computeMultiplier(log_div, divider);
168 UnsignedType t1 = muluh(multiplier, numerator);
175 UnsignedType multiplier; member in struct:Eigen::internal::TensorIntDivisor
/external/jemalloc/include/jemalloc/internal/
H A Dnstime.h30 void nstime_imultiply(nstime_t *time, uint64_t multiplier);
/external/gemmlowp/meta/
H A Dmulti_thread_gemm.h61 std::int32_t sum_offset, std::int32_t multiplier,
66 multiplier(multiplier),
84 sum_offset, multiplier, shift, result, result_stride);
96 std::int32_t multiplier; member in class:gemmlowp::meta::internal::GemmQuantized8BitOperation
183 std::int32_t sum_offset, std::int32_t multiplier,
186 sum_offset, multiplier, shift);
60 GemmQuantized8BitOperation(std::int32_t lhs_offset, std::int32_t rhs_offset, std::int32_t sum_offset, std::int32_t multiplier, std::int32_t shift) argument
178 multi_thread_gemm_q8(gemmlowp::WorkersPool* pool, std::int32_t max_threads, std::uint8_t* scratch, const std::uint8_t* lhs, const std::uint8_t* rhs, std::int32_t m, std::int32_t n, std::int32_t k, std::int32_t lhs_offset, std::int32_t rhs_offset, std::int32_t sum_offset, std::int32_t multiplier, std::int32_t shift, std::uint8_t* result) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DECCurve.java38 protected ECMultiplier multiplier; field in class:ECCurve.Config
40 Config(int coord, ECEndomorphism endomorphism, ECMultiplier multiplier) argument
44 this.multiplier = multiplier;
59 public Config setMultiplier(ECMultiplier multiplier) argument
61 this.multiplier = multiplier;
83 c.multiplier = multiplier;
96 protected ECMultiplier multiplier field in class:ECCurve
[all...]

Completed in 819 milliseconds

123456