Home
last modified time | relevance | path

Searched refs:strlcat (Results 1 – 25 of 153) sorted by relevance

1234567

/openbmc/linux/block/partitions/
H A Dacorn.c43 strlcat(state->pp_buf, " [", PAGE_SIZE); in adfs_partition()
44 strlcat(state->pp_buf, name, PAGE_SIZE); in adfs_partition()
45 strlcat(state->pp_buf, "]", PAGE_SIZE); in adfs_partition()
81 strlcat(state->pp_buf, " [RISCiX]", PAGE_SIZE); in riscix_partition()
88 strlcat(state->pp_buf, " <", PAGE_SIZE); in riscix_partition()
97 strlcat(state->pp_buf, "(", PAGE_SIZE); in riscix_partition()
98 strlcat(state->pp_buf, rr->part[part].name, PAGE_SIZE); in riscix_partition()
99 strlcat(state->pp_buf, ")", PAGE_SIZE); in riscix_partition()
103 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in riscix_partition()
133 strlcat(state->pp_buf, " [Linux]", PAGE_SIZE); in linux_partition()
[all …]
H A Dmsdos.c270 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
277 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
290 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
298 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in parse_solaris_x86()
373 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_bsd()
394 strlcat(state->pp_buf, "bad subpartition - ignored\n", PAGE_SIZE); in parse_bsd()
403 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_bsd()
405 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in parse_bsd()
503 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_unixware()
518 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in parse_unixware()
[all …]
H A Datari.c73 strlcat(state->pp_buf, " AHDI", PAGE_SIZE); in atari_partition()
92 strlcat(state->pp_buf, " XGM<", PAGE_SIZE); in atari_partition()
131 strlcat(state->pp_buf, " >", PAGE_SIZE); in atari_partition()
138 strlcat(state->pp_buf, " ICD<", PAGE_SIZE); in atari_partition()
147 strlcat(state->pp_buf, " >", PAGE_SIZE); in atari_partition()
153 strlcat(state->pp_buf, "\n", PAGE_SIZE); in atari_partition()
H A Dibm.c149 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_vol1_partitions()
187 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_vol1_partitions()
209 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_lnx1_partitions()
226 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_lnx1_partitions()
238 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_lnx1_partitions()
260 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_cms1_partitions()
266 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_cms1_partitions()
282 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_cms1_partitions()
356 strlcat(state->pp_buf, "(nonl)", PAGE_SIZE); in ibm_partition()
360 strlcat(state->pp_buf, "\n", PAGE_SIZE); in ibm_partition()
H A Dsysv68.c78 strlcat(state->pp_buf, tmp, PAGE_SIZE); in sysv68_partition()
88 strlcat(state->pp_buf, tmp, PAGE_SIZE); in sysv68_partition()
92 strlcat(state->pp_buf, "\n", PAGE_SIZE); in sysv68_partition()
H A Damiga.c89 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
194 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
198 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
202 strlcat(state->pp_buf, "\n", PAGE_SIZE); in amiga_partition()
/openbmc/linux/security/selinux/
H A Dima.c40 rc = strlcat(buf, selinux_initialized() ? on : off, buf_len); in selinux_ima_collect_state()
43 rc = strlcat(buf, "enforcing", buf_len); in selinux_ima_collect_state()
46 rc = strlcat(buf, enforcing_enabled() ? on : off, buf_len); in selinux_ima_collect_state()
49 rc = strlcat(buf, "checkreqprot", buf_len); in selinux_ima_collect_state()
52 rc = strlcat(buf, checkreqprot_get() ? on : off, buf_len); in selinux_ima_collect_state()
56 rc = strlcat(buf, selinux_policycap_names[i], buf_len); in selinux_ima_collect_state()
59 rc = strlcat(buf, selinux_state.policycap[i] ? on : off, in selinux_ima_collect_state()
/openbmc/openbmc/poky/meta/recipes-devtools/nasm/nasm/
H A D0001-stdlib-Add-strlcat.patch4 Subject: [PATCH] stdlib: Add strlcat
6 Adds strlcat which can be used to safely concatenate strings
15 stdlib/strlcat.c | 43 +++++++++++++++++++++++++++++++++++++++++++
17 create mode 100644 stdlib/strlcat.c
28 + stdlib/strnlen.$(O) stdlib/strrchrnul.$(O) stdlib/strlcat.$(O) \
40 +AC_CHECK_FUNCS([strlcat])
48 +AC_CHECK_DECLS(strlcat)
61 +size_t strlcat(char *, const char *, size_t);
67 diff --git a/stdlib/strlcat.c b/stdlib/strlcat.c
71 +++ b/stdlib/strlcat.c
[all …]
/openbmc/linux/lib/
H A Dstrcat_kunit.c67 KUNIT_EXPECT_EQ(test, strlcat(dest, "", len), 0); in strlcat_test()
70 KUNIT_EXPECT_EQ(test, strlcat(dest, "four", 1 + unconst), 4); in strlcat_test()
74 KUNIT_EXPECT_EQ(test, strlcat(dest, "four", len), 4); in strlcat_test()
77 KUNIT_EXPECT_EQ(test, strlcat(dest, "AB", len), 6); in strlcat_test()
80 KUNIT_EXPECT_EQ(test, strlcat(dest, "CD", 7 + unconst), 8); in strlcat_test()
83 KUNIT_EXPECT_EQ(test, strlcat(dest, "EFG", len), 9); in strlcat_test()
86 KUNIT_EXPECT_EQ(test, strlcat(dest, "1234", len), 11); in strlcat_test()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/samba/samba/
H A D0004-Add-options-to-configure-the-use-of-libbsd.patch44 - # libbsd on some platforms provides strlcpy and strlcat
45 - if not conf.CHECK_FUNCS('strlcpy strlcat'):
46 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
59 + # libbsd on some platforms provides strlcpy and strlcat
60 + if not conf.CHECK_FUNCS('strlcpy strlcat'):
61 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
/openbmc/linux/arch/parisc/kernel/
H A Dsetup.c60 strlcat(p, " console=", COMMAND_LINE_SIZE); in setup_cmdline()
62 strlcat(p, "ttyS0", COMMAND_LINE_SIZE); in setup_cmdline()
64 strlcat(p, "tty0", COMMAND_LINE_SIZE); in setup_cmdline()
69 strlcat(p, " earlycon=pdc", COMMAND_LINE_SIZE); in setup_cmdline()
/openbmc/linux/fs/orangefs/
H A Dorangefs-debugfs.c612 strlcat(new, client_title, string_size); in orangefs_prepare_debugfs_help_string()
628 strlcat(new, "\t", string_size); in orangefs_prepare_debugfs_help_string()
629 strlcat(new, cdm_array[i].keyword, string_size); in orangefs_prepare_debugfs_help_string()
630 strlcat(new, "\n", string_size); in orangefs_prepare_debugfs_help_string()
634 strlcat(new, "\n", string_size); in orangefs_prepare_debugfs_help_string()
635 strlcat(new, kernel_title, string_size); in orangefs_prepare_debugfs_help_string()
638 strlcat(new, "\t", string_size); in orangefs_prepare_debugfs_help_string()
639 strlcat(new, s_kmod_keyword_mask_map[i].keyword, string_size); in orangefs_prepare_debugfs_help_string()
640 result_size = strlcat(new, "\n", string_size); in orangefs_prepare_debugfs_help_string()
654 strlcat(debug_help_string, new, string_size); in orangefs_prepare_debugfs_help_string()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/icewm/icewm/
H A D0001-configure.ac-skip-running-test-program-when-cross-co.patch29 AC_MSG_CHECKING([for strlcat])
33 if (strlcat(a, "yes", 4) != 5)
36 [Define to 1 if you have the strlcat function.])
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtevent/libtevent/
H A D0001-Add-configure-options-for-packages.patch117 - # libbsd on some platforms provides strlcpy and strlcat
118 - if not conf.CHECK_FUNCS('strlcpy strlcat'):
119 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
124 - # got strlcpy and strlcat in libc, but not in <string.h>
143 + # libbsd on some platforms provides strlcpy and strlcat
144 + if not conf.CHECK_FUNCS('strlcpy strlcat'):
145 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
150 + # got strlcpy and strlcat in libc, but not in <string.h>
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtdb/libtdb/
H A D0001-tdb-Add-configure-options-for-packages.patch113 - # libbsd on some platforms provides strlcpy and strlcat
114 - if not conf.CHECK_FUNCS('strlcpy strlcat'):
115 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
120 - # got strlcpy and strlcat in libc, but not in <string.h>
139 + # libbsd on some platforms provides strlcpy and strlcat
140 + if not conf.CHECK_FUNCS('strlcpy strlcat'):
141 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
146 + # got strlcpy and strlcat in libc, but not in <string.h>
/openbmc/linux/arch/mips/ralink/
H A Dprom.c52 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); in prom_init_cmdline()
53 strlcat(arcs_cmdline, p, sizeof(arcs_cmdline)); in prom_init_cmdline()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtalloc/libtalloc/
H A D0001-talloc-Add-configure-options-for-packages.patch122 - # libbsd on some platforms provides strlcpy and strlcat
123 - if not conf.CHECK_FUNCS('strlcpy strlcat'):
124 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
129 - # got strlcpy and strlcat in libc, but not in <string.h>
148 + # libbsd on some platforms provides strlcpy and strlcat
149 + if not conf.CHECK_FUNCS('strlcpy strlcat'):
150 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
155 + # got strlcpy and strlcat in libc, but not in <string.h>
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_fcs.c766 strlcat(port_cfg->sym_name.symname, BFA_FCS_PORT_SYMBNAME_SEPARATOR, in bfa_fcs_fabric_psymb_init()
770 strlcat(port_cfg->sym_name.symname, driver_info->version, in bfa_fcs_fabric_psymb_init()
772 strlcat(port_cfg->sym_name.symname, BFA_FCS_PORT_SYMBNAME_SEPARATOR, in bfa_fcs_fabric_psymb_init()
776 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
779 strlcat(port_cfg->sym_name.symname, BFA_FCS_PORT_SYMBNAME_SEPARATOR, in bfa_fcs_fabric_psymb_init()
788 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
791 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
795 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
798 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
803 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
[all …]
/openbmc/linux/arch/mips/cobalt/
H A Dsetup.c111 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init()
113 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
/openbmc/linux/arch/mips/lantiq/
H A Dprom.c61 strlcat(arcs_cmdline, p, sizeof(arcs_cmdline)); in prom_init_cmdline()
62 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); in prom_init_cmdline()
/openbmc/linux/arch/mips/fw/lib/
H A Dcmdline.c40 strlcat(arcs_cmdline, fw_argv(i), COMMAND_LINE_SIZE); in fw_init_cmdline()
42 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in fw_init_cmdline()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dintr.c58 strlcat(msg, "[", msgl); in format_hwmsg()
59 strlcat(msg, hwmsg, msgl); in format_hwmsg()
60 strlcat(msg, "]", msgl); in format_hwmsg()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libldb/libldb/
H A D0002-ldb-Add-configure-options-for-packages.patch112 - # libbsd on some platforms provides strlcpy and strlcat
113 - if not conf.CHECK_FUNCS('strlcpy strlcat'):
114 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
127 + # libbsd on some platforms provides strlcpy and strlcat
128 + if not conf.CHECK_FUNCS('strlcpy strlcat'):
129 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
/openbmc/linux/arch/mips/ar7/
H A Dprom.c47 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in ar7_init_cmdline()
49 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in ar7_init_cmdline()
229 strlcat(arcs_cmdline, console_string, COMMAND_LINE_SIZE); in console_config()
/openbmc/linux/arch/mips/alchemy/common/
H A Dprom.c53 strlcat(arcs_cmdline, prom_argv[i], COMMAND_LINE_SIZE); in prom_init_cmdline()
55 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init_cmdline()

1234567