Lines Matching refs:Cmd
55 T Cmd;
56 memcpy(&Cmd, P, sizeof(T));
58 MachO::swapStruct(Cmd);
59 return Cmd;
68 T Cmd;
69 memcpy(&Cmd, P, sizeof(T));
71 MachO::swapStruct(Cmd);
72 return Cmd;
306 Load.C.cmd != MachO::LC_THREAD || Load.C.cmdsize % 4) {
320 if (Load.C.cmd == MachO::LC_SYMTAB) {
327 } else if (Load.C.cmd == MachO::LC_DYSYMTAB) {
334 } else if (Load.C.cmd == MachO::LC_DATA_IN_CODE) {
341 } else if (Load.C.cmd == MachO::LC_LINKER_OPTIMIZATION_HINT) {
348 } else if (Load.C.cmd == MachO::LC_DYLD_INFO ||
349 Load.C.cmd == MachO::LC_DYLD_INFO_ONLY) {
356 } else if (Load.C.cmd == MachO::LC_UUID) {
363 } else if (Load.C.cmd == MachO::LC_SEGMENT_64) {
368 } else if (Load.C.cmd == MachO::LC_SEGMENT) {
372 } else if (Load.C.cmd == MachO::LC_LOAD_DYLIB ||
373 Load.C.cmd == MachO::LC_LOAD_WEAK_DYLIB ||
374 Load.C.cmd == MachO::LC_LAZY_LOAD_DYLIB ||
375 Load.C.cmd == MachO::LC_REEXPORT_DYLIB ||
376 Load.C.cmd == MachO::LC_LOAD_UPWARD_DYLIB) {
2253 MachO::symtab_command Cmd;
2254 Cmd.cmd = MachO::LC_SYMTAB;
2255 Cmd.cmdsize = sizeof(MachO::symtab_command);
2256 Cmd.symoff = 0;
2257 Cmd.nsyms = 0;
2258 Cmd.stroff = 0;
2259 Cmd.strsize = 0;
2260 return Cmd;
2268 MachO::dysymtab_command Cmd;
2269 Cmd.cmd = MachO::LC_DYSYMTAB;
2270 Cmd.cmdsize = sizeof(MachO::dysymtab_command);
2271 Cmd.ilocalsym = 0;
2272 Cmd.nlocalsym = 0;
2273 Cmd.iextdefsym = 0;
2274 Cmd.nextdefsym = 0;
2275 Cmd.iundefsym = 0;
2276 Cmd.nundefsym = 0;
2277 Cmd.tocoff = 0;
2278 Cmd.ntoc = 0;
2279 Cmd.modtaboff = 0;
2280 Cmd.nmodtab = 0;
2281 Cmd.extrefsymoff = 0;
2282 Cmd.nextrefsyms = 0;
2283 Cmd.indirectsymoff = 0;
2284 Cmd.nindirectsyms = 0;
2285 Cmd.extreloff = 0;
2286 Cmd.nextrel = 0;
2287 Cmd.locreloff = 0;
2288 Cmd.nlocrel = 0;
2289 return Cmd;
2298 MachO::linkedit_data_command Cmd;
2299 Cmd.cmd = MachO::LC_DATA_IN_CODE;
2300 Cmd.cmdsize = sizeof(MachO::linkedit_data_command);
2301 Cmd.dataoff = 0;
2302 Cmd.datasize = 0;
2303 return Cmd;
2313 MachO::linkedit_data_command Cmd;
2314 Cmd.cmd = MachO::LC_LINKER_OPTIMIZATION_HINT;
2315 Cmd.cmdsize = sizeof(MachO::linkedit_data_command);
2316 Cmd.dataoff = 0;
2317 Cmd.datasize = 0;
2318 return Cmd;