• Home
  • Raw
  • Download

Lines Matching refs:c_str

111       if (chmod(dex_parent_.c_str(), 0555) != 0)  {  in ScopedNonWritable()
117 bool IsSuccessful() { return is_valid_ && (access(dex_parent_.c_str(), W_OK) != 0); } in IsSuccessful()
121 if (chmod(dex_parent_.c_str(), 0777) != 0) { in ~ScopedNonWritable()
158 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
164 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F()
175 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
202 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
231 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
255 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
276 dex_location.c_str(), kRuntimeISA, /*load_executable=*/ false); in TEST_F()
308 dex_location.c_str(), kRuntimeISA, /*load_executable=*/ false); in TEST_F()
340 ASSERT_EQ(0, symlink(scratch_dir.c_str(), link.c_str())); in TEST_F()
343 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
371 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed); in TEST_F()
377 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
404 GenerateOatForTest(dex_location.c_str(), in TEST_F()
405 odex_location.c_str(), in TEST_F()
409 android::base::unique_fd odex_fd(open(odex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
410 android::base::unique_fd vdex_fd(open(vdex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
411 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
413 OatFileAssistant oat_file_assistant(dex_location.c_str(), in TEST_F()
443 GenerateOatForTest(dex_location.c_str(), in TEST_F()
444 odex_location.c_str(), in TEST_F()
448 android::base::unique_fd vdex_fd(open(vdex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
449 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
451 OatFileAssistant oat_file_assistant(dex_location.c_str(), in TEST_F()
476 GenerateOatForTest(dex_location.c_str(), in TEST_F()
477 odex_location.c_str(), in TEST_F()
481 android::base::unique_fd odex_fd(open(odex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
482 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
484 OatFileAssistant oat_file_assistant(dex_location.c_str(), in TEST_F()
507 android::base::unique_fd zip_fd(open(dex_location.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
508 OatFileAssistant oat_file_assistant(dex_location.c_str(), in TEST_F()
532 ASSERT_EQ(0, unlink(odex_location.c_str())); in TEST_F()
534 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
558 ScratchFile vdex_file(vdex_location.c_str()); in TEST_F()
559 ScratchFile odex_file(odex_location.c_str()); in TEST_F()
561 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
582 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed); in TEST_F()
583 ASSERT_EQ(0, unlink(oat_location.c_str())); in TEST_F()
587 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
610 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeedProfile); in TEST_F()
615 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
643 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed); in TEST_F()
648 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
658 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F()
675 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed); in TEST_F()
684 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
698 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed); in TEST_F()
708 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, /*load_executable=*/false); in TEST_F()
735 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed); in TEST_F()
741 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
761 ASSERT_EQ(0, unlink(odex_location.c_str())); in TEST_F()
764 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
778 ASSERT_EQ(0, unlink(odex_location.c_str())); in TEST_F()
781 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
799 GenerateOatForTest(dex_location.c_str(), in TEST_F()
806 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
834 GenerateOatForTest(dex_location.c_str(), in TEST_F()
841 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
863 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
893 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
908 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F()
919 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed); in TEST_F()
929 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
948 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F()
960 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
992 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed); in TEST_F()
995 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
1010 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F()
1025 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
1050 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed); in TEST_F()
1056 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
1062 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F()
1078 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kQuicken); in TEST_F()
1084 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
1090 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F()
1110 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed); in TEST_F()
1113 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
1119 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F()
1166 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
1180 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
1196 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
1237 dex_location_.c_str(), in Run()
1311 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
1317 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F()
1332 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
1338 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F()
1414 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
1424 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
1452 dex_location.c_str(), in TEST_F()
1470 dex_location.c_str(), in TEST_F()
1489 mkdir(odex_dir.c_str(), 0700); in TEST_F()
1491 mkdir(odex_dir.c_str(), 0700); in TEST_F()
1494 remove(oat_location.c_str()); in TEST_F()
1506 dex_location.c_str(), in TEST_F()
1534 dex_location.c_str(), in TEST_F()
1554 EXPECT_EQ(0, remove(oat_location.c_str())); in TEST_F()