Home
last modified time | relevance | path

Searched refs:GetVar (Results 1 – 23 of 23) sorted by relevance

/external/chromium/base/nix/
Dxdg_util_unittest.cc23 MOCK_METHOD2(GetVar, bool(const char*, std::string* result));
37 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST()
38 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) in TEST()
47 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST()
48 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) in TEST()
57 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST()
58 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) in TEST()
67 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST()
68 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) in TEST()
Dxdg_util.cc18 if (env->GetVar(env_name, &env_value) && !env_value.empty()) in GetXDGDirectory()
36 if (env->GetVar("DESKTOP_SESSION", &desktop_session)) { in GetDesktopEnvironment()
/external/chromium/base/
Denvironment_unittest.cc12 TEST_F(EnvironmentTest, GetVar) { in TEST_F() argument
16 EXPECT_TRUE(env->GetVar("PATH", &env_value)); in TEST_F()
30 EXPECT_TRUE(env->GetVar(kFooLower, &env_value)); in TEST_F()
41 EXPECT_TRUE(env->GetVar(kFooUpper, &env_value)); in TEST_F()
65 EXPECT_TRUE(env->GetVar(kFooUpper, &var_value)); in TEST_F()
Denvironment.cc24 virtual bool GetVar(const char* variable_name, std::string* result) { in GetVar() function in __anon13f9763d0111::EnvironmentImpl
122 return GetVar(variable_name, NULL); in HasVar()
Denvironment.h34 virtual bool GetVar(const char* variable_name, std::string* result) = 0;
Dbase_paths_linux.cc68 if (env->GetVar("CR_SOURCE_ROOT", &cr_source_root)) { in PathProviderPosix()
/external/chromium/net/test/
Dpython_utils_unittest.cc34 env->GetVar(kPythonPathEnv, &python_path); in TEST()
39 env->GetVar(kPythonPathEnv, &python_path); in TEST()
Dpython_utils.cc27 if (!env->GetVar(kPythonPathEnv, &old_path)) { in AppendToPythonPath()
/external/chromium/net/proxy/
Dproxy_config_service_linux.cc92 if (env_var_getter_->GetVar(variable, &env_value)) { in GetProxyFromEnvVarForScheme()
120 if (env_var_getter_->GetVar("auto_proxy", &auto_proxy)) { in GetConfigFromEnv()
162 if (env_var_getter_->GetVar("SOCKS_VERSION", &env_version) in GetConfigFromEnv()
172 env_var_getter_->GetVar("no_proxy", &no_proxy); in GetConfigFromEnv()
444 if (env_var_getter->GetVar("KDEHOME", &home) && !home.empty()) { in GConfSettingGetterImplKDE()
450 if (!env_var_getter->GetVar(base::env_vars::kHome, &home)) in GConfSettingGetterImplKDE()
706 if (env_var_getter_->GetVar(it->second.c_str(), &value)) in ResolveIndirect()
718 env_var_getter_->GetVar(it->second[0].c_str(), &value)) in ResolveIndirectList()
Dproxy_config_service_linux_unittest.cc109 virtual bool GetVar(const char* variable_name, std::string* result) { in GetVar() function in net::__anon7cb8cbfa0111::MockEnvironment
/external/chromium/chrome/common/
Dmulti_process_lock_unittest.cc132 EXPECT_TRUE(environment->GetVar(MultiProcessLockTest::kLockEnviromentVarName, in MULTIPROCESS_TEST_MAIN()
151 EXPECT_TRUE(environment->GetVar(MultiProcessLockTest::kLockEnviromentVarName, in MULTIPROCESS_TEST_MAIN()
Dlogging_chrome.cc219 if (env->GetVar(env_vars::kSessionLogDir, &log_dir_str) && in GetSessionLogFile()
393 if (env->GetVar(env_vars::kLogFileName, &filename) && !filename.empty()) { in GetLogFileName()
Dlogging_chrome_uitest.cc29 if (!env->GetVar(env_vars::kLogFileName, &environment_filename_)) in SaveEnvironmentVariable()
/external/chromium/chrome/browser/
Dshell_integration_linux.cc236 if (env->GetVar("CHROME_DESKTOP", &name) && !name.empty()) in GetDesktopName()
302 if (env->GetVar("XDG_DATA_HOME", &xdg_data_home) && in GetDesktopShortcutTemplate()
308 if (env->GetVar("XDG_DATA_DIRS", &xdg_data_dirs) && in GetDesktopShortcutTemplate()
Dbackground_mode_manager_linux.cc65 if (!environment->GetVar("CHROME_WRAPPER", &wrapper_script)) { in Run()
Dshell_integration_unittest.cc43 virtual bool GetVar(const char* variable_name, std::string* result) { in GetVar() function in __anon88ca40380111::MockEnvironment
Denumerate_modules_model_win.cc587 if (environment->GetVar(WideToASCII(*variable).c_str(), &path)) { in PreparePathMappings()
/external/v8/src/
Dfull-codegen.h327 void GetVar(Register destination, Variable* var);
/external/v8/src/arm/
Dfull-codegen-arm.cc469 codegen()->GetVar(result_register(), var); in Plug()
475 codegen()->GetVar(result_register(), var); in Plug()
483 codegen()->GetVar(result_register(), var); in Plug()
741 void FullCodeGenerator::GetVar(Register dest, Variable* var) { in GetVar() function in v8::internal::FullCodeGenerator
1379 GetVar(r0, var); in EmitVariableLoad()
/external/v8/src/mips/
Dfull-codegen-mips.cc478 codegen()->GetVar(result_register(), var); in Plug()
484 codegen()->GetVar(result_register(), var); in Plug()
491 codegen()->GetVar(result_register(), var); in Plug()
750 void FullCodeGenerator::GetVar(Register dest, Variable* var) { in GetVar() function in v8::internal::FullCodeGenerator
1385 GetVar(v0, var); in EmitVariableLoad()
/external/chromium/chrome/browser/ui/
Dbrowser_init.cc406 env->GetVar("USERPROFILE", &appdata_path); in GetLaunchShortcutKind()
/external/v8/src/x64/
Dfull-codegen-x64.cc403 codegen()->GetVar(result_register(), var); in Plug()
415 codegen()->GetVar(result_register(), var); in Plug()
660 void FullCodeGenerator::GetVar(Register dest, Variable* var) { in GetVar() function in v8::internal::FullCodeGenerator
1286 GetVar(rax, var); in EmitVariableLoad()
/external/v8/src/ia32/
Dfull-codegen-ia32.cc462 codegen()->GetVar(result_register(), var); in Plug()
476 codegen()->GetVar(result_register(), var); in Plug()
719 void FullCodeGenerator::GetVar(Register dest, Variable* var) { in GetVar() function in v8::internal::FullCodeGenerator
1333 GetVar(eax, var); in EmitVariableLoad()