/titanic_51/usr/src/cmd/auditreduce/ |
H A D | time.c | 382 char *strs; in derive_date() local 404 strs = (char *)a_calloc(1, len + 4); in derive_date() 420 free(strs); in derive_date() 429 free(strs); in derive_date() 434 (void) strncpy(strs, str, 4); in derive_date() 435 strs[4] = '\0'; in derive_date() 436 tme->tm_year = atoi(strs) - 1900; /* get the year */ in derive_date() 437 (void) strncpy(strs, str + 4, 2); in derive_date() 438 strs[2] = '\0'; in derive_date() 439 tme->tm_mon = atoi(strs) in derive_date() [all...] |
/titanic_51/usr/src/tools/ctf/cvt/ |
H A D | fixup_tdescs.c | 55 char *strs[2] = { "as", "fdbuffer" }; in fix_ptrptr_to_struct() local 65 for (i = 0; i < sizeof (strs) / sizeof (strs[0]); i++) { in fix_ptrptr_to_struct() 66 if (!(str = lookupname(strs[i])) || str->t_type != STRUCT) in fix_ptrptr_to_struct() 102 strs[i], mems[i], acts[i]); in fix_ptrptr_to_struct() 109 char *strs[2] = { "vmem", "id_space" }; in fix_ptr_to_struct() local 119 for (i = 0; i < sizeof (strs) / sizeof (strs[0]); i++) { in fix_ptr_to_struct() 120 if (!(str = lookupname(strs[i])) || str->t_type != STRUCT) in fix_ptr_to_struct() 135 strs[ in fix_ptr_to_struct() [all...] |
/titanic_51/usr/src/lib/libbc/libc/gen/common/ |
H A D | _nlist.c | 42 char strs[BSIZ]; in _nlist() local 75 * Assumes (maxlen < sizeof (strs)). in _nlist() 78 read(fd, strs, sizeof strs); in _nlist() 79 stroff = soff + sizeof (strs); in _nlist() 87 s2 = &strs[soff-(stroff-sizeof (strs))]; in _nlist()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | sfstr.c | 27 #define VALID(p,f) ((p=(Sfstr_t*)f)>=&strs[0]&&p<&strs[elementsof(strs)]) 29 static Sfstr_t strs[64]; variable 156 for (p = &strs[0]; p < &strs[elementsof(strs)]; p++) in sfstropen()
|
/titanic_51/usr/src/lib/libtnfctl/ |
H A D | traverse.c | 55 char *strs; in _tnfctl_traverse_object() local 93 strs = elf_strptr(elf, ehdr->e_shstrndx, NULL); in _tnfctl_traverse_object() 123 strs, scn, shdr, data, addr, search_info_p); in _tnfctl_traverse_object() 141 _tnfctl_traverse_rela(Elf * elf, char *strs, Elf_Scn * rel_scn, in _tnfctl_traverse_rela() argument 285 char *strs; in _tnfctl_traverse_dynsym() local 298 strs = elf_strptr(elf, shdr->sh_link, 0); in _tnfctl_traverse_dynsym() 309 name = strs + sym->st_name; in _tnfctl_traverse_dynsym()
|
H A D | elf.c | 49 static tnfctl_errcode_t elf_dynmatch(Elf *elf, char *strs, Elf_Scn *dyn_scn, 223 char *strs, in elf_dynmatch() argument 234 scn_name = strs + dyn_shdr->sh_name; in elf_dynmatch()
|
/titanic_51/usr/src/lib/libfru/libfru/ |
H A D | libfru.cc | 469 list->strs = (char **)malloc(sizeof (*(list->strs)) * raw_list.num); in get_seg_list_from_ds() 470 if (list->strs == NULL) { in get_seg_list_from_ds() 475 if (segment_is_encrypted(node, raw_list.strs[i])) { in get_seg_list_from_ds() 477 list->strs[list->num] in get_seg_list_from_ds() 478 = strdup(raw_list.strs[i]); in get_seg_list_from_ds() 482 list->strs[list->num] = strdup(raw_list.strs[i]); in get_seg_list_from_ds() 794 if (list->strs != NULL) { in fru_destroy_strlist() 796 if (list->strs[ in fru_destroy_strlist() [all...] |
/titanic_51/usr/src/cmd/sgs/librtld/common/ |
H A D | syms.c | 46 char *strs; in update_sym() local 58 strs = (char *)cache[shdr->sh_link].c_data->d_buf; in update_sym() 64 char *name = strs + syms->st_name; in update_sym()
|
H A D | dynamic.c | 44 const char *strs; in update_dynamic() local 53 strs = (const char *)__cache->c_data->d_buf; in update_dynamic() 74 (strs + dyn->d_un.d_val), NULL)) { in update_dynamic()
|
/titanic_51/usr/src/cmd/msgfmt/ |
H A D | gnu_msgs.c | 70 char *ids, *strs; in output_all_gnu_mo_files() local 130 strs = (char *)Xmalloc(str_len); in output_all_gnu_mo_files() 155 (void) memcpy(strs + str_off, m[i].str, m[i].str_len); in output_all_gnu_mo_files() 183 (void) fwrite(strs, str_len, 1, out); in output_all_gnu_mo_files() 190 free(strs); in output_all_gnu_mo_files()
|
H A D | gnu_msgs_rev.c | 80 char *ids, *strs; in output_all_gnu_mo_files() local 135 strs = (char *)Xmalloc(str_len); in output_all_gnu_mo_files() 160 (void) memcpy(strs + str_off, m[i].str, m[i].str_len); in output_all_gnu_mo_files() 188 (void) fwrite(strs, str_len, 1, out); in output_all_gnu_mo_files() 197 free(strs); in output_all_gnu_mo_files()
|
/titanic_51/usr/src/lib/libsip/common/ |
H A D | sip_msg.h | 163 sip_2strs_t strs; member 195 #define strs_val hdr_value.strs 196 #define strs_s1 hdr_value.strs.s1 197 #define strs_s2 hdr_value.strs.s2 198 #define strs1_val_ptr hdr_value.strs.s1.sip_str_ptr 199 #define strs1_val_len hdr_value.strs.s1.sip_str_len 200 #define strs2_val_ptr hdr_value.strs.s2.sip_str_ptr 201 #define strs2_val_len hdr_value.strs.s2.sip_str_len
|
/titanic_51/usr/src/lib/libsff/common/ |
H A D | libsff.c | 1111 const char *strs[5]; in sff_qsfp_parse_tech() local 1113 strs[0] = sff_8636_trans_tech[(val & 0xf0) >> 4]; in sff_qsfp_parse_tech() 1115 strs[1] = "Active Wavelength Control"; in sff_qsfp_parse_tech() 1117 strs[1] = "No Wavelength Control"; in sff_qsfp_parse_tech() 1121 strs[2] = "Cooled Transmitter"; in sff_qsfp_parse_tech() 1123 strs[2] = "Uncooled Transmitter"; in sff_qsfp_parse_tech() 1127 strs[3] = "APD Detector"; in sff_qsfp_parse_tech() 1129 strs[3] = "Pin Detector"; in sff_qsfp_parse_tech() 1133 strs[4] = "Transmitter Tunable"; in sff_qsfp_parse_tech() 1135 strs[ in sff_qsfp_parse_tech() [all...] |
/titanic_51/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | syms.c | 56 char *strs; in str_map_sym() local 66 strs = symp->st_strs; in str_map_sym() 79 (strcmp(strs + sym.st_name, symname) != 0)) in str_map_sym() 83 *str = (char *)strs + symptr->st_name; in str_map_sym()
|
/titanic_51/usr/src/cmd/devctl/ |
H A D | devctl.c | 399 char **strs = NULL; in add_prop() local 425 strs = (char **)s_realloc(strs, nstr * sizeof (char *)); in add_prop() 426 strs[nstr - 1] = pval; in add_prop() 437 (void) devctl_ddef_string_array(ddef_hdl, pname, nstr, strs); in add_prop() 438 free(strs); in add_prop()
|
/titanic_51/usr/src/lib/libcurses/screen/ |
H A D | maketerm.ed | 171 1,$s;^; strs.; 208 struct strs { 212 1,.s/strs\.// 250 1,$s/strs\.// 251 1,$s/strs.\(.\)/strs._\1/ 262 1,$s/CURS _strs/CURS strs/ 265 1;/CURS strs/+100;.,+99s/CURS strs/CURS strs2/ 266 .+1,+100s/CURS strs/CUR [all...] |
/titanic_51/usr/src/cmd/perl/contrib/Sun/Solaris/Utils/t/ |
H A D | gmatch.t | 42 my @strs = ( 'a', 'aa', 'z', 'zz', '0', '0123456789' ); 55 for (my $i = 0; $i < @strs; $i++) { 56 if (gmatch($strs[$i], $t->{pattern}) == $t->{results}[$i]) {
|
/titanic_51/usr/src/cmd/sgs/pvs/common/ |
H A D | pvs.c | 478 char *strs; in sym_local() local 481 strs = (char *)cache[shdr.sh_link].c_data->d_buf; in sym_local() 517 name = demangle(strs + sym.st_name); in sym_local() 557 char *strs; in gvers_need() local 578 strs = (char *)cache[shdr.sh_link].c_data->d_buf; in gvers_need() 591 needobj = (char *)(strs + vnd->vn_file); in gvers_need() 600 dep = (char *)(strs + vnap->vna_name); in gvers_need() 808 char *strs; in gvers_def() local 830 strs = (char *)cache[shdr.sh_link].c_data->d_buf; in gvers_def() 849 _name = (char *)(strs in gvers_def() [all...] |
/titanic_51/usr/src/cmd/sgs/rtld/common/ |
H A D | locale.c | 97 const char *ids, *strs, *_msgid; in msgid_to_msgstr() local 103 * and the msgstr strings (strs). in msgid_to_msgstr() 107 strs = (const char *)&ids[msghdr->hdr_msgidsz]; in msgid_to_msgstr() 116 return (strs + _list->lst_stroff); in msgid_to_msgstr()
|
/titanic_51/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.c | 225 list->strs = realloc(list->strs, sizeof (char *) in add_segs_for_section() 238 list->strs[(list->num)++] = tmp; in add_segs_for_section() 278 rc_list.strs = NULL; in frt_get_seg_list() 288 list->strs = rc_list.strs; in frt_get_seg_list()
|
/titanic_51/usr/src/lib/libfru/libfrupicl/ |
H A D | frupicl.c | 501 list->strs = realloc(list->strs, in add_segs_for_section() 502 (sizeof (*(list->strs)) * (total_space))); in add_segs_for_section() 503 if (list->strs == NULL) { in add_segs_for_section() 527 list->strs[(list->num)++] = strdup(name); in add_segs_for_section() 551 rc_list.strs = NULL; in fpt_get_seg_list() 574 list->strs = rc_list.strs; in fpt_get_seg_list()
|
/titanic_51/usr/src/cmd/sgs/libld/common/ |
H A D | libs.c | 69 char *strs; in process_member() local 117 strs = data->d_buf; in process_member() 124 amp->am_strs = strs; in process_member() 128 strs = amp->am_strs; in process_member() 175 if (strcmp(strs + syms->st_name, name) == 0) in process_member()
|
/titanic_51/usr/src/lib/libdevinfo/ |
H A D | devinfo_prop_decode.c | 194 char *strs; in di_prop_fm_decode_strings() local 233 if ((strs = malloc(nbytes)) == NULL) { in di_prop_fm_decode_strings() 241 tmp = strs; in di_prop_fm_decode_strings() 249 free(strs); in di_prop_fm_decode_strings() 261 *(char **)data = strs; in di_prop_fm_decode_strings()
|
/titanic_51/usr/src/lib/libfru/libfrupicltree/ |
H A D | frupicltree.c | 512 list->strs = realloc(list->strs, in add_segs_for_section() 513 (sizeof (*(list->strs)) * (total_space))); in add_segs_for_section() 514 if (list->strs == NULL) { in add_segs_for_section() 538 list->strs[(list->num)++] = strdup(name); in add_segs_for_section() 562 rc_list.strs = NULL; in fpt_get_seg_list() 585 list->strs = rc_list.strs; in fpt_get_seg_list()
|
/titanic_51/usr/src/uts/intel/io/acpica/ |
H A D | acpi_enum.c | 740 char **strs; in create_compatible_property() local 753 strs = (char **)kmem_zalloc(list_len * sizeof (char *), KM_SLEEP); in create_compatible_property() 758 strs[i] = kmem_zalloc(13, KM_SLEEP); in create_compatible_property() 759 convert_to_pnp1275(d->id, strs[i++], 13); in create_compatible_property() 765 "compatible", strs, list_len); in create_compatible_property() 770 kmem_free(strs[i], 13); in create_compatible_property() 772 kmem_free(strs, list_len * sizeof (char *)); in create_compatible_property()
|