HomeSort by relevance Sort by last modified time
    Searched refs:budget (Results 1 - 25 of 36) sorted by null

1 2

  /external/skia/src/lazy/
SkDiscardableMemoryPool.h 24 * budget of memory. When the allocated memory exceeds this size,
26 * can exceed the memory-use budget.
33 virtual void setRAMBudget(size_t budget) = 0;
SkDiscardableMemoryPool.cpp 30 DiscardableMemoryPool(size_t budget);
39 void setRAMBudget(size_t budget) override;
62 void dumpDownTo(size_t budget);
126 DiscardableMemoryPool::DiscardableMemoryPool(size_t budget)
127 : fBudget(budget)
141 void DiscardableMemoryPool::dumpDownTo(size_t budget) {
143 if (fUsed <= budget) {
149 while ((fUsed > budget) && (cur)) {
220 void DiscardableMemoryPool::setRAMBudget(size_t budget) {
222 fBudget = budget;
    [all...]
  /external/skqp/src/lazy/
SkDiscardableMemoryPool.h 24 * budget of memory. When the allocated memory exceeds this size,
26 * can exceed the memory-use budget.
33 virtual void setRAMBudget(size_t budget) = 0;
SkDiscardableMemoryPool.cpp 30 DiscardableMemoryPool(size_t budget);
39 void setRAMBudget(size_t budget) override;
62 void dumpDownTo(size_t budget);
126 DiscardableMemoryPool::DiscardableMemoryPool(size_t budget)
127 : fBudget(budget)
141 void DiscardableMemoryPool::dumpDownTo(size_t budget) {
143 if (fUsed <= budget) {
149 while ((fUsed > budget) && (cur)) {
220 void DiscardableMemoryPool::setRAMBudget(size_t budget) {
222 fBudget = budget;
    [all...]
  /external/libopus/celt/
quant_bands.c 158 opus_int32 budget, opus_int32 tell,
168 if (tell+3 <= budget)
217 bits_left = budget-tell-3*C*(end-i);
227 if (budget-tell >= 15)
234 else if(budget-tell >= 2)
239 else if(budget-tell >= 1)
262 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget,
278 intra_bias = (opus_int32)((budget**delayedIntra*loss_rate)/(C*512));
282 if (tell+3 > budget)
304 badness1 = quant_coarse_energy_impl(m, start, end, eBands, oldEBands_intra, budget,
435 opus_int32 budget; local
    [all...]
quant_bands.h 51 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget,
celt_decoder.c 407 opus_uint32 budget; local
410 budget = dec->storage*8;
413 tf_select_rsv = LM>0 && tell+logp+1<=budget;
414 budget -= tf_select_rsv;
418 if (tell+logp<=budget)
    [all...]
  /external/libdivsufsort/lib/
trsort.c 202 trbudget_init(trbudget_t *budget, saidx_t chance, saidx_t incval) {
203 budget->chance = chance;
204 budget->remain = budget->incval = incval;
209 trbudget_check(trbudget_t *budget, saidx_t size) {
210 if(size <= budget->remain) { budget->remain -= size; return 1; }
211 if(budget->chance == 0) { budget->count += size; return 0; }
212 budget->remain += budget->incval - size
558 trbudget_t budget; local
    [all...]
  /external/bzip2/
blocksort.c 352 Int32* budget )
464 (*budget)--;
492 Int32* budget )
515 ptr[j-h]+d, v+d, block, quadrant, nblock, budget
529 ptr[j-h]+d, v+d, block, quadrant, nblock, budget
543 ptr[j-h]+d, v+d, block, quadrant, nblock, budget
552 if (*budget < 0) return;
628 Int32* budget )
651 mainSimpleSort ( ptr, block, quadrant, nblock, lo, hi, d, budget );
652 if (*budget < 0) return
1040 Int32 budget; local
    [all...]
  /external/v8/src/regexp/
jsregexp.h 450 virtual int EatsAtLeast(int still_to_find, int budget, bool not_at_start) = 0;
481 // EatsAtLeast, GetQuickCheckDetails. The budget argument is used to limit
485 virtual void FillInBMInfo(Isolate* isolate, int offset, int budget,
568 virtual void FillInBMInfo(Isolate* isolate, int offset, int budget,
570 on_success_->FillInBMInfo(isolate, offset, budget - 1, bm, not_at_start);
613 virtual int EatsAtLeast(int still_to_find, int budget, bool not_at_start);
621 virtual void FillInBMInfo(Isolate* isolate, int offset, int budget,
689 virtual int EatsAtLeast(int still_to_find, int budget, bool not_at_start);
700 virtual void FillInBMInfo(Isolate* isolate, int offset, int budget,
754 virtual int EatsAtLeast(int still_to_find, int budget, bool not_at_start)
    [all...]
jsregexp.cc     [all...]
  /external/skqp/src/gpu/text/
GrTextBlobCache.h 21 * The callback function used by the cache when it is still over budget after a purge. The
96 void setBudget(size_t budget) {
97 fBudget = budget;
  /prebuilts/go/darwin-x86/src/crypto/rand/
rand_unix.go 104 budget int // number of bytes that can be generated
116 if r.budget == 0 {
129 r.budget = 1 << 20 // reseed after generating 1MB
131 r.budget -= aes.BlockSize
  /prebuilts/go/linux-x86/src/crypto/rand/
rand_unix.go 104 budget int // number of bytes that can be generated
116 if r.budget == 0 {
129 r.budget = 1 << 20 // reseed after generating 1MB
131 r.budget -= aes.BlockSize
  /frameworks/base/services/core/java/com/android/server/connectivity/
MultipathPolicyTracker.java 192 /** Current multipath budget. Nonzero iff we have budget and a UsageCallback is armed. */
337 // TODO: re-register if day changed: budget may have run out but should be refreshed.
341 // budget is spent.
348 // ourselves any budget to work with.
350 final long budget = (usage == -1) ? 0 : Math.max(0, quota - usage); local
353 // fire late, after data usage went over budget. Also budget should be 0 if remaining
359 // since last time, so even if this is called very often the budget will not snap to 0
361 if (budget > NetworkStatsManager.MIN_THRESHOLD_BYTES)
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
inl.go 173 visitor := hairyVisitor{budget: maxBudget}
178 if visitor.budget < 0 {
179 reason = fmt.Sprintf("function too complex: cost %d exceeds budget %d", maxBudget-visitor.budget, maxBudget)
190 n.Func.InlCost = maxBudget - visitor.budget
245 budget int32
265 // Call is okay if inlinable and we have the budget for the body.
268 v.budget--
282 v.budget -= fn.InlCost
287 v.budget -= d.Func.InlCos
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
inl.go 173 visitor := hairyVisitor{budget: maxBudget}
178 if visitor.budget < 0 {
179 reason = fmt.Sprintf("function too complex: cost %d exceeds budget %d", maxBudget-visitor.budget, maxBudget)
190 n.Func.InlCost = maxBudget - visitor.budget
245 budget int32
265 // Call is okay if inlinable and we have the budget for the body.
268 v.budget--
282 v.budget -= fn.InlCost
287 v.budget -= d.Func.InlCos
    [all...]
  /external/skia/src/gpu/text/
GrTextBlobCache.h 21 * The callback function used by the cache when it is still over budget after a purge. The
96 void setBudget(size_t budget) {
97 fBudget = budget;
  /external/swiftshader/src/OpenGL/compiler/
OutputASM.h 290 bool trivial(TIntermTyped *expression, int budget); // Fast to compute and no side effects
291 int cost(TIntermNode *expression, int budget);
OutputASM.cpp     [all...]
  /external/valgrind/memcheck/tests/
varinfo6.c 3115 Int32 budget; local
    [all...]
origin5-bz2.c 3077 Int32 budget; local
    [all...]
  /external/valgrind/exp-sgcheck/tests/
hackedbz2.c 3086 Int32 budget; local
    [all...]
  /external/valgrind/perf/
bz2.c 3075 Int32 budget; local
    [all...]
test_input_for_tinycc.c 2699 Int32 budget; local
    [all...]

Completed in 809 milliseconds

1 2