Lines Matching refs:std

64   explicit ScratchFile(const std::string& filename);
76 const std::string& GetFilename() const { in GetFilename()
90 std::string filename_;
91 std::unique_ptr<File> file_;
106 static void SetUpAndroidDataDir(std::string& android_data);
108 static void TearDownAndroidDataDir(const std::string& android_data, bool fail_on_error);
111 virtual std::vector<std::string> GetLibCoreModuleNames() const;
114 std::vector<std::string> GetLibCoreDexFileNames(const std::vector<std::string>& modules) const;
117 std::vector<std::string> GetLibCoreDexFileNames() const;
120 std::vector<std::string> GetLibCoreDexLocations(const std::vector<std::string>& modules) const;
123 std::vector<std::string> GetLibCoreDexLocations() const;
125 static std::string GetClassPathOption(const char* option,
126 const std::vector<std::string>& class_path);
129 static std::string GetAndroidHostToolsDir();
132 std::string GetTestDexFileName(const char* name) const;
135 bool MutateDexFile(File* output_dex, const std::string& input_jar, const Mutator& mutator) { in MutateDexFile()
136 std::vector<std::unique_ptr<const DexFile>> dex_files; in MutateDexFile()
137 std::string error_msg; in MutateDexFile()
146 const std::unique_ptr<const DexFile>& dex = dex_files[0]; in MutateDexFile()
174 using OutputHandlerFn = std::function<void(char*, size_t)>;
175 using PostForkFn = std::function<bool()>;
176 static ForkAndExecResult ForkAndExec(const std::vector<std::string>& argv,
179 static ForkAndExecResult ForkAndExec(const std::vector<std::string>& argv,
181 std::string* output);
190 static std::string GetAndroidToolsDir(const std::string& subdir1,
191 const std::string& subdir2,
192 const std::string& subdir3);
195 static std::string GetCoreArtLocation();
198 static std::string GetCoreOatLocation();
200 std::unique_ptr<const DexFile> LoadExpectSingleDexFile(const char* location);
204 std::string GetTestAndroidRoot();
207 std::vector<std::unique_ptr<const DexFile>> OpenDexFiles(const char* filename);
210 std::unique_ptr<const DexFile> OpenDexFile(const char* filename);
213 std::vector<std::unique_ptr<const DexFile>> OpenTestDexFiles(const char* name);
215 std::unique_ptr<const DexFile> OpenTestDexFile(const char* name);
218 std::string android_data_;
219 std::string dalvik_cache_;
227 std::string CreateClassPath(const std::vector<std::unique_ptr<const DexFile>>& dex_files);
230 std::string CreateClassPathWithChecksums(
231 const std::vector<std::unique_ptr<const DexFile>>& dex_files);
233 static std::string GetCoreFileLocation(const char* suffix);
235 std::vector<std::unique_ptr<const DexFile>> loaded_dex_files_;