/third_party/libwebsockets/lib/roles/mqtt/ |
D | primitives.c | 71 vbi->budget = 4; in lws_mqtt_vbi_init() 79 vbi->budget = 2; in lws_mqtt_2byte_init() 87 vbi->budget = 4; in lws_mqtt_4byte_init() 94 if (!vbi->budget) { in lws_mqtt_vbi_r() 100 while (*len && vbi->budget--) { in lws_mqtt_vbi_r() 111 if (!vbi->budget) { /* should have ended on b7 = 0 and exited then... */ in lws_mqtt_vbi_r() 123 if (!vbi->budget) in lws_mqtt_mb_parse() 126 while (*len && vbi->budget--) { in lws_mqtt_mb_parse() 132 return vbi->budget ? LMSPR_NEED_MORE : LMSPR_COMPLETED; in lws_mqtt_mb_parse() 210 lws_mqtt_str_next(lws_mqtt_str_t *s, uint16_t *budget) in lws_mqtt_str_next() argument [all …]
|
/third_party/flutter/skia/src/lazy/ |
D | 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) in DiscardableMemoryPool() argument 127 : fBudget(budget) in DiscardableMemoryPool() 141 void DiscardableMemoryPool::dumpDownTo(size_t budget) { in dumpDownTo() argument 143 if (fUsed <= budget) { in dumpDownTo() 149 while ((fUsed > budget) && (cur)) { in dumpDownTo() 220 void DiscardableMemoryPool::setRAMBudget(size_t budget) { in setRAMBudget() argument 222 fBudget = budget; in setRAMBudget()
|
D | SkDiscardableMemoryPool.h | 33 virtual void setRAMBudget(size_t budget) = 0;
|
/third_party/skia/src/lazy/ |
D | SkDiscardableMemoryPool.cpp | 29 DiscardableMemoryPool(size_t budget); 38 void setRAMBudget(size_t budget) override; 61 void dumpDownTo(size_t budget); 125 DiscardableMemoryPool::DiscardableMemoryPool(size_t budget) in DiscardableMemoryPool() argument 126 : fBudget(budget) in DiscardableMemoryPool() 140 void DiscardableMemoryPool::dumpDownTo(size_t budget) { in dumpDownTo() argument 142 if (fUsed <= budget) { in dumpDownTo() 148 while ((fUsed > budget) && (cur)) { in dumpDownTo() 219 void DiscardableMemoryPool::setRAMBudget(size_t budget) { in setRAMBudget() argument 221 fBudget = budget; in setRAMBudget()
|
D | SkDiscardableMemoryPool.h | 31 virtual void setRAMBudget(size_t budget) = 0;
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-secure-streams/ |
D | main.c | 171 size_t budget = (next_test->send - m->sent); in myss_tx_post() local 173 if (!budget) in myss_tx_post() 176 if (*len < budget) in myss_tx_post() 177 budget = *len; in myss_tx_post() 182 memset(buf, 0x55, budget); in myss_tx_post() 183 *len = budget; in myss_tx_post() 184 m->sent += budget; in myss_tx_post()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-dynamic/ |
D | minimal-http-server-dynamic.c | 32 int budget; member 85 pss->budget = atoi((char *)in + 1); in callback_dynamic_http() 87 if (!pss->budget) in callback_dynamic_http() 88 pss->budget = 10; in callback_dynamic_http() 97 if (!pss || pss->times > pss->budget) in callback_dynamic_http() 120 if (pss->times == pss->budget) in callback_dynamic_http()
|
/third_party/libwebsockets/lib/misc/ |
D | lws-struct-lejp.c | 461 size_t budget = 0, olen = len, m; in lws_struct_json_serialize() local 535 budget = lws_snprintf(dbuf, sizeof(dbuf), in lws_struct_json_serialize() 538 budget = lws_snprintf(dbuf, sizeof(dbuf), in lws_struct_json_serialize() 556 budget = lws_snprintf(dbuf, sizeof(dbuf), "%lld", li); in lws_struct_json_serialize() 630 budget = lws_snprintf(dbuf, 15, "\"schema\":"); in lws_struct_json_serialize() 632 dbuf[budget++] = ' '; in lws_struct_json_serialize() 634 budget += lws_snprintf(dbuf + budget, in lws_struct_json_serialize() 635 sizeof(dbuf) - budget, in lws_struct_json_serialize() 666 budget = strlen(q); /* how much unescaped is left */ in lws_struct_json_serialize() 678 js->remaining = budget - used; in lws_struct_json_serialize() [all …]
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_tokenize/ |
D | main.c | 286 size_t total, budget; in exp_cb1() local 297 budget = olen - *pos; in exp_cb1() 299 if (total < budget) in exp_cb1() 300 budget = total; in exp_cb1() 302 memcpy(out + *pos, replace + (*exp_ofs), budget); in exp_cb1() 303 *exp_ofs += budget; in exp_cb1() 304 *pos += budget; in exp_cb1() 306 if (budget == total) in exp_cb1()
|
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.8/ |
D | blocksort.c | 352 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 …]
|
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.6/ |
D | blocksort.c | 352 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 …]
|
/third_party/uboot/u-boot-2020.01/lib/bzip2/ |
D | bzlib_blocksort.c | 392 Int32* budget ) in mainGtU() argument 504 (*budget)--; in mainGtU() 532 Int32* budget ) in mainSimpleSort() argument 555 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort() 569 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort() 583 ptr[j-h]+d, v+d, block, quadrant, nblock, budget in mainSimpleSort() 592 if (*budget < 0) return; in mainSimpleSort() 668 Int32* budget ) in mainQSort3() argument 691 mainSimpleSort ( ptr, block, quadrant, nblock, lo, hi, d, budget ); in mainQSort3() 692 if (*budget < 0) return; in mainQSort3() [all …]
|
/third_party/bzip2/ |
D | blocksort.c | 352 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 …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | ResidencyManagerD3D12.cpp | 141 segmentInfo->budget = in UpdateMemorySegmentInfo() 205 if (memoryUsageAfterMakeResident < memorySegment->budget) { in EnsureCanMakeResident() 210 uint64_t sizeNeededToBeUnderBudget = memoryUsageAfterMakeResident - memorySegment->budget; in EnsureCanMakeResident() 364 mVideoMemoryInfo.local.budget = mVideoMemoryInfo.local.usage + artificialBudgetCap; in RestrictBudgetForTesting() 366 mVideoMemoryInfo.nonLocal.budget = in RestrictBudgetForTesting()
|
D | ResidencyManagerD3D12.h | 52 uint64_t budget = 0; member
|
/third_party/libwebsockets/lib/secure-streams/ |
D | secure-streams.c | 115 size_t total, budget; in lws_ss_exp_cb_metadata() local 130 budget = olen - *pos; in lws_ss_exp_cb_metadata() 132 if (total < budget) in lws_ss_exp_cb_metadata() 133 budget = total; in lws_ss_exp_cb_metadata() 135 memcpy(out + *pos, replace + (*exp_ofs), budget); in lws_ss_exp_cb_metadata() 136 *exp_ofs += budget; in lws_ss_exp_cb_metadata() 137 *pos += budget; in lws_ss_exp_cb_metadata() 139 if (budget == total) in lws_ss_exp_cb_metadata()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpulpfecenc.c | 259 ctx->budget, ctx->budget_important); in gst_rtp_ulpfec_enc_stream_ctx_report_budget() 267 if (ctx->budget > 0) { in gst_rtp_ulpfec_enc_stream_ctx_increment_budget() 268 ctx->budget = 0; in gst_rtp_ulpfec_enc_stream_ctx_increment_budget() 271 if (ctx->budget < 0) in gst_rtp_ulpfec_enc_stream_ctx_increment_budget() 272 ctx->budget += ctx->budget_inc; in gst_rtp_ulpfec_enc_stream_ctx_increment_budget() 276 ctx->budget += ctx->budget_inc; in gst_rtp_ulpfec_enc_stream_ctx_increment_budget() 291 ctx->budget -= fec_packets_num; in gst_rtp_ulpfec_enc_stream_ctx_decrement_budget() 304 return ctx->budget > 0. ? (guint) ctx->budget : 0; in gst_rtp_ulpfec_enc_stream_ctx_get_fec_packets_num() 394 ctx->budget = push_fec ? 1 : 0; in gst_rtp_ulpfec_enc_stream_ctx_cache_packet()
|
D | gstrtpulpfecenc.h | 83 gdouble budget; member
|
/third_party/libwebsockets/lwsws/ |
D | main.c | 234 int n = 0, budget = 100, debug_level = 1024 + 7; in main() local 341 (void)budget; in main() 343 while ((n = uv_loop_close(&loop)) && --budget) in main()
|
/third_party/libwebsockets/lib/system/async-dns/ |
D | async-dns-parse.c | 32 lws_adns_parse_label(const uint8_t *pkt, int len, const uint8_t *ls, int budget, in lws_adns_parse_label() argument 40 if (budget < 1) in lws_adns_parse_label() 51 if (budget < 2) in lws_adns_parse_label() 84 if (ll > budget) { in lws_adns_parse_label() 85 lwsl_notice("%s: label too long %d vs %d\n", __func__, ll, budget); in lws_adns_parse_label()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threadpool/ |
D | protocol_lws_minimal_threadpool.c | 100 int budget = 100 * 1000; in task_function() local 116 while (budget--) in task_function()
|
/third_party/uboot/u-boot-2020.01/fs/ubifs/ |
D | Makefile | 12 obj-y += tnc.o tnc_misc.o debug.o crc16.o budget.o
|
/third_party/libwebsockets/include/libwebsockets/abstract/ |
D | protocols.h | 63 int (*writeable)(lws_abs_protocol_inst_t *d, size_t budget);
|
/third_party/flutter/skia/src/gpu/text/ |
D | GrTextBlobCache.h | 93 void setBudget(size_t budget) { in setBudget() argument 94 fSizeBudget = budget; in setBudget()
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
D | D3D12MemAlloc.cpp | 2628 static void WriteBudgetToJson(JsonWriter& json, const Budget& budget); 3445 Budget budget = {}; in AllocatePage() local 3446 m_hAllocator->GetBudgetForHeapType(budget, m_HeapType); in AllocatePage() 3447 …freeMemory = (budget.UsageBytes < budget.BudgetBytes) ? (budget.BudgetBytes - budget.UsageBytes) :… in AllocatePage() 3559 Budget budget = {}; in Free() local 3560 m_hAllocator->GetBudgetForHeapType(budget, m_HeapType); in Free() 3561 budgetExceeded = budget.UsageBytes >= budget.BudgetBytes; in Free() 4514 Budget budget = {}; in AllocateCommittedResource() local 4515 GetBudgetForHeapType(budget, pAllocDesc->HeapType); in AllocateCommittedResource() 4516 if(budget.UsageBytes + resAllocInfo.SizeInBytes > budget.BudgetBytes) in AllocateCommittedResource() [all …]
|