Lines Matching refs:r
33 int i, r, envcount, found, found_win_special; in TEST_IMPL() local
42 r = uv_os_setenv(NULL, "foo"); in TEST_IMPL()
43 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
44 r = uv_os_setenv(name, NULL); in TEST_IMPL()
45 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
46 r = uv_os_setenv(NULL, NULL); in TEST_IMPL()
47 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
51 r = uv_os_getenv(NULL, buf, &size); in TEST_IMPL()
52 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
53 r = uv_os_getenv(name, NULL, &size); in TEST_IMPL()
54 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
55 r = uv_os_getenv(name, buf, NULL); in TEST_IMPL()
56 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
58 r = uv_os_getenv(name, buf, &size); in TEST_IMPL()
59 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
62 r = uv_os_unsetenv(NULL); in TEST_IMPL()
63 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
66 r = uv_os_setenv(name, "123456789"); in TEST_IMPL()
67 ASSERT_OK(r); in TEST_IMPL()
72 r = uv_os_getenv(name, buf, &size); in TEST_IMPL()
73 ASSERT_OK(r); in TEST_IMPL()
80 r = uv_os_getenv(name, buf, &size); in TEST_IMPL()
81 ASSERT_EQ(r, UV_ENOBUFS); in TEST_IMPL()
85 r = uv_os_unsetenv(name); in TEST_IMPL()
86 ASSERT_OK(r); in TEST_IMPL()
89 r = uv_os_getenv(name, buf, &size); in TEST_IMPL()
90 ASSERT_EQ(r, UV_ENOENT); in TEST_IMPL()
93 r = uv_os_unsetenv(name); in TEST_IMPL()
94 ASSERT_OK(r); in TEST_IMPL()
97 r = uv_os_setenv(name, ""); in TEST_IMPL()
98 ASSERT_OK(r); in TEST_IMPL()
100 r = uv_os_getenv(name, buf, &size); in TEST_IMPL()
101 ASSERT_OK(r); in TEST_IMPL()
106 r = uv_os_setenv(name, "123456789"); in TEST_IMPL()
107 ASSERT_OK(r); in TEST_IMPL()
108 r = uv_os_setenv(name2, ""); in TEST_IMPL()
109 ASSERT_OK(r); in TEST_IMPL()
113 r = uv_os_setenv("=Z:", "\\"); in TEST_IMPL()
114 ASSERT_OK(r); in TEST_IMPL()
117 r = uv_os_environ(&envitems, &envcount); in TEST_IMPL()
118 ASSERT_OK(r); in TEST_IMPL()
147 r = uv_os_unsetenv(name); in TEST_IMPL()
148 ASSERT_OK(r); in TEST_IMPL()
150 r = uv_os_unsetenv(name2); in TEST_IMPL()
151 ASSERT_OK(r); in TEST_IMPL()