Home
last modified time | relevance | path

Searched refs:envc (Results 1 - 8 of 8) sorted by relevance

/third_party/toybox/lib/
H A Denv.c22 // Use this instead of envc so we keep track of what needs to be freed.
25 toys.envc = 0; in xclearenv()
34 unsigned i, len, envc; in xsetenv() local
38 if (!toys.envc) { in xsetenv()
39 // envc is size +1 so even if env empty it's nonzero after initialization in xsetenv()
40 while (environ[toys.envc++]); in xsetenv()
41 memcpy(new = xmalloc(((toys.envc|0xff)+1)*sizeof(char *)), in xsetenv()
42 environ, toys.envc*sizeof(char *)); in xsetenv()
56 envc = toys.envc in xsetenv()
[all...]
/third_party/node/src/
H A Dprocess_wrap.cc221 int envc = env_opt->Length(); in Spawn() local
222 CHECK_LT(envc, INT_MAX); // Check for overflow. in Spawn()
223 options.env = new char*[envc + 1]; // Heap allocated to detect errors. in Spawn()
224 for (int i = 0; i < envc; i++) { in Spawn()
230 options.env[envc] = nullptr; in Spawn()
H A Dnode_wasi.cc198 const uint32_t envc = env_pairs->Length(); in New() local
199 options.envp = const_cast<const char**>(new char*[envc + 1]); in New()
200 for (uint32_t i = 0; i < envc; i++) { in New()
207 options.envp[envc] = nullptr; in New()
400 wasi->uvw_.envc * UVWASI_SERDES_SIZE_uint32_t); in EnvironGet()
401 std::vector<char*> environment(wasi->uvw_.envc); in EnvironGet()
408 for (size_t i = 0; i < wasi->uvw_.envc; i++) { in EnvironGet()
443 uvwasi_size_t envc; in EnvironSizesGet() local
446 &envc, in EnvironSizesGet()
449 uvwasi_serdes_write_size_t(memory, envc_offset, envc); in EnvironSizesGet()
[all...]
/third_party/toybox/porting/liteos_a/
H A Dtoys.h110 int envc; // Count of original environ entries member
/third_party/toybox/
H A Dtoys.h104 int envc; // Count of original environ entries member
/third_party/node/deps/uvwasi/include/
H A Duvwasi.h46 uvwasi_size_t envc; member
/third_party/python/Modules/
H A Dposixmodule.c5732 Py_ssize_t i, pos, envc; in parse_envlist() local
5745 envc = 0; in parse_envlist()
5805 if (!fsconvert_strdup(keyval, &envlist[envc++])) { in parse_envlist()
5815 envlist[envc] = 0; in parse_envlist()
5816 *envc_ptr = envc; in parse_envlist()
5822 free_string_array(envlist, envc); in parse_envlist()
5940 Py_ssize_t argc, envc; in os_execve_impl() local
5973 envlist = parse_envlist(env, &envc); in os_execve_impl()
5998 free_string_array(envlist, envc); in os_execve_impl()
6285 Py_ssize_t argc, envc; in py_posix_spawn() local
6647 Py_ssize_t argc, i, envc; os_spawnve_impl() local
[all...]
/third_party/node/deps/uvwasi/src/
H A Duvwasi.c311 uvwasi->envc = env_count; in uvwasi_init()
593 for (i = 0; i < uvwasi->envc; ++i) { in uvwasi_environ_get()
614 *environ_count = uvwasi->envc; in uvwasi_environ_sizes_get()

Completed in 18 milliseconds