Home
last modified time | relevance | path

Searched refs:wasted (Results 1 - 3 of 3) sorted by relevance

/third_party/node/deps/v8/src/heap/
H A Dpaged-spaces.h120 // Sets the capacity, the available space and the wasted space to zero.
124 // to the available and wasted totals. The free list is cleared as well.
171 size_t wasted = free_list_->Free(start, size_in_bytes, kLinkCategory); in AccountedFree() local
174 DCHECK_GE(size_in_bytes, wasted); in AccountedFree()
175 return size_in_bytes - wasted; in AccountedFree()
179 size_t wasted = free_list_->Free(start, size_in_bytes, kDoNotLinkCategory); in UnaccountedFree() local
180 DCHECK_GE(size_in_bytes, wasted); in UnaccountedFree()
181 return size_in_bytes - wasted; in UnaccountedFree()
/third_party/ffmpeg/libavcodec/
H A Dflacdec.c408 int type, wasted = 0; in decode_subframe() local
432 "Invalid number of wasted bits > available bits (%d) - left=%d\n", in decode_subframe()
436 wasted = 1 + get_unary(&s->gb, 1, get_bits_left(&s->gb)); in decode_subframe()
437 bps -= wasted; in decode_subframe()
463 if (wasted && wasted < 32) { in decode_subframe()
466 decoded[i] = (unsigned)decoded[i] << wasted; in decode_subframe()
H A Dflacenc.c84 int wasted; member
466 sub->wasted = 0; in init_frame()
528 if (sub->wasted) in subframe_count_exact()
529 count += sub->wasted; in subframe_count_exact()
1064 sub->wasted = v; in remove_wasted_bits()
1067 /* for 24-bit, check if removing wasted bits makes the range better in remove_wasted_bits()
1223 put_bits(&s->pb, 1, !!sub->wasted); in write_subframes()
1224 if (sub->wasted) in write_subframes()
1225 put_bits(&s->pb, sub->wasted, 1); in write_subframes()

Completed in 5 milliseconds