/macosx-10.10.1/shell_cmds-179/apply/ |
H A D | apply.c | 66 size_t clen, cmdsize, l; local 134 cmdsize = sizeof(EXEC) - 1 + strlen(argv[0]) 136 if ((cmd = malloc(cmdsize)) == NULL) 145 offset = snprintf(cmd, cmdsize, EXEC "%s", argv[0]); 146 if ((size_t)offset >= cmdsize) 149 cmdsize -= offset; 151 offset = snprintf(p, cmdsize, " %c%d", magic, i); 152 if ((size_t)offset >= cmdsize) 155 cmdsize -= offset; 165 offset = snprintf(cmd, cmdsize, EXE [all...] |
/macosx-10.10.1/xnu-2782.1.97/EXTERNAL_HEADERS/mach-o/ |
H A D | loader.h | 213 * load commands must have as their first two fields cmd and cmdsize. The cmd 215 * has a structure specifically for it. The cmdsize field is the size in bytes 218 * advance to the next load command the cmdsize can be added to the offset or 219 * pointer of the current load command. The cmdsize for 32-bit architectures 229 uint32_t cmdsize; /* total size of command in bytes */ member in struct:load_command 304 * of the string is reflected in the cmdsize field of the load command. 305 * Once again any padded bytes to bring the cmdsize field to a multiple 325 * reflected in cmdsize. 329 uint32_t cmdsize; /* includes sizeof section structs */ member in struct:segment_command 345 * command and their size is reflected in cmdsize 349 uint32_t cmdsize; /* includes sizeof section_64 structs */ member in struct:segment_command_64 621 uint32_t cmdsize; /* includes pathname string */ member in struct:fvmlib_command 651 uint32_t cmdsize; /* includes pathname string */ member in struct:dylib_command 667 uint32_t cmdsize; /* includes umbrella string */ member in struct:sub_framework_command 682 uint32_t cmdsize; /* includes client string */ member in struct:sub_client_command 701 uint32_t cmdsize; /* includes sub_umbrella string */ member in struct:sub_umbrella_command 722 uint32_t cmdsize; /* includes sub_library string */ member in struct:sub_library_command 737 uint32_t cmdsize; /* includes strings */ member in struct:prebound_dylib_command 754 uint32_t cmdsize; /* includes pathname string */ member in struct:dylinker_command 781 uint32_t cmdsize; /* total size of this command */ member in struct:thread_command 798 uint32_t cmdsize; /* total size of this command */ member in struct:routines_command 815 uint32_t cmdsize; /* total size of this command */ member in struct:routines_command_64 834 uint32_t cmdsize; /* sizeof(struct symtab_command) */ member in struct:symtab_command 883 uint32_t cmdsize; /* sizeof(struct dysymtab_command) */ member in struct:dysymtab_command 1089 uint32_t cmdsize; /* sizeof(struct twolevel_hints_command) */ member in struct:twolevel_hints_command 1128 uint32_t cmdsize; /* sizeof(struct prebind_cksum_command) */ member in struct:prebind_cksum_command 1138 uint32_t cmdsize; /* sizeof(struct uuid_command) */ member in struct:uuid_command 1148 uint32_t cmdsize; /* includes string */ member in struct:rpath_command 1160 uint32_t cmdsize; /* sizeof(struct linkedit_data_command) */ member in struct:linkedit_data_command 1171 uint32_t cmdsize; /* sizeof(struct encryption_info_command) */ member in struct:encryption_info_command 1184 uint32_t cmdsize; /* sizeof(struct encryption_info_command_64) */ member in struct:encryption_info_command_64 1200 uint32_t cmdsize; /* sizeof(struct min_version_command) */ member in struct:version_min_command 1215 uint32_t cmdsize; /* sizeof(struct dyld_info_command) */ member in struct:dyld_info_command 1389 uint32_t cmdsize; /* sizeof(struct symseg_command) */ member in struct:symseg_command 1402 uint32_t cmdsize; /* strings that follow this command */ member in struct:ident_command 1413 uint32_t cmdsize; /* includes pathname string */ member in struct:fvmfile_command 1427 uint32_t cmdsize; /* 24 */ member in struct:entry_point_command 1439 uint32_t cmdsize; /* 16 */ member in struct:source_version_command [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/ |
H A D | MachO.h | 309 uint32_t cmdsize; member in struct:llvm::MachO::load_command 314 uint32_t cmdsize; member in struct:llvm::MachO::segment_command 328 uint32_t cmdsize; member in struct:llvm::MachO::segment_command_64 377 uint32_t cmdsize; member in struct:llvm::MachO::fvmlib_command 390 uint32_t cmdsize; member in struct:llvm::MachO::dylib_command 396 uint32_t cmdsize; member in struct:llvm::MachO::sub_framework_command 402 uint32_t cmdsize; member in struct:llvm::MachO::sub_client_command 408 uint32_t cmdsize; member in struct:llvm::MachO::sub_umbrella_command 414 uint32_t cmdsize; member in struct:llvm::MachO::sub_library_command 420 uint32_t cmdsize; member in struct:llvm::MachO::prebound_dylib_command 428 uint32_t cmdsize; member in struct:llvm::MachO::dylinker_command 434 uint32_t cmdsize; member in struct:llvm::MachO::thread_command 439 uint32_t cmdsize; member in struct:llvm::MachO::routines_command 452 uint32_t cmdsize; member in struct:llvm::MachO::routines_command_64 465 uint32_t cmdsize; member in struct:llvm::MachO::symtab_command 474 uint32_t cmdsize; member in struct:llvm::MachO::dysymtab_command 540 uint32_t cmdsize; member in struct:llvm::MachO::twolevel_hints_command 552 uint32_t cmdsize; member in struct:llvm::MachO::prebind_cksum_command 558 uint32_t cmdsize; member in struct:llvm::MachO::uuid_command 564 uint32_t cmdsize; member in struct:llvm::MachO::rpath_command 570 uint32_t cmdsize; member in struct:llvm::MachO::linkedit_data_command 577 uint32_t cmdsize; member in struct:llvm::MachO::encryption_info_command 585 uint32_t cmdsize; member in struct:llvm::MachO::version_min_command 592 uint32_t cmdsize; member in struct:llvm::MachO::dyld_info_command 607 uint32_t cmdsize; member in struct:llvm::MachO::symseg_command 614 uint32_t cmdsize; member in struct:llvm::MachO::ident_command 619 uint32_t cmdsize; member in struct:llvm::MachO::fvmfile_command [all...] |
/macosx-10.10.1/IOKitUser-1050.1.21/kext.subproj/ |
H A D | macho_util.c | 284 uint32_t cmd_size = CondSwapInt32(swap, lc_cmd->cmdsize); 361 uint32_t cmd_size = CondSwapInt32(swap, lc_cmd->cmdsize); 396 if (((void *)load_command + load_command->cmdsize) > file_end) { 504 cmd_size = CondSwapInt32(swap, seg_cmd->cmdsize); 540 cmd_size = CondSwapInt32(swap, seg_cmd->cmdsize); 590 if (((void *)load_command + load_command->cmdsize) > file_end) { 684 cmd_size = CondSwapInt32(swap, seek_lc->cmdsize); 752 u_int cmdsize = 0; local 764 cmdsize = OSSwapInt32(lc->cmdsize); 791 u_int cmdsize = 0; local 1053 uint32_t ncmds, cmdsize; local 1138 uint32_t ncmds, cmdsize; local [all...] |
/macosx-10.10.1/xnu-2782.1.97/libkern/ |
H A D | kernel_mach_header.c | 66 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 86 lcp = (struct load_command *)((uintptr_t)lcp + lcp->cmdsize); 201 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 223 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 247 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 268 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 273 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 279 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize);
|
/macosx-10.10.1/dyld-353.2.1/launch-cache/ |
H A D | MachOFileAbstraction.hpp | 37 uint32_t cmdsize; /* sizeof(struct uuid_command) */ member in struct:uuid_command 134 uint32_t cmdsize() const INLINE { return E::get32(command.cmdsize); } 135 void set_cmdsize(uint32_t value) INLINE { E::set32(command.cmdsize, value); } 158 uint32_t cmdsize() const INLINE { return E::get32(segment.fields.cmdsize); } 159 void set_cmdsize(uint32_t value) INLINE { E::set32(segment.fields.cmdsize, value); } 258 uint32_t cmdsize() const INLINE { return E::get32(fields.cmdsize); } 259 void set_cmdsize(uint32_t value) INLINE { E::set32(fields.cmdsize, valu [all...] |
/macosx-10.10.1/xar-254/xar/lib/ |
H A D | macho.h | 50 uint32_t cmdsize; member in struct:lc
|
H A D | macho.c | 276 context->me[context->curme].lc[context->me[context->curme].curlc].cmdsize = xar_swap32(lc->cmdsize); 281 context->me[context->curme].nextlc += context->me[context->curme].lc[context->me[context->curme].curlc].cmdsize; 309 if( inlen >= (context->me[context->curme].lc[context->me[context->curme].curlc].cmdsize-8) ) { 311 uint32_t cmdsize = context->me[context->curme].lc[context->me[context->curme].curlc].cmdsize; local 319 lib = calloc(1,(cmdsize - offset)+1); 320 memcpy(lib, ((char *)in)+(offset - 8), cmdsize - offset); 327 consumed = cmdsize-8;
|
/macosx-10.10.1/xnu-2782.1.97/libkern/kxld/ |
H A D | kxld_util.c | 283 u_int cmdsize = 0; local 325 for(i = 0; i < mach_hdr->ncmds; ++i, offset += cmdsize) { 330 cmdsize = load_hdr->cmdsize; 335 cmdsize = OSSwapInt32(load_hdr->cmdsize); 340 require_action(size >= offset + cmdsize, finish, 454 u_int cmdsize = 0; local 496 for(i = 0; i < mach_hdr->ncmds; ++i, offset += cmdsize) { 500 cmdsize [all...] |
H A D | kxld_srcversion.c | 85 srcversionhdr->cmdsize = (uint32_t) sizeof(*srcversionhdr);
|
H A D | kxld_uuid.c | 85 uuidhdr->cmdsize = (uint32_t) sizeof(*uuidhdr);
|
H A D | kxld_versionmin.c | 103 versionminhdr->cmdsize = (uint32_t) sizeof(*versionminhdr);
|
/macosx-10.10.1/emacs-93/emacs/src/ |
H A D | unexnext.c | 95 *tmp = malloc(command->cmdsize); 96 bcopy(command, *tmp, command->cmdsize); 134 size = command.cmdsize - sizeof(struct load_command); 139 buf = malloc(command.cmdsize); 141 buf->cmdsize = command.cmdsize; 351 the_commands[i]->cmdsize) != 352 the_commands[i]->cmdsize) {
|
H A D | unexmacosx.c | 706 printf ("%8d", lc->cmdsize); 768 lca[i] = (struct load_command *) malloc (lc.cmdsize); 770 if (!unexec_read (lca[i] + 1, lc.cmdsize - sizeof (struct load_command))) 798 printf ("# cmd cmdsize name address size\n"); 835 if (!unexec_write (curr_header_offset, lc, lc->cmdsize)) 838 curr_header_offset += lc->cmdsize; 963 curr_header_offset += lc->cmdsize; 975 sc.cmdsize = sizeof (struct segment_command); 994 if (!unexec_write (curr_header_offset, &sc, sc.cmdsize)) 996 curr_header_offset += sc.cmdsize; [all...] |
/macosx-10.10.1/emacs-93/ |
H A D | unexmacosx.c | 706 printf ("%8d", lc->cmdsize); 768 lca[i] = (struct load_command *) malloc (lc.cmdsize); 770 if (!unexec_read (lca[i] + 1, lc.cmdsize - sizeof (struct load_command))) 798 printf ("# cmd cmdsize name address size\n"); 835 if (!unexec_write (curr_header_offset, lc, lc->cmdsize)) 838 curr_header_offset += lc->cmdsize; 963 curr_header_offset += lc->cmdsize; 975 sc.cmdsize = sizeof (struct segment_command); 994 if (!unexec_write (curr_header_offset, &sc, sc.cmdsize)) 996 curr_header_offset += sc.cmdsize; [all...] |
/macosx-10.10.1/Libc-1044.1.2/gen/ |
H A D | nlist.c | 264 if (lcp->cmdsize % sizeof(uint32_t) != 0 || 265 lcp->cmdsize <= 0 || 266 (char *)lcp + lcp->cmdsize > 272 if (lcp->cmdsize != 281 ((char *)lcp + lcp->cmdsize);
|
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/Launcher/mac/ |
H A D | DynamicLinkerEnvironmentExtractor.mm | 99 if (length < loadCommand.cmdsize) 107 if (loadCommand.cmdsize < environmentCommand.name.offset) 110 size_t environmentStringLength = loadCommand.cmdsize - environmentCommand.name.offset; 119 return loadCommand.cmdsize;
|
/macosx-10.10.1/Csu-85/ |
H A D | lazy_dylib_loader.c | 112 cmd = (const struct load_command*)(((char*)cmd)+cmd->cmdsize); 152 cmd = (const struct load_command*)(((char*)cmd)+cmd->cmdsize); 176 cmd = (const struct load_command*)(((char*)cmd)+cmd->cmdsize); 226 cmd = (const struct load_command*)(((char*)cmd)+cmd->cmdsize);
|
/macosx-10.10.1/tcsh-65/tcsh/win32/ |
H A D | support.c | 262 unsigned int cmdsize,cmdlen; local 283 cmdsize = MAX_PATH<<2; 297 cmdsize--; 374 &cmdsize)) 421 (void)StringCbCat(cmdstr,cmdsize,"."); 782 unsigned int *clen, char **cend, unsigned int *cmdsize) { 830 if (arglen + cmdlen +4 > *cmdsize) { // +4 is if we have to quote 833 tempptr = heap_realloc(*poriginalPtr,*cmdsize<<1); 845 *cmdsize <<=1; 781 concat_args_and_quote(char **args, char **poriginalPtr,char **cstr, unsigned int *clen, char **cend, unsigned int *cmdsize) argument
|
H A D | ntfunc.c | 152 DWORD cmdsize; local 165 cmdsize = 512; 166 cmdstr = heap_alloc(cmdsize); 220 if (j + cmdlen > cmdsize) { 222 cmdstr = heap_realloc(cmdstr, max(cmdsize << 1, j+cmdlen) ); 229 cmdsize <<= 1; 654 unsigned int cmdsize,cmdlen; local 695 cmdsize = MAX_PATH<<2; 706 if(!concat_args_and_quote(argv,&originalPtr,&cmdstr,&cmdlen,&cmdend,&cmdsize)) 893 unsigned int cmdsize,cmdle local [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/ |
H A D | mach_loader.c | 247 scp->cmdsize = scp32->cmdsize; 647 offset += lcp->cmdsize; 658 lcp->cmdsize < sizeof(struct load_command) || 964 if (lcp->cmdsize < segment_command_size) 966 total_section_size = lcp->cmdsize - segment_command_size; 1144 if ((uulp->cmdsize < sizeof(struct uuid_command)) || 1165 if (epc->cmdsize < sizeof(*epc)) 1223 if (tcp->cmdsize < sizeof(*tcp)) 1236 tcp->cmdsize [all...] |
/macosx-10.10.1/objc4-646/runtime/ |
H A D | objc-file.mm | 76 sgp = (const segmentType *)((char *)sgp + sgp->cmdsize);
|
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/ |
H A D | mach-o.h | 401 unsigned long cmdsize; /* Includes pathname string. */ member in struct:bfd_mach_o_dylinker_command 411 unsigned long cmdsize; /* Includes pathname string. */ member in struct:bfd_mach_o_dylib_command 424 unsigned long cmdsize; /* Includes strings. */ member in struct:bfd_mach_o_prebound_dylib_command
|
/macosx-10.10.1/objc4-646/ |
H A D | markgc.c | 238 * of the string is reflected in the cmdsize field of the load command. 239 * Once again any padded bytes to bring the cmdsize field to a multiple 265 uint32_t cmdsize; /* includes pathname string */ 274 size_t count = dylibCmd->cmdsize - sizeof(struct dylib_command); 284 lc->cmdsize = OSSwapInt32(lc->cmdsize); 306 return (struct load_command *)((void *)lc + lc->cmdsize);
|
/macosx-10.10.1/dtrace-147/libelf/ |
H A D | begin.c | 81 SWAP32(segment->cmdsize); 96 SWAP32(segment->cmdsize); 138 SWAP32(symtab->cmdsize); 359 int cmd = thisLC->cmd, cmdsize = thisLC->cmdsize; local 363 SWAP32(cmdsize); 388 thisLC = (struct load_command *) ((caddr_t) thisLC + cmdsize); 465 int cmd = thisLC->cmd, cmdsize = thisLC->cmdsize; local 469 SWAP32(cmdsize); [all...] |