Home
last modified time | relevance | path

Searched refs:size_t (Results 1251 - 1275 of 8600) sorted by relevance

1...<<51525354555657585960>>...344

/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Drender_water_flow.cpp81 size_t itemIndex = GetNextSupplyedIndex(); in PerformLayout()
129 void RenderWaterFlow::AddChildByIndex(size_t index, const RefPtr<RenderNode>& renderNode) in AddChildByIndex()
250 void RenderWaterFlow::SetChildPosition(const RefPtr<RenderNode>& child, size_t itemIndex) in SetChildPosition()
413 LayoutParam RenderWaterFlow::MakeInnerLayoutParam(size_t itemIndex) in MakeInnerLayoutParam()
417 size_t crossIndex = 0; in MakeInnerLayoutParam()
437 void RenderWaterFlow::SupplyItems(size_t startIndex, double targetPos) in SupplyItems()
439 size_t itemCrossIndex = 0; in SupplyItems()
471 if (targetIndex_ >= 0 && static_cast<size_t>(targetIndex_) == startIndex) { in SupplyItems()
479 void RenderWaterFlow::LayoutItems(std::set<size_t>& items) in LayoutItems()
588 std::set<size_t> RenderWaterFlo
[all...]
/foundation/filemanagement/dfs_service/test/fuzztest/cloudsyncservicestub_fuzzer/
H A Dcloudsyncservicestub_fuzzer.cpp38 constexpr size_t U32_AT_SIZE = 4;
39 constexpr size_t U64_AT_SIZE = 8;
40 constexpr size_t BOOL_AT_SIZE = 1;
99 size_t size) in HandleChangeAppSwitchFuzzTest()
122 void HandleCleanFuzzTest(std::shared_ptr<CloudSyncServiceStub> cloudSyncServiceStubStr, FuzzData &fuzzData, size_t size) in HandleCleanFuzzTest()
142 size_t size) in HandleDeleteAssetFuzzTest()
165 size_t size) in HandleDisableCloudFuzzTest()
185 size_t size) in HandleDownloadFileFuzzTest()
215 size_t size) in HandleEnableCloudFuzzTest()
249 size_t siz in HandleNotifyDataChangeFuzzTest()
[all...]
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dbackend_manager.cpp49 const std::vector<size_t>& BackendManager::GetAllBackendsID() in GetAllBackendsID()
55 std::shared_ptr<Backend> BackendManager::GetBackend(size_t backendID) in GetBackend()
64 if (backendID == static_cast<size_t>(0)) { in GetBackend()
78 const std::string& BackendManager::GetBackendName(size_t backendID) in GetBackendName()
87 if (backendID == static_cast<size_t>(0)) { in GetBackendName()
115 size_t backendID = regBackend->GetBackendID(); in RegisterBackend()
135 std::vector<size_t> backendIDsTmp {backendID}; in RegisterBackend()
/foundation/ability/ability_runtime/test/fuzztest/modulerunningrecord_fuzzer/
H A Dmodulerunningrecord_fuzzer.cpp33 constexpr size_t FOO_MAX_LEN = 1024;
34 constexpr size_t U32_AT_SIZE = 4;
36 constexpr size_t OFFSET_ZERO = 24;
37 constexpr size_t OFFSET_ONE = 16;
38 constexpr size_t OFFSET_TWO = 8;
62 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI()
107 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilityautostartupdatamanagerb_fuzzer/
H A Dabilityautostartupdatamanagerb_fuzzer.cpp38 constexpr size_t FOO_MAX_LEN = 1024;
39 constexpr size_t U32_AT_SIZE = 4;
41 constexpr size_t OFFSET_ZERO = 24;
42 constexpr size_t OFFSET_ONE = 16;
43 constexpr size_t OFFSET_TWO = 8;
125 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI()
136 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/include/
H A Drtcp.h187 static std::shared_ptr<RtcpRR> Create(size_t itemCount);
227 static size_t MinSize();
228 size_t TotalBytes() const;
277 static std::shared_ptr<RtcpFB> Create(PsfbType fmt, const void *fci = nullptr, size_t fci_len = 0);
279 static std::shared_ptr<RtcpFB> Create(RtpfbType fmt, const void *fci = nullptr, size_t fci_len = 0);
282 static std::shared_ptr<RtcpFB> CreateInner(RtcpType type, int32_t fmt, const void *fci, size_t fci_len);
399 static std::shared_ptr<RtcpXRDLRR> Create(size_t itemCount);
/foundation/ability/ability_runtime/test/fuzztest/extensionrecordmanager_fuzzer/
H A Dextensionrecordmanager_fuzzer.cpp36 constexpr size_t FOO_MAX_LEN = 1024;
37 constexpr size_t U32_AT_SIZE = 4;
38 constexpr size_t OFFSET_ZERO = 24;
39 constexpr size_t OFFSET_ONE = 16;
40 constexpr size_t OFFSET_TWO = 8;
64 bool DoSomethingInterestingWithMyAPI(const char *data, size_t size) in DoSomethingInterestingWithMyAPI()
117 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitycachemanagera_fuzzer/
H A Dabilitycachemanagera_fuzzer.cpp38 constexpr size_t FOO_MAX_LEN = 1024;
39 constexpr size_t U32_AT_SIZE = 4;
41 constexpr size_t OFFSET_ZERO = 24;
42 constexpr size_t OFFSET_ONE = 16;
43 constexpr size_t OFFSET_TWO = 8;
118 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI()
129 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrinsightintentexecutemanager_fuzzer/
H A Dabilitymgrinsightintentexecutemanager_fuzzer.cpp38 constexpr size_t FOO_MAX_LEN = 1024;
39 constexpr size_t U32_AT_SIZE = 4;
40 constexpr size_t OFFSET_ZERO = 24;
41 constexpr size_t OFFSET_ONE = 16;
42 constexpr size_t OFFSET_TWO = 8;
66 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI()
111 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/dialogsessionmanager_fuzzer/
H A Ddialogsessionmanager_fuzzer.cpp33 constexpr size_t FOO_MAX_LEN = 1024;
34 constexpr size_t U32_AT_SIZE = 4;
35 constexpr size_t OFFSET_ZERO = 24;
36 constexpr size_t OFFSET_ONE = 16;
37 constexpr size_t OFFSET_TWO = 8;
62 bool DoSomethingInterestingWithMyAPI(const char *data, size_t size) in DoSomethingInterestingWithMyAPI()
110 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilityautostartupserviceb_fuzzer/
H A Dabilityautostartupserviceb_fuzzer.cpp39 constexpr size_t FOO_MAX_LEN = 1024;
40 constexpr size_t U32_AT_SIZE = 4;
42 constexpr size_t OFFSET_ZERO = 24;
43 constexpr size_t OFFSET_ONE = 16;
44 constexpr size_t OFFSET_TWO = 8;
111 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI()
122 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dnapi_value.h46 std::tuple<bool, std::unique_ptr<char[]>, size_t> ToUTF8String() const;
47 std::tuple<bool, std::unique_ptr<char[]>, size_t> ToUTF8String(std::string_view defaultValue) const;
48 std::tuple<bool, std::unique_ptr<char[]>, size_t> ToUTF16String() const;
56 std::tuple<bool, void *, size_t> ToArrayBuffer() const;
57 std::tuple<bool, void *, size_t> ToTypedArray() const;
74 static NapiValue CreateUint8Array(napi_env env, void *buf, size_t bufLen);
76 static std::tuple<NapiValue, void *> CreateArrayBuffer(napi_env env, size_t len);
/foundation/arkui/napi/sample/native_module_systemtest/
H A Djs_test_bigint_napi.cpp27 size_t argc = 2; in BigIntIsLossless()
52 size_t argc = 1; in BigInt64()
70 size_t argc = 1; in BigUint64()
94 size_t argc = 1; in BigIntWords()
103 size_t expected_word_count; in BigIntWords()
107 size_t word_count = 10; in BigIntWords()
124 size_t word_count = 10; in CreateTooBigBigInt()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Ddata.h42 size_t size { 0 };
99 size_t GetDefaultSceneIndex() const override;
100 size_t GetSceneCount() const override;
102 size_t GetThumbnailImageCount() const override;
103 IGLTFData::ThumbnailImage GetThumbnailImage(size_t thumbnailIndex) override;
122 size_t GetDefaultSceneIndex() const override;
123 size_t GetSceneCount() const override;
H A Dgltf2_util.h58 ComponentType GetAlternativeType(ComponentType component, size_t newByteCount);
74 BASE_NS::string_view ParseDataUri(const BASE_NS::string_view in, size_t& offsetToData);
75 bool DecodeDataURI(BASE_NS::vector<uint8_t>& out, BASE_NS::string_view in, size_t reqBytes, bool checkSize,
92 size_t componentByteSize { 0 };
93 size_t componentCount { 0 };
95 size_t elementSize { 0 };
96 size_t elementCount { 0 };
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsmodifierextractor_fuzzer/
H A Drsmodifierextractor_fuzzer.cpp29 size_t g_size = 0;
30 size_t g_pos;
41 size_t objectSize = sizeof(object); in GetData()
53 bool DoGet001(const uint8_t* data, size_t size) in DoGet001()
105 bool DoGet002(const uint8_t* data, size_t size) in DoGet002()
155 bool DoGet003(const uint8_t* data, size_t size) in DoGet003()
192 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/
H A Dintf_entity_collection.h64 virtual size_t GetEntityCount() const = 0;
65 virtual EntityReference GetEntity(size_t collectionIndex) const = 0;
76 virtual size_t GetSubCollectionCount() const = 0;
77 virtual IEntityCollection* GetSubCollection(size_t index) = 0;
78 virtual const IEntityCollection* GetSubCollection(size_t index) const = 0;
83 virtual void RemoveSubCollection(size_t index) = 0;
86 virtual size_t GetEntityCountRecursive(bool includeDestroyed) const = 0;
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndktextblob_fuzzer/
H A Dndktextblob_fuzzer.cpp32 constexpr size_t DATA_MIN_SIZE = 2;
33 constexpr size_t ENCODING_SIZE = 4;
34 constexpr size_t MAX_ARRAY_SIZE = 5000;
39 void NativeDrawingTextBlobTest001(const uint8_t* data, size_t size) in NativeDrawingTextBlobTest001()
73 void NativeDrawingTextBlobTest002(const uint8_t* data, size_t size) in NativeDrawingTextBlobTest002()
87 for (size_t i = 0; i < count; i++) { in NativeDrawingTextBlobTest002()
137 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderparams_fuzzer/
H A Drsrenderparams_fuzzer.cpp34 size_t g_size = 0;
35 size_t g_pos;
42 size_t objectSize = sizeof(object); in GetData()
54 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI()
102 bool DoSetShadowRect(const uint8_t* data, size_t size) in DoSetShadowRect()
152 bool DoOpincSetCacheChangeFlag(const uint8_t* data, size_t size) in DoOpincSetCacheChangeFlag()
186 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rssurfacenodecommand_fuzzer/
H A Drssurfacenodecommand_fuzzer.cpp29 size_t g_size = 0;
30 size_t g_pos;
31 constexpr size_t STRING_LEN = 10;
42 size_t objectSize = sizeof(object); in GetData()
54 bool DoSurfacenodecommand(const uint8_t* data, size_t size) in DoSurfacenodecommand()
105 bool DoCreateWithConfig(const uint8_t* data, size_t size) in DoCreateWithConfig()
129 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/multimedia/av_session/utils/include/
H A Davsession_utils.h50 size_t imgBufferSize = tempBuffer.size(); in WriteImageToFile()
63 ofile.write((char*)&imgBufferSize, sizeof(size_t)); in WriteImageToFile()
90 size_t imgBufferSize; in ReadImageFromFile()
91 ifile.read((char*)&imgBufferSize, sizeof(size_t)); in ReadImageFromFile()
153 constexpr size_t PRE_LEN = 3; in GetAnonySessionId()
154 constexpr size_t MAX_LEN = 100; in GetAnonySessionId()
157 size_t len = sessionId.length(); in GetAnonySessionId()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/
H A Ddash_mpd_manager.cpp81 size_t sepCharIndex = mpdUrlBase.find('?'); in GetBaseUrlList()
87 size_t end = mpdUrlBase.find_last_of('/'); in GetBaseUrlList()
99 size_t sepCharIndex = mpdUrlBase.find('?'); in GetBaseUrl()
105 size_t schemIndex = mpdUrlBase.find("://"); in GetBaseUrl()
107 size_t schemLength = strlen("://"); in GetBaseUrl()
113 size_t end = mpdUrlBase.find_last_of('/'); in GetBaseUrl()
134 size_t beginPathIndex = mpdUrlBase.find('/'); in MakeBaseUrl()
/foundation/multimedia/media_lite/services/player_lite/impl/buffersource/src/
H A Dbuffer_source.cpp139 size_t BufferSource::GetIdleQueSize(void) in GetIdleQueSize()
141 size_t size; in GetIdleQueSize()
167 size_t BufferSource::GetFilledQueSize(void) in GetFilledQueSize()
169 size_t size; in GetFilledQueSize()
178 size_t size; in GetFilledQueDataSize()
192 int BufferSource::GetFilledBuffer(size_t idx, QueBuffer* buffer) in GetFilledBuffer()
195 size_t queSize; in GetFilledBuffer()
/foundation/communication/netmanager_base/test/fuzztest/netbasebranch_fuzzer/
H A Dnet_base_branch_fuzzer.cpp32 size_t g_baseBranchFuzzSize = 0;
33 size_t g_baseBranchFuzzPos;
34 constexpr size_t STR_LEN = 10;
40 size_t objectSize = sizeof(object); in GetNetBranchFuzzData()
75 void NetHttpProbeBranchFuzzTest(const uint8_t *data, size_t size) in NetHttpProbeBranchFuzzTest()
118 void NetPolicyRuleBranchFuzzTest(const uint8_t *data, size_t size) in NetPolicyRuleBranchFuzzTest()
141 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Drelational_row_data_set.cpp48 if (serialLength_ > static_cast<size_t>(INT32_MAX)) { in CalcLength()
56 if (serialLength_ > static_cast<size_t>(INT32_MAX) || parcel.IsError()) { in Serialize()
137 serialLength_ -= static_cast<size_t>(rowData->CalcLength()); in SetRowData()
141 serialLength_ += static_cast<size_t>(rowData->CalcLength()); in SetRowData()
150 if ((serialLength_ + static_cast<size_t>(rowData->CalcLength())) > static_cast<size_t>(INT32_MAX)) { in Insert()
154 serialLength_ += static_cast<size_t>(rowData->CalcLength()); in Insert()

Completed in 15 milliseconds

1...<<51525354555657585960>>...344