Searched refs:ncmds (Results 1 - 15 of 15) sorted by relevance

/xnu-2782.1.97/SETUP/setsegname/
H A Dsetsegname.c128 uint32_t ncmds, cmdtype; local
177 ncmds = hdr->ncmds;
186 ncmds = hdr64->ncmds;
197 ncmds = OSSwapInt32(ncmds);
199 while (ncmds--) {
/xnu-2782.1.97/libkern/
H A Dkernel_mach_header.c61 for (i = 0; i < header->ncmds; i++){
81 for(i = 0; i < mhp->ncmds; i++){
185 for(i = 0; i < mhp->ncmds; i++){
219 for (i = 0; i < header->ncmds; i++){
244 for (i = 0; i < header->ncmds; i++){
267 for (i = 0; sgp != seg && i < header->ncmds; i++) {
276 for (; i < header->ncmds; i++) {
/xnu-2782.1.97/libkern/kxld/
H A Dkxld_object.c152 u_int ncmds, u_long *header_offset, u_long header_size);
155 u_int *filetype, u_int *ncmds);
157 u_char *buf, u_int ncmds, u_long *header_offset, u_long header_size);
161 u_int *filetype, u_int *ncmds);
163 u_char *buf, u_int ncmds, u_long *header_offset, u_long header_size);
528 u_int ncmds = 0; local
532 object->file, offset, &filetype, &ncmds); local
537 for (i = 0; i < ncmds; ++i, offset += cmd_hdr->cmdsize) {
587 for (i = 0; i < ncmds; ++i, offset += cmd_hdr->cmdsize) {
850 u_int ncmds local
864 object->file, offset, &filetype, &ncmds); local
1025 get_macho_cmd_data_32(u_char *file, u_long offset, u_int *filetype, u_int *ncmds) argument
1041 get_macho_cmd_data_64(u_char *file, u_long offset, u_int *filetype, u_int *ncmds) argument
1739 u_int ncmds = 0; local
1831 export_macho_header(const KXLDObject *object, u_char *buf, u_int ncmds, u_long *header_offset, u_long header_size) argument
1842 object, buf, ncmds, header_offset, header_size); local
1855 export_macho_header_32(const KXLDObject *object, u_char *buf, u_int ncmds, u_long *header_offset, u_long header_size) argument
1890 export_macho_header_64(const KXLDObject *object, u_char *buf, u_int ncmds, u_long *header_offset, u_long header_size) argument
[all...]
H A Dkxld_util.c325 for(i = 0; i < mach_hdr->ncmds; ++i, offset += cmdsize) {
496 for(i = 0; i < mach_hdr->ncmds; ++i, offset += cmdsize) {
643 for(i = 0; i < mach_hdr->ncmds; ++i, offset += size) {
699 for(i = 0; i < mach_hdr->ncmds; ++i, offset += size) {
/xnu-2782.1.97/bsd/kern/
H A Dkern_core.c342 mh64->ncmds = segment_count + thread_count;
351 mh->ncmds = segment_count + thread_count;
471 mh64->ncmds -= segment_count;
474 mh->ncmds -= segment_count;
H A Dmach_loader.c498 uint32_t ncmds; local
639 ncmds = header->ncmds;
641 while (ncmds--) {
1746 uint32_t ncmds = header->ncmds; local
1747 while (ncmds--) {
/xnu-2782.1.97/EXTERNAL_HEADERS/mach-o/
H A Dloader.h59 uint32_t ncmds; /* number of load commands */ member in struct:mach_header
77 uint32_t ncmds; /* number of load commands */ member in struct:mach_header_64
/xnu-2782.1.97/SETUP/kextsymboltool/
H A Dkextsymboltool.c744 hdr.ncmds = 3;
784 hdr.ncmds = 3;
/xnu-2782.1.97/bsd/dev/dtrace/
H A Dsdt.c468 for (i = 0; i < mh->ncmds; i++) {
H A Ddtrace.c15175 for (i = 0; i < header->ncmds; i++) {
/xnu-2782.1.97/bsd/dev/i386/
H A Dfbt_x86.c934 for (i = 0; i < mh->ncmds; i++) {
/xnu-2782.1.97/osfmk/i386/
H A Di386_vm_init.c220 for (cmd = 0; cmd < _mh_execute_header.ncmds; cmd++) {
/xnu-2782.1.97/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.c606 mh.ncmds = segment_count + 1 /* thread */;
/xnu-2782.1.97/osfmk/i386/AT386/
H A Dmodel_dep.c916 for (i = 0; i < mh->ncmds; i++) {
/xnu-2782.1.97/libkern/c++/
H A DOSKext.cpp3893 for (i = 0; i < header->ncmds; i++) {
7824 for (i = 0; i < temp_kext_mach_hdr->ncmds; i++) {

Completed in 347 milliseconds