| /openbmc/qemu/crypto/ |
| H A D | afalg.c | 25 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 D | global_state.c | 88 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 D | 0001-stdlib-Add-strlcat.patch | 27 - 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 D | string.h | 77 extern __kernel_size_t strnlen(const char *,__kernel_size_t);
|
| /openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/ |
| H A D | 0012-purgatory-string.c-avoid-inclusion-of-string.h.patch | 27 size_t strnlen(const char *s, size_t max)
|
| /openbmc/u-boot/fs/yaffs2/ |
| H A D | ydirectenv.h | 40 #define yaffs_strnlen(s, m) strnlen(s, m)
|
| H A D | yaffs_nandif.c | 213 (strnlen(name, YAFFS_MAX_NAME_LENGTH)+1)); in yaffs_add_dev_from_geometry()
|
| /openbmc/u-boot/lib/libfdt/ |
| H A D | fdt_ro.c | 47 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 D | gpt.c | 424 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 D | libfdt_env.h | 119 #define strnlen fdt_strnlen macro
|
| H A D | fdt_ro.c | 649 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 D | 0001-Provide-implementation-of-strndupa-for-musl.patch | 30 + size_t __len = strnlen(__old, (n)); \
|
| /openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-filesystems/zfs/zfs/ |
| H A D | 0001-Define-strndupa-if-it-does-not-exist.patch | 26 + size_t __len = strnlen (__in, (n)) + 1; \
|
| /openbmc/u-boot/drivers/ata/ |
| H A D | libata.c | 68 p = s + strnlen((char *)s, len - 1); in ata_id_c_string()
|
| /openbmc/u-boot/board/corscience/tricorder/ |
| H A D | tricorder.c | 102 len = strnlen(eeprom->interface_version, in print_hwversion()
|
| /openbmc/openbmc/meta-security/recipes-scanners/clamav/files/ |
| H A D | headers_fixup.patch | 40 check_symbol_exists(strnlen "string.h" HAVE_STRNLEN)
|
| /openbmc/libcper/sections/ |
| H A D | cper-section-nvidia-events.c | 683 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 D | pgood_wait.c | 228 if (strlen(matchfmt) + strnlen(argv[1], LEN) > LEN) in main()
|
| /openbmc/openbmc/poky/meta/recipes-devtools/elfutils/files/ |
| H A D | 0003-musl-utils.patch | 87 + size_t __len = strnlen (__in, (n)) + 1; \
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | utils.cpp | 34 strnlen(socketInterface.c_str(), sizeof(addr.sun_path)); in setupUnixSocket()
|
| /openbmc/phosphor-host-ipmid/user_channel/ |
| H A D | user_layer.cpp | 77 size_t len = strnlen(userName, ipmiMaxUserName); in ipmiUserSetUserName()
|
| H A D | user_mgmt.hpp | 94 return strnlen(reinterpret_cast<const char*>(buf), ipmiMaxUserName); in safeUsernameLength()
|
| /openbmc/u-boot/drivers/mtd/ubi/ |
| H A D | debug.c | 114 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 D | bej_decoder_json.cpp | 187 (strnlen(value, length) != (length - 1))) in callbackString()
|
| /openbmc/phosphor-debug-collector/ |
| H A D | dump_offload.cpp | 98 if (strnlen(sockPath.c_str(), sizeof(socketAddr.sun_path)) == in socketInit()
|