Searched defs:tstr (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmkstemp.c68 char *tstr, *str, *mkret; local
74 tstr = alloca(len + 1);
75 (void) strcpy(tstr, as);
80 str = tstr + (len - 1 - slen);
116 (void) strcpy(as, tstr);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwaddnstr.c50 waddnstr(WINDOW *win, char *tstr, int i) argument
60 unsigned char *str = (unsigned char *)tstr;
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_scsi.c48 char *tstr; local
50 if (tstr = getenv("SCFGA_DEBUG")) {
51 _scfga_debug = atoi(tstr);
/illumos-gate/usr/src/cmd/devfsadm/
H A Dsgen_link.c67 char *baddr, *cnum, *tstr; local
133 for (tstr = buf; *tstr != '\0'; tstr++) {
134 *tstr = toupper(*tstr);
151 for (count = 0, tstr = buf; count < 8; count++, tstr += 2)
152 (void) sprintf(tstr, "%02X", wwnstr[count]);
154 *tstr
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dmem.c286 char *tstr; local
288 tstr = strchr(unum, '/');
289 unum = ++tstr;
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dmbuf.c601 char *tstr, *ostr; local
627 tstr = malloc(slen + 1);
628 if (tstr == NULL)
633 tstr[i] = ch;
635 tstr[i] = 0;
641 ostr = convert_wincs_to_utf8(tstr);
642 free(tstr);
660 uint16_t *tstr; local
694 tstr = calloc(slen + 1, 2);
695 if (tstr
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dip_anon_rcm.c164 char treg[IP_REG_SIZE], tstr[IP_REG_SIZE]; local
238 (void) strcpy(tstr, "<UNKNOWN>");
249 tstr, INET_ADDRSTRLEN);
262 tstr, INET6_ADDRSTRLEN);
266 cl_ipversion, treg, tstr);
313 (void) inet_ntop(AF_INET, &al[i].addr.addr, tstr,
316 (void) strcat(treg, tstr);
341 (void) inet_ntop(AF_INET6, &al6[i].addr.addr, tstr,
344 (void) strcat(treg, tstr);
/illumos-gate/usr/src/cmd/make/bin/
H A Dimplicit.cc436 char tstr[256]; local
/illumos-gate/usr/src/cmd/fm/fmtopo/common/
H A Dfmtopo.c100 str2type(const char *tstr) argument
104 if (tstr == NULL)
107 if (strcmp(tstr, "int32") == 0)
109 else if (strcmp(tstr, "uint32") == 0)
111 else if (strcmp(tstr, "int64") == 0)
113 else if (strcmp(tstr, "uint64") == 0)
115 else if (strcmp(tstr, "string") == 0)
117 else if (strcmp(tstr, "fmri") == 0)
250 char *tstr, *propn, *factype; local
281 case TOPO_TYPE_BOOLEAN: tstr
[all...]
/illumos-gate/usr/src/cmd/hal/addons/cpufreq/
H A Daddon-cpufreq.c141 char tstr[FILE_ARR_SIZE]; local
208 while (fgets (tstr, FILE_ARR_SIZE, pfile) != NULL) {
209 if ((tstr == NULL) || (strlen (tstr) <= 0))
215 if (strstr (tstr, file_edit_type) == NULL) {
216 fset = fset + strlen (tstr);
223 if (strstr (tstr, file_edit_value) != NULL) {
245 next_fset = fset + strlen(tstr);
252 if (fgets (tstr, FILE_ARR_SIZE, pfile) != NULL) {
255 "%s\n", tstr);
331 char tstr[FILE_ARR_SIZE]; local
[all...]
/illumos-gate/usr/src/lib/libdtrace_jni/common/
H A Ddtj_consume.c1365 jstring tstr = NULL; /* trimmed lookup value */ local
1381 tstr = (*jenv)->CallObjectMethod(jenv, jstr, g_trim_jm);
1384 jstr = tstr;
1385 tstr = NULL;
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_dr.c1844 char tstr[3 * 5 + 1]; local
1909 tstr[0] = '\0';
1911 (void) strcat(tstr, ", 1");
1913 (void) strcat(tstr, ", 2");
1915 (void) strcat(tstr, ", 3");
1917 (void) strcat(tstr, ", 4");
1919 (void) strcat(tstr, ", 5");
1920 if (tstr[0] != '\0') {
1921 /* Skip leading ", " using &tstr[2]. */
1923 " of I/O board types %s.", &tstr[
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvlds.c488 char *tstr = NULL; local
503 tstr = DS_MALLOC(len);
504 (void) memcpy(tstr, str, len - 1);
505 tstr[len - 1] = '\0';
506 str = tstr;
510 if (tstr) {
511 DS_FREE(tstr, len);
H A Dvds.c340 char *tstr, *sstr, *estr; local
342 #define CASE_TYPE(_s) case _s: tstr = #_s; break;
348 default: tstr = "unknown"; break;
382 msg->tag.vio_subtype_env, tstr, sstr, estr);
/illumos-gate/usr/src/cmd/captoinfo/
H A Dcaptoinfo.c174 enum { tbool, tnum, tstr, tcancel, tunknown } type; enumerator in enum:__anon1
206 case '=': type = tstr; break;
220 (type = tstr) ? "string" :
245 if (type != tstr && type != tcancel)
258 (type = tstr) ? "string" :
/illumos-gate/usr/src/tools/cpcgen/
H A Dcpcgen.c728 char *fstr, *path, *tstr; local
749 (tstr = strtok_r(NULL, "\n", &last)) == NULL) {
756 if (strcmp(tstr, "core") == 0) {
758 } else if (strcmp(tstr, "offcore") == 0) {
760 } else if (strcmp(tstr, "uncore") == 0) {
762 } else if (strcmp(tstr, "fp_arith_inst") == 0) {
764 } else if (strcmp(tstr, "uncore experimental") == 0) {
768 "%u", tstr, lineno);
/illumos-gate/usr/src/cmd/cfgadm/
H A Dcfgadm.c1424 char tstr[TIME_P_WIDTH+1]; local
1427 (void) sprintf(tstr, "%04d%02d%02d%02d%02d%02d", tp->tm_year + 1900,
1429 (void) sprintf(lp, "%-*s", width, tstr);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c3499 char tstr[VALID_ALG_LEN]; local
3515 (void) strlcpy(tstr, str, VALID_ALG_LEN);
3516 lens = strtok(tstr, "()");
3564 alg_value = valid_algorithm(IPSEC_PROTO_AH, tstr);
3566 alg_value = valid_algorithm(IPSEC_PROTO_ESP, tstr);

Completed in 304 milliseconds