/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 | 33 DiscardableMemoryPool(size_t budget, SkBaseMutex* mutex = nullptr); 39 void setRAMBudget(size_t budget) override; 62 void dumpDownTo(size_t budget); 132 DiscardableMemoryPool::DiscardableMemoryPool(size_t budget, 135 , fBudget(budget) 149 void DiscardableMemoryPool::dumpDownTo(size_t budget) { 153 if (fUsed <= budget) { 159 while ((fUsed > budget) && (cur)) { 233 void DiscardableMemoryPool::setRAMBudget(size_t budget) { 235 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, 434 opus_int32 budget; local [all...] |
quant_bands.h | 51 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget,
|
celt_decoder.c | 357 opus_uint32 budget; local 360 budget = dec->storage*8; 363 tf_select_rsv = LM>0 && tell+logp+1<=budget; 364 budget -= tf_select_rsv; 368 if (tell+logp<=budget) [all...] |
celt_encoder.c | 719 opus_uint32 budget; local 721 budget = enc->storage*8; 725 tf_select_rsv = LM>0 && tell+logp+1 <= budget; 726 budget -= tf_select_rsv; 730 if (tell+logp<=budget) 959 /* Make sure that dynamic allocation can't make us bust the 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...] |
/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
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
inl.go | 149 budget := int32(maxBudget) // allowed hairyness 150 if ishairylist(fn.Nbody, &budget, &reason) { 153 if budget < 0 { 167 n.Func.InlCost = maxBudget - budget 183 func ishairylist(ll Nodes, budget *int32, reason *string) bool { 185 if ishairy(n, budget, reason) { 192 func ishairy(n *Node, budget *int32, reason *string) bool { 198 // Call is okay if inlinable and we have the budget for the body. 201 *budget -= fn.InlCost 207 *budget -= d.Func.InlCos [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
inl.go | 149 budget := int32(maxBudget) // allowed hairyness 150 if ishairylist(fn.Nbody, &budget, &reason) { 153 if budget < 0 { 167 n.Func.InlCost = maxBudget - budget 183 func ishairylist(ll Nodes, budget *int32, reason *string) bool { 185 if ishairy(n, budget, reason) { 192 func ishairy(n *Node, budget *int32, reason *string) bool { 198 // Call is okay if inlinable and we have the budget for the body. 201 *budget -= fn.InlCost 207 *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 94 void setBudget(size_t budget) { 95 fBudget = budget; 192 // If we are still overbudget, then unref until we are below budget again 206 // then this single textblob is over our budget 213 SkDebugf("Single textblob is larger than our whole budget"); 219 // Budget was chosen to be ~4 megabytes. The min alloc and pre alloc sizes in the pool are
|
/external/swiftshader/src/OpenGL/compiler/ |
OutputASM.h | 281 bool trivial(TIntermTyped *expression, int budget); // Fast to compute and no side effects 282 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/VEX/switchback/ |
test_bzip2.c | 3060 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...] |
/external/valgrind/include/vki/ |
vki-xen-domctl.h | 301 vki_uint32_t budget; member in struct:vki_xen_domctl_scheduler_op::__anon36130::xen_domctl_sched_rtds
|
/external/valgrind/coregrind/m_syswrap/ |
syswrap-xen.c | 875 PRE_XEN_DOMCTL_READ(scheduler_op, u.rtds.budget); [all...] |