Home
last modified time | relevance | path

Searched refs:mountpoint_len (Results 1 – 21 of 21) sorted by relevance

/dports/www/uwsgi/uwsgi-2.0.20/core/
H A Dprotocol.c768 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 Dutils.c1680 …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 Dmaster_utils.c1145 if (uwsgi_stats_keyvaln_comma(us, "mountpoint", ua->mountpoint, ua->mountpoint_len)) in uwsgi_master_generate_stats()
H A Duwsgi.c1482 …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 Dpyloader.c99 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 Duwsgi_pymodule.c2288 zero = PyString_FromStringAndSize(ua->mountpoint, ua->mountpoint_len); in py_uwsgi_workers()
/dports/www/uwsgi/uwsgi-2.0.20/plugins/gridfs/
H A Dgridfs.cc8 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 Drados.c479 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 Dserver.c826 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 Dlejp-conf.c661 a->m.mountpoint_len = (unsigned char)strlen(ctx->buf); in lejp_vhosts_cb()
/dports/www/uwsgi/uwsgi-2.0.20/plugins/mono/
H A Dmono_plugin.c493 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 Dzfs_ctldir.c744 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 Dserver.cc80 _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 Dsymcall_plugin.c50 …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 Dlws-context-vhost.h1264 unsigned char mountpoint_len; /**< length of mountpoint string */ member
/dports/www/uwsgi/uwsgi-2.0.20/plugins/glusterfs/
H A Dglusterfs.c118 …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 Dwebdav.c1385 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 Dops-h2.c833 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 Dprotocol_lws_acme_client.c1375 ac->mount.mountpoint_len = (unsigned char) in callback_acme_client()
/dports/www/uwsgi/uwsgi-2.0.20/
H A Duwsgi.h1106 uint8_t mountpoint_len; member
/dports/net/libwebsockets/libwebsockets-v4.2.2/READMEs/
H A DREADME.coding.md1187 unsigned char mountpoint_len;