Home
last modified time | relevance | path

Searched refs:prev_size (Results 1 – 17 of 17) sorted by relevance

/third_party/grpc/src/core/lib/iomgr/
Dwork_serializer.cc58 const size_t prev_size = size_.FetchAdd(1); in Run() local
60 GPR_DEBUG_ASSERT(prev_size > 0); in Run()
61 if (prev_size == 1) { in Run()
86 size_t prev_size = size_.FetchSub(1); in Orphan() local
87 if (prev_size == 1) { in Orphan()
104 size_t prev_size = size_.FetchSub(1); in DrainQueue() local
105 GPR_DEBUG_ASSERT(prev_size >= 1); in DrainQueue()
108 if (prev_size == 1) { in DrainQueue()
115 if (prev_size == 2) { in DrainQueue()
Dcall_combiner.cc122 size_t prev_size = in Start() local
125 gpr_log(GPR_INFO, " size: %" PRIdPTR " -> %" PRIdPTR, prev_size, in Start()
126 prev_size + 1); in Start()
129 if (prev_size == 0) { in Start()
154 size_t prev_size = in Stop() local
157 gpr_log(GPR_INFO, " size: %" PRIdPTR " -> %" PRIdPTR, prev_size, in Stop()
158 prev_size - 1); in Stop()
160 GPR_ASSERT(prev_size >= 1); in Stop()
161 if (prev_size > 1) { in Stop()
/third_party/pcre2/pcre2/src/sljit/
DsljitExecAllocator.c215 sljit_uw prev_size; member
283 header->prev_size = chunk_size; in sljit_malloc_exec()
284 AS_BLOCK_HEADER(header, size)->prev_size = size; in sljit_malloc_exec()
309 header->prev_size = 0; in sljit_malloc_exec()
317 free_block->header.prev_size = size; in sljit_malloc_exec()
328 next_header->prev_size = chunk_size; in sljit_malloc_exec()
347 free_block = AS_FREE_BLOCK(header, -(sljit_sw)header->prev_size); in sljit_free_exec()
351 header->prev_size = free_block->size; in sljit_free_exec()
363 header->prev_size = free_block->size; in sljit_free_exec()
367 if (SLJIT_UNLIKELY(!free_block->header.prev_size && header->size == 1)) { in sljit_free_exec()
[all …]
DsljitProtExecAllocator.c268 sljit_uw prev_size; member
338 header->prev_size = chunk_size; in sljit_malloc_exec()
340 AS_BLOCK_HEADER(header, size)->prev_size = size; in sljit_malloc_exec()
371 header->prev_size = 0; in sljit_malloc_exec()
380 free_block->header.prev_size = size; in sljit_malloc_exec()
392 next_header->prev_size = chunk_size; in sljit_malloc_exec()
412 free_block = AS_FREE_BLOCK(header, -(sljit_sw)header->prev_size); in sljit_free_exec()
416 header->prev_size = free_block->size; in sljit_free_exec()
428 header->prev_size = free_block->size; in sljit_free_exec()
432 if (SLJIT_UNLIKELY(!free_block->header.prev_size && header->size == 1)) { in sljit_free_exec()
[all …]
/third_party/ffmpeg/libavcodec/
Dhevc_mp4toannexb_bsf.c143 int is_irap, add_extradata, extra_size, prev_size; in hevc_mp4toannexb_filter() local
170 prev_size = out->size; in hevc_mp4toannexb_filter()
177 memcpy(out->data + prev_size, ctx->par_out->extradata, extra_size); in hevc_mp4toannexb_filter()
178 AV_WB32(out->data + prev_size + extra_size, 1); in hevc_mp4toannexb_filter()
179 bytestream2_get_buffer(&gb, out->data + prev_size + 4 + extra_size, nalu_size); in hevc_mp4toannexb_filter()
Dzmbvenc.c328 int prev_size, prev_offset; in encode_init() local
411prev_size = FFALIGN(c->lrange * c->bypp, 16) + c->pstride * (c->lrange + avctx->height + c->urange… in encode_init()
413 if (!(c->prev_buf = av_mallocz(prev_size))) { in encode_init()
/third_party/mesa3d/src/amd/compiler/
Daco_print_asm.cpp234 unsigned prev_size = 0; in print_asm_llvm() local
240 if (pos + prev_size <= exec_size && prev_pos != pos && !new_block && in print_asm_llvm()
241 memcmp(&binary[prev_pos], &binary[pos], prev_size * 4) == 0) { in print_asm_llvm()
243 pos += prev_size; in print_asm_llvm()
268 prev_size = res.second; in print_asm_llvm()
/third_party/boost/boost/format/
Dalt_sstream_impl.hpp243 std::size_t prev_size = pptr() == NULL ? 0 : epptr() - eback(); in overflow() local
244 std::size_t new_size = prev_size; in overflow()
265 if(0 < prev_size) in overflow()
266 compat_traits_type::copy(newptr, oldptr, prev_size); in overflow()
268 alloc_.deallocate(oldptr, prev_size); in overflow()
271 if(prev_size == 0) { // first allocation in overflow()
/third_party/libunwind/src/
Delfxx.c460 off_t prev_size; in elf_w() local
470 prev_size = ei->size; in elf_w()
537 ei->size = prev_size; in elf_w()
543 munmap (prev_image, prev_size); in elf_w()
/third_party/libxml2/
Derror.c24 int size, prev_size = -1; \
39 if (prev_size == chars) { \
42 prev_size = chars; \
/third_party/gettext/gnulib-local/lib/libxml/
Derror.c53 int size, prev_size = -1; \
68 if (prev_size == chars) { \
71 prev_size = chars; \
/third_party/boost/boost/interprocess/
Dsegment_manager.hpp137 size_type prev_size = chain.size(); in allocate_many() local
139 if(!elem_bytes || chain.size() == prev_size){ in allocate_many()
148 size_type prev_size = chain.size(); in allocate_many() local
150 if(!sizeof_element || chain.size() == prev_size){ in allocate_many()
/third_party/boost/boost/math/special_functions/detail/
Dbernoulli_details.hpp262 std::size_t prev_size = m_intermediates.size(); in tangent() local
265 if(prev_size == 0) in tangent()
274 for(std::size_t i = std::max<size_t>(2, prev_size); i < m; i++) in tangent()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h1247 int prev_size = -1; in checkPartialSizeAndActionsVector() local
1249 assert(SizeAndAction.first > prev_size); in checkPartialSizeAndActionsVector()
1250 prev_size = SizeAndAction.first; in checkPartialSizeAndActionsVector()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-demux.c2275 guint64 prev_size; member
2327 cluster->prev_size = 0; in gst_matroska_demux_peek_cluster_info()
2412 cluster->prev_size = demux->cluster_prevsize; in gst_matroska_demux_peek_cluster_info()
2433 GST_TIME_ARGS (cluster->time), cluster->size, cluster->prev_size, in gst_matroska_demux_peek_cluster_info()
2493 if (cluster.prev_size > 0 && off >= cluster.prev_size) { in gst_matroska_demux_scan_back_for_keyframe_cluster()
2494 off -= cluster.prev_size; in gst_matroska_demux_scan_back_for_keyframe_cluster()
/third_party/ffmpeg/libavformat/
Dutils.c277 int prev_size = pkt->size; in append_packet_chunked() local
294 ret = avio_read(s, pkt->data + prev_size, read_size); in append_packet_chunked()
296 av_shrink_packet(pkt, prev_size + FFMAX(ret, 0)); in append_packet_chunked()
/third_party/gstreamer/gstplugins_good/
DChangeLog18203 matroskademux: figure out if we have prev_size when starting up