Lines Matching refs:path

14     buffer_clear(&r->physical.path);  in test_mod_userdir_reset()
20 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("")); in test_mod_userdir_docroot_handler()
24 assert(buffer_is_empty(&r->physical.path)); in test_mod_userdir_docroot_handler()
31 assert(buffer_is_empty(&r->physical.path)); in test_mod_userdir_docroot_handler()
33 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/")); in test_mod_userdir_docroot_handler()
37 assert(buffer_is_empty(&r->physical.path)); in test_mod_userdir_docroot_handler()
39 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/other")); in test_mod_userdir_docroot_handler()
43 assert(buffer_is_empty(&r->physical.path)); in test_mod_userdir_docroot_handler()
45 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~")); in test_mod_userdir_docroot_handler()
49 assert(buffer_is_empty(&r->physical.path)); in test_mod_userdir_docroot_handler()
51 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~no-trailing-slash")); in test_mod_userdir_docroot_handler()
56 assert(buffer_is_empty(&r->physical.path)); in test_mod_userdir_docroot_handler()
58 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~/")); in test_mod_userdir_docroot_handler()
62 assert(buffer_is_empty(&r->physical.path)); in test_mod_userdir_docroot_handler()
64 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~jan/")); in test_mod_userdir_docroot_handler()
70 assert(buffer_eq_slen(&r->physical.path, in test_mod_userdir_docroot_handler()
73 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~jan/more")); in test_mod_userdir_docroot_handler()
79 assert(buffer_eq_slen(&r->physical.path, in test_mod_userdir_docroot_handler()
84 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~.jan/")); in test_mod_userdir_docroot_handler()
88 assert(buffer_is_empty(&r->physical.path)); in test_mod_userdir_docroot_handler()
90 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~jan/")); in test_mod_userdir_docroot_handler()
96 assert(buffer_eq_slen(&r->physical.path, in test_mod_userdir_docroot_handler()
108 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~jan/")); in test_mod_userdir_docroot_handler()
113 assert(buffer_is_empty(&r->physical.path)); in test_mod_userdir_docroot_handler()
117 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~jan/")); in test_mod_userdir_docroot_handler()
123 assert(buffer_eq_slen(&r->physical.path, in test_mod_userdir_docroot_handler()
130 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~jan/")); in test_mod_userdir_docroot_handler()
136 assert(buffer_eq_slen(&r->physical.path, in test_mod_userdir_docroot_handler()
141 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~jan/")); in test_mod_userdir_docroot_handler()
146 assert(buffer_is_empty(&r->physical.path)); in test_mod_userdir_docroot_handler()
163 buffer *path = buffer_init(); in test_mod_userdir() local
165 buffer_copy_string(path, "public_html"); in test_mod_userdir()
167 p->defaults.path = path; in test_mod_userdir()
186 free(r.uri.path.ptr); in test_mod_userdir()
188 free(r.physical.path.ptr); in test_mod_userdir()
196 buffer_free(path); in test_mod_userdir()