Lines Matching refs:exe_path
24 std::string GetFullPathForSnapshotFile(const std::string& exe_path, in GetFullPathForSnapshotFile() argument
33 } else if (!exe_path.empty()) { in GetFullPathForSnapshotFile()
34 size_t last_separator = exe_path.rfind(PATH_SEPARATOR); in GetFullPathForSnapshotFile()
36 result = exe_path.substr(0, last_separator + 1); in GetFullPathForSnapshotFile()
43 bool GetExternalData(const std::string& exe_path, in GetExternalData() argument
48 GetFullPathForSnapshotFile(exe_path, bin_dir, filename); in GetExternalData()
61 void InitializeV8Common(const char* exe_path, v8::Platform** platform) { in InitializeV8Common() argument
62 v8::V8::InitializeICUDefaultLocation(exe_path); in InitializeV8Common()
154 bool InitializeV8ForPDFium(const std::string& exe_path, in InitializeV8ForPDFium() argument
159 InitializeV8Common(exe_path.c_str(), platform); in InitializeV8ForPDFium()
161 if (!GetExternalData(exe_path, bin_dir, "natives_blob.bin", natives_blob)) in InitializeV8ForPDFium()
163 if (!GetExternalData(exe_path, bin_dir, "snapshot_blob.bin", snapshot_blob)) in InitializeV8ForPDFium()
171 bool InitializeV8ForPDFium(const std::string& exe_path, in InitializeV8ForPDFium() argument
173 InitializeV8Common(exe_path.c_str(), platform); in InitializeV8ForPDFium()