/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/ |
H A D | nstackx_util.h | 50 NSTACKX_EXPORT int32_t GetFileName(const char *dir, char *name, uint32_t nameLen);
|
/third_party/skia/src/utils/win/ |
H A D | SkDWrite.h | 34 * @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 D | softbus_adapter_socket.c | 497 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 D | sysio_udp.c | 67 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 D | fscrypt_control.c | 237 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 D | wrapper_br_interface.h | 47 int32_t (*OpenSppServer)(const char *name, int32_t nameLen, const char *uuid, int32_t isSecure);
|
/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zHandler.cpp | 511 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 D | glcUniformBlockCase.cpp | 1118 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 D | sys_dev.c | 153 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 D | sys_dev.c | 153 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 D | SfxSetup.c | 474 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 D | cloud_server_impl.cpp | 177 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 D | udata.cpp | 334 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 D | udata.cpp | 334 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 D | udata.cpp | 334 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 D | softbus_adapter_socket.h | 193 int32_t SoftBusIndexToIfName(int32_t index, char *ifname, uint32_t nameLen);
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | sockets.h | 244 FILLP_INT SysSetThreadName(FILLP_CHAR *name, FILLP_UINT16 nameLen);
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | main.cpp | 1405 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 D | wifi_p2p_hal.c | 607 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 D | es31fSSBOLayoutCase.cpp | 1397 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 D | meta_file_clouddisk_mock.cpp | 235 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 D | glsUniformBlockCase.cpp | 1186 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 D | disc_manager.c | 1116 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 D | meta_file_clouddisk.cpp | 210 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 D | meta_file.cpp | 199 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()
|