Home
last modified time | relevance | path

Searched refs:budget (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp32 DiscardableMemoryPool(size_t budget, SkBaseMutex* mutex = nullptr);
38 void setRAMBudget(size_t budget) override;
61 void dumpDownTo(size_t budget);
131 DiscardableMemoryPool::DiscardableMemoryPool(size_t budget, in DiscardableMemoryPool() argument
134 , fBudget(budget) in DiscardableMemoryPool()
148 void DiscardableMemoryPool::dumpDownTo(size_t budget) { in dumpDownTo() argument
152 if (fUsed <= budget) { in dumpDownTo()
158 while ((fUsed > budget) && (cur)) { in dumpDownTo()
232 void DiscardableMemoryPool::setRAMBudget(size_t budget) { in setRAMBudget() argument
234 fBudget = budget; in setRAMBudget()
DSkDiscardableMemoryPool.h33 virtual void setRAMBudget(size_t budget) = 0;
/external/libdivsufsort/lib/
Dtrsort.c202 trbudget_init(trbudget_t *budget, saidx_t chance, saidx_t incval) { in trbudget_init() argument
203 budget->chance = chance; in trbudget_init()
204 budget->remain = budget->incval = incval; in trbudget_init()
209 trbudget_check(trbudget_t *budget, saidx_t size) { in trbudget_check() argument
210 if(size <= budget->remain) { budget->remain -= size; return 1; } in trbudget_check()
211 if(budget->chance == 0) { budget->count += size; return 0; } in trbudget_check()
212 budget->remain += budget->incval - size; in trbudget_check()
213 budget->chance -= 1; in trbudget_check()
329 trbudget_t *budget) { in tr_introsort() argument
402 if(trbudget_check(budget, a - first)) { in tr_introsort()
[all …]
/external/libopus/celt/
Dquant_bands.c158 opus_int32 budget, opus_int32 tell, in quant_coarse_energy_impl() argument
168 if (tell+3 <= budget) in quant_coarse_energy_impl()
217 bits_left = budget-tell-3*C*(end-i); in quant_coarse_energy_impl()
227 if (budget-tell >= 15) in quant_coarse_energy_impl()
234 else if(budget-tell >= 2) in quant_coarse_energy_impl()
239 else if(budget-tell >= 1) in quant_coarse_energy_impl()
262 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget, in quant_coarse_energy() argument
278 intra_bias = (opus_int32)((budget**delayedIntra*loss_rate)/(C*512)); in quant_coarse_energy()
282 if (tell+3 > budget) in quant_coarse_energy()
304 badness1 = quant_coarse_energy_impl(m, start, end, eBands, oldEBands_intra, budget, in quant_coarse_energy()
[all …]
Dquant_bands.h51 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget,
Dcelt_decoder.c292 opus_uint32 budget; in tf_decode() local
295 budget = dec->storage*8; in tf_decode()
298 tf_select_rsv = LM>0 && tell+logp+1<=budget; in tf_decode()
299 budget -= tf_select_rsv; in tf_decode()
303 if (tell+logp<=budget) in tf_decode()
Dcelt_encoder.c719 opus_uint32 budget; in tf_encode() local
721 budget = enc->storage*8; in tf_encode()
725 tf_select_rsv = LM>0 && tell+logp+1 <= budget; in tf_encode()
726 budget -= tf_select_rsv; in tf_encode()
730 if (tell+logp<=budget) in tf_encode()
/external/bzip2/
Dblocksort.c352 Int32* budget ) in mainGtU() argument
464 (*budget)--; in mainGtU()
492 Int32* budget ) in mainSimpleSort() argument
515 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
529 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
543 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
552 if (*budget < 0) return; in mainSimpleSort()
628 Int32* budget ) in mainQSort3() argument
651 mainSimpleSort ( ptr, block, quadrant, nblock, lo, hi, d, budget ); in mainQSort3()
652 if (*budget < 0) return; in mainQSort3()
[all …]
/external/v8/src/regexp/
Djsregexp.h467 virtual int EatsAtLeast(int still_to_find, int budget, bool not_at_start) = 0;
502 virtual void FillInBMInfo(Isolate* isolate, int offset, int budget, in FillInBMInfo() argument
585 virtual void FillInBMInfo(Isolate* isolate, int offset, int budget, in FillInBMInfo() argument
587 on_success_->FillInBMInfo(isolate, offset, budget - 1, bm, not_at_start); in FillInBMInfo()
630 virtual int EatsAtLeast(int still_to_find, int budget, bool not_at_start);
638 virtual void FillInBMInfo(Isolate* isolate, int offset, int budget,
695 virtual int EatsAtLeast(int still_to_find, int budget, bool not_at_start);
706 virtual void FillInBMInfo(Isolate* isolate, int offset, int budget,
760 virtual int EatsAtLeast(int still_to_find, int budget, bool not_at_start);
765 virtual void FillInBMInfo(Isolate* isolate, int offset, int budget,
[all …]
Djsregexp.cc2259 int budget, in EatsAtLeast() argument
2261 if (budget <= 0) return 0; in EatsAtLeast()
2264 budget - 1, in EatsAtLeast()
2269 void ActionNode::FillInBMInfo(Isolate* isolate, int offset, int budget, in FillInBMInfo() argument
2274 on_success()->FillInBMInfo(isolate, offset, budget - 1, bm, not_at_start); in FillInBMInfo()
2281 int budget, in EatsAtLeast() argument
2283 if (budget <= 0) return 0; in EatsAtLeast()
2291 budget - 1, in EatsAtLeast()
2296 void AssertionNode::FillInBMInfo(Isolate* isolate, int offset, int budget, in FillInBMInfo() argument
2300 on_success()->FillInBMInfo(isolate, offset, budget - 1, bm, not_at_start); in FillInBMInfo()
[all …]
/external/llvm/test/Transforms/SLPVectorizer/X86/
Dschedule_budget.ll1 ; RUN: opt < %s -basicaa -slp-vectorizer -S -slp-schedule-budget=16 -mtriple=x86_64-apple-macosx10…
6 ; Test if the budget for the scheduling region size works.
7 ; We test with a reduced budget of 16 which should prevent vectorizing the loads.
73 ; But still vectorize the following instructions, because even if the budget
/external/skia/src/gpu/text/
DGrTextBlobCache.h93 void setBudget(size_t budget) { in setBudget() argument
94 fBudget = budget; in setBudget()
/external/opencv3/modules/ts/misc/
Dtable_formatter.py166 budget = cell.width - cell.awailable
171 addition = s * budget / total - spent
188 budget = cell.height - cell.awailable
193 addition = s * budget / total - spent
221 budget = width - len(cols) + 1 - total
226 addition = s * budget / total - spent
/external/valgrind/VEX/switchback/
Dtest_bzip2.c2372 Int32* budget ) in mainGtU() argument
2484 (*budget)--; in mainGtU()
2512 Int32* budget ) in mainSimpleSort() argument
2535 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2549 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2563 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2572 if (*budget < 0) return; in mainSimpleSort()
2648 Int32* budget ) in mainQSort3() argument
2671 mainSimpleSort ( ptr, block, quadrant, nblock, lo, hi, d, budget ); in mainQSort3()
2672 if (*budget < 0) return; in mainQSort3()
[all …]
/external/valgrind/memcheck/tests/
Dvarinfo6.c2426 Int32* budget ) in mainGtU() argument
2538 (*budget)--; in mainGtU()
2566 Int32* budget ) in mainSimpleSort() argument
2589 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2603 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2617 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2626 if (*budget < 0) return; in mainSimpleSort()
2701 Int32* budget ) in mainQSort3() argument
2724 mainSimpleSort ( ptr, block, quadrant, nblock, lo, hi, d, budget ); in mainQSort3()
2725 if (*budget < 0) return; in mainQSort3()
[all …]
Dorigin5-bz2.c2389 Int32* budget ) in mainGtU() argument
2501 (*budget)--; in mainGtU()
2529 Int32* budget ) in mainSimpleSort() argument
2552 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2566 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2580 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2589 if (*budget < 0) return; in mainSimpleSort()
2665 Int32* budget ) in mainQSort3() argument
2688 mainSimpleSort ( ptr, block, quadrant, nblock, lo, hi, d, budget ); in mainQSort3()
2689 if (*budget < 0) return; in mainQSort3()
[all …]
/external/valgrind/exp-sgcheck/tests/
Dhackedbz2.c2398 Int32* budget ) in mainGtU() argument
2510 (*budget)--; in mainGtU()
2538 Int32* budget ) in mainSimpleSort() argument
2561 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2575 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2589 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2598 if (*budget < 0) return; in mainSimpleSort()
2674 Int32* budget ) in mainQSort3() argument
2697 mainSimpleSort ( ptr, block, quadrant, nblock, lo, hi, d, budget ); in mainQSort3()
2698 if (*budget < 0) return; in mainQSort3()
[all …]
/external/valgrind/perf/
Dbz2.c2387 Int32* budget ) in mainGtU() argument
2499 (*budget)--; in mainGtU()
2527 Int32* budget ) in mainSimpleSort() argument
2550 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2564 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2578 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2587 if (*budget < 0) return; in mainSimpleSort()
2663 Int32* budget ) in mainQSort3() argument
2686 mainSimpleSort ( ptr, block, quadrant, nblock, lo, hi, d, budget ); in mainQSort3()
2687 if (*budget < 0) return; in mainQSort3()
[all …]
Dtest_input_for_tinycc.c2179 Int32* budget ) in mainGtU() argument
2291 (*budget)--; in mainGtU()
2311 Int32* budget ) in mainSimpleSort() argument
2334 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2348 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2362 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort()
2371 if (*budget < 0) return; in mainSimpleSort()
2397 Int32* budget ) in mainQSort3() argument
2420 mainSimpleSort ( ptr, block, quadrant, nblock, lo, hi, d, budget ); in mainQSort3()
2421 if (*budget < 0) return; in mainQSort3()
[all …]
/external/valgrind/include/vki/
Dvki-xen-domctl.h301 vki_uint32_t budget; member
/external/chromium-trace/catapult/docs/
Dpromises-vs-tasks.md30 …to `requestAnimationFrame` in a way that makes sure not to bust the time budget for a frame. Given…
/external/icu/icu4c/source/samples/ufortune/resources/
Droot.txt122 "A budget is just a method of worrying before you spend money, as well
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-xen.c875 PRE_XEN_DOMCTL_READ(scheduler_op, u.rtds.budget); in PRE()
1778 POST_XEN_DOMCTL_WRITE(scheduler_op, u.rtds.budget); in POST()
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/de-DE/
Dde-DE_lexpos.utf2052 N "budget" "bY-'d_Ze:"
/external/icu/icu4j/main/shared/data/
DTransliterator_Han_Latin_Definition.txt3240 順差 < \(trade\-or\-budget\)\-surplus;
8093 國防預算 < defence\-budget;
18739 預算 < budget;
22861 國防預算 > defence\-budget;
26598 順差 > \(trade\-or\-budget\)\-surplus;
33804 預算 > budget;

12