/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | entity_collection.cpp | 46 for (size_t i = 0; i < listeners_.size(); ++i) { in RemoveListener() 99 size_t EntityCollection::GetEntityCount() const in GetEntityCount() 104 EntityReference EntityCollection::GetEntity(size_t collectionIndex) const in GetEntity() 196 for (size_t i = 0; i < entities_.size(); ++i) { in RemoveEntity() 299 size_t EntityCollection::GetSubCollectionCount() const in GetSubCollectionCount() 304 IEntityCollection* EntityCollection::GetSubCollection(size_t index) in GetSubCollection() 312 const IEntityCollection* EntityCollection::GetSubCollection(size_t index) const in GetSubCollection() 322 for (size_t i = 0; i < collections_.size(); ++i) { in GetSubCollectionIndex() 334 for (size_t i = 0; i < collections_.size(); ++i) { in GetSubCollectionIndexByRoot() 373 void EntityCollection::RemoveSubCollection(size_t inde [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | exif_maker_note_test.cpp | 394 size_t offset = 0;
in HWTEST_F() 410 size_t offset = 0;
in HWTEST_F() 492 size_t offset = 0;
in HWTEST_F() 541 size_t offset = 2;
in HWTEST_F() 542 size_t count = 2;
in HWTEST_F() 559 size_t offset = 2;
in HWTEST_F() 560 size_t count = 2;
in HWTEST_F() 577 size_t offset = 3;
in HWTEST_F() 578 size_t count = 0;
in HWTEST_F() 612 size_t offse in HWTEST_F() [all...] |
/foundation/multimedia/media_foundation/engine/pipeline/filters/common/ |
H A D | plugin_utils.cpp | 49 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const T& val) in Stringiness() 56 int32_t FixedCapKeyStringiness(char* buf, size_t maxLen, const char* name, const char* typeName, in FixedCapKeyStringiness() 74 int32_t IntervalCapKeyStringiness(char* buf, size_t maxLen, const char* name, const char* typeName, in IntervalCapKeyStringiness() 98 int32_t DiscreteCapKeyStringiness(char* buf, size_t maxLen, const char* name, const char* typeName, in DiscreteCapKeyStringiness() 128 int32_t CapKeyStringiness(char* buf, size_t maxLen, const char* name, const char* typeName, in CapKeyStringiness() 144 MEDIA_UNUSED int32_t Stringiness(char* buf, size_t maxLen, const char* name, const int32_t& val) in Stringiness() 150 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const uint32_t& val) in Stringiness() 156 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const std::string& val) in Stringiness() 162 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const int64_t& val) in Stringiness() 168 int32_t Stringiness(char* buf, size_t maxLe [all...] |
/foundation/multimedia/media_lite/services/player_lite/server/src/ |
H A D | player_server.cpp | 37 size_t idx;
38 size_t offset;
39 size_t size;
134 void OnBufferAvailable(size_t index, size_t offset, size_t size);
136 uint8_t *GetBufferAddress(size_t idx);
137 void QueueBuffer(size_t index, size_t offset, size_t siz [all...] |
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | backup_file_utils.cpp | 39 const size_t INVALID_RET = -1; 52 size_t pos = 0; in GetValidPath() 131 size_t displayNameIndex = result.rfind("/"); in ConvertLowQualityPath() 136 size_t dotPos = displayName.find_last_of("."); in ConvertLowQualityPath() 140 size_t pos = result.find(relativePath); in ConvertLowQualityPath() 179 size_t displayNameIndex = filePath.rfind("/"); in GarbleFilePath() 211 size_t titleIndex = fileName.rfind("."); in GarbleFileName() 257 size_t fileIdLen = fileNumStr.length(); in CreateAssetRealName() 307 size_t index = path.rfind("/"); in PreparePath() 365 size_t po in GetFileNameFromPath() [all...] |
/test/xts/acts/telephony/networkmanager/ndk/networkndk/entry/src/main/cpp/ |
H A D | net_stack_ndk_test.cpp | 145 size_t argc = 3;
in OHNetStackCertVerification() 151 size_t pemBufSize = 0;
in OHNetStackCertVerification() 160 size_t demBufSize = 0;
in OHNetStackCertVerification() 178 size_t argc = 1;
in OHWebSocketClientConstruct() 207 size_t argc = 1;
in OHWebSocketClientAddHeader() 236 size_t argc = 1;
in OHWebSocketClientConnect() 268 size_t argc = 1;
in OHWebSocketClientSend() 302 size_t argc = 1;
in OHWebSocketClientClose() 352 size_t argc = 1;
in OHWebSocketClientDestroy() 415 size_t arg in OHNetStackGetPinSetForHostName() [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | wcharndk.cpp | 133 int vswprintfTest(wchar_t *ws, size_t len, const wchar_t *format, ...)
in vswprintfTest() 267 size_t value = wcscspn(deSt, src);
in Wcscspn() 312 size_t argc = PARAM_1;
in Wcsncmp() 328 size_t argc = PARAM_1;
in Wcsnlen() 363 size_t length;
in Mbrtowc() 444 size_t len = PARAM_UNNORMAL;
in OpenWmemstream() 478 size_t ret = mbsnrtowcs(wc, &test, PARAM_2, ARRY_MAX, nullptr);
in Mbsnrtowcs() 511 size_t ret = mbstowcs(dst, src, strlen(src));
in Mbstowcs() 525 size_t ret = PARAM_0;
in Mbtowc() 579 size_t arg in Towlower() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/ |
H A D | hls_media_downloader.cpp | 47 constexpr size_t PLAY_WATER_LINE = 5 * 1024; 49 constexpr size_t DEFAULT_WATER_LINE_ABOVE = 512 * 1024; 57 constexpr size_t MIN_WATER_LINE_ABOVE = 300 * 1024; 65 constexpr size_t MAX_BUFFERING_TIME_OUT = 30 * 1000; 123 for (size_t i = 0; i < sizeof(aesKey_.rd_key) / sizeof(aesKey_.rd_key[0]); ++i) { in HlsInit() 140 size_t SpliceOffset(uint32_t tsIndex, uint32_t offset32) in SpliceOffset() 146 return static_cast<size_t>(offset64); in SpliceOffset() 354 bufferingTime_ = static_cast<size_t>(steadyClock_.ElapsedMilliseconds()); in HandleCache() 401 size_t bufferSize = tsStorageInfo_[readTsIndex_].first > hasRead ? in CheckDataIntegrity() 419 size_t readLe in CheckPlaylist() [all...] |
/foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
H A D | media_key_system_napi.cpp | 97 size_t argCount = 0;
in MediaKeySystemNapiConstructor() 139 size_t argc = ARGS_ONE;
in CreateMediaKeySystemInstance() 145 size_t nameBufferLen = 0;
in CreateMediaKeySystemInstance() 185 size_t argc = ARGS_THREE;
in IsMediaKeySystemSupported() 191 size_t length = 0;
in IsMediaKeySystemSupported() 298 size_t argc = ARGS_ONE;
in GetMediaKeySystemUuid() 303 size_t nameStrLength = 0;
in GetMediaKeySystemUuid() 338 size_t argc = ARGS_ONE;
in CreateMediaKeySession() 387 size_t argc = ARGS_TWO;
in SetConfigurationString() 394 size_t nameBufferLe in SetConfigurationString() [all...] |
/foundation/communication/dsoftbus/tests/core/frame/fuzztest/softbusserverstub_fuzzer/ |
H A D | softbusserverstub_fuzzer.cpp | 94 static bool SendRequestByCommand(const uint8_t *data, size_t size, uint32_t command) in SendRequestByCommand() 110 bool CreateSessionServerFuzzTest(const uint8_t *data, size_t size) in CreateSessionServerFuzzTest() 142 bool RemoveSessionServerFuzzTest(const uint8_t *data, size_t size) in RemoveSessionServerFuzzTest() 174 bool OpenSessionFuzzTest(const uint8_t *data, size_t size) in OpenSessionFuzzTest() 225 bool OpenAuthSessionFuzzTest(const uint8_t *data, size_t size) in OpenAuthSessionFuzzTest() 256 bool NotifyAuthSuccessFuzzTest(const uint8_t *data, size_t size) in NotifyAuthSuccessFuzzTest() 279 bool CloseChannelFuzzTest(const uint8_t *data, size_t size) in CloseChannelFuzzTest() 311 bool SendMessageFuzzTest(const uint8_t *data, size_t size) in SendMessageFuzzTest() 352 bool QosReportFuzzTest(const uint8_t *data, size_t size) in QosReportFuzzTest() 380 bool GrantPermissionFuzzTest(const uint8_t *data, size_t siz [all...] |
/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_ashmem.cpp | 29 constexpr size_t BYTE_SIZE_32 = 4; 33 static const size_t ARGV_INDEX_0 = 0; 34 static const size_t ARGV_INDEX_1 = 1; 35 static const size_t ARGV_INDEX_2 = 2; 37 static const size_t ARGV_LENGTH_1 = 1; 38 static const size_t ARGV_LENGTH_2 = 2; 39 static const size_t ARGV_LENGTH_3 = 3; 63 size_t argc = 2; in CreateAshmem() 73 size_t bufferSize = 0; in CreateAshmem() 104 size_t arg in CreateAshmemFromExisting() [all...] |
/applications/standard/app_samples/code/BasicFeature/Connectivity/VPN/entry/src/main/cpp/ |
H A D | vpn_client.cpp | 66 size_t length = 0;
in GetStringFromValueUtf8() 135 size_t numArgs = 2;
in TcpConnect() 136 size_t argc = numArgs;
in TcpConnect() 169 size_t numArgs = 2;
in StartVpn() 170 size_t argc = numArgs;
in StartVpn() 199 size_t argc = 1;
in StopVpn()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
H A D | oid.h | 409 size_t asn1_len; /*!< length of asn1 */ 425 int mbedtls_oid_get_numeric_string( char *buf, size_t size, const mbedtls_asn1_buf *oid ); 470 const char **oid, size_t *olen ); 493 const char **oid, size_t *olen ); 530 const char **oid, size_t *olen ); 572 int mbedtls_oid_get_oid_by_md( mbedtls_md_type_t md_alg, const char **oid, size_t *olen );
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa_debugfs.c | 35 size_t size;
73 static ssize_t param_string_get(struct file *file, char __user *user_buf, size_t count, loff_t *ppos)
in param_string_get() 77 size_t len;
in param_string_get() 87 static ssize_t param_string_set(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos)
in param_string_set() 92 size_t buf_size;
in param_string_set() 128 int kbase_ipa_model_param_add(struct kbase_ipa_model *model, const char *name, void *addr, size_t size,
in kbase_ipa_model_param_add()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/ |
H A D | mali_kbase_tlstream.c | 57 static void kbasep_packet_header_update(char *buffer, size_t data_size, int numbered) in kbasep_packet_header_update() 183 static size_t kbasep_tlstream_msgbuf_submit(struct kbase_tlstream *stream, unsigned int wb_idx_raw, in kbasep_tlstream_msgbuf_submit() 214 char *kbase_tlstream_msgbuf_acquire(struct kbase_tlstream *stream, size_t msg_size, unsigned long *flags) 219 size_t wb_size; 258 size_t wb_size; in kbase_tlstream_flush_stream() 259 size_t min_size = PACKET_HEADER_SIZE; in kbase_tlstream_flush_stream()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa_debugfs.c | 37 size_t size; 75 size_t count, loff_t *ppos) in param_string_get() 79 size_t len; in param_string_get() 91 size_t count, loff_t *ppos) in param_string_set() 96 size_t buf_size; in param_string_set() 132 void *addr, size_t size, in kbase_ipa_model_param_add()
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/src/ |
H A D | rtcp_context.cpp | 24 void RtcpContext::OnRtp(uint16_t /*seq*/, uint32_t stamp, uint64_t ntpStampMs, uint32_t /*sampleRate*/, size_t bytes) in OnRtp() 114 void RtcpReceiverContext::OnRtp(uint16_t seq, uint32_t stamp, uint64_t ntpStampMs, uint32_t sampleRate, size_t bytes) in OnRtp() 219 size_t RtcpReceiverContext::GetExpectedPackets() const in GetExpectedPackets() 224 size_t RtcpReceiverContext::GetExpectedPacketsInterval() in GetExpectedPacketsInterval() 232 size_t RtcpReceiverContext::GetLost() in GetLost() 237 size_t RtcpReceiverContext::GetLostInterval() in GetLostInterval()
|
/foundation/ability/ability_runtime/test/fuzztest/pendingwantmanager_fuzzer/ |
H A D | pendingwantmanager_fuzzer.cpp | 36 constexpr size_t FOO_MAX_LEN = 1024; 37 constexpr size_t U32_AT_SIZE = 4; 60 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() 65 size_t sizeParam = static_cast<size_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() 171 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
H A D | zip_file.h | 210 std::unique_ptr<uint8_t[]> &dataPtr, size_t &len) const; 214 size_t &len) const; 245 size_t GetLocalHeaderSize(const uint16_t nameSize = 0, const uint16_t extraSize = 0) const; 273 size_t GetEntryStart(const ZipEntry &zipEntry, const uint16_t extraSize) const; 281 void *mmapDataPtr, std::unique_ptr<uint8_t[]> &dataPtr, size_t &len) const; 282 bool CopyInflateOut(z_stream &zstream, size_t inflateLen, uint8_t** dstDataPtr,
|
/foundation/arkui/ace_engine/frameworks/core/components/theme/ |
H A D | resource_adapter.h | 125 virtual bool GetRawFileData(const std::string& rawFile, size_t& len, std::unique_ptr<uint8_t[]>& dest) in GetRawFileData() 130 virtual bool GetRawFileData(const std::string& rawFile, size_t& len, std::unique_ptr<uint8_t[]>& dest, in GetRawFileData() 136 virtual bool GetMediaData(uint32_t resId, size_t& len, std::unique_ptr<uint8_t[]>& dest) in GetMediaData() 141 virtual bool GetMediaData(uint32_t resId, size_t& len, std::unique_ptr<uint8_t[]>& dest, in GetMediaData() 147 virtual bool GetMediaData(const std::string& resName, size_t& len, std::unique_ptr<uint8_t[]>& dest) in GetMediaData() 152 virtual bool GetMediaData(const std::string& resName, size_t& len, std::unique_ptr<uint8_t[]>& dest, in GetMediaData()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | resource_adapter_impl_v2.h | 66 bool GetRawFileData(const std::string& rawFile, size_t& len, std::unique_ptr<uint8_t[]>& dest) override; 67 bool GetRawFileData(const std::string& rawFile, size_t& len, std::unique_ptr<uint8_t[]>& dest, 69 bool GetMediaData(uint32_t resId, size_t& len, std::unique_ptr<uint8_t[]>& dest) override; 70 bool GetMediaData(uint32_t resId, size_t& len, std::unique_ptr<uint8_t[]>& dest, const std::string& bundleName, 72 bool GetMediaData(const std::string& resName, size_t& len, std::unique_ptr<uint8_t[]>& dest) override; 73 bool GetMediaData(const std::string& resName, size_t& len, std::unique_ptr<uint8_t[]>& dest,
|
H A D | resource_adapter_impl.h | 63 bool GetRawFileData(const std::string& rawFile, size_t& len, std::unique_ptr<uint8_t[]>& dest) override; 64 bool GetRawFileData(const std::string& rawFile, size_t& len, std::unique_ptr<uint8_t[]>& dest, 66 bool GetMediaData(uint32_t resId, size_t& len, std::unique_ptr<uint8_t[]>& dest) override; 67 bool GetMediaData(uint32_t resId, size_t& len, std::unique_ptr<uint8_t[]>& dest, const std::string& bundleName, 69 bool GetMediaData(const std::string& resName, size_t& len, std::unique_ptr<uint8_t[]>& dest) override; 70 bool GetMediaData(const std::string& resName, size_t& len, std::unique_ptr<uint8_t[]>& dest,
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | sequenced_recognizer.cpp | 32 for (size_t touchId : refereePointers_) { in OnAccepted() 45 for (size_t touchId : refereePointers_) { in OnRejected() 61 void SequencedRecognizer::OnPending(size_t touchId) in OnPending() 141 const std::set<size_t>& touchIds, const RefPtr<GestureRecognizer>& recognizer, GestureDisposal disposal) in BatchAdjudicate() 157 void SequencedRecognizer::AddToReferee(size_t touchId, const RefPtr<GestureRecognizer>& recognizer) in AddToReferee() 218 for (size_t i = 0; i < recognizers_.size(); i++) { in ReconcileFrom()
|
H A D | timeout_recognizer.cpp | 62 void SingleChildGestureRecognizer::AddToReferee(size_t touchId, const RefPtr<GestureRecognizer>& recognizer) in AddToReferee() 67 void SingleChildGestureRecognizer::DelFromReferee(size_t touchId, const RefPtr<GestureRecognizer>& recognizer) in DelFromReferee() 93 void TimeoutRecognizer::OnAccepted(size_t touchId) in OnAccepted() 104 void TimeoutRecognizer::OnRejected(size_t touchId) in OnRejected() 123 void TimeoutRecognizer::BatchAdjudicate(const std::set<size_t>& touchIds, in BatchAdjudicate() 245 std::set<size_t> ids; in CheckTimeout()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/native/bundle/src/ |
H A D | native_interface_bundle.cpp | 28 const size_t CHAR_MAX_LENGTH = 10240; 48 size_t length = value.size(); in CopyStringToChar() 111 size_t bundleNameLen = bundleInfo.applicationInfo.bundleName.size(); in OH_NativeBundle_GetCurrentApplicationInfo() 127 size_t fingerprintLen = bundleInfo.signatureInfo.fingerprint.size(); in OH_NativeBundle_GetCurrentApplicationInfo() 161 size_t appIdLen = bundleInfo.signatureInfo.appId.size(); in OH_NativeBundle_GetAppId() 192 size_t appIdentifierLen = bundleInfo.signatureInfo.appIdentifier.size(); in OH_NativeBundle_GetAppIdentifier()
|