/illumos-gate/usr/src/uts/sun4u/serengeti/sys/ |
H A D | sgfrutypes.h | 308 char tmp_str[MAX_FRU_NAME_LEN]; \ 309 (void) sprintf(tmp_str, "/N%d", num); \ 310 (void) strcat(str, tmp_str); \ 315 char tmp_str[MAX_FRU_NAME_LEN]; \ 316 (void) sprintf(tmp_str, "/%s%d", SG_HPU_TYPE_CPU_BOARD_ID, num); \ 317 (void) strcat(str, tmp_str); \ 322 char tmp_str[MAX_FRU_NAME_LEN]; \ 323 (void) sprintf(tmp_str, "/%s%d", SG_HPU_TYPE_PCI_IO_BOARD_ID, num); \ 324 (void) strcat(str, tmp_str); \ 329 char tmp_str[MAX_FRU_NAME_LEN]; \ [all …]
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | devalloc.c | 530 strentry_t *tail_str, *tmp_str; in _build_defattrs() local 545 tmp_str = _def2strentry(da_defs); in _build_defattrs() 546 if (tmp_str == NULL) { in _build_defattrs() 552 tmp_str->se_next = NULL; in _build_defattrs() 554 *head_defent = tail_str = tmp_str; in _build_defattrs() 556 tail_str->se_next = tmp_str; in _build_defattrs() 557 tail_str = tmp_str; in _build_defattrs() 663 strentry_t *tmp_str; in _rebuild_lists() local 777 tmp_str = _dmap2strentry(devmapp); in _rebuild_lists() 778 if (tmp_str == NULL) { in _rebuild_lists() [all …]
|
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 266 char *tmp_str = dprintf_string; in dprintf_find_string() local 274 while (tmp_str != NULL) { in dprintf_find_string() 275 if (strncmp(tmp_str, string, len) == 0 && in dprintf_find_string() 276 (tmp_str[len] == ',' || tmp_str[len] == '\0')) in dprintf_find_string() 278 tmp_str = strchr(tmp_str, ','); in dprintf_find_string() 279 if (tmp_str != NULL) in dprintf_find_string() 280 tmp_str++; /* Get rid of , */ in dprintf_find_string()
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | switchout.c | 454 char *tmp_str; in match() local 468 tmp_str = strchr(*opts, ','); in match() 469 if (!tmp_str) in match() 470 tmp_str = strchr(*opts, ' '); in match() 472 *opts = tmp_str; in match()
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | xgettext.c | 1339 struct strlist_st *tmp_str; in add_line_to_comment() local 1341 tmp_str = new_strlist(); in add_line_to_comment() 1342 tmp_str->str = strdup(curr_line); in add_line_to_comment() 1343 tmp_str->next = NULL; in add_line_to_comment() 1347 commhead = tmp_str; in add_line_to_comment() 1348 commtail = tmp_str; in add_line_to_comment() 1351 commtail->next = tmp_str; in add_line_to_comment() 1364 struct strlist_st *tmp_str; in add_qstring_to_str() local 1366 tmp_str = new_strlist(); in add_qstring_to_str() 1367 tmp_str->str = strdup(qstring_buf); in add_qstring_to_str() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
H A D | serengeti.c | 99 char tmp_str[MAX_FRU_NAME_LEN]; \ 100 sprintf(tmp_str, "/N%d", num); \ 101 strncat(str, tmp_str, sizeof (tmp_str)); \ 106 char tmp_str[MAX_FRU_NAME_LEN]; \ 107 sprintf(tmp_str, ".%s%d", SG_HPU_TYPE_CPU_BOARD_ID, num); \ 108 strncat(str, tmp_str, sizeof (tmp_str)); \ 113 char tmp_str[MAX_FRU_NAME_LEN]; \ 114 sprintf(tmp_str, "%s%d", CFG_CPU, num); \ 115 strncat(str, tmp_str, sizeof (tmp_str)); \
|
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/ |
H A D | dcam.c | 191 char tmp_str[MAX_STR_LEN]; in dcam_attach() local 232 (void) sprintf(tmp_str, "dcam%d", instance); in dcam_attach() 234 if (ddi_create_minor_node(dip, tmp_str, S_IFCHR, instance, in dcam_attach() 241 (void) sprintf(tmp_str, "dcamctl%d", instance); in dcam_attach() 243 if (ddi_create_minor_node(dip, tmp_str, S_IFCHR, in dcam_attach()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 647 char *tmp_str, *tmp_err_str = NULL; in cfga_err() local 673 if ((tmp_str = calloc(1, in cfga_err() 680 sprintf(tmp_str, "%s\n%s", *errstring, tmp_err_str); in cfga_err() 683 *errstring = tmp_str; in cfga_err()
|
/illumos-gate/usr/src/cmd/busstat/ |
H A D | busstat.c | 980 char tmp_str[30]; in read_evts() local 994 (void) snprintf(tmp_str, sizeof (tmp_str), "%s%d", in read_evts() 996 (void) printf("%-7s", tmp_str); in read_evts()
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldapsearch.c | 1394 char * tmp_str = strdup(optarg); in get_effectiverights_attrlist() local 1398 retArray = ldap_str2charray( tmp_str, " "); /* takes copies */ in get_effectiverights_attrlist() 1400 free(tmp_str); in get_effectiverights_attrlist()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipsecesp.c | 250 char tmp_str[3], tmp_line[256]; in dump_msg() local 275 (void) sprintf(tmp_str, "%02x", *ptr); in dump_msg() 276 (void) strcat(tmp_line, tmp_str); in dump_msg()
|