Lines Matching refs:exe_path
26 std::string GetFullPathForSnapshotFile(const std::string& exe_path, in GetFullPathForSnapshotFile() argument
35 } else if (!exe_path.empty()) { in GetFullPathForSnapshotFile()
36 size_t last_separator = exe_path.rfind(PATH_SEPARATOR); in GetFullPathForSnapshotFile()
38 result = exe_path.substr(0, last_separator + 1); in GetFullPathForSnapshotFile()
45 bool GetExternalData(const std::string& exe_path, in GetExternalData() argument
50 GetFullPathForSnapshotFile(exe_path, bin_dir, filename); in GetExternalData()
63 void InitializeV8Common(const char* exe_path, v8::Platform** platform) { in InitializeV8Common() argument
64 v8::V8::InitializeICUDefaultLocation(exe_path); in InitializeV8Common()
180 bool InitializeV8ForPDFium(const std::string& exe_path, in InitializeV8ForPDFium() argument
185 InitializeV8Common(exe_path.c_str(), platform); in InitializeV8ForPDFium()
187 if (!GetExternalData(exe_path, bin_dir, "natives_blob.bin", natives_blob)) in InitializeV8ForPDFium()
189 if (!GetExternalData(exe_path, bin_dir, "snapshot_blob.bin", snapshot_blob)) in InitializeV8ForPDFium()
197 bool InitializeV8ForPDFium(const std::string& exe_path, in InitializeV8ForPDFium() argument
199 InitializeV8Common(exe_path.c_str(), platform); in InitializeV8ForPDFium()