Home
last modified time | relevance | path

Searched refs:strsize (Results 1 – 9 of 9) sorted by relevance

/xnu-11215/libkern/kxld/
H A Dkxld_symtab.c49 u_int strsize; member
157 symtab->strsize = src->strsize; in init_macho()
293 symtab->strsize = 0; in kxld_symtab_clear()
462 symtabhdr->strsize = 1; /* strtab start padding */ in kxld_symtab_export_macho()
471 symtabhdr->strsize += (uint32_t) (strlen(sym->name) + 1); in kxld_symtab_export_macho()
482 require_action(symtabhdr->stroff + symtabhdr->strsize <= data_size, finish, in kxld_symtab_export_macho()
495 sym, nl, strtab, &stroff, symtabhdr->strsize); in kxld_symtab_export_macho()
526 symtabhdr->strsize, in kxld_symtab_export_macho()
H A Dkxld_sym.c858 u_long *stroff, u_long strsize) in kxld_sym_export_macho_32() argument
871 require_action((u_long)bytes <= strsize - *stroff, finish, in kxld_sym_export_macho_32()
884 strlcpy(str, sym->name, strsize - *stroff); in kxld_sym_export_macho_32()
899 u_long *stroff, u_long strsize) in kxld_sym_export_macho_64() argument
912 require_action((u_long)bytes <= strsize - *stroff, finish, in kxld_sym_export_macho_64()
926 strlcpy(str, sym->name, strsize - *stroff); in kxld_sym_export_macho_64()
H A Dkxld_sym.h230 char *strtab, u_long *stroff, u_long strsize)
236 char *strtab, u_long *stroff, u_long strsize)
H A Dkxld_util.c431 require_action(size >= symtab_hdr->stroff + symtab_hdr->strsize, finish, in validate_and_swap_macho_32()
611 require_action(size >= symtab_hdr->stroff + symtab_hdr->strsize, finish, in validate_and_swap_macho_64()
/xnu-11215/bsd/net/
H A Dpktap.c1616 size_t strsize; in convert_to_pktap_header_to_v2() local
1629 pktap_v2_hdr->pth_length += strsize; in convert_to_pktap_header_to_v2()
1630 ptr += strsize; in convert_to_pktap_header_to_v2()
1639 size_t strsize; in convert_to_pktap_header_to_v2() local
1647 pktap_v2_hdr->pth_length += strsize; in convert_to_pktap_header_to_v2()
1648 ptr += strsize; in convert_to_pktap_header_to_v2()
1656 pktap_v2_hdr->pth_length += strsize; in convert_to_pktap_header_to_v2()
1657 ptr += strsize; in convert_to_pktap_header_to_v2()
1669 size_t strsize; in convert_to_pktap_header_to_v2() local
1680 ptr += strsize; in convert_to_pktap_header_to_v2()
[all …]
/xnu-11215/EXTERNAL_HEADERS/mach-o/
H A Dloader.h874 uint32_t strsize; /* string table size in bytes */ member
/xnu-11215/tests/
H A Dsioc-if-addr-bounds.c189 snprint_dottedhex(char *str, size_t strsize, const void *data, const size_t datasize) in snprint_dottedhex() argument
194 for (is = 0, ip = 0; is + 3 < strsize - 1 && ip < datasize; ip++) { in snprint_dottedhex()
/xnu-11215/SETUP/kextsymboltool/
H A Dkextsymboltool.c727 symcmd.strsize = strtabpad; in main()
/xnu-11215/bsd/dev/dtrace/
H A Ddtrace.c6808 int strsize = DTRACE_USTACK_STRSIZE(arg); in dtrace_action_ustack() local
6820 ASSERT(strsize != 0); in dtrace_action_ustack()
6861 if (offs >= strsize) in dtrace_action_ustack()
6888 for (j = 0; offs + j < strsize; j++) { in dtrace_action_ustack()
6898 if (offs >= strsize) { in dtrace_action_ustack()
6909 while (offs < strsize) in dtrace_action_ustack()
11426 dtrace_optval_t nframes=0, strsize; in dtrace_ecb_action_add() local
11511 strsize = opt[DTRACEOPT_JSTACKSTRSIZE]; in dtrace_ecb_action_add()
11516 arg = DTRACE_USTACK_ARG(nframes, strsize); in dtrace_ecb_action_add()
11522 strsize = DTRACE_USTACK_STRSIZE(arg); in dtrace_ecb_action_add()
[all …]