• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/cctools-845/misc/

Lines Matching defs:ofiles

1292     struct ofile *ofiles;
1303 ofiles = allocate(sizeof(struct ofile) * cmd_flags.nfiles);
1309 if(ofile_map(file_name, NULL, NULL, ofiles + i, TRUE) ==
1320 if(ofile_map(cmd_flags.files[i], NULL, NULL, ofiles + i,
1329 if(ofiles[i].file_type == OFILE_FAT){
1330 (void)ofile_first_arch(ofiles + i);
1332 if(ofiles[i].arch_type == OFILE_ARCHIVE){
1337 if(realpath(ofiles[i].file_name, resolvedname) !=
1343 "archive: %s\n", ofiles[i].file_name);
1347 if((flag = ofile_first_member(ofiles + i)) == TRUE){
1348 if(ofiles[i].member_ar_hdr != NULL &&
1349 strncmp(ofiles[i].member_name, SYMDEF,
1351 flag = ofile_next_member(ofiles + i);
1354 if(ofiles[i].mh != NULL ||
1355 ofiles[i].mh64 != NULL ||
1356 ofiles[i].lto != NULL ||
1358 add_member(ofiles + i);
1363 ofiles[i].arch_flag.name,
1365 (int)ofiles[i].member_name_size,
1366 ofiles[i].member_name);
1368 flag = ofile_next_member(ofiles + i);
1372 else if(ofiles[i].arch_type == OFILE_Mach_O ||
1373 ofiles[i].arch_type == OFILE_LLVM_BITCODE){
1377 ofiles[i].arch_flag.name, cmd_flags.files[i]);
1381 add_member(ofiles + i);
1383 else if(ofiles[i].arch_type == OFILE_UNKNOWN){
1387 ofiles[i].arch_flag.name, cmd_flags.files[i]);
1393 ofiles[i].arch_flag.name, cmd_flags.files[i]);
1396 }while(ofile_next_arch(ofiles + i) == TRUE);
1398 else if(ofiles[i].file_type == OFILE_ARCHIVE){
1403 if(realpath(ofiles[i].file_name, resolvedname) != NULL)
1408 "%s\n", ofiles[i].file_name);
1412 if((flag = ofile_first_member(ofiles + i)) == TRUE){
1413 if(ofiles[i].member_ar_hdr != NULL &&
1414 strncmp(ofiles[i].member_name, SYMDEF,
1416 flag = ofile_next_member(ofiles + i);
1420 if(ofiles[i].member_type == OFILE_FAT){
1421 (void)ofile_first_arch(ofiles + i);
1423 if(ofiles[i].mh != NULL ||
1424 ofiles[i].mh64 != NULL ||
1425 ofiles[i].lto != NULL ||
1427 add_member(ofiles + i);
1438 (int)ofiles[i].member_name_size,
1439 ofiles[i].member_name,
1440 ofiles[i].arch_flag.name);
1443 }while(ofile_next_arch(ofiles + i) == TRUE);
1445 else if(ofiles[i].mh != NULL ||
1446 ofiles[i].mh64 != NULL ||
1448 ofiles[i].lto != NULL ||
1451 add_member(ofiles + i);
1456 (int)ofiles[i].member_name_size,
1457 ofiles[i].member_name);
1459 flag = ofile_next_member(ofiles + i);
1463 else if(ofiles[i].file_type == OFILE_Mach_O){
1468 add_member(ofiles + i);
1471 else if(ofiles[i].file_type == OFILE_LLVM_BITCODE){
1476 add_member(ofiles + i);
1479 else{ /* ofiles[i].file_type == OFILE_UNKNOWN */
1518 create_library(cmd_flags.files[i], ofiles + i);
1522 ofile_unmap(ofiles + i);
1531 * Clean-up of ofiles[] and archs could be done here but since this