Home
last modified time | relevance | path

Searched refs:previous_size (Results 1 – 15 of 15) sorted by relevance

/third_party/node/src/
Dnode_mem-inl.h29 size_t previous_size = 0; in ReallocImpl() local
39 previous_size = *reinterpret_cast<size_t*>(original_ptr); in ReallocImpl()
41 if (previous_size == 0) { in ReallocImpl()
50 manager->CheckAllocatedSize(previous_size); in ReallocImpl()
60 const int64_t new_size = size - previous_size; in ReallocImpl()
67 manager->DecreaseAllocatedSize(previous_size); in ReallocImpl()
69 -static_cast<int64_t>(previous_size)); in ReallocImpl()
Dnode_wasi.h81 void CheckAllocatedSize(size_t previous_size) const;
Dnode_wasi.cc150 void WASI::CheckAllocatedSize(size_t previous_size) const { in CheckAllocatedSize()
151 CHECK_GE(current_uvwasi_memory_, previous_size); in CheckAllocatedSize()
Dnode_http2.h690 void CheckAllocatedSize(size_t previous_size) const;
Dnode_http2.cc449 void Http2Session::CheckAllocatedSize(size_t previous_size) const { in CheckAllocatedSize()
450 CHECK_GE(current_nghttp2_memory_, previous_size); in CheckAllocatedSize()
/third_party/boost/boost/asio/impl/
Dbuffered_read_stream.hpp37 std::size_t previous_size = storage_.size(); in fill() local
39 storage_.resize(previous_size + next_layer_.read_some(buffer( in fill()
40 storage_.data() + previous_size, in fill()
41 storage_.size() - previous_size))); in fill()
43 return storage_.size() - previous_size; in fill()
51 std::size_t previous_size = storage_.size(); in fill() local
53 storage_.resize(previous_size + next_layer_.read_some(buffer( in fill()
54 storage_.data() + previous_size, in fill()
55 storage_.size() - previous_size), in fill()
58 return storage_.size() - previous_size; in fill()
[all …]
/third_party/boost/libs/asio/include/boost/asio/impl/
Dbuffered_read_stream.hpp37 std::size_t previous_size = storage_.size(); in fill() local
39 storage_.resize(previous_size + next_layer_.read_some(buffer( in fill()
40 storage_.data() + previous_size, in fill()
41 storage_.size() - previous_size))); in fill()
43 return storage_.size() - previous_size; in fill()
51 std::size_t previous_size = storage_.size(); in fill() local
53 storage_.resize(previous_size + next_layer_.read_some(buffer( in fill()
54 storage_.data() + previous_size, in fill()
55 storage_.size() - previous_size), in fill()
58 return storage_.size() - previous_size; in fill()
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dfont_assembler.cc155 int32_t previous_size = -1; in AssembleGlyphAndLocaTables() local
161 if (previous_size != -1 && current_size != previous_size) { in AssembleGlyphAndLocaTables()
164 previous_size = current_size; in AssembleGlyphAndLocaTables()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dfont_assembler.cc155 int32_t previous_size = -1; in AssembleGlyphAndLocaTables() local
161 if (previous_size != -1 && current_size != previous_size) { in AssembleGlyphAndLocaTables()
164 previous_size = current_size; in AssembleGlyphAndLocaTables()
/third_party/ffmpeg/libavformat/
Dapngdec.c126 int previous_size = par->extradata_size; in append_extradata() local
130 if (len > INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE - previous_size) in append_extradata()
133 new_size = previous_size + len; in append_extradata()
141 if ((ret = ffio_read_size(pb, par->extradata + previous_size, len)) < 0) in append_extradata()
144 return previous_size; in append_extradata()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/buffer_fusion/
Dsegment_eltwise_fusion_pass.cc51 auto previous_size = record.size(); in MatchSegmentEltwise() local
57 if (record.size() - previous_size == MAX_ELTWISE_NUM) { in MatchSegmentEltwise()
Dreduce_eltwise_fusion_pass.cc54 auto previous_size = record.size(); in MatchReduceEltwise() local
60 if (record.size() - previous_size == MAX_ELTWISE_NUM) { in MatchReduceEltwise()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_pack.c715 unsigned previous_size = emission->size; in bi_pack() local
737 previous_size = emission->size; in bi_pack()
746 return emission->size - previous_size; in bi_pack()
/third_party/ltp/testcases/kernel/device-drivers/agp/kernel_space/
Dstr_agp.h131 void *previous_size; member
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.inc898 size_t previous_size = message1.SpaceUsedLong();
905 EXPECT_EQ(previous_size +