/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/test/fuzztest/gevisualeffect_fuzzer/ |
H A D | ge_visual_effect_fuzzer.cpp | 39 int32_t nameLen = GETest::GetPlainData<int32_t>(); in GEVisualEffectFuzzTest001() local 40 std::string name = GETest::GetStringFromData(nameLen); in GEVisualEffectFuzzTest001() 58 int32_t nameLen = GETest::GetPlainData<int32_t>(); in GEVisualEffectFuzzTest002() local 59 std::string name = GETest::GetStringFromData(nameLen); in GEVisualEffectFuzzTest002()
|
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/ |
H A D | wifi_c_hotspot.cpp | 218 WifiErrorCode GetApIfaceName(char *ifaceName, int nameLen) in GetApIfaceName() argument 222 if (nameLen < IFACENAME_MIN_LEN) { in GetApIfaceName() 228 if (iface.size() > static_cast<unsigned long>(nameLen)) { in GetApIfaceName() 231 if (memcpy_s(ifaceName, nameLen, iface.c_str(), iface.size()) != EOK) { in GetApIfaceName()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/font/ |
H A D | js_font.cpp | 43 size_t nameLen = 0; in ParseFamilyNameOrSrc() local 44 napi_get_value_string_utf8(env, familyNameOrSrcNApi, nullptr, 0, &nameLen); in ParseFamilyNameOrSrc() 45 std::unique_ptr<char[]> name = std::make_unique<char[]>(nameLen + 1); in ParseFamilyNameOrSrc() 46 napi_get_value_string_utf8(env, familyNameOrSrcNApi, name.get(), nameLen + 1, &nameLen); in ParseFamilyNameOrSrc()
|
/foundation/filemanagement/user_file_service/interfaces/kits/picker/src/ |
H A D | picker_n_exporter.cpp | 201 size_t nameLen; in GetWindowName() local 202 status = napi_get_value_string_utf8(env, name, NULL, 0, &nameLen); in GetWindowName() 207 char *nameBuf = new char[nameLen + 1]; in GetWindowName() 208 status = napi_get_value_string_utf8(env, name, nameBuf, nameLen + 1, &nameLen); in GetWindowName()
|
/third_party/vk-gl-cts/executor/ |
H A D | xeTestCase.cpp | 107 int nameLen = 0; in getFullPath() local 112 nameLen += (int)curNode->m_name.length(); in getFullPath() 117 nameLen += 1; in getFullPath() 124 dst.resize(nameLen); in getFullPath() 127 int pos = nameLen; in getFullPath()
|
/foundation/communication/ipc/ipc/test/rpc/samgr/ |
H A D | rpc_mini_samgr.c | 115 uint32_t nameLen = 2; in GetRemoteSystemAbility() local 119 int32_t ret = MakeRemoteBinder(name, nameLen, deviceId, idLen, (uintptr_t)saId, 0, &sid); in GetRemoteSystemAbility()
|
H A D | rpc_samgr.c | 101 uint32_t nameLen = 2; in GetRemoteSystemAbility() local 105 int32_t ret = MakeRemoteBinder(name, nameLen, deviceId, idLen, (uintptr_t)saId, 0, (void *)sid); in GetRemoteSystemAbility()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp.c | 140 uint16_t nameLen; member 1014 ctx->result = SdpAddServiceName(ctx->handle, ctx->baseAttributeId, ctx->name, ctx->nameLen); in SdpAddServiceNameTask() 1020 int SDP_AddServiceName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen) in SDP_AddServiceName() argument 1035 ctx->nameLen = nameLen; in SDP_AddServiceName() 1057 ctx->result = SdpAddServiceDescription(ctx->handle, ctx->baseAttributeId, ctx->name, ctx->nameLen); in SdpAddServiceDescriptionTask() 1078 ctx->nameLen = descriptionLen; in SDP_AddServiceDescription() 1101 ctx->result = SdpAddProviderName(ctx->handle, ctx->baseAttributeId, ctx->name, ctx->nameLen); in SdpAddProviderNameTask() 1107 int SDP_AddProviderName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen) in SDP_AddProviderName() argument 1121 ctx->nameLen in SDP_AddProviderName() [all...] |
H A D | sdp_server.c | 67 static uint16_t SdpAddAttributeForString(uint8_t *buffer, uint16_t offset, const char *name, uint16_t nameLen); 637 int SdpAddServiceName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen) in SdpAddServiceName() argument 639 LOG_INFO("[%{public}s][%{public}d] handle = [0x%08x], baseAttributeId = [0x%04x], name = [%{public}s], nameLen = [%hu]", in SdpAddServiceName() 645 nameLen); in SdpAddServiceName() 655 offset = SdpAddAttributeForString(buffer, 0, name, nameLen); in SdpAddServiceName() 688 int SdpAddProviderName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen) in SdpAddProviderName() argument 690 LOG_INFO("[%{public}s][%{public}d] handle = [0x%08x], baseAttributeId = [0x%04x], name = [%{public}s], nameLen = [%hu]", in SdpAddProviderName() 696 nameLen); in SdpAddProviderName() 706 offset = SdpAddAttributeForString(buffer, 0, name, nameLen); in SdpAddProviderName() 953 static uint16_t SdpAddAttributeForString(uint8_t *buffer, uint16_t offset, const char *name, uint16_t nameLen) in SdpAddAttributeForString() argument [all...] |
/foundation/communication/ipc/interfaces/innerkits/c/dbinder/include/ |
H A D | dbinder_service.h | 27 int32_t MakeRemoteBinder(const void *serviceName, uint32_t nameLen, const char *deviceID, uint32_t idLen,
|
/foundation/communication/dsoftbus/core/common/security/permission/include/ |
H A D | access_control.h | 41 void TransGetTokenInfo(uint32_t callingId, char *tokenName, int32_t nameLen, int32_t *tokenType);
|
/foundation/communication/wifi/wifi/interfaces/kits/c/ |
H A D | wifi_hotspot.h | 156 WifiErrorCode GetApIfaceName(char *ifaceName, int nameLen);
|
/third_party/icu/icu4c/source/i18n/ |
H A D | anytrans.cpp | 339 int32_t nameLen = name.length(); in scriptNameToCode() local 340 UBool isInvariant = uprv_isInvariantUString(name.getBuffer(), nameLen); in scriptNameToCode() 343 name.extract(0, nameLen, buf, (int32_t)sizeof(buf), US_INV); in scriptNameToCode()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | anytrans.cpp | 339 int32_t nameLen = name.length(); in scriptNameToCode() local 340 UBool isInvariant = uprv_isInvariantUString(name.getBuffer(), nameLen); in scriptNameToCode() 343 name.extract(0, nameLen, buf, (int32_t)sizeof(buf), US_INV); in scriptNameToCode()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | anytrans.cpp | 339 int32_t nameLen = name.length(); in scriptNameToCode() local 340 UBool isInvariant = uprv_isInvariantUString(name.getBuffer(), nameLen); in scriptNameToCode() 343 name.extract(0, nameLen, buf, (int32_t)sizeof(buf), US_INV); in scriptNameToCode()
|
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | untar_file.cpp | 84 size_t nameLen = static_cast<size_t>(tarFileSize_); in ReadLongName() local 86 if (nameLen <= PATH_MAX_LEN) { in ReadLongName() 88 tempName.resize(nameLen); in ReadLongName() 89 size_t read = fread(&(tempName[0]), sizeof(char), nameLen, tarFilePtr_); in ReadLongName() 90 if (read < nameLen) { in ReadLongName()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/include/ |
H A D | fillpinc.h | 104 * @param[in] nameLen Specifies the length, in bytes, of the value pointed to by the name parameter. 113 extern FILLP_INT DLL_API FtBind(FILLP_INT fd, FILLP_CONST struct sockaddr *name, FILLP_UINT32 nameLen); 139 * @param[in] nameLen This must be passed as IPPROTO_FILLP. 143 extern FILLP_INT DLL_API FtConnect(FILLP_INT fd, FILLP_CONST FILLP_SOCKADDR *name, socklen_t nameLen); 527 * @param[in] nameLen Indicates the length of the address. 532 extern FILLP_INT DLL_API FtGetSockName(FILLP_INT fd, FILLP_SOCKADDR *name, socklen_t *nameLen); 541 * @param[in,out] nameLen Indicates the length of the address. 546 extern FILLP_INT DLL_API FtGetPeerName(FILLP_INT fd, FILLP_SOCKADDR *name, socklen_t *nameLen);
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/ |
H A D | nstackx_dev.h | 63 NSTACKX_EXPORT int32_t GetInterfaceNameByIP(uint32_t sourceIp, char *interfaceName, size_t nameLen);
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | text.cpp | 145 uint32_t nameLen = static_cast<uint32_t>(strlen(name)); in SetFont() local 146 if (nameLen > MAX_TEXT_LENGTH) { in SetFont() 157 if (nameLen != 0) { in SetFont() 159 destName = static_cast<char*>(UIMalloc(++nameLen)); in SetFont() 163 if (memcpy_s(destName, nameLen, name, nameLen) != EOK) { in SetFont()
|
/foundation/communication/ipc/services/dbinder/c/src/ |
H A D | dbinder_service.c | 129 static int32_t CheckBinderParams(const void *serviceName, uint32_t nameLen, const char *deviceID, in CheckBinderParams() argument 137 if (strlen((char *)serviceName) != nameLen || strlen(deviceID) != idLen) { in CheckBinderParams() 168 static DBinderServiceStub *FindOrNewDBinderStub(const char *serviceName, uint32_t nameLen, in FindOrNewDBinderStub() argument 802 int32_t MakeRemoteBinder(const void *serviceName, uint32_t nameLen, const char *deviceID, uint32_t idLen, in MakeRemoteBinder() argument 806 if (CheckBinderParams(serviceName, nameLen, deviceID, idLen, remoteObject) != ERR_NONE) { in MakeRemoteBinder() 812 DBinderServiceStub *dBinderServiceStub = FindOrNewDBinderStub(name, nameLen, deviceID, idLen, binderObject); in MakeRemoteBinder()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/ |
H A D | sdp.h | 329 * @param nameLen The length of name. 332 int BTSTACK_API SDP_AddServiceName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen); 354 * @param nameLen The length of name. 357 int BTSTACK_API SDP_AddProviderName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
H A D | extension_util.cpp | 349 size_t nameLen = 0; in ConvertAsset() local 350 status = OhCloudExtCloudAssetGetName(asset, &name, reinterpret_cast<unsigned int *>(&nameLen)); in ConvertAsset() 354 result.name = std::string(reinterpret_cast<char *>(name), nameLen); in ConvertAsset() 436 .nameLen = dbAsset.name.size(), in Convert()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/ |
H A D | api.c | 59 * nameLen: length of the SockAddr structure 65 FILLP_UINT32 nameLen) in FtBind() 67 return SockBind(fd, name, nameLen); in FtBind() 88 * nameLen: length of the SockAddr structure 94 socklen_t nameLen) in FtConnect() 102 FILLP_UNUSED_PARA(nameLen); in FtConnect() 106 return SockConnect(fd, name, nameLen); in FtConnect() 1016 * nameLen: length of the SockAddr structure 1022 socklen_t *nameLen) in FtGetPeerName() 1024 return SockGetpeername(fd, name, nameLen); in FtGetPeerName() 62 FtBind( FILLP_INT fd, FILLP_CONST struct sockaddr *name, FILLP_UINT32 nameLen) FtBind() argument 91 FtConnect( FILLP_INT fd, FILLP_CONST FILLP_SOCKADDR *name, socklen_t nameLen) FtConnect() argument 1019 FtGetPeerName( FILLP_INT fd, FILLP_SOCKADDR *name, socklen_t *nameLen) FtGetPeerName() argument [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/ |
H A D | app_style.h | 81 void SetStyleName(const char * const name, size_t nameLen);
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/ |
H A D | sysio.h | 44 int (*getSockName)(void *argSock, void *name, void *nameLen);
|