Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dlogging.c106 char *ostr; in vlogat() local
139 ostr = regbuf; in vlogat()
145 ostr = alloca(slen + 2); in vlogat()
154 if (ostr[slen - 1] != '\n') { in vlogat()
155 ostr[slen++] = '\n'; in vlogat()
156 ostr[slen] = '\0'; in vlogat()
164 for (; *ostr != '\0'; ostr = nstr + 1) { in vlogat()
165 nstr = strchr(ostr, '\n'); in vlogat()
168 if (nstr == ostr) in vlogat()
171 slen = nstr - ostr + 1; in vlogat()
[all …]
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c201 register char *ostr; in PutPW() local
210 ostr = pwp->data[0]; in PutPW()
220 (ostr[j] == nstr[j]); j++) in PutPW()
227 ostr = nstr; in PutPW()
241 register char *ostr; in GetPW() local
276 for (ostr = data[0]; *(ostr++) = *(bptr++); /* nothing */) in GetPW()
279 ostr = data[0]; in GetPW()
283 (void) strcpy(nstr, ostr); in GetPW()
284 ostr = nstr + *(bptr++); in GetPW()
285 while (*(ostr++) = *(bptr++)) in GetPW()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwgetopt.c157 const char *ostr, in dwgetopt_long() argument
168 int v = dwgetopt(nargc,nargv,ostr); in dwgetopt_long()
181 int v = dwgetopt(nargc,nargv,ostr); in dwgetopt_long()
287 dwgetopt(int nargc, char * const nargv[], const char *ostr) in dwgetopt() argument
311 if (strchr(ostr, '-') == NULL) { in dwgetopt()
320 if (dwoptopt == ':' || (oli = strchr(ostr, dwoptopt)) == NULL) { in dwgetopt()
324 if (dwopterr && *ostr != ':') { in dwgetopt()
358 if (*ostr == ':') { in dwgetopt()
H A Ddwgetopt.h47 int dwgetopt(int nargc, char * const nargv[], const char *ostr);
78 const char *ostr,
H A Ddwarf_macro5.c1065 char * ostr = 0; in translate_srcfiles_to_srcfiles2() local
1069 ostr = srcfiles[i]; in translate_srcfiles_to_srcfiles2()
1070 slen = strlen(ostr); in translate_srcfiles_to_srcfiles2()
1075 strcpy(newstr,ostr); in translate_srcfiles_to_srcfiles2()
/illumos-gate/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()
/illumos-gate/usr/src/boot/libsa/
H A Dgetopt.c55 getopt(int nargc, char * const *nargv, const char *ostr) in getopt() argument
73 !(oli = strchr(ostr, optopt))) { in getopt()
82 if (opterr && *ostr != ':') in getopt()
96 if (*ostr == ':') in getopt()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd1131 local ($ostr) = "";
1135 /[Mm]/ ? ($ostr .= $lead) :
1137 ($ostr .= $lead . "\\" . $_);
1143 $ostr .= $lead . "\\T") :
1146 /M/ ? ($ostr .= $lead,
1147 ($ostr ne "" ? push(@chats, $ostr, "\\c"):0),
1149 /m/ ? ($ostr .= $lead,
1150 ($ostr ne "" ? push(@chats, $ostr, "\\c"):0),
1155 ($ostr .= $lead . "\\" . $_);
1158 $ostr .= $str;
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dplace.c373 gnu_linkonce_sec(const char *ostr) in gnu_linkonce_sec() argument
375 const char *nstr = &ostr[MSG_SCN_GNU_LINKONCE_SIZE]; in gnu_linkonce_sec()
427 return (ostr); in gnu_linkonce_sec()
490 gnu_split_sec(const char *ostr) in gnu_split_sec() argument
496 if (strcmp(ostr, mp->leader) == 0) in gnu_split_sec()
498 } else if (strncmp(ostr, mp->leader, strlen(mp->leader)) == 0) { in gnu_split_sec()
503 return (ostr); in gnu_split_sec()
H A Dmap_v2.c353 const char *ostr; in set_capstr() local
376 for (APLIST_TRAVERSE(caplist->cl_exc, idx2, ostr)) { in set_capstr()
377 if (strcmp(str, ostr) == 0) { in set_capstr()
389 const char *ostr; in set_capstr() local
407 for (APLIST_TRAVERSE(caplist->cl_exc, idx2, ostr)) { in set_capstr()
408 if (strcmp(str, ostr) == 0) { in set_capstr()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c561 char *cp, *ostr; in add_options() local
565 ostr = options[i].opt_str(); in add_options()
566 if (ostr != NULL) { in add_options()
572 cp += strlcpy(cp, ostr, obufend - cp) + 1; in add_options()
/illumos-gate/usr/src/common/elfcap/
H A Delfcap.c524 token(char **ostr, size_t *olen, const elfcap_str_t *nstr) in token() argument
529 (void) strcat(*ostr, nstr->s_str); in token()
530 *ostr += nstr->s_len; in token()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c663 char *cp, *optname, *optval, *ostr, *oackend; in process_options() local
700 ostr = options[i].opt_handler(opcode, optval, &errcode); in process_options()
701 if (ostr != NULL) { in process_options()
705 cp += strlcpy(cp, ostr, oackend - cp) in process_options()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dpaths.c1038 char *ostr; in expand_paths() local
1088 ostr = str; in expand_paths()
1149 stravl_insert(ostr, 0, (olen + 1), 1)) == NULL)) in expand_paths()
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c925 ASN1_OCTET_STRING *ostr = NULL; in create_contentinfo() local
929 ostr = ASN1_OCTET_STRING_new(); in create_contentinfo()
930 if (ostr == NULL) in create_contentinfo()
932 if (!ASN1_OCTET_STRING_set(ostr, (unsigned char *)data, data_len)) in create_contentinfo()
945 p7->d.data = ostr; in create_contentinfo()
951 p7->d.other->value.octet_string = ostr; in create_contentinfo()
958 if (ostr != NULL) in create_contentinfo()
959 ASN1_OCTET_STRING_free(ostr); in create_contentinfo()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c3014 getopt(nargc,nargv,ostr) in getopt() argument
3017 const char *ostr;
3038 if ((optopt = (int)*place++) == (int)':' || !(oli = strchr(ostr,optopt))) {
/illumos-gate/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()