/dports/www/uwsgi/uwsgi-2.0.20/core/ |
H A D | protocol.c | 768 int mountpoint_len = uwsgi_apps[i].mountpoint_len; in uwsgi_parse_vars() local 771 if (mountpoint_len > 0 && mountpoint[mountpoint_len - 1] == '/') { in uwsgi_parse_vars() 772 mountpoint_len -= 1; in uwsgi_parse_vars() 778 if (orig_path_info_len < mountpoint_len || // it should be shorter than or equal to path_info in uwsgi_parse_vars() 779 mountpoint_len <= best_found || // it should be better than the previous found in uwsgi_parse_vars() 781 uwsgi_startswith(orig_path_info, mountpoint, mountpoint_len) || in uwsgi_parse_vars() 783 (orig_path_info_len > mountpoint_len && orig_path_info[mountpoint_len] != '/' )) { in uwsgi_parse_vars() 787 best_found = mountpoint_len; in uwsgi_parse_vars() 789 wsgi_req->script_name_len = uwsgi_apps[i].mountpoint_len; in uwsgi_parse_vars()
|
H A D | utils.c | 1680 …uwsgi_log("searching for %.*s in %.*s %p\n", app_name_len, app_name, uwsgi_apps[i].mountpoint_len,… in uwsgi_get_app_id() 1686 …if (!uwsgi_strncmp(uwsgi_apps[i].mountpoint, uwsgi_apps[i].mountpoint_len, app_name, app_name_len)… in uwsgi_get_app_id() 3436 struct uwsgi_app *uwsgi_add_app(int id, uint8_t modifier1, char *mountpoint, int mountpoint_len, vo… in uwsgi_add_app() argument 3447 wi->mountpoint_len = mountpoint_len < 0xff ? mountpoint_len : (0xff - 1); in uwsgi_add_app() 3448 strncpy(wi->mountpoint, mountpoint, wi->mountpoint_len); in uwsgi_add_app() 3463 …if ((mountpoint_len == 0 || (mountpoint_len == 1 && mountpoint[0] == '/')) && uwsgi.default_app ==… in uwsgi_add_app()
|
H A D | master_utils.c | 1145 if (uwsgi_stats_keyvaln_comma(us, "mountpoint", ua->mountpoint, ua->mountpoint_len)) in uwsgi_master_generate_stats()
|
H A D | uwsgi.c | 1482 …tworker %d app %d [%.*s] requests: %lu exceptions: %lu\n", j, i, ua->mountpoint_len, ua->mountpoin… in stats() 1493 …uwsgi_log("\tapp %d [%.*s] requests: %lu exceptions: %lu\n", i, ua->mountpoint_len, ua->mountpoint… in stats()
|
/dports/www/uwsgi/uwsgi-2.0.20/plugins/python/ |
H A D | pyloader.c | 99 wi->mountpoint_len = wsgi_req->appid_len < 0xff ? wsgi_req->appid_len : (0xff-1); in init_uwsgi_app() 100 strncpy(wi->mountpoint, wsgi_req->appid, wi->mountpoint_len); in init_uwsgi_app() 218 wi->mountpoint_len = strlen(wi->mountpoint) < 0xff ? strlen(wi->mountpoint) : (0xff-1); in init_uwsgi_app() 219 strncpy(wi->mountpoint, tmp_mountpoint, wi->mountpoint_len); in init_uwsgi_app() 221 wsgi_req->appid_len = wi->mountpoint_len; in init_uwsgi_app() 363 …='%.*s') ready in %d seconds on interpreter %p pid: %d%s\n", id, wi->mountpoint_len, wi->mountpoin… in init_uwsgi_app() 366 …='%.*s') ready in %d seconds on interpreter %p pid: %d%s\n", id, wi->mountpoint_len, wi->mountpoin… in init_uwsgi_app() 369 …='%.*s') ready in %d seconds on interpreter %p pid: %d%s\n", id, wi->mountpoint_len, wi->mountpoin… in init_uwsgi_app()
|
H A D | uwsgi_pymodule.c | 2288 zero = PyString_FromStringAndSize(ua->mountpoint, ua->mountpoint_len); in py_uwsgi_workers()
|
/dports/www/uwsgi/uwsgi-2.0.20/plugins/gridfs/ |
H A D | gridfs.cc | 8 uint16_t mountpoint_len; member 167 ugm->mountpoint_len = strlen(ugm->mountpoint); in uwsgi_gridfs_add_mountpoint() 251 … uwsgi_add_app(id, gridfs_plugin.modifier1, ugm->mountpoint, ugm->mountpoint_len, ugm, ugm); in uwsgi_gridfs_mount() 253 …uwsgi_log("GridFS mountpoint \"%.*s\" (%d) added: server=%s db=%s\n", ugm->mountpoint_len, ugm->mo… in uwsgi_gridfs_mount()
|
/dports/www/uwsgi/uwsgi-2.0.20/plugins/rados/ |
H A D | rados.c | 479 if (wsgi_req->path_info_len > ua->mountpoint_len && in uwsgi_rados_request() 480 memcmp(wsgi_req->path_info, ua->mountpoint, ua->mountpoint_len) == 0) { in uwsgi_rados_request() 482 …memcpy(filename, wsgi_req->path_info+ua->mountpoint_len, wsgi_req->path_info_len-ua->mountpoint_le… in uwsgi_rados_request() 483 filename[wsgi_req->path_info_len-ua->mountpoint_len] = 0; in uwsgi_rados_request()
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/lib/roles/http/server/ |
H A D | server.c | 826 if (uri_len >= hm->mountpoint_len && in lws_find_mount() 828 (uri_ptr[hm->mountpoint_len] == '\0' || in lws_find_mount() 829 uri_ptr[hm->mountpoint_len] == '/' || in lws_find_mount() 830 hm->mountpoint_len == 1) in lws_find_mount() 852 hm->mountpoint_len > best)) { in lws_find_mount() 853 best = hm->mountpoint_len; in lws_find_mount() 1354 s = uri_ptr + hit->mountpoint_len; in lws_http_redirect_hit() 1371 if ((hit->mountpoint_len > 1 || in lws_http_redirect_hit() 1640 s = uri_ptr + hit->mountpoint_len; in lws_http_action() 1733 uri_ptr + hit->mountpoint_len, in lws_http_action() [all …]
|
H A D | lejp-conf.c | 661 a->m.mountpoint_len = (unsigned char)strlen(ctx->buf); in lejp_vhosts_cb()
|
/dports/www/uwsgi/uwsgi-2.0.20/plugins/mono/ |
H A D | mono_plugin.c | 493 uint8_t mountpoint_len = usl->len; in uwsgi_mono_init_apps() local 495 uint8_t physicalDir_len = mountpoint_len; in uwsgi_mono_init_apps() 503 mountpoint_len = strlen(mountpoint); in uwsgi_mono_init_apps() 506 int id = uwsgi_mono_create_app(mountpoint, mountpoint_len, physicalDir, physicalDir_len, 0); in uwsgi_mono_init_apps()
|
/dports/misc/rump/buildrump.sh-b914579/src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 744 size_t mountpoint_len; in zfsctl_snapdir_lookup() local 847 mountpoint_len = strlen(refstr_value(dvp->v_vfsp->vfs_mntpt)) + in zfsctl_snapdir_lookup() 849 mountpoint = kmem_alloc(mountpoint_len, KM_SLEEP); in zfsctl_snapdir_lookup() 850 (void) snprintf(mountpoint, mountpoint_len, "%s/.zfs/snapshot/%s", in zfsctl_snapdir_lookup() 863 kmem_free(mountpoint, mountpoint_len); in zfsctl_snapdir_lookup()
|
/dports/audio/ardour6/Ardour-6.8.0/libs/surfaces/websockets/ |
H A D | server.cc | 80 _lws_mnt_root.mountpoint_len = strlen (_lws_mnt_root.mountpoint); in WebsocketsServer() 96 _lws_mnt_user.mountpoint_len = strlen (_lws_mnt_user.mountpoint); in WebsocketsServer()
|
/dports/www/uwsgi/uwsgi-2.0.20/plugins/symcall/ |
H A D | symcall_plugin.c | 50 …app %d (mountpoint: \"%.*s\") mapped to function ptr: %p\n", id, ua->mountpoint_len, ua->mountpoin… in uwsgi_symcall_init()
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/include/libwebsockets/ |
H A D | lws-context-vhost.h | 1264 unsigned char mountpoint_len; /**< length of mountpoint string */ member
|
/dports/www/uwsgi/uwsgi-2.0.20/plugins/glusterfs/ |
H A D | glusterfs.c | 118 …s] try connect to %s for mountpoint %.*s on worker %d ...\n", p, ua->mountpoint_len, ua->mountpoin… in uwsgi_glusterfs_connect_do()
|
/dports/www/uwsgi/uwsgi-2.0.20/plugins/webdav/ |
H A D | webdav.c | 1385 int mountpoint_len = 0; local 1394 mountpoint_len = strlen(mountpoint); 1405 …sgi_app *ua = uwsgi_add_app(id, webdav_plugin.modifier1, mountpoint, mountpoint_len, wd_docroot, w… 1407 …uwsgi_log("WebDAV mountpoint \"%.*s\" (%d) added: docroot=%s\n", ua->mountpoint_len, ua->mountpoin…
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/lib/roles/h2/ |
H A D | ops-h2.c | 833 hit->mountpoint_len : uri_ptr, in lws_h2_bind_for_post_before_action() 835 hit->mountpoint_len : in lws_h2_bind_for_post_before_action()
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/plugins/acme-client/ |
H A D | protocol_lws_acme_client.c | 1375 ac->mount.mountpoint_len = (unsigned char) in callback_acme_client()
|
/dports/www/uwsgi/uwsgi-2.0.20/ |
H A D | uwsgi.h | 1106 uint8_t mountpoint_len; member
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/READMEs/ |
H A D | README.coding.md | 1187 unsigned char mountpoint_len;
|