Home
last modified time | relevance | path

Searched refs:envitems (Results 1 – 7 of 7) sorted by relevance

/third_party/libuv/test/
Dtest-env-vars.c34 uv_env_item_t* envitems; in TEST_IMPL() local
112 r = uv_os_environ(&envitems, &envcount); in TEST_IMPL()
121 if (strcmp(envitems[i].name, name) == 0) { in TEST_IMPL()
123 ASSERT(strcmp(envitems[i].value, "123456789") == 0); in TEST_IMPL()
124 } else if (strcmp(envitems[i].name, name2) == 0) { in TEST_IMPL()
126 ASSERT(strlen(envitems[i].value) == 0); in TEST_IMPL()
127 } else if (envitems[i].name[0] == '=') { in TEST_IMPL()
137 uv_os_free_environ(envitems, envcount); in TEST_IMPL()
/third_party/libuv/src/unix/
Dcore.c1267 int uv_os_environ(uv_env_item_t** envitems, int* count) { in uv_os_environ() argument
1271 *envitems = NULL; in uv_os_environ()
1276 *envitems = uv__calloc(i, sizeof(**envitems)); in uv_os_environ()
1278 if (*envitems == NULL) in uv_os_environ()
1300 envitem = &(*envitems)[cnt]; in uv_os_environ()
1312 envitem = &(*envitems)[cnt]; in uv_os_environ()
1315 uv__free(*envitems); in uv_os_environ()
1317 *envitems = NULL; in uv_os_environ()
/third_party/libuv/src/win/
Dutil.c1369 int uv_os_environ(uv_env_item_t** envitems, int* count) { in uv_os_environ() argument
1375 *envitems = NULL; in uv_os_environ()
1384 *envitems = uv__calloc(i, sizeof(**envitems)); in uv_os_environ()
1385 if (*envitems == NULL) { in uv_os_environ()
1410 envitem = &(*envitems)[cnt]; in uv_os_environ()
1429 envitem = &(*envitems)[cnt]; in uv_os_environ()
1432 uv__free(*envitems); in uv_os_environ()
1434 *envitems = NULL; in uv_os_environ()
/third_party/node/src/
Dnode_report.cc665 uv_env_item_t* envitems; in PrintSystemInformation() local
673 r = uv_os_environ(&envitems, &envcount); in PrintSystemInformation()
678 writer->json_keyvalue(envitems[i].name, envitems[i].value); in PrintSystemInformation()
680 uv_os_free_environ(envitems, envcount); in PrintSystemInformation()
/third_party/libuv/src/
Duv-common.c868 void uv_os_free_environ(uv_env_item_t* envitems, int count) { in uv_os_free_environ() argument
872 uv__free(envitems[i].name); in uv_os_free_environ()
875 uv__free(envitems); in uv_os_free_environ()
/third_party/libuv/include/
Duv.h1259 UV_EXTERN int uv_os_environ(uv_env_item_t** envitems, int* count);
1260 UV_EXTERN void uv_os_free_environ(uv_env_item_t* envitems, int count);
/third_party/libuv/docs/src/
Dmisc.rst612 .. c:function:: int uv_os_environ(uv_env_item_t** envitems, int* count)
622 .. c:function:: void uv_os_free_environ(uv_env_item_t* envitems, int count);