/titanic_41/usr/src/cmd/getopt/ |
H A D | getopt.c | 62 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() [all …]
|
/titanic_41/usr/src/cmd/lp/model/netpr/ |
H A D | misc.c | 78 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_41/usr/src/cmd/bnu/ |
H A D | uudemon.admin | 66 outstr="" 77 outstr="$outstr $i" 83 if [ -n "$outstr" ]; then
|
H A D | uudemon.cleanup | 64 outstr="" 75 outstr="$outstr $i" 81 if [ -n "$outstr" ]; then
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_smb.c | 811 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, outsz, "Names Info"); in get_info_level() [all …]
|
/titanic_41/usr/src/lib/libxcurses/src/libc/stdio/ |
H A D | vfscanf.c | 470 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_41/usr/src/cmd/ldap/common/ |
H A D | convutf8.c | 614 char *outstr = NULL; 637 outstr = (char *) malloc(outlen + 2); 639 wclen, outstr, outlen, NULL, NULL); 641 *(outstr+outlen) = _T('\0'); 646 return outstr;
|
/titanic_41/usr/src/cmd/mailx/ |
H A D | tty.c | 65 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_41/usr/src/cmd/tail/tests/ |
H A D | sun_solaris_tail.sh | 485 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 "$(sin…
|
/titanic_41/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_builtin_tail.sh | 480 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_41/usr/src/cmd/locale/ |
H A D | locale.c | 94 static void outstr(char *s); 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_41/usr/src/cmd/pg/ |
H A D | pg.c | 601 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_41/usr/src/cmd/nscd/ |
H A D | nscd_config.c | 2744 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[i] = '\0'; in _nscd_srcs_in_db_nsw_policy() [all …]
|
/titanic_41/usr/src/uts/common/disp/ |
H A D | priocntl.c | 140 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_41/usr/src/cmd/ptools/pargs/ |
H A D | pargs.c | 998 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_41/usr/src/lib/libnisdb/ |
H A D | ldap_val.h | 119 char *sepset, char **outstr);
|
H A D | ldap_val.c | 2091 int *numVals, char *sepset, char **outstr) { in matchMappingItem() argument 2210 if (outstr != 0) in matchMappingItem() 2211 *outstr = str; in matchMappingItem()
|
/titanic_41/usr/src/lib/libkmf/libkmf/common/ |
H A D | generalop.c | 2481 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_41/usr/src/uts/common/os/ |
H A D | zone.c | 5206 char *outstr; in zone_getattr() local 5404 outstr = ""; in zone_getattr() 5406 outstr = zone->zone_bootargs; in zone_getattr() 5407 size = strlen(outstr) + 1; in zone_getattr() 5411 err = copyoutstr(outstr, buf, bufsize, NULL); in zone_getattr() 5428 outstr = ""; in zone_getattr() 5430 outstr = sclass[zone->zone_defaultcid].cl_name; in zone_getattr() 5431 size = strlen(outstr) + 1; in zone_getattr() 5435 err = copyoutstr(outstr, buf, bufsize, NULL); in zone_getattr() 5455 outstr = ""; in zone_getattr() [all …]
|
/titanic_41/usr/src/cmd/mail/ |
H A D | mail.h | 285 extern void cmdexpand(int letnum, string *instr, string *outstr, char **lbraslist, char **lbraelist…
|
/titanic_41/usr/src/uts/common/io/usb/usba/ |
H A D | usba.c | 1723 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_41/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 1762 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()
|