Home
last modified time | relevance | path

Searched refs:retstr (Results 1 – 20 of 20) sorted by relevance

/titanic_41/usr/src/cmd/svc/startd/
H A Dexpand.c156 const char *prop_spec, char sep, char **retstr) in get_prop_val_str() argument
183 *retstr = safe_strdup("parse error"); in get_prop_val_str()
259 *retstr = safe_strdup(""); in get_prop_val_str()
318 *retstr = str; in get_prop_val_str()
332 *retstr = safe_strdup(scf_strerror(scf_error())); in get_prop_val_str()
339 *retstr = uu_msprintf("property \"%s\" not found", prop_spec); in get_prop_val_str()
340 if (*retstr != NULL) in get_prop_val_str()
343 *retstr = safe_strdup(strerror(errno)); in get_prop_val_str()
358 int method_type, char **retstr) in expand_token() argument
371 *retstr = safe_strdup(strerror(scf_error())); in expand_token()
[all …]
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dmntent.c52 unsigned char *retstr; in mntstr() local
56 retstr = cp; in mntstr()
64 return ((char *)retstr); in mntstr()
186 unsigned char *retstr; in mntopt() local
190 retstr = cp; in mntopt()
198 return ((char *)retstr); in mntopt()
/titanic_41/usr/src/test/zfs-tests/include/
H A Dproperties.shlib32 typeset retstr=""
40 retstr="${prop_array[$i]} $retstr"
42 echo $retstr
/titanic_41/usr/src/lib/nametoaddr/straddr/common/
H A Dstraddr.c415 char *retstr; /* the string to return if compare succeeds */ in searchhost() local
481 retstr = (field == FIELD1)? filehost : fileaddr; in searchhost()
490 (void) strcpy(hostbuf, retstr); in searchhost()
500 (void) strcat(hostbuf, retstr); in searchhost()
522 char *retstr; /* temporarily hold token in line of file */ in searchserv() local
549 retstr = (field == FIELD1)? fileport : fileservice; in searchserv()
552 (void) strcpy(servname, retstr); in searchserv()
/titanic_41/usr/src/lib/libnsl/netselect/
H A Dnetselect.c819 char *retstr = thr_main()? in nc_sperror() local
823 if (retstr == NULL) { in nc_sperror()
831 (void) strlcpy(retstr, dgettext(__nsl_dom, "no error"), BUFSIZ); in nc_sperror()
834 (void) strlcpy(retstr, dgettext(__nsl_dom, "out of memory"), in nc_sperror()
838 (void) strlcpy(retstr, dgettext(__nsl_dom, in nc_sperror()
843 (void) strlcpy(retstr, in nc_sperror()
848 (void) snprintf(retstr, BUFSIZ, dgettext(__nsl_dom, in nc_sperror()
853 (void) snprintf(retstr, BUFSIZ, in nc_sperror()
858 (void) snprintf(retstr, BUFSIZ, in nc_sperror()
863 (void) strlcpy(retstr, dgettext(__nsl_dom, "unknown error"), in nc_sperror()
[all …]
/titanic_41/usr/src/cmd/rexd/
H A Dmntent.c55 char *retstr; local
59 retstr = cp;
68 return (retstr);
/titanic_41/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dutil.c303 char *retstr = NULL; in get_string() local
346 retstr = malloc(len + 1); in get_string()
347 if (retstr == NULL) { in get_string()
356 (void) strncpy(retstr, p, len); in get_string()
357 retstr[len] = '\0'; in get_string()
358 return (retstr); in get_string()
/titanic_41/usr/src/common/net/wanboot/
H A Dauxutil.c153 uchar_t *retstr = NULL; local
173 retstr = OPENSSL_malloc(astr->length + 1);
174 if (retstr == NULL) {
179 (void) memcpy(retstr, astr->data, astr->length);
180 retstr[astr->length] = '\0';
183 return (retstr);
/titanic_41/usr/src/cmd/ptools/pargs/
H A Dpargs.c1051 char *retstr, *tmp; in convert_str() local
1054 retstr = unctrl_str_strict_ascii(str, 1, unprintable); in convert_str()
1055 return (retstr); in convert_str()
1064 retstr = unctrl_str(str, 1, unprintable); in convert_str()
1065 return (retstr); in convert_str()
1092 retstr = unctrl_str(str, 1, unprintable); in convert_str()
1095 tmp = retstr; in convert_str()
1096 if ((retstr = convert_run_iconv(datap, retstr)) == NULL) { in convert_str()
1107 tmp = retstr; in convert_str()
1112 retstr = unctrl_str(retstr, 0, unprintable); in convert_str()
[all …]
/titanic_41/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c317 char *retstr; in getzonestr() local
331 if ((retstr = if_indextoname(ifindex, zonestr)) != NULL) { in getzonestr()
332 return (strlen(retstr)); in getzonestr()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetmntent.c288 char *retstr; in mntopt() local
293 retstr = cp; in mntopt()
303 return (retstr); in mntopt()
/titanic_41/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c747 do_subproc(zlog_t *zlogp, char *cmdbuf, char **retstr) in do_subproc() argument
755 if (retstr != NULL) { in do_subproc()
756 if ((*retstr = malloc(1024)) == NULL) { in do_subproc()
760 inbuf = *retstr; in do_subproc()
773 if (retstr == NULL) { in do_subproc()
780 if ((p = realloc(*retstr, rd_cnt + 1024)) == NULL) { in do_subproc()
786 *retstr = p; in do_subproc()
787 inbuf = *retstr + rd_cnt; in do_subproc()
H A Dvplat.c3492 get_implicit_datasets(zlog_t *zlogp, char **retstr) in get_implicit_datasets() argument
3503 if (do_subproc(zlogp, cmdbuf, retstr) != 0) in get_implicit_datasets()
/titanic_41/usr/src/cmd/fs.d/ufs/mount/
H A Dmount.c712 char *retstr; in getnextopt() local
716 retstr = cp; in getnextopt()
725 return (retstr); in getnextopt()
/titanic_41/usr/src/cmd/zonecfg/
H A Dzonecfg_grammar.y67 char *retstr; in simple_prop_val_func() local
71 if ((retstr = strdup(str)) == NULL) { in simple_prop_val_func()
75 new_list->lp_simple = retstr; in simple_prop_val_func()
86 return (retstr); in simple_prop_val_func()
/titanic_41/usr/src/lib/libpkg/common/
H A Dp12lib.c2355 uchar_t *retstr = NULL; local
2375 retstr = OPENSSL_malloc(astr->length + 1);
2376 if (retstr == NULL) {
2381 (void) memcpy(retstr, astr->data, astr->length);
2382 retstr[astr->length] = '\0';
2385 return (retstr);
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.c1308 krb5_ldap_get_string(ld, ent, attribute, retstr, attr_present) in krb5_ldap_get_string() argument
1312 char **retstr;
1318 *retstr = NULL;
1327 *retstr = strdup(values[0]);
1328 if (*retstr == NULL)
/titanic_41/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c344 uint8_t *retstr; in smb_isautoenable() local
349 retstr = scf_simple_prop_next_boolean(prop); in smb_isautoenable()
350 ret = *retstr != 0; in smb_isautoenable()
/titanic_41/usr/src/test/test-runner/cmd/
H A Drun.py745 def fail(retstr, ret=1): argument
746 print '%s: %s' % (argv[0], retstr)
/titanic_41/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c2663 char *retstr; in getMountOption() local
2672 retstr = cp; in getMountOption()
2688 return (retstr); in getMountOption()