/third_party/node/src/ |
H A D | node_http_parser.cc | 129 if (!on_heap_ && size_ > 0) { in Save() 130 char* s = new char[size_]; in Save() 131 memcpy(s, str_, size_); in Save() 145 size_ = 0; in Reset() 152 } else if (on_heap_ || str_ + size_ != str) { in Update() 155 char* s = new char[size_ + size]; in Update() 156 memcpy(s, str_, size_); in Update() 157 memcpy(s + size_, str, size); in Update() 166 size_ += size; in Update() 171 if (size_ ! in ToString() 189 size_t size_; global() member [all...] |
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | bytestream.h | 197 size_t NumberOfBytesWritten() const { return size_; } in NumberOfBytesWritten() 206 size_t size_; member in google::protobuf::strings::CheckedArrayByteSink 243 size_t size_; member in google::protobuf::strings::GrowingArrayByteSink
|
/foundation/multimedia/media_foundation/tests/unittest/avbuffer/ |
H A D | avbuffer_func_unit_test.cpp | 675 EXPECT_EQ(buffer_->memory_->size_, MEMSIZE); in HWTEST_F() 677 EXPECT_EQ(buffer_->memory_->size_, 0); in HWTEST_F() 693 EXPECT_EQ(remoteBuffer_->memory_->size_, MEMSIZE); in HWTEST_F() 695 EXPECT_EQ(remoteBuffer_->memory_->size_, 0); in HWTEST_F() 700 EXPECT_EQ(buffer_->memory_->size_, 0); in HWTEST_F() 1333 EXPECT_EQ(buffer_->memory_->size_, MEMSIZE); in HWTEST_F() 1335 EXPECT_EQ(buffer_->memory_->size_, 0); in HWTEST_F() 1350 EXPECT_EQ(remoteBuffer_->memory_->size_, MEMSIZE); in HWTEST_F() 1352 EXPECT_EQ(remoteBuffer_->memory_->size_, 0); in HWTEST_F() 1357 EXPECT_EQ(buffer_->memory_->size_, in HWTEST_F() [all...] |
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/ |
H A D | camera_manager_napi.cpp | 843 { "width", &profile.size_.width }, in CreatePreviewOutputInstance() 844 { "height", &profile.size_.height } in CreatePreviewOutputInstance() 857 profile.size_.width, profile.size_.height, profile.format_, surfaceId.c_str()); in CreatePreviewOutputInstance() 882 { "width", &profile.size_.width }, in CreateDeferredPreviewOutputInstance() 883 { "height", &profile.size_.height } in CreateDeferredPreviewOutputInstance() 897 profile.size_.width, profile.size_.height, profile.format_); in CreateDeferredPreviewOutputInstance() 911 { "width", &profile.size_.width }, in CreatePhotoOutputInstance() 912 { "height", &profile.size_ in CreatePhotoOutputInstance() [all...] |
/foundation/arkui/ace_engine/frameworks/component_test/core/ |
H A D | action.cpp | 321 size_ = 0; in EventMatrix() 331 size_ = other.size_; in operator =() 341 size_ = other.size_; in EventMatrix() 346 if (capacity_ == size_) { in PushEventAction() 349 *(data_.get() + size_) = action; in PushEventAction() 350 size_++; in PushEventAction() 355 if (size_ == 0) { in Empty() 373 return size_; in GetSize() [all...] |
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
H A D | ttcmap.h | 59 size_, \ 75 { size_, \
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | output.h | 40 BufferRawSink(char* buffer, size_t size) : buffer_(buffer), size_(size) {} in BufferRawSink() 47 size_t size_; member in absl::str_format_internal::BufferRawSink
|
/third_party/node/deps/v8/src/zone/ |
H A D | zone-chunk-list.h | 66 size_t size() const { return size_; } in size() 142 size_t size_ = 0; member in v8::internal::ZoneChunkList::StartMode 314 ++size_; in push_back() 325 --size_; in pop_back() 341 ++size_; in push_front() 376 size_ = limit; in Rewind()
|
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | list_item_group_element.cpp | 186 size_ = reverse ? size_ - itemSize : size_ + itemSize; in MoveItemToViewPort() 188 listElement->MoveItemGroupToViewPort(renderItemGroup_->GetPositionInList(), size_); in MoveItemToViewPort()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
H A D | switch_modifier.h | 48 PaintSwitch(canvas, offset_->Get(), size_->Get()); 179 if (size_) { in SetSize() 180 size_->Set(size); in SetSize() 286 RefPtr<AnimatablePropertySizeF> size_; member in OHOS::Ace::NG::SwitchModifier
|
/foundation/multimedia/ringtone_library/services/ringtone_setting/src/ |
H A D | ringtone_metadata.cpp | 24 size_(SIZE_DEFAULT), in RingtoneMetadata() 115 size_ = std::get<int64_t>(size); in SetSize() 120 return size_; in GetSize() 307 "; size_=" + to_string(size_) + in ToString()
|
/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/ |
H A D | disk_info.cpp | 67 return size_; in GetDevDSize() 132 size_ = -1; in ReadMetadata() 134 if (GetDevSize(devPath_, &size_) != E_OK) { in ReadMetadata() 135 size_ = -1; in ReadMetadata()
|
/third_party/node/src/large_pages/ |
H A D | node_large_page.cc | 314 size_ = size; in Reset() 318 size_ = 0; in Reset() 338 if (munmap(mem_, size_) == 0) return; in ~MemoryMapPointer() 343 size_t size_ = 0; member in node::__anon15405::MemoryMapPointer
|
/third_party/libphonenumber/cpp/src/phonenumbers/utf/ |
H A D | unicodetext.h | 150 bool empty() { return repr_.size_ == 0; } // Test if text is empty. in empty() 286 int utf8_length() const { return repr_.size_; } in utf8_length() 335 int size_; member in i18n::phonenumbers::UnicodeText::Repr 340 Repr() : data_(NULL), size_(0), capacity_(0), ours_(true), utf8_was_valid_(true) {} in Repr()
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | utils.c | 64 size_t size_; member 127 b->size_ = size; in AddMem() 154 total_mem -= block->size_; in SubMem() 157 (uint32_t)total_mem, (uint32_t)block->size_); in SubMem()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/ |
H A D | ohos_file.h | 119 return size_; in Size() 125 size_ = size; in SetBuffer() 130 size_t size_ { 0 };
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdidevice_fuzzer/ |
H A D | hdidevice_fuzzer.cpp | 29 size_t size_ = 0; member 42 if (data_ == nullptr || objectSize > size_ - pos) { in GetData() 140 size_ = size; in DoSomethingInterestingWithMyAPI()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | generated_message_util.h | 178 int Get() const { return size_.load(std::memory_order_relaxed); } in Get() 179 void Set(int size) { size_.store(size, std::memory_order_relaxed); } in Set() 182 std::atomic<int> size_{0};
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | raw_hash_set.h | 980 size_ = that.size(); 990 size_(absl::exchange(that.size_, 0)), 1002 size_(0), 1009 std::swap(size_, that.size_); 1058 size_t size() const { return size_; } 1078 size_ = 0; 1370 swap(size_, that.size_); [all...] |
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform.h | 429 size_t size() const { return size_; } in size() 435 ((region_base + region_size) <= (base + size_)); in Contains() 479 : base_(base), size_(size), vmar_(vmar) {} in AddressSpaceReservation() 481 AddressSpaceReservation(void* base, size_t size) : base_(base), size_(size) {} in AddressSpaceReservation() 485 size_t size_ = 0; member in v8::base::AddressSpaceReservation
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | charconv_bigint.cc | 181 size_ = 2; in ReadFloatMantissa() 183 size_ = 1; in ReadFloatMantissa() 303 answer.size_ = LargePowerOfFiveSize(big_power); in FiveToTheNth() 333 if (this_word > 0 && size_ <= step) { in MultiplyStep() 334 size_ = step + 1; in MultiplyStep()
|
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | message_queue.cpp | 69 MessageQueue::MessageQueue(uint32_t size) : size_(size), lock_(PTHREAD_MUTEX_INITIALIZER) in MessageQueue() 107 if (static_cast<uint32_t>(queue_.size()) >= size_ || msg == nullptr) { in SendMsg()
|
/foundation/multimedia/media_foundation/engine/scene/common/ |
H A D | data_stream_impl.cpp | 117 return size_; in GetSize() 122 size_ = size; in SetSize()
|
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/ |
H A D | camera_napi_object_types.h | 51 explicit CameraNapiObjSize(Size& size) : size_(size) {} in CameraNapiObjSize() 55 Size& size_; member in OHOS::CameraStandard::CameraNapiObjSize
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | post_proc_slr.h | 29 :size_(size), format_(format), data_(data), rowStride_(rowStride) {} in SLRMat() 31 Size size_; member in OHOS::Media::SLRMat
|