Home
last modified time | relevance | path

Searched refs:multiplier (Results 1 – 25 of 164) sorted by relevance

1234567

/external/glide/library/src/main/java/com/bumptech/glide/
DMemoryCategory.java20 private float multiplier; field in MemoryCategory
22 MemoryCategory(float multiplier) { in MemoryCategory() argument
23 this.multiplier = multiplier; in MemoryCategory()
31 return multiplier; in getMultiplier()
/external/ppp/pppd/plugins/pppoatm/
Dtext2qos.c28 const char *multiplier; in __t2q_get_rate() local
44 multiplier = NULL; in __t2q_get_rate()
45 if (*end && (multiplier = strchr(mult,*end))) { in __t2q_get_rate()
46 while (multiplier >= mult) { in __t2q_get_rate()
50 multiplier -= 2; in __t2q_get_rate()
65 if (multiplier) return RATE_ERROR; in __t2q_get_rate()
73 else if (multiplier) return RATE_ERROR; in __t2q_get_rate()
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
Dpitest-4.c245 time_t multiplier = 1; in main() local
279 sleep(base_time + multiplier * 10 - seconds_read()); in main()
288 sleep(base_time + multiplier * 20 - seconds_read()); in main()
297 sleep(base_time + multiplier * 30 - seconds_read()); in main()
300 time_t timeout = multiplier * 40; in main()
306 sleep(base_time + multiplier * 40 - seconds_read()); in main()
309 timeout = multiplier * 20; in main()
315 sleep(base_time + multiplier * 75 - seconds_read()); in main()
319 sleep(base_time + multiplier * 85 - seconds_read()); in main()
323 sleep(base_time + multiplier * 95 - seconds_read()); in main()
Dpitest-3.c275 time_t multiplier = 1; in main() local
309 sleep(base_time + multiplier * 10 - seconds_read()); in main()
321 sleep(base_time + multiplier * 20 - seconds_read()); in main()
330 sleep(base_time + multiplier * 30 - seconds_read()); in main()
333 time_t timeout = multiplier * 20; in main()
339 sleep(base_time + multiplier * 60 - seconds_read()); in main()
347 sleep(base_time + multiplier * 90 - seconds_read()); in main()
351 sleep(base_time + multiplier * 100 - seconds_read()); in main()
355 sleep(base_time + multiplier * 110 - seconds_read()); in main()
358 sleep(base_time + multiplier * 120 - seconds_read()); in main()
Dpitest-2.c264 time_t multiplier = 1; in main() local
297 sleep(base_time + multiplier * 10 - seconds_read()); in main()
309 sleep(base_time + multiplier * 20 - seconds_read()); in main()
318 sleep(base_time + multiplier * 30 - seconds_read()); in main()
321 time_t timeout = multiplier * 20; in main()
327 sleep(base_time + multiplier * 60 - seconds_read()); in main()
335 sleep(base_time + multiplier * 90 - seconds_read()); in main()
339 sleep(base_time + multiplier * 100 - seconds_read()); in main()
343 sleep(base_time + multiplier * 110 - seconds_read()); in main()
346 sleep(base_time + multiplier * 120 - seconds_read()); in main()
Dpitest-6.c237 time_t multiplier = 1; in main() local
271 sleep(base_time + multiplier * 10 - seconds_read()); in main()
280 sleep(base_time + multiplier * 20 - seconds_read()); in main()
289 sleep(base_time + multiplier * 30 - seconds_read()); in main()
292 unsigned long timeout = multiplier * 20; in main()
298 sleep(base_time + multiplier * 40 - seconds_read()); in main()
305 sleep(base_time + multiplier * 60 - seconds_read()); in main()
309 sleep(base_time + multiplier * 70 - seconds_read()); in main()
313 sleep(base_time + multiplier * 80 - seconds_read()); in main()
Dpitest-1.c238 int multiplier = 1; in main() local
271 sleep(base_time + multiplier * 10 - seconds_read()); in main()
281 sleep(base_time + multiplier * 20 - seconds_read()); in main()
290 sleep(base_time + multiplier * 30 - seconds_read()); in main()
294 time_t timeout = multiplier * 20; in main()
300 sleep(base_time + multiplier * 60 - seconds_read()); in main()
306 sleep(base_time + multiplier * 70 - seconds_read()); in main()
311 sleep(base_time + multiplier * 80 - seconds_read()); in main()
Dpitest-5.c261 time_t multiplier = 1; in main() local
294 sleep(base_time + multiplier * 10 - seconds_read()); in main()
303 sleep(base_time + multiplier * 20 - seconds_read()); in main()
312 sleep(base_time + multiplier * 30 - seconds_read()); in main()
320 sleep(base_time + multiplier * 40 - seconds_read()); in main()
322 sleep(base_time + multiplier * 50 - seconds_read()); in main()
326 sleep(base_time + multiplier * 60 - seconds_read()); in main()
330 sleep(base_time + multiplier * 70 - seconds_read()); in main()
/external/minijail/
Dutil.c169 size_t i, multiplier = 1, nsize, size = 0; in parse_size() local
183 multiplier = 1024; in parse_size()
185 multiplier *= 1024; in parse_size()
196 if ((multiplier != 1 && end != sizespec + len - 1) || in parse_size()
197 (multiplier == 1 && end != sizespec + len)) in parse_size()
201 nsize = size * multiplier; in parse_size()
202 if (nsize / multiplier != size) in parse_size()
/external/v8/src/base/
Ddivision-by-constant.h23 : multiplier(m), shift(s), add(a) {} in MagicNumbersForDivision()
25 return multiplier == rhs.multiplier && shift == rhs.shift && add == rhs.add;
28 T multiplier; member
/external/gemmlowp/meta/
Dlegacy_operations_common.h21 std::int32_t sum_offset, std::int32_t multiplier, in Quantized8BitOperation() argument
26 multiplier(multiplier), in Quantized8BitOperation()
33 std::int32_t multiplier; variable
Doperations_common.h21 std::int32_t sum_offset, std::int32_t multiplier, in Quantized8BitOperation() argument
26 multiplier(multiplier), in Quantized8BitOperation()
33 std::int32_t multiplier; variable
Dlegacy_multi_thread_gemv.h34 std::int32_t sum_offset, std::int32_t multiplier, in GemvQuantized8BitOperation() argument
36 : Quantized8BitOperation(lhs_offset, rhs_offset, sum_offset, multiplier, in GemvQuantized8BitOperation()
44 multiplier, shift, result); in ExecuteMatrixMatrix()
104 std::int32_t multiplier, std::int32_t shift, in multi_thread_gemv_q8() argument
108 sum_offset, multiplier, shift); in multi_thread_gemv_q8()
Dmulti_thread_gemv.h34 std::int32_t sum_offset, std::int32_t multiplier, in GemvQuantized8BitOperation() argument
36 : Quantized8BitOperation(lhs_offset, rhs_offset, sum_offset, multiplier, in GemvQuantized8BitOperation()
44 multiplier, shift, result); in ExecuteMatrixMatrix()
104 std::int32_t multiplier, std::int32_t shift, in multi_thread_gemv_q8() argument
108 sum_offset, multiplier, shift); in multi_thread_gemv_q8()
Dlegacy_multi_thread_gemm.h62 std::int32_t sum_offset, std::int32_t multiplier, in GemmQuantized8BitOperation() argument
64 : Quantized8BitOperation(lhs_offset, rhs_offset, sum_offset, multiplier, in GemmQuantized8BitOperation()
82 sum_offset, multiplier, shift, result, result_stride); in ExecuteCacheFriendlyMatrixMatrix()
163 std::int32_t sum_offset, std::int32_t multiplier, in multi_thread_gemm_q8() argument
167 rhs_offset, sum_offset, multiplier, shift, result); in multi_thread_gemm_q8()
171 lhs_offset, sum_offset, multiplier, shift, result); in multi_thread_gemm_q8()
177 sum_offset, multiplier, shift); in multi_thread_gemm_q8()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_urb.c72 unsigned multiplier = in gen7_allocate_push_constants() local
89 gen7_emit_push_constant_state(brw, multiplier * vs_size, in gen7_allocate_push_constants()
90 multiplier * hs_size, multiplier * ds_size, in gen7_allocate_push_constants()
91 multiplier * gs_size, multiplier * fs_size); in gen7_allocate_push_constants()
/external/python/cpython2/Demo/classes/
Dbitvec.py265 def __mul__(self, multiplier): argument
267 if type(multiplier) != type(0):
269 if multiplier <= 0:
271 elif multiplier == 1:
275 return BitVec(0L, self._len * multiplier)
277 return ~BitVec(0L, self._len * multiplier)
280 while multiplier:
281 retval, multiplier = retval + self, multiplier - 1
/external/jemalloc/src/
Dnstime.c73 nstime_imultiply(nstime_t *time, uint64_t multiplier) in nstime_imultiply() argument
76 assert((((time->ns | multiplier) & (UINT64_MAX << (sizeof(uint64_t) << in nstime_imultiply()
77 2))) == 0) || ((time->ns * multiplier) / multiplier == time->ns)); in nstime_imultiply()
79 time->ns *= multiplier; in nstime_imultiply()
/external/wycheproof/java/com/google/security/wycheproof/
DRandomUtil.java78 long multiplier = A; in getState() local
88 long w = (l1 - l0 * multiplier + 65535L - 0xBL) & mask; in getState()
91 for (long em = w; em < (multiplier << 16); em += 1L << 48) { in getState()
94 long eps = em / multiplier; in getState()
/external/skia/src/core/
DSkAnalyticEdge.h139 const int multiplier = (1 << kDefaultAccuracy); in setLine() local
140 SkFixed x0 = SkFDot6ToFixed(SkScalarToFDot6(p0.fX * multiplier)) >> accuracy; in setLine()
141 SkFixed y0 = SnapY(SkFDot6ToFixed(SkScalarToFDot6(p0.fY * multiplier)) >> accuracy); in setLine()
142 SkFixed x1 = SkFDot6ToFixed(SkScalarToFDot6(p1.fX * multiplier)) >> accuracy; in setLine()
143 SkFixed y1 = SnapY(SkFDot6ToFixed(SkScalarToFDot6(p1.fY * multiplier)) >> accuracy); in setLine()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECCurve.java38 protected ECMultiplier multiplier; field in ECCurve.Config
40 Config(int coord, ECEndomorphism endomorphism, ECMultiplier multiplier) in Config() argument
44 this.multiplier = multiplier; in Config()
59 public Config setMultiplier(ECMultiplier multiplier) in setMultiplier() argument
61 this.multiplier = multiplier; in setMultiplier()
83 c.multiplier = multiplier; in create()
96 protected ECMultiplier multiplier = null; field in ECCurve
111 return new Config(this.coord, this.endomorphism, this.multiplier); in configure()
350 if (this.multiplier == null) in getMultiplier()
352 this.multiplier = createDefaultMultiplier(); in getMultiplier()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/util/
DLruCache.java36 public void setSizeMultiplier(float multiplier) { in setSizeMultiplier() argument
37 if (multiplier < 0) { in setSizeMultiplier()
40 maxSize = Math.round(initialMaxSize * multiplier); in setSizeMultiplier()
/external/libtextclassifier/common/
Dembedding-network.cc198 float multiplier; in GetEmbeddingInternal() local
204 embedding_matrix->get_embedding(id, &embedding_data, &multiplier); in GetEmbeddingInternal()
205 multiplier *= float_feature_value.weight; in GetEmbeddingInternal()
211 &multiplier); in GetEmbeddingInternal()
222 *concat_ptr += (static_cast<int>(*quant_weights) - 128) * multiplier; in GetEmbeddingInternal()
227 *concat_ptr += *weights * multiplier; in GetEmbeddingInternal()
/external/syslinux/com32/gpllib/dmi/
Ddmi_battery.c50 void dmi_battery_capacity(uint16_t code, uint8_t multiplier, char *capacity) in dmi_battery_capacity() argument
55 sprintf(capacity, "%u mWh", code * multiplier); in dmi_battery_capacity()
/external/replicaisland/src/com/replica/replicaisland/
DGravityComponent.java51 public void setGravityMultiplier(float multiplier) { in setGravityMultiplier() argument
53 mGravity.multiply(multiplier); in setGravityMultiplier()

1234567