Home
last modified time | relevance | path

Searched refs:tmp_str (Results 1 – 12 of 12) sorted by relevance

/titanic_50/usr/src/uts/sun4u/serengeti/sys/
H A Dsgfrutypes.h308 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 …]
/titanic_50/usr/src/lib/libbsm/common/
H A Ddevalloc.c530 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 …]
/titanic_50/usr/src/cmd/fs.d/
H A Dswitchout.c456 char *tmp_str; in match() local
470 tmp_str = strchr(*opts, ','); in match()
471 if (!tmp_str) in match()
472 tmp_str = strchr(*opts, ' '); in match()
474 *opts = tmp_str; in match()
/titanic_50/usr/src/cmd/msgfmt/
H A Dxgettext.c1342 struct strlist_st *tmp_str; in add_line_to_comment() local
1344 tmp_str = new_strlist(); in add_line_to_comment()
1345 tmp_str->str = strdup(curr_line); in add_line_to_comment()
1346 tmp_str->next = NULL; in add_line_to_comment()
1350 commhead = tmp_str; in add_line_to_comment()
1351 commtail = tmp_str; in add_line_to_comment()
1354 commtail->next = tmp_str; in add_line_to_comment()
1367 struct strlist_st *tmp_str; in add_qstring_to_str() local
1369 tmp_str = new_strlist(); in add_qstring_to_str()
1370 tmp_str->str = strdup(qstring_buf); in add_qstring_to_str()
[all …]
/titanic_50/usr/src/lib/libzpool/common/
H A Dkernel.c578 char *tmp_str = dprintf_string; in dprintf_find_string() local
586 while (tmp_str != NULL) { in dprintf_find_string()
587 if (strncmp(tmp_str, string, len) == 0 && in dprintf_find_string()
588 (tmp_str[len] == ',' || tmp_str[len] == '\0')) in dprintf_find_string()
590 tmp_str = strchr(tmp_str, ','); in dprintf_find_string()
591 if (tmp_str != NULL) in dprintf_find_string()
592 tmp_str++; /* Get rid of , */ in dprintf_find_string()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/
H A Dserengeti.c100 char tmp_str[MAX_FRU_NAME_LEN]; \
101 sprintf(tmp_str, "/N%d", num); \
102 strncat(str, tmp_str, sizeof (tmp_str)); \
107 char tmp_str[MAX_FRU_NAME_LEN]; \
108 sprintf(tmp_str, ".%s%d", SG_HPU_TYPE_CPU_BOARD_ID, num); \
109 strncat(str, tmp_str, sizeof (tmp_str)); \
114 char tmp_str[MAX_FRU_NAME_LEN]; \
115 sprintf(tmp_str, "%s%d", CFG_CPU, num); \
116 strncat(str, tmp_str, sizeof (tmp_str)); \
/titanic_50/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam.c211 char tmp_str[MAX_STR_LEN]; in dcam_attach() local
252 (void) sprintf(tmp_str, "dcam%d", instance); in dcam_attach()
254 if (ddi_create_minor_node(dip, tmp_str, S_IFCHR, instance, in dcam_attach()
261 (void) sprintf(tmp_str, "dcamctl%d", instance); in dcam_attach()
263 if (ddi_create_minor_node(dip, tmp_str, S_IFCHR, in dcam_attach()
/titanic_50/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c647 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()
/titanic_50/usr/src/cmd/busstat/
H A Dbusstat.c978 char tmp_str[30]; in read_evts() local
992 (void) snprintf(tmp_str, sizeof (tmp_str), "%s%d", in read_evts()
994 (void) printf("%-7s", tmp_str); in read_evts()
/titanic_50/usr/src/cmd/ldap/common/
H A Dldapsearch.c1394 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()
/titanic_50/usr/src/cmd/avs/rdc/
H A Dsndrd.c459 char *defval, *tmp_str; in read_default() local
481 tmp_str = strdup(defval); in read_default()
483 trans_provider = tmp_str; in read_default()
/titanic_50/usr/src/uts/common/inet/ip/
H A Dipsecesp.c319 char tmp_str[3], tmp_line[256]; in dump_msg() local
344 (void) sprintf(tmp_str, "%02x", *ptr); in dump_msg()
345 (void) strcat(tmp_line, tmp_str); in dump_msg()