Home
last modified time | relevance | path

Searched refs:ostr (Results 1 – 17 of 17) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dlogging.c108 char *ostr; in vlogat() local
141 ostr = regbuf; in vlogat()
147 ostr = alloca(slen + 2); in vlogat()
148 slen = vsnprintf(ostr, slen + 1, fmt, args2); in vlogat()
156 if (ostr[slen - 1] != '\n') { in vlogat()
157 ostr[slen++] = '\n'; in vlogat()
158 ostr[slen] = '\0'; in vlogat()
166 for (; *ostr != '\0'; ostr = nstr + 1) { in vlogat()
167 nstr = strchr(ostr, '\n'); in vlogat()
170 if (nstr == ostr) in vlogat()
[all …]
/titanic_50/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c197 register char *ostr; in PutPW() local
206 ostr = pwp->data[0]; in PutPW()
215 for (j = 0; ostr[j] && nstr[j] && in PutPW()
216 (ostr[j] == nstr[j]); j++) in PutPW()
223 ostr = nstr; in PutPW()
237 register char *ostr; in GetPW() local
272 for (ostr = data[0]; *(ostr++) = *(bptr++); /* nothing */) in GetPW()
275 ostr = data[0]; in GetPW()
279 (void) strcpy(nstr, ostr); in GetPW()
280 ostr = nstr + *(bptr++); in GetPW()
[all …]
/titanic_50/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dgetopt.c60 BSDgetopt(nargc, nargv, ostr) in BSDgetopt() argument
63 const char *ostr;
82 !(oli = strchr(ostr, BSDoptopt))) {
91 if (BSDopterr && *ostr != ':')
106 if (*ostr == ':')
/titanic_50/usr/src/lib/libsmbfs/smb/
H A Dcfopt.c72 cf_getopt(nargc, nargv, ostr) in cf_getopt() argument
75 const char *ostr;
105 !(oli = strchr(ostr, cf_optopt))) {
114 if (cf_opterr && *ostr != ':')
129 if (*ostr == ':')
H A Dmbuf.c601 char *tstr, *ostr; in md_get_astring() local
641 ostr = convert_wincs_to_utf8(tstr); in md_get_astring()
643 if (ostr == NULL) in md_get_astring()
646 *str_pp = ostr; in md_get_astring()
661 char *ostr; in md_get_ustring() local
708 ostr = convert_unicode_to_utf8(tstr); in md_get_ustring()
710 if (ostr == NULL) in md_get_ustring()
713 *str_pp = ostr; in md_get_ustring()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd1131 local ($ostr) = "";
1135 /[Mm]/ ? ($ostr .= $lead) :
1136 /[Ee]/ ? ($sorrye = 1, $ostr .= $lead) :
1137 ($ostr .= $lead . "\\" . $_);
1143 $ostr .= $lead . "\\T") :
1145 $ostr .= $lead . "\\U") :
1146 /M/ ? ($ostr .= $lead,
1147 ($ostr ne "" ? push(@chats, $ostr, "\\c"):0),
1148 push(@chats, "HANGUP", "OFF"), $ostr = "") :
1149 /m/ ? ($ostr .= $lead,
[all …]
/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Dg11n.c772 char *ostr, *optr; in do_iconv() local
778 ostr = NULL; in do_iconv()
782 ostr = optr = xrealloc(ostr, olen); in do_iconv()
798 (void) iconv(cd, NULL, NULL, &ostr, &oleft); in do_iconv()
799 xfree(ostr); in do_iconv()
804 olen = optr - ostr; in do_iconv()
806 (void) memcpy(optr, ostr, olen); in do_iconv()
807 xfree(ostr); in do_iconv()
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dgetopt.c45 getopt(int nargc, char **nargv, char *ostr) in getopt() argument
63 !(oli = strchr(ostr, optopt))) { in getopt()
/titanic_50/usr/src/lib/libnisdb/
H A Dldap_util.c673 char *ostr; in trimWhiteSpaces() local
678 if ((ostr = am(myself, *len + 1)) == 0) { in trimWhiteSpaces()
693 ostr[olen++] = ' '; in trimWhiteSpaces()
698 ostr[olen++] = str[i]; in trimWhiteSpaces()
702 if (olen && ostr[olen - 1] == ' ') { in trimWhiteSpaces()
704 ostr[olen] = 0; in trimWhiteSpaces()
711 return (ostr); in trimWhiteSpaces()
/titanic_50/usr/src/cmd/sgs/libld/common/
H A Dplace.c372 gnu_linkonce_sec(const char *ostr) in gnu_linkonce_sec() argument
374 const char *nstr = &ostr[MSG_SCN_GNU_LINKONCE_SIZE]; in gnu_linkonce_sec()
426 return (ostr); in gnu_linkonce_sec()
489 gnu_split_sec(const char *ostr) in gnu_split_sec() argument
495 if (strcmp(ostr, mp->leader) == 0) in gnu_split_sec()
497 } else if (strncmp(ostr, mp->leader, strlen(mp->leader)) == 0) { in gnu_split_sec()
502 return (ostr); in gnu_split_sec()
H A Dmap_v2.c347 const char *ostr; in set_capstr() local
370 for (APLIST_TRAVERSE(caplist->cl_exc, idx2, ostr)) { in set_capstr()
371 if (strcmp(str, ostr) == 0) { in set_capstr()
383 const char *ostr; in set_capstr() local
401 for (APLIST_TRAVERSE(caplist->cl_exc, idx2, ostr)) { in set_capstr()
402 if (strcmp(str, ostr) == 0) { in set_capstr()
/titanic_50/usr/src/common/elfcap/
H A Delfcap.c354 token(char **ostr, size_t *olen, const elfcap_str_t *nstr) in token() argument
359 (void) strcat(*ostr, nstr->s_str); in token()
360 *ostr += nstr->s_len; in token()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c560 char *cp, *ostr; in add_options() local
564 ostr = options[i].opt_str(); in add_options()
565 if (ostr != NULL) { in add_options()
571 cp += strlcpy(cp, ostr, obufend - cp) + 1; in add_options()
/titanic_50/usr/src/cmd/sgs/rtld/common/
H A Dpaths.c1037 char *ostr; in expand_paths() local
1087 ostr = str; in expand_paths()
1148 stravl_insert(ostr, 0, (olen + 1), 1)) == NULL)) in expand_paths()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c662 char *cp, *optname, *optval, *ostr, *oackend; in process_options() local
699 ostr = options[i].opt_handler(opcode, optval, &errcode); in process_options()
700 if (ostr != NULL) { in process_options()
704 cp += strlcpy(cp, ostr, oackend - cp) in process_options()
/titanic_50/usr/src/cmd/sendmail/src/
H A Dconf.c3013 getopt(nargc,nargv,ostr) in getopt() argument
3016 const char *ostr;
3037 if ((optopt = (int)*place++) == (int)':' || !(oli = strchr(ostr,optopt))) {
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c1861 char *ostr; in diffnvlists() local
1864 res = nvlist_lookup_string(old, nme, &ostr); in diffnvlists()
1866 diff = strcmp(str, ostr); in diffnvlists()