| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 532 uint32_t cmdsize; member 537 uint32_t cmdsize; member 551 uint32_t cmdsize; member 606 uint32_t cmdsize; member 619 uint32_t cmdsize; member 625 uint32_t cmdsize; member 631 uint32_t cmdsize; member 637 uint32_t cmdsize; member 643 uint32_t cmdsize; member 650 uint32_t cmdsize; member [all …]
|
| /freebsd-13.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-hfa.c | 84 int cmdsize; in cvmx_hfa_initialize() local 86 cmdsize = ((CVMX_FPA_DFA_POOL_SIZE - 8) / sizeof (cvmx_dfa_command_t)) * in cvmx_hfa_initialize() 89 CVMX_FPA_DFA_POOL, cmdsize + 8); in cvmx_hfa_initialize() 96 control.s.size = cmdsize / sizeof(cvmx_dfa_command_t); in cvmx_hfa_initialize()
|
| /freebsd-13.1/usr.bin/apply/ |
| H A D | apply.c | 70 size_t cmdsize; in main() local 140 cmdsize = strlen(argv[0]) + 9 * (sizeof(" %1") - 1) + 1; in main() 141 if ((cmd = malloc(cmdsize)) == NULL) in main() 143 strlcpy(cmd, argv[0], cmdsize); in main() 151 strlcat(cmd, buf, cmdsize); in main()
|
| /freebsd-13.1/stand/efi/boot1/ |
| H A D | boot1.c | 66 size_t bufsize, cmdsize; in try_boot() local 84 cmdsize = 0; in try_boot() 89 cmdsize = bufsize + 1; in try_boot() 90 cmd = malloc(cmdsize); in try_boot() 118 loaded_image->LoadOptionsSize = cmdsize; in try_boot()
|
| /freebsd-13.1/contrib/llvm-project/lld/MachO/ |
| H A D | Writer.cpp | 98 c->cmdsize = getSize(); in writeTo() 142 c->cmdsize = getSize(); in writeTo() 163 c->cmdsize = getSize(); in writeTo() 182 c->cmdsize = getSize(); in writeTo() 203 c->cmdsize = getSize(); in writeTo() 236 c->cmdsize = getSize(); in writeTo() 280 c->cmdsize = getSize(); in writeTo() 302 c->cmdsize = getSize(); in writeTo() 335 c->cmdsize = getSize(); in writeTo() 368 c->cmdsize = getSize(); in writeTo() [all …]
|
| H A D | MachOStructs.h | 42 llvm::support::ulittle32_t cmdsize; member
|
| H A D | InputFiles.h | 227 p += cmd->cmdsize; in findCommands()
|
| H A D | InputFiles.cpp | 771 cmd->cmdsize - sizeof(linker_option_command)}; in parse() 1034 p += cmd->cmdsize; in parseLoadCommands()
|
| /freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
| H A D | MachONormalizedFileBinaryWriter.cpp | 625 seg->cmdsize = sizeof(typename T::command) in writeSingleSegmentLoadCommand() 627 uint8_t *next = lc + seg->cmdsize; in writeSingleSegmentLoadCommand() 681 uint8_t *next = lc + cmd->cmdsize; in writeSegmentLoadCommands() 699 cmd->cmdsize = sizeof(typename T::command) in writeSegmentLoadCommands() 701 uint8_t *next = lc + cmd->cmdsize; in writeSegmentLoadCommands() 785 st->cmdsize = sizeof(symtab_command); in writeLoadCommands() 838 dc->cmdsize = size; in writeLoadCommands() 872 st->cmdsize = sizeof(symtab_command); in writeLoadCommands() 917 dl->cmdsize = size; in writeLoadCommands() 965 dc->cmdsize = size; in writeLoadCommands() [all …]
|
| H A D | MachONormalizedFileBinaryReader.cpp | 70 if ( (p + slc->cmdsize) > lcRange.end() ) in forEachLoadCommand() 73 if (func(slc->cmd, slc->cmdsize, p)) in forEachLoadCommand() 76 p += slc->cmdsize; in forEachLoadCommand()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOObjectFile.cpp | 192 if (CmdOrErr->cmdsize < 8) in getLoadCommandInfo() 742 if (D.dylib.name >= D.cmdsize) in checkDylibCommand() 753 if (i >= D.cmdsize) in checkDylibCommand() 791 if (D.name >= D.cmdsize) in checkDyldCommand() 802 if (i >= D.cmdsize) in checkDyldCommand() 862 if (Load.C.cmdsize != in parseBuildVersionCommand() 890 if (R.path >= R.cmdsize) in checkRpathCommand() 901 if (i >= R.cmdsize) in checkRpathCommand() 981 if (PathOffset >= Load.C.cmdsize) in checkSubCommand() 992 if (i >= Load.C.cmdsize) in checkSubCommand() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 296 uint64_t cmdsize; member 364 Segment.cmdsize = SC.cmdsize; in getSegment() 378 Segment.cmdsize = SC.cmdsize; in getSegment() 713 if (Dl.dylib.name < Dl.cmdsize) { in printNeededLibraries() 777 W.printNumber("Size", BVC.cmdsize); in printMachOVersionMin() 790 W.printNumber("Size", VMC.cmdsize); in printMachOVersionMin() 847 W.printNumber("Size", MOSegment.cmdsize); in printMachOSegment() 881 W.printNumber("Size", LOLC.cmdsize); in printMachOLinkerOptions() 883 uint64_t DataSize = LOLC.cmdsize - sizeof(MachO::linker_option_command); in printMachOLinkerOptions()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
| H A D | MachOReader.cpp | 67 LoadCmd.C.cmdsize); in extractSections() 167 if (LoadCmd.C.cmdsize > sizeof(MachO::LCStruct)) \ in readLoadCommands() 171 LoadCmd.C.cmdsize - sizeof(MachO::LCStruct)); \ in readLoadCommands() 180 if (LoadCmd.C.cmdsize > sizeof(MachO::load_command)) in readLoadCommands() 184 LoadCmd.C.cmdsize - sizeof(MachO::load_command)); in readLoadCommands()
|
| H A D | MachOLayoutBuilder.cpp | 191 MLC.segment_command_data.cmdsize = in layoutSegments() 200 MLC.segment_command_64_data.cmdsize = in layoutSegments() 276 MLC->segment_command_data.cmdsize = sizeof(MachO::segment_command); in layoutTail() 282 MLC->segment_command_64_data.cmdsize = sizeof(MachO::segment_command_64); in layoutTail()
|
| H A D | MachOObjcopy.cpp | 125 LC.MachOLoadCommand.load_command_data.cmdsize = NewCmdsize; in updateLoadCommandPayloadString() 135 RPathLC.cmdsize = alignTo(sizeof(MachO::rpath_command) + Path.size() + 1, 8); in buildRPathLoadCommand() 137 LC.Payload.assign(RPathLC.cmdsize - sizeof(MachO::rpath_command), 0); in buildRPathLoadCommand()
|
| H A D | MachOWriter.cpp | 205 MLC.load_command_data.cmdsize); \ in writeLoadCommands() 219 MLC.load_command_data.cmdsize); in writeLoadCommands()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | MachODump.cpp | 1192 if (dl.dylib.name < dl.cmdsize) { in PrintDylibs() 8567 outs() << " cmdsize " << cmdsize; in PrintSegmentCommand() 8568 if (cmdsize != expected_cmdsize) in PrintSegmentCommand() 8782 outs() << " cmdsize " << st.cmdsize; in PrintSymtabLoadCommand() 9047 if (dyld.name >= dyld.cmdsize) in PrintDyldLoadCommand() 9078 if (rpath.path >= rpath.cmdsize) in PrintRpathLoadCommand() 9154 if (bd.cmdsize != in PrintBuildVersionLoadCommand() 9291 if (sub.umbrella < sub.cmdsize) { in PrintSubFrameworkCommand() 9339 if (sub.client < sub.cmdsize) { in PrintSubClientCommand() 9635 const char *end = Ptr + t.cmdsize; in PrintThreadCommand() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_procmaps_mac.cpp | 187 layout_data->current_load_cmd_addr += ((const load_command *)lc)->cmdsize; in NextSegmentLoad() 266 return (const load_command *)((const char *)lc + lc->cmdsize); in NextCommand()
|
| /freebsd-13.1/sys/dev/liquidio/base/ |
| H A D | lio_request_manager.c | 344 uint8_t *iqptr, cmdsize; in __lio_copy_cmd_into_iq() local 346 cmdsize = ((iq->iqcmd_64B) ? 64 : 32); in __lio_copy_cmd_into_iq() 347 iqptr = iq->base_addr + (cmdsize * iq->host_write_index); in __lio_copy_cmd_into_iq() 349 memcpy(iqptr, cmd, cmdsize); in __lio_copy_cmd_into_iq()
|
| /freebsd-13.1/contrib/diff/src/ |
| H A D | sdiff.c | 612 size_t cmdsize = 1; in main() local 617 cmdsize += quote_system_arg (0, diffargv[i]) + 1; in main() 618 command = p = xmalloc (cmdsize); in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | MachOEmitter.cpp | 259 auto BytesRemaining = LC.Data.load_command_data.cmdsize - BytesWritten; in writeLoadCommands()
|
| H A D | MachOYAML.cpp | 248 IO.mapRequired("cmdsize", LoadCommand.Data.load_command_data.cmdsize); in mapping()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFContext.cpp | 85 if (LC.C.cmdsize < sizeof(UUID) + sizeof(LC.C)) { in dumpUUID()
|