/third_party/curl/src/ |
H A D | tool_findfile.c | 68 static char *checkhome(const char *home, const char *fname, bool dotscore) in checkhome() argument 75 c = curl_maprintf("%s" DIR_CHAR "%c%s", home, pref[i], &fname[1]); in checkhome() 77 c = curl_maprintf("%s" DIR_CHAR "%s", home, fname); in checkhome() 113 char *home = curl_getenv(conf_list[i].env); in findfile() local 114 if(home) { in findfile() 119 if(!home[0]) { in findfile() 120 curl_free(home); in findfile() 124 char *c = curl_maprintf("%s%s", home, conf_list[i].append); in findfile() 125 curl_free(home); in findfile() 128 home in findfile() 150 char *home = pw->pw_dir; findfile() local [all...] |
H A D | tool_ipfs.c | 81 char *home = curlx_getenv("HOME"); in ipfs_gateway() local 82 if(home && *home) in ipfs_gateway() 83 ipfs_path = aprintf("%s/.ipfs/", home); in ipfs_gateway() 86 Curl_safefree(home); in ipfs_gateway()
|
/third_party/node/test/parallel/ |
H A D | test-readline.js | 61 home: ['\x1b[H', { ctrl: true, name: 'a' }], 65 home: ['\x1bOH', { ctrl: true, name: 'a' }], 69 home: ['\x1b[7', { ctrl: true, name: 'a' }], 73 home: ['\x1b[1~', { ctrl: true, name: 'a' }], 79 rl.write.apply(rl, key.home); 96 home: ['\x1b[H', { ctrl: true, name: 'a' }], 103 rl.write.apply(rl, key.xterm.home); 132 home: ['\x1b[H', { ctrl: true, name: 'a' }], 138 rl.write.apply(rl, key.xterm.home);
|
H A D | test-os.js | 199 const home = os.homedir(); 200 is.string(home); 201 assert.ok(home.includes(path.sep)); 208 assert.strictEqual(home, process.env.USERPROFILE); 211 process.env.USERPROFILE = home; 213 assert.strictEqual(home, process.env.HOME); 216 process.env.HOME = home;
|
/third_party/python/Python/ |
H A D | pathconfig.c | 38 wchar_t *home; member 75 CLEAR(home); in _PyPathConfig_ClearGlobal() 116 COPY(home); in _PyPathConfig_ReadGlobal() 163 COPY(home); in _PyPathConfig_UpdateGlobal() 234 if (_Py_path_config.home != NULL) { in Py_SetPath() 235 _Py_path_config.stdlib_dir = _PyMem_RawWcsdup(_Py_path_config.home); in Py_SetPath() 256 Py_SetPythonHome(const wchar_t *home) in Py_SetPythonHome() argument 258 int has_value = home && home[0]; in Py_SetPythonHome() 263 PyMem_RawFree(_Py_path_config.home); in Py_SetPythonHome() [all...] |
/third_party/alsa-lib/src/ |
H A D | userfile.c | 83 const char *home = getenv("HOME"); in snd_user_file() local 84 if (home == NULL) { in snd_user_file() 103 home = err ? "" : pwent.pw_dir; in snd_user_file() 105 len = strlen(home) + strlen(&file[2]) + 2; in snd_user_file() 108 snprintf(*result, len, "%s/%s", home, &file[2]); in snd_user_file()
|
/third_party/curl/lib/ |
H A D | netrc.c | 289 char *home = NULL; in Curl_parsenetrc() local 292 home = homea; in Curl_parsenetrc() 299 home = pw.pw_dir; in Curl_parsenetrc() 307 home = pw->pw_dir; in Curl_parsenetrc() 314 home = homea; in Curl_parsenetrc() 319 if(!home) in Curl_parsenetrc() 320 return retcode; /* no home directory found (or possibly out of in Curl_parsenetrc() 323 filealloc = curl_maprintf("%s%s.netrc", home, DIR_CHAR); in Curl_parsenetrc() 333 filealloc = curl_maprintf("%s%s_netrc", home, DIR_CHAR); in Curl_parsenetrc()
|
/third_party/node/deps/npm/test/fixtures/ |
H A D | sandbox.js | 70 home: options.home || join(tempDir, 'home'), 99 get home () { 100 return this[_dirs].home 143 .split(normalize(this.home)).join('{HOME}') 155 // instance if execPath is /home/user/.nvm/versions/node/1.0.0/bin/node, 212 HOME: this.home, 230 mkdir(this.home, { recursive: true }), 245 '--userconfig', join(this.home, ' [all...] |
H A D | mock-npm.js | 189 home: homeDir, 201 home: path.join(dir, 'home'), 233 'process.env.HOME': dirs.home,
|
/third_party/alsa-utils/alsamixer/ |
H A D | configparser.c | 576 const char *home; in parse_default_config_file() local 578 home = getenv("XDG_CONFIG_HOME"); in parse_default_config_file() 579 if (home && *home) { in parse_default_config_file() 580 snprintf(file, sizeof(file), "%s/alsamixer.rc", home); in parse_default_config_file() 585 home = getenv("HOME"); in parse_default_config_file() 586 if (!home || !*home) { in parse_default_config_file() 589 home = pwd->pw_dir; in parse_default_config_file() 592 if (home in parse_default_config_file() [all...] |
/third_party/python/Lib/distutils/command/ |
H A D | install.py | 100 ('home=', None, 101 "(Unix only) home directory to install under"), 105 "base installation directory (instead of --prefix or --home)"), 108 "(instead of --exec-prefix or --home)"), 169 self.home = None 181 # scheme implied by prefix/exec-prefix/home and the contents of 258 if ((self.prefix or self.exec_prefix or self.home) and 261 "must supply either prefix/exec-prefix/home or " + 264 if self.home and (self.prefix or self.exec_prefix): 266 "must supply either home o [all...] |
/third_party/python/Modules/ |
H A D | getpath.py | 114 # Step 1. Are we running in a virtual environment? Unless 'home' has 115 # been specified another way, check for a pyvenv.cfg and use its 'home' 125 # set as 'home'. 136 # Step 4. If 'home' is set, either by Py_SetHome(), ENV_PYTHONHOME, 220 home = config.get('home') variable 324 # CALCULATE (default) home 331 if home: 334 home = ENV_PYTHONHOME variable 345 if not home an 473 home = pth_dir global() variable [all...] |
/third_party/python/PC/ |
H A D | python_uwp.cpp | 115 const auto home = get_package_home(); in set_process_name() local 132 /* Only use module filename if we don't have a home */ in set_process_name() 133 if (home.empty() && executable.empty()) { in set_process_name() 157 if (!home.empty()) { in set_process_name() 158 status = PyConfig_SetString(config, &config->home, home.c_str()); in set_process_name()
|
/third_party/node/deps/npm/node_modules/nopt/lib/ |
H A D | type-defs.js | 23 const home = os.homedir() 25 if (home && val.match(homePattern)) { 26 data[k] = path.resolve(home, val.slice(2))
|
/third_party/musl/src/regex/ |
H A D | glob.c | 203 char *home = *p ? NULL : getenv("HOME"); in expand_tilde() local 204 if (!home) { in expand_tilde() 215 home = pw.pw_dir; in expand_tilde() 217 while (i < PATH_MAX - 2 && *home) in expand_tilde() 218 buf[i++] = *home++; in expand_tilde() 219 if (*home) in expand_tilde()
|
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/ |
H A D | sign.c | 473 const char *home = ""; in lws_aws_filesystem_credentials_helper() local 481 home = getenv("HOME"); in lws_aws_filesystem_credentials_helper() 482 if (home && strlen(home) > sizeof(sth) - 1) /* coverity */ in lws_aws_filesystem_credentials_helper() 485 if (!home) in lws_aws_filesystem_credentials_helper() 486 home = ""; in lws_aws_filesystem_credentials_helper() 491 lws_snprintf(sth, sizeof(sth), "%s%s", home, path + poff); in lws_aws_filesystem_credentials_helper()
|
/third_party/vulkan-loader/tests/framework/shim/ |
H A D | shim_common.cpp | 203 auto home = fs::path(get_env_var("HOME")); local 205 redirect_path(home / ".local/share/vulkan" / category_path_name(category), new_path); 209 if (home.size() != 0) { 210 paths.push_back((home / ".config").str()); 211 paths.push_back((home / ".local/share").str());
|
/third_party/python/Lib/test/ |
H A D | test_embed.py | 465 'home': None, 1269 # Test Py_SetPythonHome(home) with PYTHONPATH env var 1278 home = os.path.dirname(path) 1281 self.fail(f"Unable to find home in {paths!r}") 1283 prefix = exec_prefix = home 1285 stdlib = os.path.join(home, "Lib") 1286 # Because we are specifying 'home', module search paths 1288 expected_paths = [paths[0], os.path.join(home, 'DLLs'), stdlib] 1291 stdlib = os.path.join(home, sys.platlibdir, f'python{version}') 1292 expected_paths = self.module_search_paths(prefix=home, exec_prefi [all...] |
/third_party/python/Lib/ |
H A D | mailcap.py | 65 home = os.environ['HOME'] 68 home = '.' # Last resort 69 mailcaps = [home + '/.mailcap', '/etc/mailcap',
|
/third_party/rust/crates/minimal-lexical/scripts/ |
H A D | timings.py | 21 home = os.path.dirname(scripts) variable 39 def clean(directory=home): 169 path = f'{home}/assets/timings_{filename("timings", args)}_{os.name}.svg'
|
/third_party/python/Programs/ |
H A D | _testembed.c | 640 /* FIXME: test home */ in test_init_from_config() 1564 wchar_t *home = Py_DecodeLocale(env, NULL); in test_init_setpythonhome() local 1565 if (home == NULL) { in test_init_setpythonhome() 1569 Py_SetPythonHome(home); in test_init_setpythonhome() 1570 PyMem_RawFree(home); in test_init_setpythonhome() 1583 // under the effect of 'home' or PYTHONHOME environment variable. in test_init_is_python_build() 1589 wchar_t *home = Py_DecodeLocale(env, NULL); in test_init_is_python_build() local 1590 if (home == NULL) { in test_init_is_python_build() 1598 config_set_string(&config, &config.home, home); in test_init_is_python_build() [all...] |
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | __init__.py | 472 home = None 484 home = os.getenv(home_var) 485 if home: 486 home_dot_gyp = os.path.join(home, ".gyp")
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | __init__.py | 486 home = None 498 home = os.getenv(home_var) 499 if home: 500 home_dot_gyp = os.path.join(home, ".gyp")
|
/third_party/popt/src/ |
H A D | poptconfig.c | 439 char * home; in poptReadDefaultConfig() local 470 if ((home = getenv("HOME"))) { in poptReadDefaultConfig() 471 char * fn = malloc(strlen(home) + 20); in poptReadDefaultConfig() 473 (void) stpcpy(stpcpy(fn, home), "/.popt"); in poptReadDefaultConfig()
|
/third_party/libexif/contrib/aolserver/ |
H A D | Makefile | 1 NSHOME = /home/aol31
|