/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_ancil.c | 71 int namesz; local 96 namesz = (int)strlen(dp->d_name); 98 if (namesz < sizeof (dbm_pag) - 1) 101 ext = &(dp->d_name[namesz - (sizeof (dbm_pag) - 1)]); 147 namesz = (int)strlen(mapname); 149 if (namesz <= YPMAXMAP) { 171 (unsigned int) namesz);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | roff.c | 2150 size_t csz, namesz, rsz; in roff_block() local 2169 namesz = 0; in roff_block() 2172 namesz = roff_getname(r, &cp, ln, ppos); in roff_block() 2173 iname[namesz] = '\0'; in roff_block() 2178 if (namesz && (tok == ROFF_dei || tok == ROFF_ami)) { in roff_block() 2180 name = roff_getstrn(r, iname, namesz, &deftype); in roff_block() 2184 "%.*s", (int)namesz, iname); in roff_block() 2185 namesz = 0; in roff_block() 2187 namesz = strlen(name); in roff_block() 2191 if (namesz == 0 && tok != ROFF_ig) { in roff_block() [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | secflags_elfdump.sh | 50 namesz: 0x5 76 namesz: 0x5
|
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/ |
H A D | elfwrap.c | 83 size_t namesz; in input() local 147 namesz = strlen(outsec.os_name) + 1; in input() 150 odp->od_strtabsz += (namesz + MSG_STR_START_SIZE); in input() 151 odp->od_strtabsz += (namesz + MSG_STR_END_SIZE); in input() 152 odp->od_shstrtabsz += (namesz + MSG_STR_DOT_SIZE); in input()
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.c | 823 static size_t namesz; in make_explicit() local 826 namesz = 200; in make_explicit() 827 Newname = MALLOC(namesz); in make_explicit() 893 if (namesz < strlen(pnp->u.name.s) + in make_explicit() 895 namesz = strlen(pnp->u.name.s) + in make_explicit() 898 Newname = MALLOC(namesz); in make_explicit() 912 (void) snprintf(Newname, namesz, in make_explicit()
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_backup_reader.c | 254 int namesz; in output_xattr_header() local 276 namesz = strlen(section_name) + strlen(fname) + 2; /* 2 nulls */ in output_xattr_header() 277 hsize = namesz + sizeof (struct xattr_hdr) + sizeof (struct xattr_buf); in output_xattr_header() 278 comlen = namesz + sizeof (struct xattr_buf); in output_xattr_header() 328 sizeof (xbuf->h_namesz) - 1, namesz); in output_xattr_header()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vldc.c | 429 size_t namesz; in i_vldc_mdeg_register() local 464 namesz = strlen(nameprop) + 1; in i_vldc_mdeg_register() 465 name = kmem_alloc(namesz, KM_SLEEP); in i_vldc_mdeg_register() 467 bcopy(nameprop, name, namesz); in i_vldc_mdeg_register() 486 kmem_free(name, namesz); in i_vldc_mdeg_register()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_misc.c | 296 eibnx_name_child(dev_info_t *child, char *name, size_t namesz) in eibnx_name_child() argument 310 (void) strlcpy(name, node_name + strlen(EIB_DRV_NAME) + 1, namesz); in eibnx_name_child()
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | xlate.m4 | 1101 Elf32_Word descsz, namesz; 1107 namesz = S_ROUND(src->n_namesz, sizeof (Elf32_Word)); 1133 if ((namesz + (char *) src) > (char *) end) { 1134 namesz = (char *) end - (char *) src; 1135 if (namesz == 0) 1138 (void)memcpy(dst, src, namesz); 1143 dst += namesz; 1144 src = (Elf32_Nhdr *)((uintptr_t)src + namesz);
|
H A D | xlate64.m4 | 1092 Elf64_Word descsz, namesz; 1098 namesz = S_ROUND(src->n_namesz, sizeof (Elf64_Word)); 1124 if ((namesz + (char *) src) > (char *) end) { 1125 namesz = (char *) end - (char *) src; 1126 if (namesz == 0) 1129 (void)memcpy(dst, src, namesz); 1134 dst += namesz; 1135 src = (Elf64_Nhdr *)((uintptr_t)src + namesz);
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_dwarf.c | 1344 size_t namesz; in ctf_dwarf_member_bitfield() local 1348 namesz = snprintf(NULL, 0, "%s:%d", dtd->dtd_name, in ctf_dwarf_member_bitfield() 1350 name = ctf_alloc(namesz + 1); in ctf_dwarf_member_bitfield() 1355 ctf_free(name, namesz + 1); in ctf_dwarf_member_bitfield() 1358 (void) snprintf(name, namesz + 1, "%s:%d", dtd->dtd_name, in ctf_dwarf_member_bitfield() 1369 ctf_free(name, namesz + 1); in ctf_dwarf_member_bitfield() 1373 ctf_free(name, namesz + 1); in ctf_dwarf_member_bitfield()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 2575 off64_t off, namesz, descsz; local 2597 namesz = P2ROUNDUP((off64_t)nhdr.n_namesz, (off64_t)4); 2599 if (lseek64(P->asfd, namesz, SEEK_CUR) == (off64_t)-1) { 2648 nleft -= sizeof (nhdr) + namesz + descsz;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_cmds.c | 740 size_t namesz = 7 + strlen(sou) + 1; in print_soutype() local 741 char *name = mdb_alloc(namesz, UM_SLEEP | UM_GC); in print_soutype() 746 (void) mdb_snprintf(name, namesz, "%s%s", prefixes[i], sou); in print_soutype()
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.msg | 463 @ MSG_NOTE_NAMESZ " namesz: %#x"
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modctl.c | 2296 size_t pathsz, namesz; in modctl_hp() local 2310 error = copyinstr(cn_name, cn_name_str, MAXNAMELEN, &namesz); in modctl_hp()
|