Home
last modified time | relevance | path

Searched refs:curr_size (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/heap/
Dheap-controller.cc95 size_t curr_size, size_t max_size, double gc_speed, double mutator_speed, in CalculateAllocationLimit() argument
122 CHECK_LT(0, curr_size); in CalculateAllocationLimit()
123 uint64_t limit = static_cast<uint64_t>(curr_size * factor); in CalculateAllocationLimit()
124 limit = Max(limit, static_cast<uint64_t>(curr_size) + in CalculateAllocationLimit()
128 (static_cast<uint64_t>(curr_size) + max_size) / 2; in CalculateAllocationLimit()
134 ControllerName(), curr_size / KB, result / KB, factor); in CalculateAllocationLimit()
Dheap-controller.h33 size_t CalculateAllocationLimit(size_t curr_size, size_t max_size,
/external/webp/src/dec/
Didec_dec.c306 size_t curr_size = MemDataSize(mem); in DecodeWebPHeaders() local
311 headers.data_size = curr_size; in DecodeWebPHeaders()
344 const size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8FrameHeader() local
348 if (curr_size < VP8_FRAME_HEADER_SIZE) { in DecodeVP8FrameHeader()
352 if (!VP8GetInfo(data, curr_size, idec->chunk_size_, &width, &height)) { in DecodeVP8FrameHeader()
360 idec->io_.data_size = curr_size; in DecodeVP8FrameHeader()
520 size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8LHeader() local
524 if (curr_size < (idec->chunk_size_ >> 3)) { in DecodeVP8LHeader()
531 curr_size < idec->chunk_size_) { in DecodeVP8LHeader()
549 const size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8LData() local
[all …]
/external/ltp/testcases/kernel/fs/doio/
Dgrowfiles.c371 unsigned long curr_size = 0; /* BUG:14136 (keep track of file size) */ in main() local
1493 curr_size = file_size(fd); in main()
1494 if (curr_size + grow_incr >= fs_limit) { in main()
1499 curr_size, fs_limit); in main()
1504 if (growfile(fd, filename, grow_incr, Buffer, &curr_size) != 0) { /* BUG:14136 */ in main()