/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | mkstemp.c | 68 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 D | waddnstr.c | 50 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 D | cfga_scsi.c | 48 char *tstr; local 50 if (tstr = getenv("SCFGA_DEBUG")) { 51 _scfga_debug = atoi(tstr);
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | sgen_link.c | 66 char *baddr, *cnum, *tstr; local 132 for (tstr = buf; *tstr != '\0'; tstr++) { 133 *tstr = toupper(*tstr); 150 for (count = 0, tstr = buf; count < 8; count++, tstr += 2) 151 (void) sprintf(tstr, "%02X", wwnstr[count]); 153 *tstr [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | mem.c | 286 char *tstr; local 288 tstr = strchr(unum, '/'); 289 unum = ++tstr;
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | mbuf.c | 601 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 D | ip_anon_rcm.c | 164 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 D | implicit.cc | 433 char tstr[256]; local
|
/illumos-gate/usr/src/cmd/hal/addons/cpufreq/ |
H A D | addon-cpufreq.c | 141 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/cmd/fm/fmtopo/common/ |
H A D | fmtopo.c | 101 str2type(const char *tstr) argument 105 if (tstr == NULL) 108 if (strcmp(tstr, "int32") == 0) 110 else if (strcmp(tstr, "uint32") == 0) 112 else if (strcmp(tstr, "int64") == 0) 114 else if (strcmp(tstr, "uint64") == 0) 116 else if (strcmp(tstr, "string") == 0) 118 else if (strcmp(tstr, "fmri") == 0) 243 char *tstr, *propn, buf[48], *factype; local 274 case TOPO_TYPE_BOOLEAN: tstr [all...] |
/illumos-gate/usr/src/lib/libdtrace_jni/common/ |
H A D | dtj_consume.c | 1365 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/cmd/captoinfo/ |
H A D | captoinfo.c | 176 enum { tbool, tnum, tstr, tcancel, tunknown } type; enumerator in enum:__anon64 208 case '=': type = tstr; break; 222 (type = tstr) ? "string" : 247 if (type != tstr && type != tcancel) 260 (type = tstr) ? "string" :
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | sysctrl_dr.c | 1844 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 D | vlds.c | 488 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 D | vds.c | 339 char *tstr, *sstr, *estr; local 341 #define CASE_TYPE(_s) case _s: tstr = #_s; break; 347 default: tstr = "unknown"; break; 381 msg->tag.vio_subtype_env, tstr, sstr, estr);
|
/illumos-gate/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 1424 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 D | ipsecconf.c | 3499 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);
|