Home
last modified time | relevance | path

Searched refs:size_ (Results 51 - 75 of 537) sorted by relevance

12345678910>>...22

/third_party/node/deps/v8/src/utils/
H A Didentity-map.cc34 size_ = 0; in Clear()
69 if (size_ + size_ / 4 >= capacity_) { in InsertKey()
76 // Guaranteed to terminate since size_ < capacity_, there must be at least in InsertKey()
82 size_++; in InsertKey()
83 DCHECK_LE(size_, capacity_); in InsertKey()
99 size_--; in DeleteIndex()
100 DCHECK_GE(size_, 0); in DeleteIndex()
103 size_ * kResizeFactor < capacity_ / kResizeFactor) { in DeleteIndex()
186 if (size_ in FindEntry()
[all...]
/foundation/ai/ai_engine/services/common/utils/encdec/include/
H A Ddata_decoder.h31 explicit DataDecoder(const DataInfo dataInfo) : buffer_(dataInfo.data), size_(dataInfo.length), pos_(0) in DataDecoder()
75 if ((pos_ != size_) || (pos_ != dataSize + sizeof(dataSize))) { in CheckDataEnd()
77 pos_, dataSize, size_); in CheckDataEnd()
125 return (size <= size_ && (pos_ + size) <= size_); in Ensure()
140 size_t size_ {0};
/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/
H A Drs_graphic_test_text.cpp49 if (size_ == nullptr) { in SetFontSize()
50 size_ = std::make_shared<RSProperty<float>>(size); in SetFontSize()
51 AttachProperty(size_); in SetFontSize()
53 size_->Set(size); in SetFontSize()
78 if (!size_) in Draw()
79 fontSize = size_->Get(); in Draw()
/foundation/multimedia/media_foundation/src/buffer/avsharedmemory/
H A Davsharedmemorybase.cpp64 : base_(nullptr), capacity_(size), flags_(flags), name_(name), fd_(-1), size_(0) in AVSharedMemoryBase()
71 : base_(nullptr), capacity_(size), flags_(flags), name_(name), fd_(dup(fd)), size_(0) in AVSharedMemoryBase()
146 size_ = 0;
161 start = size_; in Write()
176 size_ = start + length; in Write()
185 int32_t maxLength = size_; in Read()
187 start = std::min(position, size_); in Read()
188 maxLength = size_ - start; in Read()
203 size_ = 0; in ClearUsedSize()
208 return size_; in GetUsedSize()
[all...]
/third_party/vixl/src/aarch64/
H A Dregisters-aarch64.h95 size_(kEncodedUnknownSize), in CPURegister()
102 size_(EncodeSizeInBits(size_in_bits)), in CPURegister()
117 bool HasSize() const { return size_ != kEncodedUnknownSize; } in HasSize()
138 int GetSizeInBits() const { return DecodeSizeInBits(size_); }
139 int GetSizeInBytes() const { return DecodeSizeInBytes(size_); }
155 int log2_delta = static_cast<int>(size_) - static_cast<int>(lane_size_);
162 bool Is8Bits() const { return size_ == kEncodedBRegSize; }
163 bool Is16Bits() const { return size_ == kEncodedHRegSize; }
164 bool Is32Bits() const { return size_ == kEncodedSRegSize; }
165 bool Is64Bits() const { return size_
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/
H A Dcache_data.h102 if (size_ == rValue.size_) { in operator <()
103 return memcmp(pointer_, rValue.pointer_, size_) < 0; in operator <()
105 return size_ < rValue.size_; in operator <()
114 return size_; in GetSize()
121 size_t size_; member in OHOS::Rosen::CacheData::DataPointer
/third_party/node/deps/v8/src/snapshot/
H A Dsnapshot-data.h24 : data_(data), size_(size), owns_data_(false) {} in SerializedData()
25 SerializedData() : data_(nullptr), size_(0), owns_data_(false) {} in SerializedData()
28 size_(other.size_),
65 uint32_t size_; member in v8::internal::SerializedData
83 return base::Vector<const byte>(data_, size_); in RawData()
94 void Resize(uint32_t size) { size_ = size; } in Resize()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpost_proc_slr.cpp97 if (src.size_.width == 0 || src.size_.height == 0) { in SLRCheck()
100 if (dst.size_.width == 0 || dst.size_.height == 0) { in SLRCheck()
136 int srcM = src.size_.height, srcN = src.size_.width; in SLRBoxCheck()
137 int dstM = dst.size_.height, dstN = dst.size_.width; in SLRBoxCheck()
168 int srcM = src.size_.height, srcN = src.size_ in SLRBox()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Ddata_buffer.cpp22 DataBuffer::DataBuffer() : buf_(nullptr), size_(0), used_(0) in DataBuffer()
38 size_ = std::min(size, MAX_DATA_LEN); in Init()
39 buf_ = new(std::nothrow) char[size_](); in Init()
54 return size_; in GetBufSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_node.h26 IconOptions(CalcDimension size) : size_(size) in IconOptions()
29 IconOptions(Color color, CalcDimension size) : color_(color), size_(size) in IconOptions()
37 : size_(size), src_(src), bundleName_(bundleName), moduleName_(moduleName) in IconOptions()
41 : color_(color), size_(size), src_(src), bundleName_(bundleName), moduleName_(moduleName) in IconOptions()
54 return size_; in GetSize()
81 size_ = size; in UpdateSize()
91 return color_ == info.color_ && size_ == info.size_ && src_ == info.src_ && bundleName_ == info.bundleName_ && in operator ==()
112 if (size_.has_value()) { in ToString()
113 json->Put("size", size_ in ToString()
123 std::optional<Dimension> size_; global() member in OHOS::Ace::NG::IconOptions
[all...]
/foundation/communication/nfc/interfaces/inner_api/tags/
H A Dmifare_classic_tag.cpp49 size_ = MC_SIZE_1K; in SetSizeBySak()
52 size_ = MC_SIZE_MINI; in SetSizeBySak()
55 size_ = MC_SIZE_2K; in SetSizeBySak()
59 size_ = MC_SIZE_4K; in SetSizeBySak()
63 size_ = MC_SIZE_4K; in SetSizeBySak()
66 size_ = MC_SIZE_2K; in SetSizeBySak()
69 size_ = MC_SIZE_1K; in SetSizeBySak()
73 size_ = MC_SIZE_4K; in SetSizeBySak()
78 size_ = MC_SIZE_4K; in SetSizeBySak()
265 switch (size_) { in GetSectorCount()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Ddata_value.cpp23 Blob::Blob() : ptr_(nullptr), size_(0) in Blob()
33 size_ = 0; in ~Blob()
36 Blob::Blob(Blob &&blob) : ptr_(blob.ptr_), size_(blob.size_) in Blob()
39 blob.size_ = 0; in Blob()
47 size_ = blob.size_;
49 blob.size_ = 0;
61 return size_; in GetSize()
83 size_ in WriteBlob()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/utils/
H A Ddata_buffer.h47 return size_; in Size()
58 size_ = size; in UpdateSize()
69 size_ = size; in SetSize()
79 size_ = 0; in Clear()
115 int32_t size_ = 0; member in OHOS::Sharing::DataBuffer
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/
H A Dwebgl_active_info.h57 size_ = activesize; in SetActiveSize()
72 return size_; in GetActiveSize()
80 explicit WebGLActiveInfo() : size_(0), type_(0) {}; in WebGLActiveInfo()
82 WebGLActiveInfo(napi_env env, napi_value exports) : NExporter(env, exports), size_(0), type_(0) {}; in WebGLActiveInfo()
86 int size_; member in OHOS::Rosen::final
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Darray_wrapper.cpp37 size_ = size > MAX_ARRAY_SIZE ? MAX_ARRAY_SIZE : size; in Array()
38 for (long i = 0; i < size_; i++) { in Array()
46 if (index < 0 || index >= size_) { in Get()
56 size = size_; in GetLength()
57 if (size_ < 0 || size_ > MAX_ARRAY_SIZE) { in GetLength()
74 if (index < 0 || index >= size_) { in Set()
92 if (otherObj->size_ != size_ || otherObj->typeId_ != typeId_) { in Equals()
96 if (size_ < in Equals()
[all...]
/third_party/spirv-tools/source/
H A Denum_set.h188 EnumSet() : buckets_(0), size_(0) {} in EnumSet()
217 : buckets_(other.buckets_), size_(other.size_) {} in EnumSet()
221 : buckets_(std::move(other.buckets_)), size_(other.size_) {} in EnumSet()
226 size_ = other.size_; in operator =()
237 size_ += 1; in insert()
248 size_ += 1; in insert()
292 size_ in erase()
[all...]
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/schedule/video_processor/video_job_repository/
H A Dvideo_job_queue.h42 return size_ == DEFAULT; in IsEmpty()
47 DP_DEBUG_LOG("entered, size is %{public}d", size_); in GetSize()
48 return size_; in GetSize()
56 uint32_t size_ {0};
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/common/
H A Dfuzzer_data.cpp22 FuzzerData::FuzzerData(const uint8_t *data, size_t size) : data_(data), size_(size), curr_(data) in FuzzerData()
30 if (curr_ + sizeof(int) > data_ + size_) { in GetInt()
40 if (curr_ + sizeof(uint32_t) > data_ + size_) { in GetUInt32()
50 if (curr_ + sizeof(uint64_t) > data_ + size_) { in GetUInt64()
64 if (curr_ + size > data_ + size_) { in GetSequence()
74 if (curr_ - data_ + len > size_ || len == 0) { in GetString()
/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/
H A Dlru_cache.cpp52 LRUCache::LRUCache() : capacity_(MAX_SIZE), size_(0) {} in LRUCache()
54 LRUCache::LRUCache(size_t capacity) : capacity_(std::min<size_t>(MAX_SIZE, capacity)), size_(0) {} in LRUCache()
60 size_ += GetMapValueSize(node.value); in AddNode()
80 size_ -= GetMapValueSize(node.value); in EraseTailNode()
107 while (size_ > capacity_) { in Put()
115 size_ -= GetMapValueSize(it->value); in Put()
117 size_ += GetMapValueSize(it->value); in Put()
120 while (size_ > capacity_) { in Put()
/foundation/distributeddatamgr/kv_store/frameworks/common/
H A Dlru_bucket.h28 : size_(0), capacity_(capacity) {} in LRUBucket()
38 while (size_ > 0) { in ~LRUBucket()
45 return size_; in Size()
57 while (capacity_ < size_) { in ResetCapacity()
101 while (capacity_ <= size_) { in Set()
201 size_--; in Remove()
210 size_++; in Insert()
222 size_t size_; member in OHOS::LRUBucket
/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/
H A Dlru_bucket.h28 : size_(0), capacity_(capacity) {} in LRUBucket()
38 while (size_ > 0) { in ~LRUBucket()
45 return size_; in Size()
57 while (capacity_ < size_) { in ResetCapacity()
101 while (capacity_ <= size_) { in Set()
201 size_--; in Remove()
210 size_++; in Insert()
222 size_t size_; member in OHOS::LRUBucket
/foundation/multimedia/media_foundation/src/buffer/avbuffer/
H A Davmemory.cpp102 mem->size_ = size; in CreateAVMemory()
158 AVMemory::AVMemory() : align_(0), offset_(0), size_(0), base_(nullptr), uid_(GetUniqueId()), allocator_(nullptr) in AVMemory()
227 size_ = size; in ReadCommonFromMessageParcel()
240 parcel.SkipBytes(static_cast<size_t>(skipSize) - 2 * sizeof(int32_t)); // 2: the size of size_ and offset_ in SkipCommonFromMessageParcel()
251 size_ = size; in SkipCommonFromMessageParcel()
265 bufferParcel.WriteInt32(size_); in WriteCommonToMessageParcel()
290 return size_; in GetSize()
298 size_, capacity_); in SetSize()
299 size_ = size; in SetSize()
337 start = size_; in Write()
[all...]
/foundation/ability/idl_tool/metadata/
H A Dmetadata_reader.cpp47 if (header.magic_ != METADATA_MAGIC_NUMBER || header.size_ <= 0 || header.size_ > INT_MAX) { in ReadMetadataFromFile()
57 void* data = malloc(header.size_); in ReadMetadataFromFile()
63 if (!file.ReadData(data, header.size_)) { in ReadMetadataFromFile()
/foundation/window/window_manager/test/fuzztest/window_scene/
H A Ddata_source.h27 DataSource(const std::uint8_t* data, size_t size) : data_(data), size_(size), pos_(0) {} in DataSource()
34 if (!data_ || (objSize > size_ - pos_)) { in GetObject()
47 if (!data_ || (rawSize > size_ - pos_)) { in GetRaw()
69 size_t size_; member in OHOS::Rosen::DataSource
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Dmem_allocator.h63 if (capacity_ - size_ < sizeof(T)) { in Allocate()
70 void* addr = static_cast<void*>(startPtr_ + size_); in Allocate()
73 size_ += sizeof(T); in Allocate()
121 size_t size_; // The size already used member in OHOS::Rosen::Drawing::MemAllocator

Completed in 32 milliseconds

12345678910>>...22