/dports/www/py-nevow/Nevow-0.14.0/nevow/test/ |
H A D | test_url.py | 90 urlpath = url.URL.fromString(theurl) 136 urlpath = url.URL.fromString(theurl) 285 urlpath.cloneURL(urlpath.scheme, 290 urlpath) 395 str(urlpath.add("burp"))) 440 str(urlpath.anchor("hiboy"))) 443 str(urlpath.anchor())) 446 str(urlpath.anchor(''))) 452 str(urlpath.clear("zot"))) 455 str(urlpath.clear("zut"))) [all …]
|
/dports/www/lighttpd/lighttpd-1.4.63/src/t/ |
H A D | test_mod_access.c | 13 buffer *urlpath = buffer_init(); in test_mod_access_check() local 17 buffer_copy_string_len(urlpath, CONST_STR_LEN("/")); in test_mod_access_check() 18 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check() 25 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check() 27 buffer_copy_string_len(urlpath, CONST_STR_LEN("/index.INC")); in test_mod_access_check() 28 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check() 36 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check() 39 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check() 43 buffer_copy_string_len(urlpath, CONST_STR_LEN("/cgi.pl")); in test_mod_access_check() 44 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check() [all …]
|
/dports/devel/py-twisted/Twisted-22.1.0/src/twisted/python/test/ |
H A D | test_url.py | 183 urlpath = URL.fromText(theurl) 219 urlpath, 358 urlpath.replace( 359 urlpath.scheme, 360 urlpath.host, 361 urlpath.path, 362 urlpath.query, 363 urlpath.fragment, 364 urlpath.port, 366 urlpath, [all …]
|
H A D | test_urlpath.py | 9 from twisted.python import urlpath 206 self.path = urlpath.URLPath.fromBytes( 215 urlpath.URLPath.fromBytes(None) 218 urlpath.URLPath.fromBytes("someurl") 225 url = urlpath.URLPath() 235 url = urlpath.URLPath.fromBytes(b"http://google.com") 247 url = urlpath.URLPath.fromBytes(b"http://example.com/\xff\x00") 258 self.path = urlpath.URLPath.fromString( 267 urlpath.URLPath.fromString(None) 270 urlpath.URLPath.fromString(b"someurl") [all …]
|
/dports/devel/py-fsspec/fsspec-2021.11.1/fsspec/ |
H A D | core.py | 220 urlpath, argument 289 urlpath, 403 return fs, urlpath 407 urlpath, argument 457 urlpath=[urlpath], 508 urlpath = stringify_path(urlpath) 509 if "://" in urlpath: 562 urlpath, argument 593 if not urlpath: 595 urlpath = [stringify_path(u) for u in urlpath] [all …]
|
/dports/archivers/c-blosc2/c-blosc2-2.0.4/tests/ |
H A D | test_copy.c | 35 char *urlpath; member 97 blosc2_remove_dir(backend.urlpath); in CUTEST_TEST_TEST() 100 blosc2_remove_dir(backend2.urlpath); in CUTEST_TEST_TEST() 115 …ge storage = {.cparams=&data->cparams, .contiguous=backend.contiguous, .urlpath = backend.urlpath}; in CUTEST_TEST_TEST() 116 if (backend.urlpath != NULL) { in CUTEST_TEST_TEST() 117 remove(backend.urlpath); in CUTEST_TEST_TEST() 140 blosc2_storage storage2 = {.contiguous=backend2.contiguous, .urlpath = backend2.urlpath}; in CUTEST_TEST_TEST() 141 if (backend2.urlpath != NULL) { in CUTEST_TEST_TEST() 142 remove(backend2.urlpath); in CUTEST_TEST_TEST() 182 blosc2_remove_urlpath(backend.urlpath); in CUTEST_TEST_TEST() [all …]
|
H A D | test_reorder_offsets.c | 22 char* urlpath; member 30 char *urlpath; member 47 blosc2_remove_urlpath(tdata.urlpath); in test_reorder_offsets() 62 …blosc2_storage storage = {.contiguous=tdata.contiguous, .urlpath=tdata.urlpath, .cparams=&cparams,… in test_reorder_offsets() 91 if (!storage.contiguous && storage.urlpath != NULL) { in test_reorder_offsets() 92 blosc2_remove_dir(storage.urlpath); in test_reorder_offsets() 109 tdata.urlpath = tstorage[i].urlpath; in all_tests()
|
H A D | test_insert_chunk.c | 22 char* urlpath; member 45 char *urlpath; member 62 blosc2_remove_urlpath(tdata.urlpath); in test_insert_chunk() 80 .urlpath=tdata.urlpath, .contiguous=tdata.contiguous}; in test_insert_chunk() 130 if (!storage.contiguous && storage.urlpath != NULL) { in test_insert_chunk() 131 blosc2_remove_dir(storage.urlpath); in test_insert_chunk() 150 tdata.urlpath = tstorage[i].urlpath; in all_tests()
|
H A D | test_update_chunk.c | 21 char* urlpath; member 42 char *urlpath; member 57 blosc2_remove_urlpath(tdata.urlpath); in test_update_chunk() 72 .urlpath = tdata.urlpath, in test_update_chunk() 128 if (!storage.contiguous && storage.urlpath != NULL) { in test_update_chunk() 129 blosc2_remove_dir(storage.urlpath); in test_update_chunk() 141 tdata.urlpath = tstorage[i].urlpath; in all_tests()
|
H A D | test_delete_chunk.c | 20 char* urlpath; member 43 char *urlpath; member 60 blosc2_remove_urlpath(tdata.urlpath); in test_delete_chunk() 78 .urlpath=tdata.urlpath, .contiguous=tdata.contiguous}; in test_delete_chunk() 133 blosc2_remove_urlpath(storage.urlpath); in test_delete_chunk() 151 tdata.urlpath = tstorage[i].urlpath; in all_tests()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/tools/oopif/ |
H A D | iframe_server.py | 93 def get_site(urlpath): argument 100 no_port = urlpath.netloc.split(':')[0] 103 return '%s://%s' % (urlpath.scheme, site_host) 157 def make_iframe_html(urlpath, params): argument 165 netloc_paths = urlpath.netloc.split(':') 171 'src': make_src(urlpath.scheme, ':'.join(netloc_paths), 172 urlpath.path, params), 181 urlpath = urlparse.urlparse('%s://%s%s?%s' % ( 186 site = get_site(urlpath) 187 params = Params(urlparse.parse_qs(urlpath.query)) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/oopif/ |
H A D | iframe_server.py | 93 def get_site(urlpath): argument 100 no_port = urlpath.netloc.split(':')[0] 103 return '%s://%s' % (urlpath.scheme, site_host) 157 def make_iframe_html(urlpath, params): argument 165 netloc_paths = urlpath.netloc.split(':') 171 'src': make_src(urlpath.scheme, ':'.join(netloc_paths), 172 urlpath.path, params), 181 urlpath = urlparse.urlparse('%s://%s%s?%s' % ( 186 site = get_site(urlpath) 187 params = Params(urlparse.parse_qs(urlpath.query)) [all …]
|
/dports/archivers/c-blosc2/c-blosc2-2.0.4/blosc/ |
H A D | sframe.c | 25 void* sframe_open_index(const char* urlpath, const char* mode, const blosc2_io *io) { in sframe_open_index() argument 27 char* index_path = malloc(strlen(urlpath) + strlen("/chunks.b2frame") + 1); in sframe_open_index() 29 sprintf(index_path, "%s/chunks.b2frame", urlpath); in sframe_open_index() 42 void* sframe_open_chunk(const char* urlpath, int64_t nchunk, const char* mode, const blosc2_io *io)… in sframe_open_chunk() argument 44 char* chunk_path = malloc(strlen(urlpath) + 1 + 8 + strlen(".chunk") + 1); in sframe_open_chunk() 46 sprintf(chunk_path, "%s/%08X.chunk", urlpath, (unsigned int)nchunk); in sframe_open_chunk() 60 void* fpc = sframe_open_chunk(frame->urlpath, nchunk, "wb", frame->schunk->storage->io); in sframe_create_chunk() 81 int sframe_delete_chunk(const char *urlpath, int32_t nchunk) { in sframe_delete_chunk() argument 82 char* chunk_path = malloc(strlen(urlpath) + 1 + 8 + strlen(".chunk") + 1); in sframe_delete_chunk() 84 sprintf(chunk_path, "%s/%08X.chunk", urlpath, (unsigned int)nchunk); in sframe_delete_chunk() [all …]
|
H A D | directories.c | 125 int blosc2_remove_urlpath(const char* urlpath){ in blosc2_remove_urlpath() argument 126 if (urlpath != NULL) { in blosc2_remove_urlpath() 128 if (stat(urlpath, &statbuf) != 0){ in blosc2_remove_urlpath() 129 BLOSC_TRACE_ERROR("Could not access %s", urlpath); in blosc2_remove_urlpath() 133 return blosc2_remove_dir(urlpath); in blosc2_remove_urlpath() 135 if (remove(urlpath) < 0) { in blosc2_remove_urlpath() 136 BLOSC_TRACE_ERROR("Could not remove %s", urlpath); in blosc2_remove_urlpath()
|
/dports/databases/caterva/caterva-9414145/tests/ |
H A D | test_save.c | 15 #define FILE_EXISTS(urlpath) access(urlpath, F_OK) argument 18 #define FILE_EXISTS(urlpath) _access(urlpath, 0) argument 61 char* urlpath = "test_save.b2frame"; in CUTEST_TEST_TEST() local 63 caterva_remove(data->ctx, urlpath); in CUTEST_TEST_TEST() 73 storage.urlpath = NULL; in CUTEST_TEST_TEST() 93 CATERVA_TEST_ASSERT(caterva_save(data->ctx, src, urlpath)); in CUTEST_TEST_TEST() 95 CATERVA_TEST_ASSERT(caterva_open(data->ctx, urlpath, &dest)); in CUTEST_TEST_TEST() 115 caterva_remove(data->ctx, urlpath); in CUTEST_TEST_TEST()
|
H A D | test_persistency.c | 15 #define FILE_EXISTS(urlpath) access(urlpath, F_OK) argument 18 #define FILE_EXISTS(urlpath) _access(urlpath, 0) argument 64 char* urlpath = "test_persistency.b2frame"; in CUTEST_TEST_TEST() local 66 caterva_remove(data->ctx, urlpath); in CUTEST_TEST_TEST() 77 storage.urlpath = urlpath; in CUTEST_TEST_TEST() 100 CATERVA_TEST_ASSERT(caterva_open(data->ctx, urlpath, &dest)); in CUTEST_TEST_TEST() 120 caterva_remove(data->ctx, urlpath); in CUTEST_TEST_TEST()
|
H A D | test_copy.c | 77 char *urlpath = "test_copy.b2frame"; in CUTEST_TEST_TEST() local 80 caterva_remove(data->ctx, urlpath); in CUTEST_TEST_TEST() 94 storage.urlpath = urlpath; in CUTEST_TEST_TEST() 96 storage.urlpath = NULL; in CUTEST_TEST_TEST() 144 storage2.urlpath = urlpath2; in CUTEST_TEST_TEST() 146 storage2.urlpath = NULL; in CUTEST_TEST_TEST() 189 caterva_remove(data->ctx, urlpath); in CUTEST_TEST_TEST()
|
/dports/databases/py-caterva/caterva-0.7.0/tests/ |
H A D | test_persistency.py | 26 def test_persistency(shape, chunks, blocks, urlpath, sequencial, dtype): argument 27 if os.path.exists(urlpath): 28 cat.remove(urlpath) 33 urlpath=urlpath, sequencial=sequencial) 34 b = cat.open(urlpath) 41 cat.remove(urlpath)
|
H A D | test_metalayers.py | 27 def test_metalayers(shape, chunks, blocks, urlpath, sequencial, dtype): argument 28 if os.path.exists(urlpath): 29 cat.remove(urlpath) 37 urlpath=urlpath, sequencial=sequencial, 52 cat.remove(urlpath)
|
/dports/devel/py-swagger-spec-validator/swagger_spec_validator-2.7.4/tests/validator20/ |
H A D | validate_spec_url_test.py | 30 urlpath = get_uri_from_file_path(os.path.abspath("./tests/data/v2.0/minimal.yaml")) 31 validate_spec_url(urlpath) 35 urlpath = get_uri_from_file_path(os.path.abspath('./tests/data/v2.0/relative_ref.json')) 36 validate_spec_url(urlpath) 40 …urlpath = get_uri_from_file_path(os.path.abspath('./tests/data/v2.0/test_complicated_refs/swagger.… 41 validate_spec_url(urlpath)
|
/dports/databases/py-caterva/caterva-0.7.0/caterva/ |
H A D | utils.py | 36 def remove(urlpath): argument 45 if os.path.exists(urlpath): 46 if os.path.isdir(urlpath): 47 shutil.rmtree(urlpath) 49 os.remove(urlpath)
|
/dports/www/py-hyperlink/hyperlink-21.0.0/src/hyperlink/test/ |
H A D | test_url.py | 325 urlpath, 425 urlpath.click("").to_text(), 503 urlpath.replace( 504 urlpath.scheme, 505 urlpath.host, 506 urlpath.path, 507 urlpath.query, 508 urlpath.fragment, 509 urlpath.port, 511 urlpath, [all …]
|
/dports/www/tclhttpd/tclhttpd3.5.1/lib/ |
H A D | dirlist.tcl | 141 proc DirListForm {dir urlpath {sort name} {pattern *}} { 158 <H1>Listing of $what $urlpath</H1> 160 <form action=$urlpath> 167 append listing [DirListInner $dir $urlpath $sort $pattern] 172 proc DirListInner {dir urlpath sort pattern} { 247 …append listing "<A HREF=\"${urlpath}[file tail $entry]\">[format %-20s [file tail $entry]</a>] $ls… 269 proc DirList {sock dir urlpath} { argument 286 <TITLE>Listing of [DirListTerm] $urlpath</TITLE> 289 [DirListForm $dir $urlpath $sort $pattern]
|
/dports/databases/libcouchbase/libcouchbase-2.10.7/src/operations/ |
H A D | cbflush.cc | 47 std::string urlpath("/pools/default/buckets/"); in lcb_cbflush3() local 48 urlpath.append(LCBT_SETTING(instance, bucket)); in lcb_cbflush3() 49 urlpath.append("/controller/doFlush"); in lcb_cbflush3() 54 LCB_CMD_SET_KEY(&htcmd, urlpath.c_str(), urlpath.size()); in lcb_cbflush3()
|
/dports/archivers/c-blosc2/c-blosc2-2.0.4/examples/ |
H A D | frame_vlmetalayers.c | 47 char* urlpath = "vlmetalayers.b2frame"; in main() local 48 remove(urlpath); in main() 49 …blosc2_storage storage = {.contiguous=true, .urlpath=urlpath, .cparams=&cparams, .dparams=&dparams… in main() 99 blosc2_schunk *sc = blosc2_schunk_open(urlpath); in main()
|