Home
last modified time | relevance | path

Searched refs:outstr (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/getopt/
H A Dgetopt.c59 char *outstr; in main() local
84 outstr[0] = '\0'; in main()
98 ALLOC_BUFMEM(outstr, bufsize, 3); in main()
100 (void) strcat(outstr, tmpstr); in main()
104 (void) strcat(outstr, optarg); in main()
105 (void) strcat(outstr, " "); in main()
113 ALLOC_BUFMEM(outstr, bufsize, 3) in main() local
114 (void) strcat(outstr, "-- "); in main()
117 (void) strcat(outstr, argv[optind++]); in main()
118 (void) strcat(outstr, " "); in main()
[all …]
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dmisc.c76 char * outstr; in alloc_str() local
78 outstr = (char *)malloc(strlen(instr) + 1); in alloc_str()
79 ASSERT(outstr, MALLOC_ERR); in alloc_str()
80 (void) memset(outstr, 0, strlen(instr) + 1); in alloc_str()
81 (void) strcpy(outstr, instr); in alloc_str()
83 return (outstr); in alloc_str()
/illumos-gate/usr/src/cmd/bnu/
H A Duudemon.admin66 outstr=""
77 outstr="$outstr $i"
83 if [ -n "$outstr" ]; then
H A Duudemon.cleanup64 outstr=""
75 outstr="$outstr $i"
81 if [ -n "$outstr" ]; then
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_smb.c824 outstr[j] = c; in unicode2ascii()
828 outstr[j] = '\0'; in unicode2ascii()
1957 char *outstr; in interpret_default() local
2011 outstr = xtra; in interpret_default()
2032 tl = snprintf(outstr, outsz, in interpret_default()
2034 outstr += tl; in interpret_default()
2051 outstr += tl; in interpret_default()
2068 outstr += tl; in interpret_default()
2085 outstr += tl; in interpret_default()
2110 outstr += tl; in interpret_default()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/stdio/
H A Dvfscanf.c468 match(const char *str, char *outstr) in match() argument
499 if (outstr != NULL) in match()
500 *outstr++ = c; in match()
508 else if (outstr != NULL) in match()
509 *outstr++ = c; in match()
513 else if (outstr != NULL) in match()
514 *outstr++ = c; in match()
522 if (outstr != NULL) in match()
523 *outstr = '\0'; in match()
/illumos-gate/usr/src/cmd/ldap/common/
H A Dconvutf8.c614 char *outstr = NULL;
637 outstr = (char *) malloc(outlen + 2);
639 wclen, outstr, outlen, NULL, NULL);
641 *(outstr+outlen) = _T('\0');
646 return outstr;
/illumos-gate/usr/src/cmd/mailx/
H A Dtty.c63 static void outstr(register char *s);
181 outstr(pr); in readtty()
198 outstr(canonb); in readtty()
268 outstr("(continue)\n"); in readtty()
270 outstr(pr); in readtty()
272 outstr(canonb); in readtty()
356 outstr(register char *s) in outstr() function
/illumos-gate/usr/src/cmd/mandoc/
H A Ddba.c243 static char *outstr = NULL; in prepend() local
249 outstr = mandoc_realloc(outstr, newlen + 1); in prepend()
252 *outstr = inbyte; in prepend()
253 memcpy(outstr + 1, instr, newlen); in prepend()
254 return outstr; in prepend()
/illumos-gate/usr/src/cmd/tail/tests/
H A Dsun_solaris_tail.sh500 outstr=$(/usr/bin/tail "${OUTFILE}") || err_exit "tail returned non-zero exit code $?"
501 …[[ "${outstr}" == 49991*50000 ]] || err_exit "${title}: Expected match for 49991*50000, got "$(sin…
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_builtin_tail.sh477 outstr=$(/usr/bin/tail "${OUTFILE}") || err_exit "tail returned non-zero exit code $?"
478 …[[ "${outstr}" == 49991*50000 ]] || err_exit "${title}: Expected match for 49991*50000, got "$(sin…
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c92 static void outstr(char *s);
495 outstr(eff); in print_cur_locale()
500 outstr(eff); in print_cur_locale()
503 outstr(eff); in print_cur_locale()
511 outstr(lc_allp); in print_cur_locale()
820 outstr(q[j]); in print_keyword()
943 outstr(char *s) in outstr() function
/illumos-gate/usr/src/cmd/pg/
H A Dpg.c600 char outstr[PROMPTSIZE]; in command() local
606 (void) sprintf(outstr, gettext( in command()
608 sopr(outstr, 1); in command()
1650 char outstr[PROMPTSIZE+6]; in prompt() local
1657 (void) sprintf(outstr, gettext("(Next file: %s)"), filename); in prompt()
1663 (void) sprintf(outstr, promptstr, pagenum); in prompt()
1665 sopr(outstr, 1); in prompt()
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_config.c2743 char *outstr = NULL; in _nscd_srcs_in_db_nsw_policy() local
2793 outstr = (char *)calloc(1, dlen); in _nscd_srcs_in_db_nsw_policy()
2794 if (outstr == NULL) { in _nscd_srcs_in_db_nsw_policy()
2814 (void) strlcat(outstr, dbname, dlen); in _nscd_srcs_in_db_nsw_policy()
2815 (void) strlcat(outstr, ",", dlen); in _nscd_srcs_in_db_nsw_policy()
2821 (void) strlcat(outstr, dbname, dlen); in _nscd_srcs_in_db_nsw_policy()
2822 (void) strlcat(outstr, ",", dlen); in _nscd_srcs_in_db_nsw_policy()
2827 i = strlen(outstr) - 1; in _nscd_srcs_in_db_nsw_policy()
2828 if (outstr[i] == ',') in _nscd_srcs_in_db_nsw_policy()
2829 outstr[i] = '\0'; in _nscd_srcs_in_db_nsw_policy()
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Dpriocntl.c141 char *outstr; in priocntl_common() local
725 outstr = ""; in priocntl_common()
727 outstr = sclass[defaultcid].cl_name; in priocntl_common()
728 size = strlen(outstr) + 1; in priocntl_common()
730 if ((*copyoutfn)(outstr, arg, size) != 0) in priocntl_common()
/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c1021 char *outstr, *outstrptr; in convert_run_iconv() local
1025 outstrptr = outstr = safe_zalloc(bufsz + 1); in convert_run_iconv()
1044 *(outstr + (bufsz - outleft)) = '\0'; in convert_run_iconv()
1048 free(outstr); in convert_run_iconv()
1050 free(outstr); in convert_run_iconv()
1064 return (outstr); in convert_run_iconv()
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_val.h117 char *sepset, char **outstr);
H A Dldap_val.c2092 int *numVals, char *sepset, char **outstr) { in matchMappingItem() argument
2211 if (outstr != 0) in matchMappingItem()
2212 *outstr = str; in matchMappingItem()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c2481 int numattrs, char **outstr) in kmf_get_string_attr() argument
2486 if (outstr == NULL) in kmf_get_string_attr()
2491 *outstr = malloc(len + 1); in kmf_get_string_attr()
2492 if ((*outstr) == NULL) in kmf_get_string_attr()
2494 (void) memset((*outstr), 0, len + 1); in kmf_get_string_attr()
2495 rv = kmf_get_attr(type, attrlist, numattrs, (*outstr), &len); in kmf_get_string_attr()
2497 free(*outstr); in kmf_get_string_attr()
2498 *outstr = NULL; in kmf_get_string_attr()
/illumos-gate/usr/src/uts/common/os/
H A Dzone.c5418 char *outstr; in zone_getattr() local
5616 outstr = ""; in zone_getattr()
5618 outstr = zone->zone_bootargs; in zone_getattr()
5619 size = strlen(outstr) + 1; in zone_getattr()
5623 err = copyoutstr(outstr, buf, bufsize, NULL); in zone_getattr()
5640 outstr = ""; in zone_getattr()
5643 size = strlen(outstr) + 1; in zone_getattr()
5647 err = copyoutstr(outstr, buf, bufsize, NULL); in zone_getattr()
5667 outstr = ""; in zone_getattr()
5669 outstr = zone->zone_fs_allowed; in zone_getattr()
[all …]
/illumos-gate/usr/src/cmd/mail/
H A Dmail.h285 extern void cmdexpand(int letnum, string *instr, string *outstr, char **lbraslist, char **lbraelist…
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba.c1736 usba_filter_string(char *instr, char *outstr) in usba_filter_string() argument
1740 *outstr = *instr; in usba_filter_string()
1742 *outstr = ' '; in usba_filter_string()
1744 outstr++; in usba_filter_string()
1747 *outstr = '\0'; in usba_filter_string()
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c1808 char *outstr; in quoteit() local
1811 if ((outstr = malloc(outstrsize)) == NULL) { in quoteit()
1816 (void) strlcpy(outstr, instr, outstrsize); in quoteit()
1817 return (outstr); in quoteit()
1819 (void) snprintf(outstr, outstrsize, "\"%s\"", instr); in quoteit()
1820 return (outstr); in quoteit()