Home
last modified time | relevance | path

Searched refs:nameLen (Results 26 - 50 of 86) sorted by relevance

1234

/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/test/fuzztest/gevisualeffect_fuzzer/
H A Dge_visual_effect_fuzzer.cpp39 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 Dwifi_c_hotspot.cpp218 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 Djs_font.cpp43 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 Dpicker_n_exporter.cpp201 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 DxeTestCase.cpp107 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 Drpc_mini_samgr.c115 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 Drpc_samgr.c101 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 Dsdp.c140 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 Dsdp_server.c67 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 Ddbinder_service.h27 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 Daccess_control.h41 void TransGetTokenInfo(uint32_t callingId, char *tokenName, int32_t nameLen, int32_t *tokenType);
/foundation/communication/wifi/wifi/interfaces/kits/c/
H A Dwifi_hotspot.h156 WifiErrorCode GetApIfaceName(char *ifaceName, int nameLen);
/third_party/icu/icu4c/source/i18n/
H A Danytrans.cpp339 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 Danytrans.cpp339 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 Danytrans.cpp339 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 Duntar_file.cpp84 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 Dfillpinc.h104 * @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 Dnstackx_dev.h63 NSTACKX_EXPORT int32_t GetInterfaceNameByIP(uint32_t sourceIp, char *interfaceName, size_t nameLen);
/foundation/arkui/ui_lite/frameworks/common/
H A Dtext.cpp145 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 Ddbinder_service.c129 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 Dsdp.h329 * @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 Dextension_util.cpp349 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 Dapi.c59 * 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 Dapp_style.h81 void SetStyleName(const char * const name, size_t nameLen);
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dsysio.h44 int (*getSockName)(void *argSock, void *name, void *nameLen);

Completed in 22 milliseconds

1234