Home
last modified time | relevance | path

Searched refs:nameLen (Results 51 - 75 of 86) sorted by relevance

1234

/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_util.h50 NSTACKX_EXPORT int32_t GetFileName(const char *dir, char *name, uint32_t nameLen);
/third_party/skia/src/utils/win/
H A DSkDWrite.h34 * @param nameLen the number of WCHARs in the name.
36 HRESULT sk_wchar_to_skstring(WCHAR* name, int nameLen, SkString* skname);
/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dsoftbus_adapter_socket.c497 int32_t SoftBusIndexToIfName(int32_t index, char *ifname, uint32_t nameLen) in SoftBusIndexToIfName() argument
499 if (index < 0 || ifname == NULL || nameLen < IF_NAME_SIZE) { in SoftBusIndexToIfName()
500 COMM_LOGE(COMM_ADAPTER, "Invalid parm nameLen=%{public}d", nameLen); in SoftBusIndexToIfName()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dsysio_udp.c67 static int SysioGetSocknameUdp(void *argSock, void *name, void *nameLen);
454 static int SysioGetSocknameUdp(void *argSock, void *name, void *nameLen) in SysioGetSocknameUdp() argument
457 return FILLP_GETSOCKNAME(udpSock->udpSock, name, nameLen); in SysioGetSocknameUdp()
/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/
H A Dfscrypt_control.c237 const char *name, size_t nameLen, in SpliceKeyPath()
242 size_t bufMax = pathLen + nameLen + 1; in SpliceKeyPath()
256 ret = strncat_s(tmpBuf, bufMax, name, nameLen); in SpliceKeyPath()
236 SpliceKeyPath(const char *path, size_t pathLen, const char *name, size_t nameLen, char **buf) SpliceKeyPath() argument
/foundation/communication/dsoftbus/core/adapter/br/include/
H A Dwrapper_br_interface.h47 int32_t (*OpenSppServer)(const char *name, int32_t nameLen, const char *uuid, int32_t isSecure);
/third_party/lzma/CPP/7zip/Archive/7z/
H A D7zHandler.cpp511 const unsigned nameLen = MyStringLen(name); in SetMethodToProp() local
513 unsigned totalLen = nameLen + propsLen; in SetMethodToProp()
524 char *dest = temp + pos + nameLen; in SetMethodToProp()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcUniformBlockCase.cpp1118 int nameLen; in getGLUniformLayout() local
1122 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_NAME_LENGTH, &nameLen); in getGLUniformLayout()
1128 std::vector<char> nameBuf(nameLen > 0 ? nameLen : 1); in getGLUniformLayout()
1184 glw::GLsizei nameLen = 0; in getGLUniformLayout() local
1188 gl.getActiveUniform(program, (deUint32)uniformNdx, (glw::GLsizei)nameBuf.size(), &nameLen, &size, &type, in getGLUniformLayout()
1194 if (nameLen + 1 != nameLengths[uniformNdx] || size != sizes[uniformNdx] || in getGLUniformLayout()
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_dev.c153 int32_t GetInterfaceNameByIP(uint32_t sourceIP, char *interfaceName, size_t nameLen) in GetInterfaceNameByIP() argument
167 if (strcpy_s(interfaceName, nameLen, buf[devIndex].ifr_name) != EOK) { in GetInterfaceNameByIP()
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_dev.c153 int32_t GetInterfaceNameByIP(uint32_t sourceIP, char *interfaceName, size_t nameLen) in GetInterfaceNameByIP() argument
167 if (strcpy_s(interfaceName, nameLen, buf[devIndex].ifr_name) != EOK) { in GetInterfaceNameByIP()
/third_party/lzma/C/Util/SfxSetup/
H A DSfxSetup.c474 const unsigned nameLen = FindExt(temp + nameStartPos, &extLen); in main() local
476 const unsigned namePrice = FindItem(kNames, sizeof(kNames) / sizeof(kNames[0]), name, nameLen); in main()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dcloud_server_impl.cpp177 size_t nameLen = 0; in GetDatabases() local
178 OhCloudExtDatabaseGetName(pDb.get(), &name, reinterpret_cast<unsigned int *>(&nameLen)); in GetDatabases()
182 dbMeta.name = std::string(reinterpret_cast<char *>(name), nameLen); in GetDatabases()
/third_party/icu/icu4c/source/common/
H A Dudata.cpp334 int32_t nameLen; in udata_cacheDataItem() local
360 nameLen = (int32_t)uprv_strlen(baseName); in udata_cacheDataItem()
361 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
/third_party/node/deps/icu-small/source/common/
H A Dudata.cpp334 int32_t nameLen; in udata_cacheDataItem() local
360 nameLen = (int32_t)uprv_strlen(baseName); in udata_cacheDataItem()
361 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
/third_party/skia/third_party/externals/icu/source/common/
H A Dudata.cpp334 int32_t nameLen; in udata_cacheDataItem() local
360 nameLen = (int32_t)uprv_strlen(baseName); in udata_cacheDataItem()
361 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_adapter_socket.h193 int32_t SoftBusIndexToIfName(int32_t index, char *ifname, uint32_t nameLen);
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dsockets.h244 FILLP_INT SysSetThreadName(FILLP_CHAR *name, FILLP_UINT16 nameLen);
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dmain.cpp1405 const auto nameLen = sprintf(name.data(), "s%u_b%u", binding.set, binding.bind);
1406 name.resize(nameLen);
1453 const auto nameLen = sprintf(imageName.data(), "s%u_b%u", imageBinding.set, imageBinding.bind);
1454 imageName.resize(nameLen);
1459 const auto nameLen = sprintf(samplerName.data(), "s%u_b%u", samplerBinding.set, samplerBinding.bind);
1460 samplerName.resize(nameLen);
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/wpa_p2p_hal/
H A Dwifi_p2p_hal.c607 unsigned nameLen = strlen(argv->name); in WpaP2pCliCmdServiceAdd() local
610 if ((argv->mode == 0 && nameLen == 0) || (argv->mode != 0 && (queryLen == 0 || respLen == 0))) { in WpaP2pCliCmdServiceAdd()
615 cmdLen = strlen("P2P_SERVICE_ADD") + 1 + strlen("upnp") + 1 + CMD_INT_MAX_LEN + 1 + nameLen; in WpaP2pCliCmdServiceAdd()
655 unsigned nameLen = strlen(argv->name); in WpaP2pCliCmdServiceDel() local
657 if ((argv->mode == 0 && nameLen == 0) || (argv->mode == 1 && queryLen == 0)) { in WpaP2pCliCmdServiceDel()
662 cmdLen = strlen("P2P_SERVICE_DEL") + 1 + strlen("upnp") + 1 + CMD_INT_MAX_LEN + 1 + nameLen; in WpaP2pCliCmdServiceDel()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSSBOLayoutCase.cpp1397 const int nameLen = returnValues[2]; in getGLBufferLayout() local
1399 vector<char> name (nameLen); in getGLBufferLayout()
1404 if (retLen+1 != nameLen) in getGLBufferLayout()
1406 if (name[nameLen-1] != 0) in getGLBufferLayout()
1407 throw tcu::TestError("glGetProgramResourceName(GL_SHADER_STORAGE_BLOCK) returned invalid name. Expected null terminator at index " + de::toString(nameLen-1)); in getGLBufferLayout()
1460 const int nameLen = returnValues[9]; in getGLBufferLayout() local
1462 vector<char> name (nameLen); in getGLBufferLayout()
1467 if (retLen+1 != nameLen) in getGLBufferLayout()
1469 if (name[nameLen-1] != 0) in getGLBufferLayout()
1470 throw tcu::TestError("glGetProgramResourceName(GL_BUFFER_VARIABLE) returned invalid name. Expected null terminator at index " + de::toString(nameLen in getGLBufferLayout()
[all...]
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/
H A Dmeta_file_clouddisk_mock.cpp235 static inline uint32_t GetDentrySlots(size_t nameLen) in GetDentrySlots() argument
237 return static_cast<uint32_t>((nameLen + BITS_PER_BYTE - 1) >> HMDFS_SLOT_LEN_BITS); in GetDentrySlots()
/third_party/vk-gl-cts/modules/glshared/
H A DglsUniformBlockCase.cpp1186 int nameLen; in getGLUniformLayout() local
1190 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_NAME_LENGTH, &nameLen); in getGLUniformLayout()
1196 std::vector<char> nameBuf(nameLen > 0 ? nameLen : 1); in getGLUniformLayout()
1243 glw::GLsizei nameLen = 0; in getGLUniformLayout() local
1247 gl.getActiveUniform(program, (deUint32)uniformNdx, (glw::GLsizei)nameBuf.size(), &nameLen, &size, &type, &nameBuf[0]); in getGLUniformLayout()
1252 if (nameLen+1 != nameLengths[uniformNdx] || in getGLUniformLayout()
/foundation/communication/dsoftbus/core/discovery/manager/src/
H A Ddisc_manager.c1116 uint32_t nameLen = strlen(pkgName) + 1; in CreateIdContainer() local
1117 container->pkgName = SoftBusCalloc(nameLen); in CreateIdContainer()
1124 if (strcpy_s(container->pkgName, nameLen, pkgName) != EOK) { in CreateIdContainer()
/foundation/filemanagement/dfs_service/utils/dentry/src/
H A Dmeta_file_clouddisk.cpp210 static inline uint32_t GetDentrySlots(size_t nameLen) in GetDentrySlots() argument
212 return static_cast<uint32_t>((nameLen + BITS_PER_BYTE - 1) >> HMDFS_SLOT_LEN_BITS); in GetDentrySlots()
H A Dmeta_file.cpp199 static inline uint32_t GetDentrySlots(size_t nameLen) in GetDentrySlots() argument
201 return static_cast<uint32_t>((nameLen + BITS_PER_BYTE - 1) >> HMDFS_SLOT_LEN_BITS); in GetDentrySlots()

Completed in 39 milliseconds

1234