Home
last modified time | relevance | path

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

/titanic_51/usr/src/cmd/getopt/
H A Dgetopt.c62 char *outstr; in main() local
83 if ((outstr = (char *)malloc(bufsize)) == NULL) { in main()
87 outstr[0] = '\0'; in main()
101 ALLOC_BUFMEM(outstr, bufsize, 3); in main()
103 (void) strcat(outstr, tmpstr); in main()
106 ALLOC_BUFMEM(outstr, bufsize, strlen(optarg)+1) in main() local
107 (void) strcat(outstr, optarg); in main()
108 (void) strcat(outstr, " "); in main()
116 ALLOC_BUFMEM(outstr, bufsize, 3) in main() local
117 (void) strcat(outstr, " in main()
119 ALLOC_BUFMEM(outstr, bufsize, strlen(argv[optind])+1) main() local
[all...]
/titanic_51/usr/src/cmd/lp/model/netpr/
H A Dmisc.c78 char * outstr; in alloc_str() local
80 outstr = (char *)malloc(strlen(instr) + 1); in alloc_str()
81 ASSERT(outstr, MALLOC_ERR); in alloc_str()
82 (void) memset(outstr, 0, strlen(instr) + 1); in alloc_str()
83 (void) strcpy(outstr, instr); in alloc_str()
85 return (outstr); in alloc_str()
/titanic_51/usr/src/cmd/bnu/
H A Duudemon.admin66 outstr=""
77 outstr="$outstr $i"
81 # if any names are in $outstr, assume uucp is configured
83 if [ -n "$outstr" ]; then
H A Duudemon.cleanup64 outstr=""
75 outstr="$outstr $i"
79 # if any names are in $outstr, assume uucp is configured
81 if [ -n "$outstr" ]; then
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_smb.c811 unicode2ascii(char *outstr, int outlen, uchar_t *instr, int inlen) in unicode2ascii() argument
824 outstr[j] = c; in unicode2ascii()
828 outstr[j] = '\0'; in unicode2ascii()
857 get_info_level(char *outstr, int outsz, int value) in get_info_level() argument
862 snprintf(outstr, outsz, "Standard"); in get_info_level()
865 snprintf(outstr, outsz, "Query EA Size"); in get_info_level()
868 snprintf(outstr, outsz, "Query EAS from List"); in get_info_level()
871 snprintf(outstr, outsz, "Directory Info"); in get_info_level()
874 snprintf(outstr, outsz, "Full Directory Info"); in get_info_level()
877 snprintf(outstr, outs in get_info_level()
1957 char *outstr; interpret_default() local
[all...]
/titanic_51/usr/src/lib/libxcurses/src/libc/stdio/
H A Dvfscanf.c470 match(const char *str, char *outstr) in match() argument
501 if (outstr != NULL) in match()
502 *outstr++ = c; in match()
510 else if (outstr != NULL) in match()
511 *outstr++ = c; in match()
515 else if (outstr != NULL) in match()
516 *outstr++ = c; in match()
524 if (outstr != NULL) in match()
525 *outstr = '\0'; in match()
/titanic_51/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;
/titanic_51/usr/src/cmd/mailx/
H A Dtty.c65 static void outstr(register char *s);
183 outstr(pr); in readtty()
200 outstr(canonb); in readtty()
270 outstr("(continue)\n"); in readtty()
272 outstr(pr); in readtty()
274 outstr(canonb); in readtty()
358 outstr(register char *s) in outstr() function
/titanic_51/usr/src/cmd/tail/tests/
H A Dsun_solaris_tail.sh485 outstr=$(/usr/bin/tail "${OUTFILE}") || err_exit "tail returned non-zero exit code $?"
486 [[ "${outstr}" == 49991*50000 ]] || err_exit "${title}: Expected match for 49991*50000, got "$(singlebackslashquote "${outstr}")""
/titanic_51/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_builtin_tail.sh480 outstr=$(/usr/bin/tail "${OUTFILE}") || err_exit "tail returned non-zero exit code $?"
481 …[[ "${outstr}" == 49991*50000 ]] || err_exit "${title}: Expected match for 49991*50000, got "$(sin…
/titanic_51/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 "$(singlebackslashquote "${outstr}")""
/titanic_51/usr/src/cmd/locale/
H A Dlocale.c94 static void outstr(char *s);
468 * to the shell''. We use the routine outstr to do this -- however we
497 outstr(eff); in print_cur_locale()
502 outstr(eff); in print_cur_locale()
505 outstr(eff); in print_cur_locale()
513 outstr(lc_allp); in print_cur_locale()
822 outstr(q[j]); in print_keyword()
945 outstr(char *s) in outstr() function
/titanic_51/usr/src/cmd/pg/
H A Dpg.c601 char outstr[PROMPTSIZE]; local
607 (void) sprintf(outstr, gettext(
609 sopr(outstr, 1);
1664 char outstr[PROMPTSIZE+6]; local
1671 (void) sprintf(outstr, gettext("(Next file: %s)"), filename);
1676 (void) sprintf(outstr, promptstr, pagenum);
1678 sopr(outstr, 1);
/titanic_51/usr/src/cmd/nscd/
H A Dnscd_config.c2744 char *outstr = NULL; in _nscd_srcs_in_db_nsw_policy() local
2794 outstr = (char *)calloc(1, dlen); in _nscd_srcs_in_db_nsw_policy()
2795 if (outstr == NULL) { in _nscd_srcs_in_db_nsw_policy()
2815 (void) strlcat(outstr, dbname, dlen); in _nscd_srcs_in_db_nsw_policy()
2816 (void) strlcat(outstr, ",", dlen); in _nscd_srcs_in_db_nsw_policy()
2822 (void) strlcat(outstr, dbname, dlen); in _nscd_srcs_in_db_nsw_policy()
2823 (void) strlcat(outstr, ",", dlen); in _nscd_srcs_in_db_nsw_policy()
2828 i = strlen(outstr) - 1; in _nscd_srcs_in_db_nsw_policy()
2829 if (outstr[i] == ',') in _nscd_srcs_in_db_nsw_policy()
2830 outstr[ in _nscd_srcs_in_db_nsw_policy()
[all...]
/titanic_51/usr/src/uts/common/disp/
H A Dpriocntl.c140 char *outstr; in priocntl_common() local
724 outstr = ""; in priocntl_common()
726 outstr = sclass[defaultcid].cl_name; in priocntl_common()
727 size = strlen(outstr) + 1; in priocntl_common()
729 if ((*copyoutfn)(outstr, arg, size) != 0) in priocntl_common()
/titanic_51/usr/src/cmd/ptools/pargs/
H A Dpargs.c998 char *outstr, *outstrptr; in convert_run_iconv() local
1002 outstrptr = outstr = safe_zalloc(bufsz + 1); in convert_run_iconv()
1021 *(outstr + (bufsz - outleft)) = '\0'; in convert_run_iconv()
1025 free(outstr); in convert_run_iconv()
1027 free(outstr); in convert_run_iconv()
1041 return (outstr); in convert_run_iconv()
/titanic_51/usr/src/lib/libnisdb/
H A Dldap_val.h119 char *sepset, char **outstr);
H A Dldap_val.c2087 * outstr Points to the updated position upto which the
2092 int *numVals, char *sepset, char **outstr) { in matchMappingItem() argument
2211 if (outstr != 0) in matchMappingItem()
2212 *outstr = str; in matchMappingItem()
/titanic_51/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()
/titanic_51/usr/src/uts/common/os/
H A Dzone.c5202 char *outstr; in zone_getattr() local
5400 outstr = ""; in zone_getattr()
5402 outstr = zone->zone_bootargs; in zone_getattr()
5403 size = strlen(outstr) + 1; in zone_getattr()
5407 err = copyoutstr(outstr, buf, bufsize, NULL); in zone_getattr()
5424 outstr = ""; in zone_getattr()
5426 outstr = sclass[zone->zone_defaultcid].cl_name; in zone_getattr()
5427 size = strlen(outstr) + 1; in zone_getattr()
5431 err = copyoutstr(outstr, buf, bufsize, NULL); in zone_getattr()
5451 outstr in zone_getattr()
[all...]
/titanic_51/usr/src/cmd/mail/
H A Dmail.h285 extern void cmdexpand(int letnum, string *instr, string *outstr, char **lbraslist, char **lbraelist);
/titanic_51/usr/src/uts/common/io/usb/usba/
H A Dusba.c1723 usba_filter_string(char *instr, char *outstr) in usba_filter_string() argument
1727 *outstr = *instr; in usba_filter_string()
1729 *outstr = ' '; in usba_filter_string()
1731 outstr++; in usba_filter_string()
1734 *outstr = '\0'; in usba_filter_string()
/titanic_51/usr/src/cmd/zonecfg/
H A Dzonecfg.c1762 char *outstr; in quoteit() local
1765 if ((outstr = malloc(outstrsize)) == NULL) { in quoteit()
1770 (void) strlcpy(outstr, instr, outstrsize); in quoteit()
1771 return (outstr); in quoteit()
1773 (void) snprintf(outstr, outstrsize, "\"%s\"", instr); in quoteit()
1774 return (outstr); in quoteit()