Searched refs:cmdsize (Results 1 - 23 of 23) sorted by relevance

/freebsd-current/contrib/llvm-project/lld/MachO/
H A DMachOStructs.h40 llvm::support::ulittle32_t cmdsize; member in struct:lld::structs::entry_point_command
H A DWriter.cpp101 c->cmdsize = getSize();
145 c->cmdsize = getSize();
166 c->cmdsize = getSize();
185 c->cmdsize = getSize();
206 c->cmdsize = getSize();
239 c->cmdsize = getSize();
284 c->cmdsize = getSize();
306 c->cmdsize = getSize();
340 c->cmdsize = getSize();
375 c->cmdsize
[all...]
H A DInputFiles.h347 p += cmd->cmdsize;
H A DInputFiles.cpp960 cmd->cmdsize - sizeof(linker_option_command)};
1785 p += cmd->cmdsize;
/freebsd-current/stand/efi/boot1/
H A Dboot1.c63 size_t bufsize, cmdsize; local
81 cmdsize = 0;
86 cmdsize = bufsize + 1;
87 cmd = malloc(cmdsize);
103 size_t newlen = cmdsize + strlen(env) + 1;
108 if (cmdsize > 0)
111 cmdsize = strlen(cmd);
135 loaded_image->LoadOptionsSize = cmdsize;
/freebsd-current/usr.bin/apply/
H A Dapply.c61 size_t cmdsize; local
131 cmdsize = strlen(argv[0]) + 9 * (sizeof(" %1") - 1) + 1;
132 if ((cmd = malloc(cmdsize)) == NULL)
134 strlcpy(cmd, argv[0], cmdsize);
142 strlcat(cmd, buf, cmdsize);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h535 uint32_t cmdsize; member in struct:llvm::MachO::load_command
540 uint32_t cmdsize; member in struct:llvm::MachO::segment_command
554 uint32_t cmdsize; member in struct:llvm::MachO::segment_command_64
609 uint32_t cmdsize; member in struct:llvm::MachO::fvmlib_command
622 uint32_t cmdsize; member in struct:llvm::MachO::dylib_command
628 uint32_t cmdsize; member in struct:llvm::MachO::sub_framework_command
634 uint32_t cmdsize; member in struct:llvm::MachO::sub_client_command
640 uint32_t cmdsize; member in struct:llvm::MachO::sub_umbrella_command
646 uint32_t cmdsize; member in struct:llvm::MachO::sub_library_command
653 uint32_t cmdsize; member in struct:llvm::MachO::prebound_dylib_command
661 uint32_t cmdsize; member in struct:llvm::MachO::dylinker_command
667 uint32_t cmdsize; member in struct:llvm::MachO::thread_command
672 uint32_t cmdsize; member in struct:llvm::MachO::routines_command
685 uint32_t cmdsize; member in struct:llvm::MachO::routines_command_64
698 uint32_t cmdsize; member in struct:llvm::MachO::symtab_command
707 uint32_t cmdsize; member in struct:llvm::MachO::dysymtab_command
772 uint32_t cmdsize; member in struct:llvm::MachO::twolevel_hints_command
785 uint32_t cmdsize; member in struct:llvm::MachO::prebind_cksum_command
791 uint32_t cmdsize; member in struct:llvm::MachO::uuid_command
797 uint32_t cmdsize; member in struct:llvm::MachO::rpath_command
803 uint32_t cmdsize; member in struct:llvm::MachO::linkedit_data_command
816 uint32_t cmdsize; member in struct:llvm::MachO::source_version_command
822 uint32_t cmdsize; member in struct:llvm::MachO::encryption_info_command
830 uint32_t cmdsize; member in struct:llvm::MachO::encryption_info_command_64
840 uint32_t cmdsize; // sizeof(struct version_min_command) member in struct:llvm::MachO::version_min_command
847 uint32_t cmdsize; // sizeof(struct note_command) member in struct:llvm::MachO::note_command
860 uint32_t cmdsize; // sizeof(struct build_version_command) + member in struct:llvm::MachO::build_version_command
870 uint32_t cmdsize; member in struct:llvm::MachO::dyld_env_command
876 uint32_t cmdsize; member in struct:llvm::MachO::dyld_info_command
891 uint32_t cmdsize; member in struct:llvm::MachO::linker_option_command
901 uint32_t cmdsize; member in struct:llvm::MachO::fileset_entry_command
911 uint32_t cmdsize; member in struct:llvm::MachO::symseg_command
919 uint32_t cmdsize; member in struct:llvm::MachO::ident_command
925 uint32_t cmdsize; member in struct:llvm::MachO::fvmfile_command
950 uint32_t cmdsize; member in struct:llvm::MachO::entry_point_command
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp195 if (CmdOrErr->cmdsize + Ptr > Obj.getData().end())
198 if (CmdOrErr->cmdsize < 8)
222 if (L.Ptr + L.C.cmdsize + sizeof(MachO::load_command) >
227 return getLoadCommandInfo(Obj, L.Ptr + L.C.cmdsize, LoadCommandIndex + 1);
291 if (Load.C.cmdsize < SegmentLoadSize)
293 " " + CmdName + " cmdsize too small");
299 S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize)
301 " inconsistent cmdsize in " + CmdName +
414 if (Load.C.cmdsize < sizeof(MachO::symtab_command))
416 " LC_SYMTAB cmdsize to
[all...]
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp309 uint64_t cmdsize; member in struct:__anon3106::MachOSegment
377 Segment.cmdsize = SC.cmdsize;
391 Segment.cmdsize = SC.cmdsize;
799 if (Dl.dylib.name < Dl.cmdsize) {
863 W.printNumber("Size", BVC.cmdsize);
876 W.printNumber("Size", VMC.cmdsize);
933 W.printNumber("Size", MOSegment.cmdsize);
967 W.printNumber("Size", LOLC.cmdsize);
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp68 LoadCmd.C.cmdsize);
195 if (LoadCmd.C.cmdsize > sizeof(MachO::LCStruct)) \
199 LoadCmd.C.cmdsize - sizeof(MachO::LCStruct)); \
208 if (LoadCmd.C.cmdsize > sizeof(MachO::load_command))
212 LoadCmd.C.cmdsize - sizeof(MachO::load_command));
H A DMachOLayoutBuilder.cpp192 MLC.segment_command_data.cmdsize =
201 MLC.segment_command_64_data.cmdsize =
323 MLC->segment_command_data.cmdsize = sizeof(MachO::segment_command);
329 MLC->segment_command_64_data.cmdsize = sizeof(MachO::segment_command_64);
H A DMachOObjcopy.cpp143 LC.MachOLoadCommand.load_command_data.cmdsize = NewCmdsize;
153 RPathLC.cmdsize = alignTo(sizeof(MachO::rpath_command) + Path.size() + 1, 8);
155 LC.Payload.assign(RPathLC.cmdsize - sizeof(MachO::rpath_command), 0);
H A DMachOWriter.cpp186 MLC.load_command_data.cmdsize); \
200 MLC.load_command_data.cmdsize);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMachOBuilder.h56 cmdsize = sizeof(CmdStruct); \
62 size_t size() const override { return cmdsize; } \
94 cmdsize += (this->Name.size() + 1 + 3) & ~0x3;
117 cmdsize += (this->Name.size() + 1 + 3) & ~0x3;
135 cmdsize += (this->Path.size() + 1 + 3) & ~0x3;
351 Seg.cmdsize +=
354 Offset += Seg.cmdsize;
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp254 layout_data->current_load_cmd_addr += ((const load_command *)lc)->cmdsize;
334 return (const load_command *)((const char *)lc + lc->cmdsize);
/freebsd-current/sys/dev/liquidio/base/
H A Dlio_request_manager.c343 uint8_t *iqptr, cmdsize; local
345 cmdsize = ((iq->iqcmd_64B) ? 64 : 32);
346 iqptr = iq->base_addr + (cmdsize * iq->host_write_index);
348 memcpy(iqptr, cmd, cmdsize);
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp1417 if (dl.dylib.name < dl.cmdsize) {
8425 static void PrintSegmentCommand(uint32_t cmd, uint32_t cmdsize, argument
8444 outs() << " cmdsize " << cmdsize;
8445 if (cmdsize != expected_cmdsize)
8667 outs() << " cmdsize " << st.cmdsize;
8668 if (st.cmdsize != sizeof(struct MachO::symtab_command))
8714 outs() << " cmdsize " << dyst.cmdsize;
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/
H A DObjectContainerMachOFileset.cpp167 offset = load_cmd_offset + lc.cmdsize;
/freebsd-current/contrib/diff/src/
H A Dsdiff.c614 size_t cmdsize = 1;
619 cmdsize += quote_system_arg (0, diffargv[i]) + 1;
620 command = p = xmalloc (cmdsize);
612 size_t cmdsize = 1; local
/freebsd-current/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp290 auto BytesRemaining = LC.Data.load_command_data.cmdsize - BytesWritten;
H A DMachOYAML.cpp288 IO.mapRequired("cmdsize", LoadCommand.Data.load_command_data.cmdsize);
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMachOPlatform.cpp1572 SegLC.cmdsize = sizeof(MachO::segment_command_64) +
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp770 if (LC.C.cmdsize < sizeof(UUID) + sizeof(LC.C)) {

Completed in 240 milliseconds