Home
last modified time | relevance | path

Searched refs:strnlen (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/qemu/crypto/
H A Dafalg.c25 if (strnlen(type, SALG_TYPE_LEN_MAX) >= SALG_TYPE_LEN_MAX) { in qcrypto_afalg_build_saddr()
31 if (strnlen(name, SALG_NAME_LEN_MAX) >= SALG_NAME_LEN_MAX) { in qcrypto_afalg_build_saddr()
/openbmc/qemu/migration/
H A Dglobal_state.c88 if (strnlen((char *)s->runstate, in global_state_post_load()
125 s->size = strnlen((char *)s->runstate, sizeof(s->runstate)) + 1; in global_state_pre_save()
/openbmc/openbmc/poky/meta/recipes-devtools/nasm/nasm/
H A D0001-stdlib-Add-strlcat.patch27 - stdlib/strnlen.$(O) stdlib/strrchrnul.$(O) \
28 + stdlib/strnlen.$(O) stdlib/strrchrnul.$(O) stdlib/strlcat.$(O) \
46 AC_CHECK_DECLS(strnlen)
/openbmc/u-boot/include/linux/
H A Dstring.h77 extern __kernel_size_t strnlen(const char *,__kernel_size_t);
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/
H A D0012-purgatory-string.c-avoid-inclusion-of-string.h.patch27 size_t strnlen(const char *s, size_t max)
/openbmc/u-boot/fs/yaffs2/
H A Dydirectenv.h40 #define yaffs_strnlen(s, m) strnlen(s, m)
H A Dyaffs_nandif.c213 (strnlen(name, YAFFS_MAX_NAME_LENGTH)+1)); in yaffs_add_dev_from_geometry()
/openbmc/u-boot/lib/libfdt/
H A Dfdt_ro.c47 return (strnlen(p, len + 1) == len) && (memcmp(p, s, len) == 0); in _fdt_string_eq()
558 length = strnlen(list, end - list) + 1; in fdt_stringlist_count()
585 length = strnlen(list, end - list) + 1; in fdt_stringlist_search()
619 length = strnlen(list, end - list) + 1; in fdt_stringlist_get()
/openbmc/u-boot/cmd/
H A Dgpt.c424 if (strnlen(s, max_str_part) == 0) in set_gpt_info()
427 i = strnlen(s, max_str_part) - 1; in set_gpt_info()
464 if (strnlen(p, max_str_part) >= sizeof(parts[i].uuid)) { in set_gpt_info()
479 if (strnlen(p, max_str_part) >= sizeof(parts[i].type_guid)) { in set_gpt_info()
497 if (strnlen(p, max_str_part) >= sizeof(parts[i].name)) { in set_gpt_info()
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dlibfdt_env.h119 #define strnlen fdt_strnlen macro
H A Dfdt_ro.c649 length = strnlen(list, end - list) + 1; in fdt_stringlist_count()
676 length = strnlen(list, end - list) + 1; in fdt_stringlist_search()
710 length = strnlen(list, end - list) + 1; in fdt_stringlist_get()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd/
H A D0001-Provide-implementation-of-strndupa-for-musl.patch30 + size_t __len = strnlen(__old, (n)); \
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-filesystems/zfs/zfs/
H A D0001-Define-strndupa-if-it-does-not-exist.patch26 + size_t __len = strnlen (__in, (n)) + 1; \
/openbmc/u-boot/drivers/ata/
H A Dlibata.c68 p = s + strnlen((char *)s, len - 1); in ata_id_c_string()
/openbmc/u-boot/board/corscience/tricorder/
H A Dtricorder.c102 len = strnlen(eeprom->interface_version, in print_hwversion()
/openbmc/openbmc/meta-security/recipes-scanners/clamav/files/
H A Dheaders_fixup.patch40 check_symbol_exists(strnlen "string.h" HAVE_STRNLEN)
/openbmc/libcper/sections/
H A Dcper-section-nvidia-events.c683 strnlen(str, sizeof(metadata.DeviceName))); in parse_gpu_ctx_metadata_to_bin()
690 strnlen(str, sizeof(metadata.FirmwareVersion))); in parse_gpu_ctx_metadata_to_bin()
697 strnlen(str, sizeof(metadata.PfDriverMicrocodeVersion))); in parse_gpu_ctx_metadata_to_bin()
704 strnlen(str, sizeof(metadata.PfDriverVersion))); in parse_gpu_ctx_metadata_to_bin()
711 strnlen(str, sizeof(metadata.VfDriverVersion))); in parse_gpu_ctx_metadata_to_bin()
818 strnlen(message, sizeof(xid.Message))); in parse_gpu_ctx_legacy_xid_to_bin()
/openbmc/skeleton/op-pwrctl/pgood_wait/
H A Dpgood_wait.c228 if (strlen(matchfmt) + strnlen(argv[1], LEN) > LEN) in main()
/openbmc/openbmc/poky/meta/recipes-devtools/elfutils/files/
H A D0003-musl-utils.patch87 + size_t __len = strnlen (__in, (n)) + 1; \
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dutils.cpp34 strnlen(socketInterface.c_str(), sizeof(addr.sun_path)); in setupUnixSocket()
/openbmc/phosphor-host-ipmid/user_channel/
H A Duser_layer.cpp77 size_t len = strnlen(userName, ipmiMaxUserName); in ipmiUserSetUserName()
H A Duser_mgmt.hpp94 return strnlen(reinterpret_cast<const char*>(buf), ipmiMaxUserName); in safeUsernameLength()
/openbmc/u-boot/drivers/mtd/ubi/
H A Ddebug.c114 strnlen(vol->name, vol->name_len + 1) == vol->name_len) { in ubi_dump_vol_info()
146 strnlen(&r->name[0], name_len + 1) == name_len) { in ubi_dump_vtbl_record()
/openbmc/libbej/src/
H A Dbej_decoder_json.cpp187 (strnlen(value, length) != (length - 1))) in callbackString()
/openbmc/phosphor-debug-collector/
H A Ddump_offload.cpp98 if (strnlen(sockPath.c_str(), sizeof(socketAddr.sun_path)) == in socketInit()

12