Home
last modified time | relevance | path

Searched refs:estr (Results 1 – 25 of 25) sorted by relevance

/titanic_44/usr/src/cmd/audio/utilities/
H A DAudioHdrParse.cc327 char *estr; in EncodingParse() local
406 estr = to_lowercase(estrbuf); in EncodingParse()
407 if ((strcmp(estr, "ulaw") == 0) || in EncodingParse()
408 (strcmp(estr, "u-law") == 0) || in EncodingParse()
409 (strcmp(estr, "�law") == 0) || in EncodingParse()
410 (strcmp(estr, "�-law") == 0) || in EncodingParse()
411 (strcmp(estr, "mulaw") == 0) || in EncodingParse()
412 (strcmp(estr, "mu-law") == 0) || in EncodingParse()
413 (strcoll(estr, lib_ulaw) == 0)) { in EncodingParse()
419 } else if ((strcmp(estr, "alaw") == 0) || in EncodingParse()
[all …]
/titanic_44/usr/src/cmd/fm/modules/common/io-retire/
H A Drio_main.c43 parse_exception_string(fmd_hdl_t *hdl, char *estr) in parse_exception_string() argument
50 len = strlen(estr); in parse_exception_string()
52 p = estr; in parse_exception_string()
79 if (len != strlen(estr)) { in parse_exception_string()
80 fmd_hdl_abort(hdl, "Error parsing exception list: %s\n", estr); in parse_exception_string()
325 char *estr; in _fmd_init() local
336 if (estr = fmd_prop_get_string(hdl, "fault-exceptions")) { in _fmd_init()
337 estrdup = fmd_hdl_strdup(hdl, estr, FMD_SLEEP); in _fmd_init()
338 fmd_prop_free_string(hdl, estr); in _fmd_init()
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dbufaux.c371 char *value, *converted, *estr; in buffer_get_utf8_string() local
377 converted = g11n_convert_from_utf8(value, &len, &estr); in buffer_get_utf8_string()
379 if (estr != NULL) in buffer_get_utf8_string()
380 error("invalid UTF-8 sequence: %s", estr); in buffer_get_utf8_string()
415 char *converted, *estr; in buffer_put_utf8_string() local
418 converted = g11n_convert_to_utf8(s, &nlen, 0, &estr); in buffer_put_utf8_string()
420 if (estr != NULL) in buffer_put_utf8_string()
421 error("Can't convert to UTF-8: %s", estr); in buffer_put_utf8_string()
/titanic_44/usr/src/lib/libpkg/common/
H A Dlogerr.c44 char *estr = pkg_gt("ERROR:"); in logerr() local
51 if (strncmp(fmt, estr, strlen(estr)) && in logerr()
/titanic_44/usr/src/cmd/zlogin/
H A Dzlogin.c190 const char *estr; in zperror() local
192 if ((estr = strerror(errno)) != NULL) in zperror()
193 (void) fprintf(stderr, "%s: %s: %s\n", pname, str, estr); in zperror()
1186 char **new_env, *estr; in prep_env() local
1204 if ((estr = add_env("PATH", DEF_PATH)) == NULL) in prep_env()
1206 new_env[e++] = estr; in prep_env()
1209 if ((estr = add_env("TERM", term)) == NULL) in prep_env()
1211 new_env[e++] = estr; in prep_env()
1215 if ((estr = add_env("HOME", "/")) == NULL) in prep_env()
1217 new_env[e++] = estr; in prep_env()
[all …]
/titanic_44/usr/src/lib/libinstzones/common/
H A Dzones_exec.c568 char **new_env, *estr; in _zexec_prep_env() local
588 if ((estr = _zexec_add_env("PATH=", ZONE_DEF_PATH)) == NULL) { in _zexec_prep_env()
592 new_env[e++] = estr; in _zexec_prep_env()
595 if ((estr = _zexec_add_env("TERM=", term)) == NULL) { in _zexec_prep_env()
599 new_env[e++] = estr; in _zexec_prep_env()
602 if ((estr = _zexec_add_env("HOME=", "/")) == NULL) { in _zexec_prep_env()
606 new_env[e++] = estr; in _zexec_prep_env()
608 if ((estr = _zexec_add_env("SHELL=", ZONE_FAILSAFESHELL)) == NULL) { in _zexec_prep_env()
612 new_env[e++] = estr; in _zexec_prep_env()
/titanic_44/usr/src/cmd/sgs/liblddbg/common/
H A Dutil.c81 const char *estr; in Dbg_util_dbnotify() local
91 estr = MSG_ORIG(MSG_UTL_EVNT_PREINIT); in Dbg_util_dbnotify()
95 estr = MSG_ORIG(MSG_UTL_EVNT_POSTINIT); in Dbg_util_dbnotify()
99 estr = MSG_ORIG(MSG_UTL_EVNT_DLACT); in Dbg_util_dbnotify()
117 estr = MSG_INTL(MSG_STR_UNKNOWN); in Dbg_util_dbnotify()
122 dbg_print(lml, MSG_INTL(MSG_UTL_DBNOTIFY), estr, sstr); in Dbg_util_dbnotify()
/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Drequest.c249 const char *estr, *msg; in dhcp_requesting() local
256 (void) dhcpv6_status_code(d6o, olen, &estr, &msg, &msglen); in dhcp_requesting()
367 const char *estr, *msg; in compute_points_v6() local
386 if (dhcpv6_status_code(d6o, olen, &estr, &msg, &msglen) == in compute_points_v6()
416 if (dhcpv6_status_code(d6so, solen, &estr, &msg, &msglen) == in compute_points_v6()
700 const char *estr, *msg; in accept_v6_message() local
834 status = dhcpv6_status_code(d6o, olen, &estr, &msg, &msglen); in accept_v6_message()
880 estr); in accept_v6_message()
907 if (dhcpv6_status_code(d6o, olen, &estr, &msg, in accept_v6_message()
912 estr); in accept_v6_message()
[all …]
H A Dutil.c644 dhcpv6_status_code(const dhcpv6_option_t *d6o, uint_t olen, const char **estr, in dhcpv6_status_code() argument
659 *estr = ""; in dhcpv6_status_code()
666 *estr = "garbled status code"; in dhcpv6_status_code()
679 *estr = sbuf; in dhcpv6_status_code()
681 *estr = v6_status[status]; in dhcpv6_status_code()
H A Dbound.c654 const char *optbase, *estr, *msg; in configure_v6_leases() local
727 scode = dhcpv6_status_code(d6so, solen, &estr, &msg, &msglen); in configure_v6_leases()
731 estr, msglen, msg); in configure_v6_leases()
807 scode = dhcpv6_status_code(d6sso, ssolen, &estr, &msg, in configure_v6_leases()
821 "configure_v6_leases: IAADDR: %s", estr); in configure_v6_leases()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c67 const char *estr; in mystrerror() local
70 if ((estr = strerror(err)) != NULL) in mystrerror()
71 return (estr); in mystrerror()
H A Doptions.c914 my_getenv(struct parse_state *psp, char *estr) in my_getenv() argument
920 elen = strlen(estr); in my_getenv()
922 if (strncmp(ent, estr, elen) == 0 && in my_getenv()
927 return (getenv(estr)); in my_getenv()
/titanic_44/usr/src/cmd/sgs/rtld/common/
H A Dconfig_elf.c226 char *estr = (char *)str; in elf_config() local
232 if ((tkns = expand(&estr, &size, 0, 0, in elf_config()
242 (is_path_secure(estr, lmp, PD_FLG_FULLPATH, tkns) == 0)) in elf_config()
245 str = (const char *)estr; in elf_config()
H A Dutil.c2125 char *nstr, *sstr, *estr = NULL; in ld_flags_env() local
2144 if (estr == NULL) { in ld_flags_env()
2146 estr = sstr; in ld_flags_env()
2165 if (estr) { in ld_flags_env()
2166 nlen = estr - nstr; in ld_flags_env()
2172 if ((*++estr == '\0') || (*estr == ',')) in ld_flags_env()
2173 estr = NULL; in ld_flags_env()
2188 estr = (char *)MSG_ORIG(MSG_STR_ONE); in ld_flags_env()
2197 ld_generic_env(nstr, nlen, estr, lmflags, in ld_flags_env()
2204 estr = NULL; in ld_flags_env()
/titanic_44/usr/src/cmd/svc/shell/
H A Dnet_include.sh408 estr="$inet_oneline_epilogue"
410 estr="$inet_oneline_epilogue_no_up"
412 ifcmds="$ifcmds $estr"
/titanic_44/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c506 char *estr; in serialize_observation() local
509 estr = ipath2str(cls, ipp); in serialize_observation()
510 fmd_buf_create(fp->hdl, fp->fmcase, tmpbuf, strlen(estr) + 1); in serialize_observation()
511 fmd_buf_write(fp->hdl, fp->fmcase, tmpbuf, (void *)estr, in serialize_observation()
512 strlen(estr) + 1); in serialize_observation()
513 FREE(estr); in serialize_observation()
592 char *estr; in reconstitute_observations() local
607 estr = MALLOC(elen); in reconstitute_observations()
608 fmd_buf_read(fmep->hdl, fmep->fmcase, tmpbuf, estr, elen); in reconstitute_observations()
609 sepptr = strchr(estr, '@'); in reconstitute_observations()
[all …]
H A Dplatform.c389 char *name, *instance, *estr; in hc_path() local
413 ul = strtoul(instance, &estr, 10); in hc_path()
415 if (estr == instance) { in hc_path()
/titanic_44/usr/src/lib/libxcurses/src/libc/stdio/
H A Dvfscanf.c460 scan(int ch, const char *str, const char *estr) in scan() argument
462 for (; str < estr; ++str) in scan()
/titanic_44/usr/src/cmd/fm/fmtopo/common/
H A Dfmtopo.c208 char *name, *inst, *estr; in print_everstyle() local
221 ul = strtoul(inst, &estr, 10); in print_everstyle()
223 if (errno != 0 || estr == inst) { in print_everstyle()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c579 bad_str(const char *estr) in bad_str() argument
583 (void) snprintf(buf, sizeof (buf), "bad \"%.100s\"", estr); in bad_str()
/titanic_44/usr/src/cmd/sgs/libld/common/
H A Dsections.c1537 char *estr; in capstr_value() local
1544 for (APLIST_TRAVERSE(caplist->cl_exc, idx1, estr)) { in capstr_value()
1546 if (strcmp(estr, capstr->cs_str) == 0) { in capstr_value()
1567 for (APLIST_TRAVERSE(caplist->cl_exc, idx1, estr)) { in capstr_value()
1569 if (strcmp(estr, capstr->cs_str) == 0) { in capstr_value()
/titanic_44/usr/src/lib/libdevinfo/
H A Ddevinfo.c3956 char *estr; in dprint() local
3964 estr = msglevel2str(msglevel); in dprint()
3966 assert(estr); in dprint()
3971 (ulong_t)getpid(), estr); in dprint()
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_xml.c115 xmlChar *estr; in xmlattr_to_int() local
121 *value = strtoull((char *)str, (char **)&estr, 10); in xmlattr_to_int()
122 if (estr == str) { in xmlattr_to_int()
/titanic_44/usr/src/uts/sun4v/io/
H A Dvds.c339 char *tstr, *sstr, *estr; in vd_decode_tag() local
363 #define CASE_ENV(_s) case _s: estr = #_s; break; in vd_decode_tag()
374 default: estr = "unknown"; break; in vd_decode_tag()
381 msg->tag.vio_subtype_env, tstr, sstr, estr); in vd_decode_tag()
H A Dds_common.c2973 char *estr; member
3006 (void) strcpy(ebuf, ds_errno_to_str_tab[i].estr); in ds_errno_to_str()