Searched refs:sizeofcmds (Results 1 - 16 of 16) sorted by relevance

/external/google-breakpad/src/common/mac/
H A Dmacho_utilities.cc69 mh->sizeofcmds = ByteSwap(mh->sizeofcmds);
/external/google-breakpad/src/client/mac/handler/
H A Dbreakpad_nlist_64.cc284 (struct load_command *)malloc(mh.sizeofcmds);
288 if (read(fd, (char *)load_commands, mh.sizeofcmds) !=
289 (ssize_t)mh.sizeofcmds) {
301 (char *)load_commands + mh.sizeofcmds) {
H A Ddynamic_images.cc471 sizeof(mach_header_type) + header->sizeofcmds;
/external/lldb/source/Host/macosx/
H A DSymbols.cpp78 const uint32_t sizeofcmds = data.GetU32(&data_offset); // the size of all the load commands local
102 if (data.GetByteSize() < sizeof(struct mach_header_64) + sizeofcmds)
104 DataBufferSP data_buffer_sp (file_spec.ReadFileContents (file_offset, sizeof(struct mach_header_64) + sizeofcmds));
110 if (data.GetByteSize() < sizeof(struct mach_header) + sizeofcmds)
112 DataBufferSP data_buffer_sp (file_spec.ReadFileContents (file_offset, sizeof(struct mach_header) + sizeofcmds));
/external/lldb/source/Plugins/Process/mach-core/
H A DProcessMachCore.cpp157 header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds);
/external/valgrind/coregrind/m_ume/
H A Dmacho.c539 len = sizeof(mh) + mh.sizeofcmds;
558 lcend = (struct load_command *)(headers + mh.sizeofcmds + sizeof(mh));
/external/llvm/include/llvm/Support/
H A DMachO.h542 uint32_t sizeofcmds; member in struct:llvm::MachO::mach_header
552 uint32_t sizeofcmds; member in struct:llvm::MachO::mach_header_64
1007 sys::swapByteOrder(mh.sizeofcmds);
1017 sys::swapByteOrder(H.sizeofcmds);
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderMacOSXDYLD.cpp1184 DataBufferSP load_cmd_data_sp(new DataBufferHeap(header->sizeofcmds, 0));
1191 if (load_cmd_bytes_read == header->sizeofcmds)
1195 load_command_data->SetData(load_cmd_data_sp, 0, header->sizeofcmds);
/external/valgrind/coregrind/
H A Dfixup_macho_loadcmds.c353 if (ii->macho_img_szB < sizeof(struct mach_header_64) + mh->sizeofcmds)
/external/llvm/tools/llvm-readobj/
H A DMachODumper.cpp381 W.printNumber("SizeOfLoadCommands", Header.sizeofcmds);
/external/llvm/tools/macho-dump/
H A Dmacho-dump.cpp389 outs() << "('load_commands_size', " << Header.sizeofcmds << ")\n";
/external/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
H A DDynamicLoaderDarwinKernel.cpp418 header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds);
/external/v8/src/
H A Dgdb-jit.cc500 uint32_t sizeofcmds; member in struct:v8::BASE_EMBEDDED::MachOHeader
551 header->sizeofcmds = 0;
589 header->sizeofcmds = w->position() - load_command_start;
/external/valgrind/coregrind/m_debuginfo/
H A Dreadmacho.c268 if (sli.szB < sizeof(struct MACH_HEADER) + mh.sizeofcmds) {
/external/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp513 if (header.sizeofcmds >= data_sp->GetByteSize())
515 data_sp = file.ReadFileContents(file_offset, header.sizeofcmds);
734 const size_t header_and_lc_size = m_header.sizeofcmds + MachHeaderSizeFromMagic(m_header.magic);
/external/llvm/tools/llvm-objdump/
H A DMachODump.cpp6862 uint32_t ncmds, uint32_t sizeofcmds, uint32_t flags,
6866 "sizeofcmds flags\n";
7020 outs() << format(" %10u", sizeofcmds);
7128 outs() << format(" %10u", sizeofcmds);
8504 H_64.ncmds, H_64.sizeofcmds, H_64.flags, verbose);
8512 H.sizeofcmds, H.flags, verbose);
6860 PrintMachHeader(uint32_t magic, uint32_t cputype, uint32_t cpusubtype, uint32_t filetype, uint32_t ncmds, uint32_t sizeofcmds, uint32_t flags, bool verbose) argument

Completed in 389 milliseconds