Home
last modified time | relevance | path

Searched refs:strnlen (Results 51 - 75 of 126) sorted by relevance

123456

/foundation/communication/dsoftbus/core/bus_center/ipc/standard/src/
H A Dlnn_bus_center_ipc.cpp149 uint32_t pkgNameLen = strnlen(pkgName, PKG_NAME_SIZE_MAX); in OnRefreshDeviceFound()
382 LNN_CHECK_AND_RETURN_RET_LOGE(strnlen(pkgName, PKG_NAME_SIZE_MAX) < PKG_NAME_SIZE_MAX, SOFTBUS_INVALID_PKGNAME,
402 LNN_CHECK_AND_RETURN_RET_LOGE(strnlen(pkgName, PKG_NAME_SIZE_MAX) < PKG_NAME_SIZE_MAX, SOFTBUS_INVALID_PKGNAME,
/third_party/ltp/testcases/kernel/crypto/
H A Dcrypto_user01.c39 for (i = strnlen(value, vlen); i < vlen; i++) { in do_check_for_leaks()
/third_party/musl/porting/liteos_m/kernel/include/
H A Dstring.h67 size_t strnlen (const char *, size_t);
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dsyslog.c68 size_t n = strnlen(ident, sizeof log_ident - 1); in openlog()
/third_party/musl/src/misc/
H A Dsyslog.c69 size_t n = strnlen(ident, sizeof log_ident - 1); in openlog()
/third_party/musl/porting/liteos_a/kernel/include/
H A Dstring.h69 size_t strnlen (const char *, size_t);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/session_manager/
H A Droute_head_handler_impl.cpp276 std::string(devicePair->sourceId, strnlen(devicePair->sourceId, SessionDevicePair::MAX_DEVICE_ID)); in UnPackDataBody()
278 std::string(devicePair->targetId, strnlen(devicePair->targetId, SessionDevicePair::MAX_DEVICE_ID)); in UnPackDataBody()
/third_party/musl/src/network/
H A Dlookup_name.c34 if (strnlen(host, 255)-1 >= 254 || mbstowcs(0, host, 0) == -1) return 0; in is_valid_hostname()
248 while (strnlen(queryName, MAX_NAME_LENGTH) != 0 && cname_count < MAX_QUERY_SIZE) { in name_from_dns()
445 size_t l = strnlen(name, 255); in lookup_name_ext()
/third_party/eudev/src/libudev/
H A Dlibudev-util.c224 len = strnlen(str, len); in util_replace_whitespace()
/third_party/libuv/src/unix/
H A Dgetaddrinfo.c239 len = strnlen(ifname_buf, sizeof(ifname_buf)); in uv_if_indextoname()
H A Dprocess.c717 k = strnlen(options->file, NAME_MAX + 1); in uv__spawn_resolve_and_spawn()
721 l = strnlen(path, PATH_MAX - 1) + 1; in uv__spawn_resolve_and_spawn()
/third_party/musl/porting/linux/user/src/stdio/
H A Dfmemopen.c116 else if (*mode == 'a') f->c.len = f->c.pos = strnlen(buf, size); in fmemopen()
/third_party/musl/src/stdio/
H A Dfmemopen.c131 else if (*mode == 'a') f->c.len = f->c.pos = strnlen(buf, size); in fmemopen()
/third_party/node/deps/uv/src/unix/
H A Dgetaddrinfo.c236 len = strnlen(ifname_buf, sizeof(ifname_buf)); in uv_if_indextoname()
H A Dprocess.c697 k = strnlen(options->file, NAME_MAX + 1); in uv__spawn_resolve_and_spawn()
701 l = strnlen(path, PATH_MAX - 1) + 1; in uv__spawn_resolve_and_spawn()
H A Dinternal.h354 size_t strnlen(const char* s, size_t maxlen);
/third_party/optimized-routines/string/
H A DDir.mk41 build/bin/test/strnlen \
/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/src/
H A Dlnn_ip_network_impl.c67 if (strnlen(ip, size) == 0 || strnlen(ip, size) == size) { in GetWifiServiceIpAddr()
/third_party/mesa3d/src/util/
H A Dralloc.c388 n = strnlen(str, max); in ralloc_strndup()
425 return cat(dest, str, strnlen(str, n)); in ralloc_strncat()
/foundation/filemanagement/app_file_service/interfaces/kits/ndk/fileshare/src/
H A Doh_file_share.cpp46 auto uriLength = strnlen(policies[i].uri, policies[i].length); in ConvertPolicyInfo()
/third_party/elfutils/lib/
H A Deu-config.h144 ({ const char *_s = (str); obstack_copy0 (ob, _s, strnlen (_s, n)); })
/third_party/mesa3d/src/mesa/main/
H A Derrors.c278 size_t len = strnlen(msg, MAX_DEBUG_MESSAGE_LENGTH); in _mesa_gl_debug()
/third_party/libfuse/example/
H A Dhello_ll_uds.c177 if (strnlen(socket_path, sizeof(addr.sun_path)) >= in create_socket()
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_device.cpp164 if (strnlen(config->ssid, WIFI_MAX_SSID_LEN) == WIFI_MAX_SSID_LEN) { in ConvertDeviceConfigFromC()
174 if (strnlen(config->preSharedKey, WIFI_MAX_KEY_LEN) == WIFI_MAX_KEY_LEN) { in ConvertDeviceConfigFromC()
/third_party/musl/porting/linux/user/src/network/
H A Dlookup_name.c34 if (strnlen(host, 255)-1 >= 254 || mbstowcs(0, host, 0) == -1) return 0; in is_valid_hostname()
386 size_t l = strnlen(name, 255); in lookup_name_ext()

Completed in 17 milliseconds

123456