Searched refs:strlen (Results 101 - 125 of 1552) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libc/port/rt/
H A Dpos4obj.c127 * If the path is path_max - strlen(type) characters or less,
132 * path_max - strlen(type) characters, we create a string based on the
151 if ((strlen(path) - 1) > (name_max - strlen(type)))
156 * strlen(path) includes leading slash as space for NUL.
158 len = strlen(objroot) + strlen(type) + strlen(path);
163 len = strlen(objroot) + HASHSTRLEN + strlen(typ
[all...]
/osnet-11/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c430 target_len = strlen(target);
431 domain_len = strlen(domain);
440 if ((target_len + domain_len + 1) > strlen(it->name))
446 if (strlen(domain) >= strlen(it->name))
448 end_ptr = it->name + strlen(it->name) -
449 strlen(domain) - 1;
452 if (0 != strncmp(end_ptr, domain, strlen(domain)))
710 strlen(xlate_to_lcase_maps[m])) == 0) {
1002 if (strlen(domai
[all...]
/osnet-11/usr/src/lib/libcommputil/common/
H A Dsdp.c181 len += strlen((m_conn)->c_nettype); \
182 len += strlen((m_conn)->c_addrtype) + 1; \
183 len += strlen((m_conn)->c_address) + 1; \
193 len += strlen((m_bw)->b_type); \
202 len += strlen((m_key)->k_method); \
204 len += strlen((m_key)->k_enckey) + 1; \
211 len += strlen((m_attr)->a_name); \
213 len += strlen((m_attr)->a_value) + 1; \
225 if (media == NULL || name == NULL || (strlen(name) == 0)) {
245 if (attr == NULL || name == NULL || (strlen(nam
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c421 total_len = (*ret_str == NULL) ? 0 : strlen(*ret_str);
424 size_t len = strlen(str);
707 len = strlen(SATA_CONFIRM_DEVICE) +
708 strlen(SATA_CONFIRM_DEVICE_SUSPEND) +
709 strlen("Unconfigure") + strlen(ap_id);
789 len = strlen(SATA_CONFIRM_DEVICE) +
790 strlen(SATA_CONFIRM_DEVICE_SUSPEND) +
791 strlen("Disconnect") + strlen(ap_i
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgetnetgrent_r.c163 if (mp != NULL) len += strlen(mp) + 1;
164 if (up != NULL) len += strlen(up) + 1;
165 if (dp != NULL) len += strlen(dp) + 1;
190 n = strlen(mp) + 1;
198 n = strlen(up) + 1;
206 n = strlen(dp) + 1;
H A Dgetprotoent_r.c148 len += strlen(pe->p_aliases[i]) + 1;
150 len += strlen(pe->p_name) + 1;
164 n = strlen(pe->p_name) + 1;
172 n = strlen(pe->p_aliases[i]) + 1;
193 if ((n = strlen(pe->p_name) + 1) < (eob - cp)) {
205 if ((n = strlen(pe->p_aliases[i]) + 1) < (eob - cp)) {
H A Dgetservent_r.c151 len += strlen(se->s_aliases[i]) + 1;
153 len += strlen(se->s_name) + 1;
154 len += strlen(se->s_proto) + 1;
168 n = strlen(se->s_name) + 1;
176 n = strlen(se->s_aliases[i]) + 1;
184 n = strlen(se->s_proto) + 1;
203 if ((n = strlen(se->s_name) + 1) < (eob - cp)) {
215 if ((n = strlen(se->s_aliases[i]) + 1) < (eob - cp)) {
227 if ((n = strlen(se->s_proto) + 1) < (eob - cp)) {
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetprofattr.c106 len = strlen(name[0]) + strlen(res1_str) + strlen(res2_str) +
107 strlen(des_str) + strlen(attr_str) + 6;
125 be->buflen = strlen(be->buffer);
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_samedomain.c56 la = strlen(a);
57 lb = strlen(b);
167 size_t n = strlen(src);
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dutil.c57 pathlen = strlen(filepath);
60 dirlen = strlen(dir);
95 if (ltimestr == NULL || !strlen(ltimestr)) {
/osnet-11/usr/src/lib/libdns_sd/common/
H A Ddnssd_ipc.c102 *ptr += strlen(str) + 1;
108 int overrun = (int)strlen(*ptr) < buflen ? 0 : -1;
111 *ptr += strlen(buffer) + 1;
/osnet-11/usr/src/lib/krb5/kadm5/
H A Dkadm_host_srv_names.c55 dns_realm.length = strlen(realm ? realm : def_realm);
120 dns_realm.length = strlen(realm ? realm : def_realm);
181 realm_data.length = strlen(realm);
193 tmp_srv_names[i] = malloc(strlen(KADM5_ADMIN_HOST_SERVICE) +
194 strlen(al.addrs[i].hostname) + 2);
229 realm_data.length = strlen(realm);
241 tmp_srv_names[i] = malloc(strlen(KADM5_CHANGEPW_HOST_SERVICE) +
242 strlen(al.addrs[i].hostname) + 2);
280 realm_data.length = strlen(realm);
292 tmp_srv_names[i] = malloc(strlen(KADM5_KIPROP_HOST_SERVIC
[all...]
/osnet-11/usr/src/cmd/sendmail/include/sm/
H A Dstring.h55 # define sm_strdup_x(str) strcpy(sm_malloc_x(strlen(str) + 1), str)
58 # define sm_pstrdup_x(str) strcpy(sm_pmalloc_x(strlen(str) + 1), str)
61 strcpy(sm_malloc_tagged_x(strlen(str) + 1, file, line, group), str)
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathpath.c68 if (strlen(p) < size)
76 s = buf + strlen(buf);
100 if (strlen(s) < (sizeof(buf) - 6))
/osnet-11/usr/src/lib/libnsl/dial/
H A Dstrsave.c43 rval = malloc(strlen(str) + 1);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Drpcdname.c69 if ((int)strlen(temp) > 0) {
/osnet-11/usr/src/lib/libeti/menu/common/
H A Dmenumark.c46 len = strlen(mark);
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_stash.c135 if (!strncmp(start, "{FILE}", strlen("{FILE}"))) {
137 size_t len = strlen(start);
150 CT.len = strlen((char *)CT.value);
248 if (pwd.len >= strlen("{HEX}") &&
249 strncmp((char *)pwd.value, "{HEX}", strlen("{HEX}")) == 0) {
251 if ((pwd.len - strlen("{HEX}")) % 2 != 0) {
257 ret->value = (unsigned char *)malloc((pwd.len - strlen("{HEX}")) / 2 + 1);
263 ret->len = (pwd.len - strlen("{HEX}")) / 2;
265 for (i = strlen("{HEX}"), j = 0; i < pwd.len; i += 2, j++) {
/osnet-11/usr/src/grub/grub2/util/
H A Dlvm.c35 devname = xmalloc (strlen (name) + sizeof (LVM_DEV_MAPPER_STRING));
/osnet-11/usr/src/cmd/sendmail/aux/
H A Dsmrsh.c126 if (sizeof newcmdbuf - strlen(newcmdbuf) <=
127 len + 1 + (cmd ? (strlen(CMDDIR) + 1) : 0))
194 if (strlen(SPECIALS) * 2 >= sizeof specialbuf)
210 if (strlen(par) > (sizeof newcmdbuf - sizeof CMDDIR - 2))
252 cmd = &q[strlen(q)];
272 addcmd("exec ", false, strlen("exec "));
281 addcmd(cmd, false, strlen(cmd));
364 addcmd(cmd, true, strlen(cmd));
376 addcmd(p, false, strlen(p));
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dfput.c50 iov.iov_len = uio.uio_resid = strlen(s);
/osnet-11/usr/src/cmd/sendmail/libsmutil/
H A Dsnprintf.c29 ** m -- the max length of the string (strlen()).
43 l = strlen(s);
/osnet-11/usr/src/lib/libast/common/regex/
H A Dregexec.c53 return regnexec(p, s, s ? strlen(s) : 0, nmatch, match, flags);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dstrerror.c72 if (buflen < (strlen(buf) + 1)) {
H A Dstrlcat.c46 size_t l2 = strlen(src);

Completed in 64 milliseconds

1234567891011>>