Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-env-vars.c34 uv_env_item_t* envitems; in TEST_IMPL() local
117 r = uv_os_environ(&envitems, &envcount); in TEST_IMPL()
126 if (strcmp(envitems[i].name, name) == 0) { in TEST_IMPL()
128 ASSERT_OK(strcmp(envitems[i].value, "123456789")); in TEST_IMPL()
129 } else if (strcmp(envitems[i].name, name2) == 0) { in TEST_IMPL()
131 ASSERT_OK(strlen(envitems[i].value)); in TEST_IMPL()
132 } else if (envitems[i].name[0] == '=') { in TEST_IMPL()
145 uv_os_free_environ(envitems, envcount); in TEST_IMPL()
/libuv/src/win/
H A Dutil.c1177 int uv_os_environ(uv_env_item_t** envitems, int* count) { in uv_os_environ() argument
1183 *envitems = NULL; in uv_os_environ()
1192 *envitems = uv__calloc(i, sizeof(**envitems)); in uv_os_environ()
1193 if (*envitems == NULL) { in uv_os_environ()
1218 envitem = &(*envitems)[cnt]; in uv_os_environ()
1237 envitem = &(*envitems)[cnt]; in uv_os_environ()
1240 uv__free(*envitems); in uv_os_environ()
1242 *envitems = NULL; in uv_os_environ()
/libuv/src/unix/
H A Dcore.c1385 int uv_os_environ(uv_env_item_t** envitems, int* count) { in uv_os_environ() argument
1389 *envitems = NULL; in uv_os_environ()
1394 *envitems = uv__calloc(i, sizeof(**envitems)); in uv_os_environ()
1396 if (*envitems == NULL) in uv_os_environ()
1418 envitem = &(*envitems)[cnt]; in uv_os_environ()
1430 envitem = &(*envitems)[cnt]; in uv_os_environ()
1433 uv__free(*envitems); in uv_os_environ()
1435 *envitems = NULL; in uv_os_environ()
/libuv/src/
H A Duv-common.c936 void uv_os_free_environ(uv_env_item_t* envitems, int count) { in uv_os_free_environ() argument
940 uv__free(envitems[i].name); in uv_os_free_environ()
943 uv__free(envitems); in uv_os_free_environ()
/libuv/include/
H A Duv.h1355 UV_EXTERN int uv_os_environ(uv_env_item_t** envitems, int* count);
1356 UV_EXTERN void uv_os_free_environ(uv_env_item_t* envitems, int count);
/libuv/docs/src/
H A Dmisc.rst716 .. c:function:: int uv_os_environ(uv_env_item_t** envitems, int* count)
726 .. c:function:: void uv_os_free_environ(uv_env_item_t* envitems, int count);

Completed in 24 milliseconds