Searched refs:strlen (Results 726 - 750 of 1552) sorted by relevance

<<21222324252627282930>>

/osnet-11/usr/src/lib/libfru/libfru/
H A Dlibfru.cc680 prior_length = strlen(prior_path);
681 path = (char *)alloca(prior_length + sizeof ("/") + strlen(name));
730 ((match + strlen(searchpath)) == (path + strlen(path))) &&
902 if ((seg_name == NULL) || (strlen(seg_name) > FRU_SEGNAMELEN)) {
939 if ((seg_name == NULL) || (strlen(seg_name) > 2)) {
996 if ((seg_name == NULL) || (strlen(seg_name) > 2)) {
1577 if (strlen((const char *)(*seg_name)) > FRU_SEGNAMELEN) {
1688 strlen(correctAnt->getPath(instWIPayload))
1689 + strlen(field_pat
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.c63 size_t len = strlen(input);
389 memset(ldap_context->bind_pwd, 0, strlen(ldap_context->bind_pwd));
460 defrealmlen = strlen(ldap_context->lrparams->realm_name);
478 if (strlen(defrealm) != searchfor->realm.length)
644 tl_data->tl_data_length += 1 + 2 + strlen(cptr);
660 tldatalen = strlen(cptr);
933 if (strlen(dn) == 0) {
1673 len1 = strlen (ldap_context->lrparams->realmdn);
1674 len2 = strlen (policy_dn);
1761 len = strlen (ldap_contex
[all...]
/osnet-11/usr/src/lib/libprtdiag/common/
H A Dio.c342 if (strlen(p->name) > 28)
347 if (strlen(p->model) > 19)
618 + strlen(strings_arr[i - 1]) + 1;
728 if (strlen(model) == 0)
979 if (strlen(slot) != 0) {
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dmain.c273 iop = sfnew(NIL(Sfio_t*),shp->comdiv,strlen(shp->comdiv),0,SF_STRING|SF_READ);
350 shp->comdiv = (char*)malloc(strlen(name)+7);
759 command_len += strlen(cp)+1;
770 command_len += strlen(cp)+1;
781 if(offset + (size=strlen(cp)) >= command_len)
/osnet-11/usr/src/lib/libsocket/inet/
H A Drcmd.c286 if (write(s, aport, strlen(aport)+1) != strlen(aport)+1) {
363 (void) write(s, locuser, strlen(locuser)+1);
364 (void) write(s, remuser, strlen(remuser)+1);
365 (void) write(s, cmd, strlen(cmd)+1);
/osnet-11/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c1004 if ((bufp = config_calloc_check(1, strlen(listopts) + 1, errstring))
1018 if ((*classpp = config_calloc_check(1, strlen(val) + 1,
1107 liblocp->ap_physical + strlen(DEVICES_DIR),
1137 minor_name) < len) { /* snprintf returns strlen */
1166 hp_name) < len) { /* snprintf returns strlen */
1348 if ((apdup = config_calloc_check(1, strlen(ap_id) + 1, errstring))
1930 if ((rpath = config_calloc_check(1, strlen(physpath) + 1,
1938 len = strlen(DEVICES_DIR);
1939 if (strncmp(rpath, DEVICES_DIR SLASH, len + strlen(SLASH)) == 0) {
1941 strlen(rpat
[all...]
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg_local.c72 if (strlen(name) >= PATH_MAX - 1)
84 char_name[strlen(name) - strlen(rest)] = 0;
334 int len = strlen(line)+1;
550 int len = strlen(line) + 1;
/osnet-11/usr/src/lib/fm/libldom/sparc/
H A Dldom_xmpp_client.c200 (void) iowrite(conn, START_TLS, strlen(START_TLS));
209 strlen((char *)LDM_REG_DOMAIN_EVENTS));
365 strlen((char *)STREAM_START));
366 if (cnt != strlen((char *)STREAM_START)) {
702 (void) iowrite(conn, STREAM_START, strlen(STREAM_START));
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dplugins.c113 filespec = malloc(strlen(dir) + 2 + 1);
115 index = strlen(filespec) - 1;
156 dp->dent.d_reclen = (unsigned short)strlen(dp->dent.d_name);
427 #define NAMELEN(D) strlen((D)->d_name)
433 #define NAMELEN(D) strlen((D)->d_name)
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.c71 len = strlen("../");
103 n = strlen(buf);
153 if (strncmp(a->path, DEVDIR, strlen(DEVDIR)) == 0) {
211 len = strlen(t);
215 s += (strlen(s) - len);
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_usb.c88 s += (strlen(s) + 1);
106 strncpy(path, dir_name, strlen(dir_name));
107 strncat(path, ep->d_name, strlen(ep->d_name));
262 atoi (devfs_path + strlen (devfs_path) -1));
299 devfs_path = p + strlen ("/hub@");
/osnet-11/usr/src/lib/libsqlite/src/
H A Ddate.c595 n = strlen(z);
798 j += strlen(&z[j]);
822 case 'J': sprintf(&z[j],"%.16g",x.rJD); j+=strlen(&z[j]); break;
827 j += strlen(&z[j]);
832 case 'Y': sprintf(&z[j],"%04d",x.Y); j+=strlen(&z[j]); break;
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_parser.c373 assert(strlen(sh->sh_uri) < SURI_MAX_URI_LEN);
523 assert(strlen(s) < sizeof (tmps));
538 if (strncmp(name, tmps, strlen(name)) != 0) {
665 (strncmp(gen_uri->sgu_path, _PATH_DEV, strlen(_PATH_DEV)) != 0)) {
883 name[strlen(name) - 1] = '\0';
/osnet-11/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c118 } else if ((len = strlen(str) + 1) <= buflen) {
233 char name[1]; /* Really [strlen(name) + 1] */
355 ngt_insert(ngt, *groups, strlen(*groups));
421 p = start + strlen(start);
749 if ((key = malloc(strlen(*pname) + strlen(domain) + 2)) == 0) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dutil.c77 PL_no_mem, strlen(PL_no_mem));
126 PL_no_mem, strlen(PL_no_mem));
180 PL_no_mem, strlen(PL_no_mem));
745 determined by C<strlen()>. The memory allocated for the new string can
756 New(902,newaddr,strlen(pv)+1,char);
805 newaddr = (char*)PerlMemShared_malloc(strlen(pv)+1);
886 sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
953 sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
1443 /* since we've already done strlen() for both nam and val
1478 int len = strlen(enviro
[all...]
/osnet-11/usr/src/lib/storage/libg_fc/common/
H A Dmap.c303 strlen(phys_path)) == 0) {
331 strlen(wwn_list_found->physical_path)
338 strlen(wwn_list_found->logical_path)
355 strlen(wwn_list_found->physical_path));
358 strlen(wwn_list_found->logical_path));
1928 strlen(PORT_ADDR_PROP));
1947 strlen(PORT_WWN_PROP));
1967 strlen(NODE_WWN_PROP));
1988 strlen(HARD_ADDR_PROP));
2029 strlen(INQ_DTYPE_PRO
[all...]
/osnet-11/usr/src/lib/libnwam/common/
H A Dlibnwam_ncp.c1134 sizeof (v4_addr) - strlen(v4ptr), "%s",
1139 sizeof (v4_addr) - strlen(v4ptr),
1144 sizeof (v4_addr) - strlen(v4ptr),
1157 sizeof (v6_addr) - strlen(v6ptr), "%s",
1162 sizeof (v6_addr) - strlen(v6ptr),
1167 sizeof (v6_addr) - strlen(v6ptr),
1300 strlen(NWAM_DATALINK_CONF_FILE_PRE)) == 0)
1301 len = strlen(NWAM_DATALINK_CONF_FILE_PRE);
1303 strlen(NWAM_IPADM_CONF_FILE_PRE)) == 0)
1304 len = strlen(NWAM_IPADM_CONF_FILE_PR
[all...]
/osnet-11/usr/src/lib/libpicltree/
H A Dpicltree.c875 (strlen(propp->prop_val) >= sz))
1318 (strlen(valbuf) >= PICL_CLASSNAMELEN_MAX)))
1801 if ((strlen(name) >= PICL_PROPNAMELEN_MAX) ||
1802 (strlen(clname) >= PICL_CLASSNAMELEN_MAX))
1833 propinfo.piclinfo.size = strlen(name) + 1;
1852 propinfo.piclinfo.size = strlen(clname) + 1;
2622 if (strlen(*baddr) == 0) /* no bus value after @ */
2641 if (strlen(pname) == 0) /* no prop exp after ? */
2651 if (strlen(pval) == 0)
2813 nameval = alloca(strlen(nodenam
[all...]
/osnet-11/usr/src/lib/libuefi_rt/common/
H A Dlibuefi_rt_path.c163 ileft = strlen(iptr);
540 pname = pname + strlen("/dev/rdsk/");
771 sname = sname + strlen("/dev/dsk/");
1420 path += (strlen("/devices/") -1);
1806 id_str_len = strlen(hid_str) + 1;
1815 id_str_len += strlen(uid_str) + 1;
1824 id_str_len += strlen(cid_str) + 1;
2232 drive = drive + strlen("/dev/dsk/");
2235 drive = drive + strlen("/dev/rdsk/");
2649 *uefi_path = malloc(strlen(pat
[all...]
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_ui.c316 strlen(SIP_CRLF)) == 0) {
810 header_size = strlen(header_string) + strlen(SIP_CRLF);
868 strlen(param);
977 sb_len += strlen(sb->sb_val);
1027 char *end = str + strlen(str) - 1;
1096 if (strncmp(sb->sb_val, str, strlen(str)) == 0) {
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_util.c497 off = strlen(host) - strlen(gr);
707 for (n = 0; i < grc; i++, n++, gr += strlen(gr) + 1) {
946 if (strlen(sharename) > SMB_SHARE_NTNAME_MAX)
977 len = strlen(name);
1066 len = strlen(name);
1114 if (strlen(workgroup) >= NETBIOS_NAME_SZ)
/osnet-11/usr/src/lib/libpkg/common/
H A Ddstream.c162 length = strlen(pds_header);
175 if (length + (int)strlen(pds_header) > size)
177 (void) strncpy(buf + length, pds_header, strlen(pds_header));
178 buf[length + strlen(pds_header)] = '\0';
183 if ((int)strlen(pds_header) > size)
185 (void) strncpy(buf, pds_header, strlen(pds_header));
186 buf[strlen(pds_header)] = '\0';
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dentry.c114 len = strlen(dev_name);
143 len = strlen(dev_name);
1234 len0 = strlen(*msg);
1237 len1 = strlen(pmsg);
1274 len0 = strlen(*msg);
1277 len1 = strlen(scratch);
1629 len0 = strlen(*msg);
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_subr.c66 p = s + strlen(s) - 1;
111 vlen = strlen(v);
205 q = p + strlen(p);
563 buf = &dtp->dt_sprintf_buf[len = strlen(dtp->dt_sprintf_buf)];
807 int len = strlen(s);
842 n += strlen(dts.dts_object) + strlen(dts.dts_name) + 2; /* +` */
/osnet-11/usr/src/lib/gss_mechs/mech_dummy/mech/
H A Ddmech.c407 token_string, strlen(token_string) + 1);
518 name.length = strlen(dummy_srcname);
538 token_string, strlen(token_string) + 1);
629 token_string, strlen(token_string));
1013 *interprocess_token = make_dummy_token_msg(str, strlen(str));
1229 token = (dummy_token_t)malloc(strlen(name)+1);
1250 buffer.length = strlen(name)+1;

Completed in 116 milliseconds

<<21222324252627282930>>