/dports/devel/z88dk/z88dk/ext/UNIXem/test/unit/test.unit.unistd.pathconf/ |
H A D | test.unit.unistd.pathconf.c | 23 XTESTS_TEST_INTEGER_EQUAL(LONG_MAX, pathconf("", _PC_LINK_MAX)); in main() 24 XTESTS_TEST_INTEGER_EQUAL(LONG_MAX, pathconf("", _PC_MAX_CANON)); in main() 25 XTESTS_TEST_INTEGER_EQUAL(LONG_MAX, pathconf("", _PC_MAX_INPUT)); in main() 26 XTESTS_TEST_INTEGER_EQUAL(_MAX_FNAME - 1, pathconf("/", _PC_NAME_MAX)); in main() 27 XTESTS_TEST_INTEGER_EQUAL(_MAX_FNAME - 9, pathconf("/01234567", _PC_NAME_MAX)); in main() 28 XTESTS_TEST_INTEGER_EQUAL(_MAX_PATH - 1, pathconf("/", _PC_PATH_MAX)); in main() 29 XTESTS_TEST_INTEGER_EQUAL(_MAX_PATH - 9, pathconf("/01234567", _PC_PATH_MAX)); in main() 30 XTESTS_TEST_INTEGER_EQUAL(-1, pathconf("", _PC_PIPE_BUF)); in main() 32 XTESTS_TEST_INTEGER_EQUAL(-1, pathconf("", _PC_NO_TRUNC)); in main() 33 XTESTS_TEST_INTEGER_EQUAL(-1, pathconf("", _PC_VDISABLE)); in main() [all …]
|
/dports/www/h2o-devel/h2o-dcc7134/lib/core/ |
H A D | config.c | 56 h2o_config_dispose_pathconf(pathconf); in destroy_hostconf() 57 free(pathconf); in destroy_hostconf() 138 memset(pathconf, 0, sizeof(*pathconf)); in h2o_config_init_pathconf() 139 pathconf->global = globalconf; in h2o_config_init_pathconf() 143 pathconf->mimemap = mimemap; in h2o_config_init_pathconf() 165 free(pathconf->path.base); in h2o_config_dispose_pathconf() 166 if (pathconf->mimemap != NULL) in h2o_config_dispose_pathconf() 168 if (pathconf->env != NULL) in h2o_config_dispose_pathconf() 169 h2o_mem_release_shared(pathconf->env); in h2o_config_dispose_pathconf() 221 h2o_pathconf_t *pathconf = h2o_mem_alloc(sizeof(*pathconf)); in h2o_config_register_path() local [all …]
|
H A D | context.c | 28 void h2o_context_init_pathconf_context(h2o_context_t *ctx, h2o_pathconf_t *pathconf) in h2o_context_init_pathconf_context() argument 33 if (ctx->_pathconfs_inited.entries[i] == pathconf) in h2o_context_init_pathconf_context() 36 ctx->_pathconfs_inited.entries[ctx->_pathconfs_inited.size++] = pathconf; in h2o_context_init_pathconf_context() 41 …for (i = 0; i != pathconf->list.size; ++i) { … in h2o_context_init_pathconf_context() 42 …type *o = pathconf->list.entries[i]; … in h2o_context_init_pathconf_context() 55 void h2o_context_dispose_pathconf_context(h2o_context_t *ctx, h2o_pathconf_t *pathconf) in h2o_context_dispose_pathconf_context() argument 60 if (ctx->_pathconfs_inited.entries[i] == pathconf) in h2o_context_dispose_pathconf_context() 124 h2o_pathconf_t *pathconf = hostconf->paths.entries[j]; in h2o_context_init() local 125 h2o_context_init_pathconf_context(ctx, pathconf); in h2o_context_init() 143 h2o_pathconf_t *pathconf = hostconf->paths.entries[j]; in h2o_context_dispose() local [all …]
|
H A D | request.c | 162 h2o_handler_t **end = req->pathconf->handlers.entries + req->pathconf->handlers.size; in call_handlers() 331 if (req->pathconf != NULL) { in h2o_dispose_request() 363 return req->pathconf->handlers.size != 0 ? req->pathconf->handlers.entries[0] : NULL; in h2o_get_first_handler() 371 if (req->pathconf == NULL) { in h2o_process_request() 380 …h2o_handler_t **handler = req->pathconf->handlers.entries, **end = handler + req->pathconf->handle… in h2o_delegate_request() 483 …h2o_handler_t **handler = req->pathconf->handlers.entries, **end = handler + req->pathconf->handle… in h2o_replay_request() 617 req->pathconf = pathconf; in h2o_req_bind_conf() 620 req->filters = pathconf->_filters.entries; in h2o_req_bind_conf() 625 if (pathconf->env != NULL) in h2o_req_bind_conf() 626 apply_env(req, pathconf->env); in h2o_req_bind_conf() [all …]
|
/dports/www/h2o-devel/h2o-dcc7134/examples/libh2o/ |
H A D | simple.c | 40 h2o_pathconf_t *pathconf = h2o_config_register_path(hostconf, path, 0); in register_handler() local 43 return pathconf; in register_handler() 232 h2o_pathconf_t *pathconf; in main() local 239 pathconf = register_handler(hostconf, "/post-test", post_test); in main() 241 h2o_access_log_register(pathconf, logfh); in main() 245 h2o_access_log_register(pathconf, logfh); in main() 248 h2o_reproxy_register(pathconf); in main() 250 h2o_access_log_register(pathconf, logfh); in main() 252 pathconf = h2o_config_register_path(hostconf, "/", 0); in main() 253 h2o_file_register(pathconf, "examples/doc_root", NULL, NULL, 0); in main() [all …]
|
/dports/www/h2o-devel/h2o-dcc7134/fuzz/ |
H A D | driver_common.cc | 35 h2o_pathconf_t *pathconf = h2o_config_register_path(hostconf, path, 0); in register_handler() local 36 h2o_handler_t *handler = h2o_create_handler(pathconf, sizeof(*handler)); in register_handler() 38 return pathconf; in register_handler() 107 h2o_pathconf_t *pathconf; in register_proxy() local 120 pathconf = h2o_config_register_path(hostconf, "/reproxy-test", 0); in register_proxy() 121 h2o_proxy_register_reverse_proxy(pathconf, &proxy_config, sockpool); in register_proxy() 123 h2o_access_log_register(pathconf, logfh); in register_proxy()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/handler/ |
H A D | headers.c | 111 void h2o_headers_register(h2o_pathconf_t *pathconf, h2o_headers_command_t *cmds) in h2o_headers_register() argument 113 struct st_headers_filter_t *self = (void *)h2o_create_filter(pathconf, sizeof(*self)); in h2o_headers_register() 120 …struct st_headers_early_hints_handler_t *handler = (void *)h2o_create_handler(pathconf, sizeof(*ha… in h2o_headers_register() 125 memmove(pathconf->handlers.entries + 1, pathconf->handlers.entries, in h2o_headers_register() 126 sizeof(h2o_handler_t *) * (pathconf->handlers.size - 1)); in h2o_headers_register() 127 pathconf->handlers.entries[0] = &handler->super; in h2o_headers_register()
|
/dports/devel/gnulib/gnulib-20140202-stable/doc/posix-functions/ |
H A D | pathconf.texi | 1 @node pathconf 2 @section @code{pathconf} 3 @findex pathconf 5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/pathconf.html}
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/doc/posix-functions/ |
H A D | pathconf.texi | 1 @node pathconf 2 @section @code{pathconf} 3 @findex pathconf 5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/pathconf.htm…
|
/dports/www/h2o-devel/h2o-dcc7134/t/00unit/issues/ |
H A D | percent-encode-zero-byte.c | 29 h2o_pathconf_t pathconf = {NULL, {H2O_STRLIT("/abc")}}; in test_percent_encode_zero_byte() local 39 req.pathconf = &pathconf; in test_percent_encode_zero_byte()
|
/dports/devel/libslang2/slang-2.3.2/modules/test/ |
H A D | test_sysconf.sl | 20 val = pathconf (stdin, name); 21 val = pathconf (fd, name); 22 val = pathconf ("/", name);
|
/dports/www/h2o-devel/h2o-dcc7134/t/00unit/lib/core/ |
H A D | util.c | 166 req.pathconf = &conf_not_slashed; in test_build_destination() 171 req.pathconf = &conf_slashed; in test_build_destination() 179 req.pathconf = &conf_not_slashed; in test_build_destination() 190 req.pathconf = &conf_not_slashed; in test_build_destination() 207 char *pathconf; in test_build_destination_escaping() member 243 h2o_pathconf_t conf = {NULL, {tests[i].pathconf, strlen(tests[i].pathconf)}}; in test_build_destination_escaping() 244 req.pathconf = &conf; in test_build_destination_escaping()
|
/dports/www/h2o-devel/h2o-dcc7134/include/ |
H A D | h2o.h | 588 h2o_pathconf_t pathconf; member 1134 h2o_pathconf_t *pathconf; member 1604 void h2o_config_dispose_pathconf(h2o_pathconf_t *pathconf); 1670 void h2o_context_init_pathconf_context(h2o_context_t *ctx, h2o_pathconf_t *pathconf); 1903 void h2o_server_timing_register(h2o_pathconf_t *pathconf, int enforce); 1942 void h2o_compress_register(h2o_pathconf_t *pathconf, h2o_compress_args_t *args); 1970 void h2o_throttle_resp_register(h2o_pathconf_t *pathconf); 2007 void h2o_expires_register(h2o_pathconf_t *pathconf, h2o_expires_args_t *args); 2124 void h2o_headers_register(h2o_pathconf_t *pathconf, h2o_headers_command_t *cmds); 2190 void h2o_reproxy_register(h2o_pathconf_t *pathconf); [all …]
|
/dports/devel/lua-posix/luaposix-35.1/spec/ |
H A D | posix_unistd_spec.yaml | 309 - describe pathconf: 311 pathconf = M.pathconf 314 badargs.diagnose(pathconf, "(string, int)") 319 expect(type(pathconf(".", M._PC_LINK_MAX))).to_be "number" 321 expect(type(pathconf(".", M._PC_MAX_CANON))).to_be "number" 323 expect(type(pathconf(".", M._PC_MAX_INPUT))).to_be "number" 325 expect(type(pathconf(".", M._PC_NAME_MAX))).to_be "number" 327 expect(type(pathconf(".", M._PC_NO_TRUNC))).to_be "number" 329 expect(type(pathconf(".", M._PC_PATH_MAX))).to_be "number" 331 expect(type(pathconf(".", M._PC_PIPE_BUF))).to_be "number" [all …]
|
H A D | posix_deprecated_spec.yaml | 641 - describe pathconf: 643 pathconf, typeerrors = init(posix, "pathconf") 651 expect(pathconf(false)). 654 expect(pathconf(".", false)). 662 expect(pathconf(".", "NAME_MAX", false)). 677 expect(pathconf(".", "MAX_CANON")).to_be(-1) 682 expect(pathconf(".", "MAX_INPUT")).to_be(-1) 699 expect(pathconf(".", "VDISABLE")).to_be(-1) 702 to_equal {pathconf(".", "VDISABLE"), pathconf(".", "NAME_MAX")} 704 t = pathconf() [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/sysvi386/ |
H A D | pathconf.s | 1 .globl pathconf 2 pathconf: label
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/sysvi386/ |
H A D | pathconf.s | 1 .globl pathconf 2 pathconf: label
|
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/sys/sysvi386/ |
H A D | pathconf.S | 1 .globl pathconf 2 pathconf: label
|
/dports/sysutils/heirloom/heirloom-070715/libcommon/ |
H A D | Makefile.mk | 5 getdir.o regexpr.o gmatch.o utmpx.o memalign.o pathconf.o \ 98 pathconf.o: pathconf.c 99 $(CC) $(CFLAGSS) $(CPPFLAGS) $(LARGEF) $(IWCHAR) -I. -c pathconf.c 153 pathconf.o: pathconf.h
|
/dports/multimedia/vlc/vlc-3.0.16/compat/ |
H A D | pathconf.c | 30 long pathconf (const char *path, int name) in pathconf() function 39 # error pathconf not implemented on your platform!
|
/dports/devel/blame/blame-1.3.1/lib/ |
H A D | pathmax.h | 30 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ 31 : pathconf ("/", _PC_PATH_MAX))
|
/dports/biology/py-python-libsbml/python-libsbml-5.19.0/libsbml_dependencies/libiconv/source/srclib/ |
H A D | pathmax.h | 30 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ 31 : pathconf ("/", _PC_PATH_MAX))
|
/dports/devel/cvs-devel/cvs-1.12.13/lib/ |
H A D | pathmax.h | 32 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ 33 : pathconf ("/", _PC_PATH_MAX))
|
/dports/print/gv/gv-3.7.4/lib/ |
H A D | pathmax.h | 31 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ 32 : pathconf ("/", _PC_PATH_MAX))
|
/dports/textproc/groff/groff-1.22.4/src/libs/libgroff/ |
H A D | maxpathname.cpp | 34 return pathconf("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf("/",_PC_PATH_MAX); in path_name_max()
|