Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/devfsadm/
H A Dsgen_link.c66 char *baddr, *cnum, *tstr; in sgen_callback() local
132 for (tstr = buf; *tstr != '\0'; tstr++) { in sgen_callback()
133 *tstr = toupper(*tstr); in sgen_callback()
150 for (count = 0, tstr = buf; count < 8; count++, tstr += 2) in sgen_callback()
151 (void) sprintf(tstr, "%02X", wwnstr[count]); in sgen_callback()
153 *tstr = '\0'; in sgen_callback()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dmkstemp.c68 char *tstr, *str, *mkret; in libc_mkstemps() local
74 tstr = alloca(len + 1); in libc_mkstemps()
75 (void) strcpy(tstr, as); in libc_mkstemps()
80 str = tstr + (len - 1 - slen); in libc_mkstemps()
116 (void) strcpy(as, tstr); in libc_mkstemps()
/titanic_44/usr/src/lib/libsmbfs/smb/
H A Dmbuf.c601 char *tstr, *ostr; in md_get_astring() local
627 tstr = malloc(slen + 1); in md_get_astring()
628 if (tstr == NULL) in md_get_astring()
633 tstr[i] = ch; in md_get_astring()
635 tstr[i] = 0; in md_get_astring()
641 ostr = convert_wincs_to_utf8(tstr); in md_get_astring()
642 free(tstr); in md_get_astring()
660 uint16_t *tstr; in md_get_ustring() local
694 tstr = calloc(slen + 1, 2); in md_get_ustring()
695 if (tstr == NULL) in md_get_ustring()
[all …]
/titanic_44/usr/src/cmd/fm/fmtopo/common/
H A Dfmtopo.c101 str2type(const char *tstr) in str2type() argument
105 if (tstr == NULL) in str2type()
108 if (strcmp(tstr, "int32") == 0) in str2type()
110 else if (strcmp(tstr, "uint32") == 0) in str2type()
112 else if (strcmp(tstr, "int64") == 0) in str2type()
114 else if (strcmp(tstr, "uint64") == 0) in str2type()
116 else if (strcmp(tstr, "string") == 0) in str2type()
118 else if (strcmp(tstr, "fmri") == 0) in str2type()
243 char *tstr, *propn, buf[48], *factype; in print_prop_nameval() local
274 case TOPO_TYPE_BOOLEAN: tstr = "boolean"; break; in print_prop_nameval()
[all …]
/titanic_44/usr/src/cmd/hal/addons/cpufreq/
H A Daddon-cpufreq.c141 char tstr[FILE_ARR_SIZE]; in edit_power_conf_file() local
208 while (fgets (tstr, FILE_ARR_SIZE, pfile) != NULL) { in edit_power_conf_file()
209 if ((tstr == NULL) || (strlen (tstr) <= 0)) in edit_power_conf_file()
215 if (strstr (tstr, file_edit_type) == NULL) { in edit_power_conf_file()
216 fset = fset + strlen (tstr); in edit_power_conf_file()
223 if (strstr (tstr, file_edit_value) != NULL) { in edit_power_conf_file()
245 next_fset = fset + strlen(tstr); in edit_power_conf_file()
252 if (fgets (tstr, FILE_ARR_SIZE, pfile) != NULL) { in edit_power_conf_file()
255 "%s\n", tstr); in edit_power_conf_file()
258 fset = fset + strlen(tstr); in edit_power_conf_file()
[all …]
/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Dip_anon_rcm.c164 char treg[IP_REG_SIZE], tstr[IP_REG_SIZE]; in ip_anon_register() local
238 (void) strcpy(tstr, "<UNKNOWN>"); in ip_anon_register()
249 tstr, INET_ADDRSTRLEN); in ip_anon_register()
262 tstr, INET6_ADDRSTRLEN); in ip_anon_register()
266 cl_ipversion, treg, tstr); in ip_anon_register()
313 (void) inet_ntop(AF_INET, &al[i].addr.addr, tstr, in ip_anon_register()
316 (void) strcat(treg, tstr); in ip_anon_register()
341 (void) inet_ntop(AF_INET6, &al6[i].addr.addr, tstr, in ip_anon_register()
344 (void) strcat(treg, tstr); in ip_anon_register()
/titanic_44/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_scsi.c48 char *tstr; in _cfgadm_scsi_init() local
50 if (tstr = getenv("SCFGA_DEBUG")) { in _cfgadm_scsi_init()
51 _scfga_debug = atoi(tstr); in _cfgadm_scsi_init()
/titanic_44/usr/src/lib/libcurses/screen/
H A Dwaddnstr.c50 waddnstr(WINDOW *win, char *tstr, int i) in waddnstr() argument
60 unsigned char *str = (unsigned char *)tstr; in waddnstr()
H A Dllib-lcurses1105 int waddnstr(WINDOW *win, char *tstr, int i);
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dmem.c286 char *tstr; in mem_fmri() local
288 tstr = strchr(unum, '/'); in mem_fmri()
289 unum = ++tstr; in mem_fmri()
/titanic_44/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_dr.c1844 char tstr[3 * 5 + 1]; in sysc_board_connect_supported_init() local
1909 tstr[0] = '\0'; in sysc_board_connect_supported_init()
1911 (void) strcat(tstr, ", 1"); in sysc_board_connect_supported_init()
1913 (void) strcat(tstr, ", 2"); in sysc_board_connect_supported_init()
1915 (void) strcat(tstr, ", 3"); in sysc_board_connect_supported_init()
1917 (void) strcat(tstr, ", 4"); in sysc_board_connect_supported_init()
1919 (void) strcat(tstr, ", 5"); in sysc_board_connect_supported_init()
1920 if (tstr[0] != '\0') { in sysc_board_connect_supported_init()
1923 " of I/O board types %s.", &tstr[2]); in sysc_board_connect_supported_init()
/titanic_44/usr/src/tools/cpcgen/
H A Dcpcgen.c728 char *fstr, *path, *tstr; in cpcgen_read_intel() local
749 (tstr = strtok_r(NULL, "\n", &last)) == NULL) { in cpcgen_read_intel()
756 if (strcmp(tstr, "core") == 0) { in cpcgen_read_intel()
758 } else if (strcmp(tstr, "offcore") == 0) { in cpcgen_read_intel()
760 } else if (strcmp(tstr, "uncore") == 0) { in cpcgen_read_intel()
762 } else if (strcmp(tstr, "fp_arith_inst") == 0) { in cpcgen_read_intel()
764 } else if (strcmp(tstr, "uncore experimental") == 0) { in cpcgen_read_intel()
768 "%u", tstr, lineno); in cpcgen_read_intel()
/titanic_44/usr/src/cmd/make/bin/
H A Drep.cc226 Wstring tstr(target); in find_recursive_target() local
227 wchar_t * wcb = tstr.get_string(); in find_recursive_target()
H A Dread2.cc656 Wstring tstr(target); in enter_dependencies() local
657 wchar_t * wcb = tstr.get_string(); in enter_dependencies()
H A Dimplicit.cc433 char tstr[256]; in find_suffix_rule() local
/titanic_44/usr/src/uts/sun4v/io/
H A Dvlds.c488 char *tstr = NULL; in vlds_put_string() local
503 tstr = DS_MALLOC(len); in vlds_put_string()
504 (void) memcpy(tstr, str, len - 1); in vlds_put_string()
505 tstr[len - 1] = '\0'; in vlds_put_string()
506 str = tstr; in vlds_put_string()
510 if (tstr) { in vlds_put_string()
511 DS_FREE(tstr, len); in vlds_put_string()
H A Dvds.c339 char *tstr, *sstr, *estr; in vd_decode_tag() local
341 #define CASE_TYPE(_s) case _s: tstr = #_s; break; in vd_decode_tag()
347 default: tstr = "unknown"; break; in vd_decode_tag()
381 msg->tag.vio_subtype_env, tstr, sstr, estr); in vd_decode_tag()
/titanic_44/usr/src/cmd/captoinfo/
H A Dcaptoinfo.c176 enum { tbool, tnum, tstr, tcancel, tunknown } type; in checktermcap() enumerator
208 case '=': type = tstr; break; in checktermcap()
222 (type = tstr) ? "string" : in checktermcap()
247 if (type != tstr && type != tcancel) in checktermcap()
260 (type = tstr) ? "string" : in checktermcap()
/titanic_44/usr/src/lib/libdtrace_jni/common/
H A Ddtj_consume.c1365 jstring tstr = NULL; /* trimmed lookup value */ in dtj_new_tuple_symbol_record() local
1381 tstr = (*jenv)->CallObjectMethod(jenv, jstr, g_trim_jm); in dtj_new_tuple_symbol_record()
1384 jstr = tstr; in dtj_new_tuple_symbol_record()
1385 tstr = NULL; in dtj_new_tuple_symbol_record()
/titanic_44/usr/src/cmd/cfgadm/
H A Dcfgadm.c1424 char tstr[TIME_P_WIDTH+1]; in print_time_p() local
1427 (void) sprintf(tstr, "%04d%02d%02d%02d%02d%02d", tp->tm_year + 1900, in print_time_p()
1429 (void) sprintf(lp, "%-*s", width, tstr); in print_time_p()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c3499 char tstr[VALID_ALG_LEN]; in parse_ipsec_alg() local
3515 (void) strlcpy(tstr, str, VALID_ALG_LEN); in parse_ipsec_alg()
3516 lens = strtok(tstr, "()"); in parse_ipsec_alg()
3564 alg_value = valid_algorithm(IPSEC_PROTO_AH, tstr); in parse_ipsec_alg()
3566 alg_value = valid_algorithm(IPSEC_PROTO_ESP, tstr); in parse_ipsec_alg()
/titanic_44/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.msg276 \tstr:zero does not alter DT_SUNW_STRPAD, or otherwise attempt\n\
/titanic_44/usr/src/uts/sun4u/starfire/io/
H A Didn_proto.c4384 STRING(tstr); in idn_xphase_transition()
4387 INUM2STR(msgtype, tstr); in idn_xphase_transition()
4392 tstr, msgtype, mstr, msg, astr, msgarg); in idn_xphase_transition()