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

/darwin-on-arm/xnu/SETUP/setsegname/
H A Dsetsegname.c135 uint32_t ncmds, cmdtype; local
164 ncmds = hdr->ncmds;
173 ncmds = hdr64->ncmds;
184 ncmds = OSSwapInt32(ncmds);
186 while (ncmds--) {
/darwin-on-arm/xnu/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++) {
/darwin-on-arm/xnu/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);
525 u_int ncmds = 0; local
529 object->file, offset, &filetype, &ncmds); local
534 for (i = 0; i < ncmds; ++i, offset += cmd_hdr->cmdsize) {
584 for (i = 0; i < ncmds; ++i, offset += cmd_hdr->cmdsize) {
845 u_int ncmds local
859 object->file, offset, &filetype, &ncmds); local
1020 get_macho_cmd_data_32(u_char *file, u_long offset, u_int *filetype, u_int *ncmds) argument
1036 get_macho_cmd_data_64(u_char *file, u_long offset, u_int *filetype, u_int *ncmds) argument
1732 u_int ncmds = 0; local
1824 export_macho_header(const KXLDObject *object, u_char *buf, u_int ncmds, u_long *header_offset, u_long header_size) argument
1835 object, buf, ncmds, header_offset, header_size); local
1848 export_macho_header_32(const KXLDObject *object, u_char *buf, u_int ncmds, u_long *header_offset, u_long header_size) argument
1883 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) {
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_core.c338 mh64->ncmds = segment_count + thread_count;
347 mh->ncmds = segment_count + thread_count;
467 mh64->ncmds -= segment_count;
470 mh->ncmds -= segment_count;
H A Dmach_loader.c469 uint32_t ncmds; local
609 ncmds = header->ncmds;
611 while (ncmds--) {
1629 uint32_t ncmds = header->ncmds; local
1630 while (ncmds--) {
/darwin-on-arm/xnu/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
/darwin-on-arm/xnu/osfmk/kdp/ml/arm/
H A Dkdp_arm_common.c223 mh.ncmds = segment_count + 1 /* thread */;
/darwin-on-arm/xnu/osfmk/arm/
H A Dmodel_dep.c177 for (i = 0; i < mh->ncmds; i++) {
/darwin-on-arm/xnu/SETUP/kextsymboltool/
H A Dkextsymboltool.c727 hdr.ncmds = 2;
746 hdr.ncmds = 2;
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dsdt.c548 for (i = 0; i < mh->ncmds; i++) {
H A Ddtrace.c16348 for (i = 0; i < header->ncmds; i++) {
/darwin-on-arm/xnu/osfmk/i386/
H A Di386_vm_init.c227 for (cmd = 0; cmd < _mh_execute_header.ncmds; cmd++) {
/darwin-on-arm/xnu/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.c591 mh.ncmds = segment_count + 1 /* thread */;
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dfbt_x86.c954 for (i = 0; i < mh->ncmds; i++) {
1472 for (i = 0; i < mh->ncmds; i++) {
/darwin-on-arm/xnu/osfmk/i386/AT386/
H A Dmodel_dep.c940 for (i = 0; i < mh->ncmds; i++) {
/darwin-on-arm/xnu/libkern/c++/
H A DOSKext.cpp4011 for (i = 0; i < header->ncmds; i++) {
7857 for (i = 0; i < temp_kext_mach_hdr->ncmds; i++) {

Completed in 266 milliseconds