• Home
  • Raw
  • Download

Lines Matching refs:NULL

9 	{ "foo:", "foo:", NULL,
10 { "foo", NULL, NULL, NULL, 0, "", NULL, NULL } },
11 { "file:/dev/null", "file:/dev/null", NULL,
12 { "file", NULL, NULL, NULL, 0, "/dev/null", NULL, NULL } },
13 { "file:///dev/null", "file:///dev/null", NULL,
14 { "file", NULL, NULL, "", 0, "/dev/null", NULL, NULL } },
15 { "ftp://user@host/path", "ftp://user@host/path", NULL,
16 { "ftp", "user", NULL, "host", 21, "/path", NULL, NULL } },
17 { "ftp://user@host:9999/path", "ftp://user@host:9999/path", NULL,
18 { "ftp", "user", NULL, "host", 9999, "/path", NULL, NULL } },
19 { "ftp://user:password@host/path", "ftp://user@host/path", NULL,
20 { "ftp", "user", "password", "host", 21, "/path", NULL, NULL } },
21 { "ftp://user:password@host:9999/path", "ftp://user@host:9999/path", NULL,
22 { "ftp", "user", "password", "host", 9999, "/path", NULL, NULL } },
23 { "ftp://user:password@host", "ftp://user@host", NULL,
24 { "ftp", "user", "password", "host", 21, "", NULL, NULL } },
25 { "http://us%65r@host", "http://user@host/", NULL,
26 { "http", "user", NULL, "host", 80, "/", NULL, NULL } },
27 { "http://us%40r@host", "http://us%40r@host/", NULL,
28 { "http", "us\x40r", NULL, "host", 80, "/", NULL, NULL } },
29 { "http://us%3ar@host", "http://us%3Ar@host/", NULL,
30 { "http", "us\x3ar", NULL, "host", 80, "/", NULL, NULL } },
31 { "http://us%2fr@host", "http://us%2Fr@host/", NULL,
32 { "http", "us\x2fr", NULL, "host", 80, "/", NULL, NULL } },
33 { "http://us%3fr@host", "http://us%3Fr@host/", NULL,
34 { "http", "us\x3fr", NULL, "host", 80, "/", NULL, NULL } },
35 { "http://host?query", "http://host/?query", NULL,
36 { "http", NULL, NULL, "host", 80, "/", "query", NULL } },
38 "http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue&param=value", NULL,
39 …{ "http", NULL, NULL, "host", 80, "/path", "query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildval…
41 …2%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F%10%11%12%13%14%15%16%17%18%19%1A%1B%1C%1D%1E%1F%7F", NULL,
42 …p", NULL, NULL, "control-chars", 80, "/%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F%10%11%12%13%1…
44 "http://space/%20", NULL,
45 { "http", NULL, NULL, "space", 80, "/%20", NULL, NULL } },
47 "http://delims/%3C%3E%23%25%22", NULL,
48 { "http", NULL, NULL, "delims", 80, "/%3C%3E%23%25%22", NULL, NULL } },
50 "http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60", NULL,
51 { "http", NULL, NULL, "unwise-chars", 80, "/%7B%7D%7C%5C%5E%5B%5D%60", NULL, NULL } },
55 "http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]/index.html", NULL,
56 …{ "http", NULL, NULL, "FEDC:BA98:7654:3210:FEDC:BA98:7654:3210", 80, "/index.html", NULL, NULL } },
58 "http://[1080:0:0:0:8:800:200C:417A]/index.html", NULL,
59 { "http", NULL, NULL, "1080:0:0:0:8:800:200C:417A", 80, "/index.html", NULL, NULL } },
61 "http://[3ffe:2a00:100:7031::1]/", NULL,
62 { "http", NULL, NULL, "3ffe:2a00:100:7031::1", 80, "/", NULL, NULL } },
64 "http://[1080::8:800:200C:417A]/foo", NULL,
65 { "http", NULL, NULL, "1080::8:800:200C:417A", 80, "/foo", NULL, NULL } },
67 "http://[::192.9.5.5]/ipng", NULL,
68 { "http", NULL, NULL, "::192.9.5.5", 80, "/ipng", NULL, NULL } },
70 "http://[::FFFF:129.144.52.38]/index.html", NULL,
71 { "http", NULL, NULL, "::FFFF:129.144.52.38", 80, "/index.html", NULL, NULL } },
73 "http://[2010:836B:4179::836B:4179]/", NULL,
74 { "http", NULL, NULL, "2010:836B:4179::836B:4179", 80, "/", NULL, NULL } },
79 { "http", NULL, NULL, "host", 80, "/path%20with%20spaces", NULL, NULL } },
81 { "http", NULL, NULL, "host", 80, "/path", NULL, NULL } },
83 { "http", NULL, NULL, "host", 80, "/path", NULL, NULL } },
85 { "http", NULL, NULL, "host", 80, "/", NULL, NULL } },
87 { "http", NULL, NULL, "host", 999, "/", NULL, NULL } },
89 { "http", NULL, NULL, "host", 80, "/path", NULL, NULL } },
91 { "http", NULL, NULL, "host", 80, "/path", NULL, NULL } },
93 { "http", NULL, NULL, "host", 80, "/path", NULL, NULL } },
97 { "http", NULL, NULL, "host", 80, "/path", "", NULL } },
99 { "http", NULL, NULL, "host", 80, "/path", NULL, "" } },
103 { "http", NULL, NULL, "host", 80, "/path%", NULL, NULL } },
105 { "http", NULL, NULL, "h%ost", 80, "/path", NULL, NULL } },
107 { "http", NULL, NULL, "host", 80, "/path%%", NULL, NULL } },
109 { "http", NULL, NULL, "host", 80, "/path%%%", NULL, NULL } },
111 { "http", NULL, NULL, "host", 80, "/path%/x/", NULL, NULL } },
113 { "http", NULL, NULL, "host", 80, "/path%0x/", NULL, NULL } },
115 { "http", NULL, NULL, "host", 80, "/path%ax", NULL, NULL } },
119 { "http", NULL, NULL, "host", 80, "/p%C3%A4th/", NULL, NULL } },
122 { "http", NULL, NULL, "", 80, "//////////////", NULL, NULL } },
124 { "http://@host", "http://@host/", NULL,
125 { "http", "", NULL, "host", 80, "/", NULL, NULL } },
126 { "http://:@host", "http://@host/", NULL,
127 { "http", "", "", "host", 80, "/", NULL, NULL } },
129 { "http://host/keep%00nuls", "http://host/keep%00nuls", NULL,
130 { "http", NULL, NULL, "host", 80, "/keep%00nuls", NULL, NULL } },
134 { "foo0", NULL, NULL, "host", 0, "/path", NULL, NULL } },
136 { "f0.o", NULL, NULL, "host", 0, "/path", NULL, NULL } },
138 { "http++", NULL, NULL, "host", 0, "/path", NULL, NULL } },
140 { "http-ish", NULL, NULL, "host", 0, "/path", NULL, NULL } },
141 { "99http://host/path", NULL, "703776",
142 { NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL } },
143 { ".http://host/path", NULL, "703776",
144 { NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL } },
145 { "+http://host/path", NULL, "703776",
146 { NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL } },
149 { "http://[fe80::dead:beef%em1]/", "http://[fe80::dead:beef%25em1]/", NULL,
150 { "http", NULL, NULL, "fe80::dead:beef%em1", 80, "/", NULL, NULL } },
151 { "http://[fe80::dead:beef%25em1]/", "http://[fe80::dead:beef%25em1]/", NULL,
152 { "http", NULL, NULL, "fe80::dead:beef%em1", 80, "/", NULL, NULL } },
153 { "http://[fe80::dead:beef%10]/", "http://[fe80::dead:beef%2510]/", NULL,
154 { "http", NULL, NULL, "fe80::dead:beef%10", 80, "/", NULL, NULL } },
158 { "http", NULL, NULL, "example.com", 80, "/", NULL, NULL } },
169 { "g", NULL, NULL, NULL, 0, "h", NULL, NULL } },
171 { "http", NULL, NULL, "a", 80, "/b/c/g", NULL, NULL } },
173 { "http", NULL, NULL, "a", 80, "/b/c/g", NULL, NULL } },
175 { "http", NULL, NULL, "a", 80, "/b/c/g/", NULL, NULL } },
177 { "http", NULL, NULL, "a", 80, "/g", NULL, NULL } },
179 { "http", NULL, NULL, "g", 80, "/", NULL, NULL } },
181 { "http", NULL, NULL, "a", 80, "/b/c/d;p", "y", NULL } },
183 { "http", NULL, NULL, "a", 80, "/b/c/g", "y", NULL } },
185 { "http", NULL, NULL, "a", 80, "/b/c/d;p", "q", "s" } },
187 { "http", NULL, NULL, "a", 80, "/b/c/g", NULL, "s" } },
189 { "http", NULL, NULL, "a", 80, "/b/c/g", "y", "s" } },
191 { "http", NULL, NULL, "a", 80, "/b/c/;x", NULL, NULL } },
193 { "http", NULL, NULL, "a", 80, "/b/c/g;x", NULL, NULL } },
195 { "http", NULL, NULL, "a", 80, "/b/c/g;x", "y", "s" } },
197 { "http", NULL, NULL, "a", 80, "/b/c/", NULL, NULL } },
199 { "http", NULL, NULL, "a", 80, "/b/c/", NULL, NULL } },
201 { "http", NULL, NULL, "a", 80, "/b/", NULL, NULL } },
203 { "http", NULL, NULL, "a", 80, "/b/", NULL, NULL } },
205 { "http", NULL, NULL, "a", 80, "/b/g", NULL, NULL } },
207 { "http", NULL, NULL, "a", 80, "/", NULL, NULL } },
209 { "http", NULL, NULL, "a", 80, "/", NULL, NULL } },
211 { "http", NULL, NULL, "a", 80, "/g", NULL, NULL } },
213 { "http", NULL, NULL, "a", 80, "/b/c/d;p", "q", NULL } },
215 { "http", NULL, NULL, "a", 80, "/g", NULL, NULL } },
217 { "http", NULL, NULL, "a", 80, "/g", NULL, NULL } },
219 { "http", NULL, NULL, "a", 80, "/g", NULL, NULL } },
221 { "http", NULL, NULL, "a", 80, "/g", NULL, NULL } },
223 { "http", NULL, NULL, "a", 80, "/b/c/g.", NULL, NULL } },
225 { "http", NULL, NULL, "a", 80, "/b/c/.g", NULL, NULL } },
227 { "http", NULL, NULL, "a", 80, "/b/c/g..", NULL, NULL } },
229 { "http", NULL, NULL, "a", 80, "/b/c/..g", NULL, NULL } },
231 { "http", NULL, NULL, "a", 80, "/b/g", NULL, NULL } },
233 { "http", NULL, NULL, "a", 80, "/b/c/g/", NULL, NULL } },
235 { "http", NULL, NULL, "a", 80, "/b/c/g/h", NULL, NULL } },
237 { "http", NULL, NULL, "a", 80, "/b/c/h", NULL, NULL } },
239 { "http", NULL, NULL, "a", 80, "/b/c/g;x=1/y", NULL, NULL } },
241 { "http", NULL, NULL, "a", 80, "/b/c/y", NULL, NULL } },
243 { "http", NULL, NULL, "a", 80, "/b/c/g", "y/./x", NULL } },
245 { "http", NULL, NULL, "a", 80, "/b/c/g", "y/../x", NULL } },
247 { "http", NULL, NULL, "a", 80, "/b/c/g", NULL, "s/./x" } },
249 { "http", NULL, NULL, "a", 80, "/b/c/g", NULL, "s/../x" } },
257 { "http:g", NULL, { NULL } }
265 { "http://example.com", "http://example.com/", NULL },
267 { "http://abc.com:80/~smith/home.html", "http://abc.com:80/~smith/home.html", NULL },
268 { "http://abc.com:80/~smith/home.html", "http://ABC.com/%7Esmith/home.html", NULL },
269 { "http://abc.com:80/~smith/home.html", "http://ABC.com:/%7esmith/home.html", NULL },
296 if (bits != NULL) { in do_uri()
322 do_uri (NULL, NULL, abs_tests[i].uri_string, in do_absolute_uri_tests()
381 uri = soup_uri_new (NULL); in do_soup_uri_null_tests()
434 g_assert_true (uri2 != NULL); in do_soup_uri_null_tests()
445 soup_uri_set_path (uri, NULL); in do_soup_uri_null_tests()
462 { "fo%6fbar", NULL, "foobar" },
463 { "foo%2fbar", NULL, "foo%2fbar" },
464 { "foo%2Fbar", NULL, "foo%2Fbar" },
466 { "foo bar", NULL, "foo%20bar" },
468 { "fo\xc3\xb6" "bar", NULL, "fo%C3%B6bar" },
470 { "%", NULL, "%" },
540 GError *error = NULL; in do_data_tests()
542 session = soup_test_session_new (SOUP_TYPE_SESSION, NULL); in do_data_tests()
547 stream = soup_request_send (req, NULL, &error); in do_data_tests()
550 g_input_stream_read_all (stream, buf, sizeof (buf), &nread, NULL, &error); in do_data_tests()
559 g_input_stream_close (stream, NULL, &error); in do_data_tests()
580 test_init (argc, argv, NULL); in main()