Home
last modified time | relevance | path

Searched refs:rsplit (Results 1 – 25 of 3125) sorted by relevance

12345678910>>...125

/dports/lang/micropython/micropython-1.17/tests/basics/
H A Dstring_rsplit.py2 print("a b".rsplit())
12 "abc".rsplit('')
18 'a a a a'.rsplit('', 5)
24 'a a a a'.rsplit(1)
29 print("abc".rsplit("a"))
30 print("abc".rsplit("b"))
31 print("abc".rsplit("c"))
32 print("abc".rsplit("z"))
33 print("abc".rsplit("ab"))
34 print("abc".rsplit("bc"))
[all …]
/dports/deskutils/gnome-tweaks/gnome-tweaks-40.0/gtweak/tweaks/
H A Dtweak_group_title_bar.py29 rsplit = right.split(",")
30 rsplit = [x for x in rsplit if x in ['appmenu', 'minimize', 'maximize', 'close']]
33 rsplit.append(self.value)
35 rsplit.remove(self.value)
42 rsplit = left.split(",")
43 rsplit = [x for x in rsplit if x in ['appmenu', 'minimize', 'maximize', 'close']]
46 rsplit.append(self.value)
96 rsplit = left.split(",")
97 rsplit = [x for x in rsplit if x in ['appmenu', 'minimize', 'maximize', 'close']]
101 rsplit = right.split(",")
[all …]
/dports/editors/setzer/Setzer-0.4.1/setzer/document/latex/build_system/latex_log_parser/
H A Dlatex_log_parser.py36 …log_filename = os.path.dirname(tex_filename) + '/' + os.path.basename(tex_filename).rsplit('.tex',…
55 …if item[2].startswith('No file ') and item[2].find(tex_filename.rsplit('.', 1)[0].rsplit('/', 1)[1…
56 if not tex_filename.rsplit('/', 1)[1][:-4] in bibtex_ran_on_files:
59 …if item[2].startswith('No file ') and item[2].find(tex_filename.rsplit('.', 1)[0].rsplit('/', 1)[1…
60 if not tex_filename.rsplit('/', 1)[1][:-4] in makeindex_ran_on_files:
65 if line.find(tex_filename.rsplit('.', 1)[0].rsplit('/', 1)[1]) >= 0:
66 if not tex_filename.rsplit('/', 1)[1][:-4] in biber_ran_on_files:
69 … elif item[2] == 'File `' + tex_filename.rsplit('/', 1)[1][:-4] + '.out\' has changed.':
81 …if item[2].startswith('No file ') and item[2].find(tex_filename.rsplit('.', 1)[0].rsplit('/', 1)[1…
87 …if item[2].startswith('No file ') and item[2].find(tex_filename.rsplit('.', 1)[0].rsplit('/', 1)[1…
[all …]
/dports/deskutils/dosage/dosage-2.17/dosagelib/plugins/
H A Dl.py29 num = pageUrl.rsplit('=', 1)[-1]
30 ext = imageUrl.rsplit('.', 1)[-1]
101 filename = imageUrl.rsplit('/', 1)[-1]
113 page = url.rstrip('/').rsplit('/', 1)[-1]
133 return imageUrl.rsplit('/', 1)[-1].split('-', 1)[1]
160 page = pageUrl.rsplit('=', 1)[-1]
161 ext = imageUrl.rsplit('.', 1)[-1]
166 page = url.rsplit('=', 1)[1]
195 page = pageUrl.rstrip('/').rsplit('/', 1)[-1]
H A Dr.py35 filename = imageUrl.rsplit('/', 1)[-1]
36 if pageUrl.rsplit('=', 1)[-1] == 'may-27-2014':
67 parts = image_url.rsplit('/', 2)
92 name = pageUrl.rstrip('/').rsplit('/', 1)[-1]
93 page = imageUrl.rsplit('/', 1)[-1].rsplit('.', 1)
146 title = pageUrl.rstrip('/').rsplit('/', 1)[-1]
147 ext = imageUrl.rsplit('.', 1)[-1]
H A Dd.py94 return pageUrl.rsplit('/', 1)[-1] + '.' + imageUrl.rsplit('.', 1)[-1]
106 filename = imageUrl.rsplit('/', 1)[-1].rsplit('?', 1)[0]
145 filename = imageUrl.rsplit('/', 1)[-1]
202 name = page_url.rsplit("/", 1)[1]
213 filename = imageUrl.rsplit('/', 1)[-1].rsplit('?', 1)[0]
230 filename = imageUrl.rsplit('/', 1)[-1]
251 return pageUrl.rsplit('/', 1)[-1] + '.' + imageUrl.rsplit('.', 1)[-1]
H A Ds.py195 return pageUrl.rstrip('/').rsplit('/', 1)[-1]
266 return pageUrl.rsplit('/', 1)[-1] + '.' + imageUrl.rsplit('.', 1)[-1]
275 filename = pageurl.rsplit('/', 1)[-1]
277 filename = imageurl.rsplit('-', 1)[-1]
295 fn = imageurl.rsplit('/', 1)[-1]
308 return image_url.rsplit('-', 1)[-1]
324 prefix, filename = image_url.rsplit('/', 1)
516 filename = imageUrl.rsplit('/', 1)[-1]
596 parts, year, month, stripname = page_url.rsplit('/', 3)
597 stripname = stripname.rsplit('.', 1)[0]
[all …]
/dports/lang/nim/nim-1.6.2/tests/errmsgs/
H A Dtunknown_named_parameter.nim5 func rsplit(s: string; sep: char; maxsplit: int = -1): seq[string]
9 func rsplit(s: string; sep: string; maxsplit: int = -1): seq[string]
13 func rsplit(s: string; seps: set[char] = Whitespace; maxsplit: int = -1): seq[
18 expression: rsplit("abc:def", {':'}, maxsplits = 1)
27 "abc:def".rsplit({':'}, maxsplits = 1)
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/net_tools/
H A Dsnmp_facts.py404 ifIndex = int(current_oid.rsplit('.', 1)[-1])
408 ifIndex = int(current_oid.rsplit('.', 1)[-1])
411 ifIndex = int(current_oid.rsplit('.', 1)[-1])
414 ifIndex = int(current_oid.rsplit('.', 1)[-1])
417 ifIndex = int(current_oid.rsplit('.', 1)[-1])
420 ifIndex = int(current_oid.rsplit('.', 1)[-1])
423 ifIndex = int(current_oid.rsplit('.', 1)[-1])
426 curIPList = current_oid.rsplit('.', 4)[-4:]
431 curIPList = current_oid.rsplit('.', 4)[-4:]
435 curIPList = current_oid.rsplit('.', 4)[-4:]
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/python/mxnet/onnx/mx2onnx/
H A D_export_helper.py49 model_name = sym_filepath.rsplit('.', 1)[0].rsplit('-', 1)[0]
50 params_file_list = params_filepath.rsplit('.', 1)[0].rsplit('-', 1)
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/python/mxnet/onnx/mx2onnx/
H A D_export_helper.py49 model_name = sym_filepath.rsplit('.', 1)[0].rsplit('-', 1)[0]
50 params_file_list = params_filepath.rsplit('.', 1)[0].rsplit('-', 1)
/dports/dns/packetq/PacketQ-1.4.1/src/test/
H A Dtest5.gold45rsplit(src_addr,7,':')||':'||rsplit(src_addr,6,':')||':'||rsplit(src_addr,5,':')||':'||rsplit(src_…
59rsplit(qname,1)='de','ok','non-auth-tld') as Class, if(ether_type==34525,rsplit(src_addr,7,':')||'…
150 …"query": "select 'ALL' as All, lower(rsplit(qname,1)) as TLD, count(1) as count from dns where qr=…
222 …"query": "select qtype as Qtype, lower(rsplit(qname,1)) as TLD, count(1) as count from dns where q…
299 …and s < 1 or s <= 1 or s > 1 or s >= 1, 't', 'f'), trim(trim('foofoo' || rsplit(src_addr, 1) || 'f…
306 { "name": "trim(trim(((foofoo||rsplit(src_addr,1))||foofoo),foo),bar)","type": "text" },
/dports/devel/pystring/pystring-1.1.3/
H A Dtest.cpp274 PYSTRING_ADD_TEST(pystring, rsplit) in PYSTRING_ADD_TEST() argument
279 pystring::rsplit("", result, "/", 1); in PYSTRING_ADD_TEST()
290 pystring::rsplit("", result, "", 1); in PYSTRING_ADD_TEST()
297 pystring::rsplit(" ", result, "", 1); in PYSTRING_ADD_TEST()
303 pystring::rsplit(" ", result, "", 1); in PYSTRING_ADD_TEST()
309 pystring::rsplit("/", result, "/", 1); in PYSTRING_ADD_TEST()
321 pystring::rsplit(" /", result, "/", 1); in PYSTRING_ADD_TEST()
332 pystring::rsplit(" //", result, "/", 1); in PYSTRING_ADD_TEST()
343 pystring::rsplit("/root", result, "/", 1); in PYSTRING_ADD_TEST()
400 pystring::rsplit(" root world", result, "", 0); in PYSTRING_ADD_TEST()
[all …]
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/modules/net_tools/
H A Dsnmp_facts.py411 ifIndex = int(current_oid.rsplit('.', 1)[-1])
415 ifIndex = int(current_oid.rsplit('.', 1)[-1])
418 ifIndex = int(current_oid.rsplit('.', 1)[-1])
421 ifIndex = int(current_oid.rsplit('.', 1)[-1])
424 ifIndex = int(current_oid.rsplit('.', 1)[-1])
427 ifIndex = int(current_oid.rsplit('.', 1)[-1])
430 ifIndex = int(current_oid.rsplit('.', 1)[-1])
433 curIPList = current_oid.rsplit('.', 4)[-4:]
438 curIPList = current_oid.rsplit('.', 4)[-4:]
442 curIPList = current_oid.rsplit('.', 4)[-4:]
[all …]
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/modules/
H A Dsnmp_facts.py411 ifIndex = int(current_oid.rsplit('.', 1)[-1])
415 ifIndex = int(current_oid.rsplit('.', 1)[-1])
418 ifIndex = int(current_oid.rsplit('.', 1)[-1])
421 ifIndex = int(current_oid.rsplit('.', 1)[-1])
424 ifIndex = int(current_oid.rsplit('.', 1)[-1])
427 ifIndex = int(current_oid.rsplit('.', 1)[-1])
430 ifIndex = int(current_oid.rsplit('.', 1)[-1])
433 curIPList = current_oid.rsplit('.', 4)[-4:]
438 curIPList = current_oid.rsplit('.', 4)[-4:]
442 curIPList = current_oid.rsplit('.', 4)[-4:]
[all …]
/dports/devel/py-moto/moto-2.2.16/moto/awslambda/
H A Dresponses.py203 function_name = unquote(self.path.rsplit("/", 2)[-2])
226 function_name = unquote(self.path.rsplit("/", 3)[-3])
299 function_name = self.path.rsplit("/", 2)[-2]
310 function_name = unquote(self.path.rsplit("/", 1)[-1])
327 function_name = unquote(self.path.rsplit("/", 1)[-1])
342 function_name = unquote(self.path.rsplit("/", 2)[-2])
363 function_arn = unquote(self.path.rsplit("/", 1)[-1])
372 function_arn = unquote(self.path.rsplit("/", 1)[-1])
380 function_arn = unquote(self.path.rsplit("/", 1)[-1])
452 layer_name = self.path.rsplit("/", 2)[-2]
[all …]
/dports/databases/py-Elixir/Elixir-0.7.1/elixir/
H A Dpy23compat.py40 ''.rsplit
41 def rsplit(s, delim, maxsplit): function
42 return s.rsplit(delim, maxsplit)
45 def rsplit(s, delim, maxsplit): function
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/iterators/
H A Drsplit-clone.rs9 let rsplit = elements.rsplit(|_| false); in main() localVariable
10 rsplit.clone(); in main()
/dports/textproc/py-jc/jc-1.17.5/jc/parsers/
H A Dss.py369 l_field = entry_list[4].rsplit(':', maxsplit=1)
376 p_field = entry_list[6].rsplit(':', maxsplit=1)
387 i_field = output_line['local_address'].rsplit('%', maxsplit=1)
395 pid = channel.rsplit('/', maxsplit=1)[1]
396 channel = channel.rsplit('/', maxsplit=1)[0]
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgxacpath.c446 gx_clip_rect *rsplit = rptr; in accum_fill_rectangle() local
448 while (rsplit->ymax == ymax) { in accum_fill_rectangle()
449 ACCUM_ALLOC("s.top", ar, rsplit->xmin, ye, rsplit->xmax, ymax); in accum_fill_rectangle()
451 rsplit->ymax = ye; in accum_fill_rectangle()
452 rsplit = rsplit->prev; in accum_fill_rectangle()
459 gx_clip_rect *rbot = rptr, *rsplit; in accum_fill_rectangle() local
463 for (rsplit = rbot;;) { in accum_fill_rectangle()
464 ACCUM_ALLOC("s.bot", ar, rsplit->xmin, ymin, rsplit->xmax, y); in accum_fill_rectangle()
466 rsplit->ymin = y; in accum_fill_rectangle()
467 if (rsplit == rptr) in accum_fill_rectangle()
[all …]
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgxacpath.c446 gx_clip_rect *rsplit = rptr; in accum_fill_rectangle() local
448 while (rsplit->ymax == ymax) { in accum_fill_rectangle()
449 ACCUM_ALLOC("s.top", ar, rsplit->xmin, ye, rsplit->xmax, ymax); in accum_fill_rectangle()
451 rsplit->ymax = ye; in accum_fill_rectangle()
452 rsplit = rsplit->prev; in accum_fill_rectangle()
459 gx_clip_rect *rbot = rptr, *rsplit; in accum_fill_rectangle() local
463 for (rsplit = rbot;;) { in accum_fill_rectangle()
464 ACCUM_ALLOC("s.bot", ar, rsplit->xmin, ymin, rsplit->xmax, y); in accum_fill_rectangle()
466 rsplit->ymin = y; in accum_fill_rectangle()
467 if (rsplit == rptr) in accum_fill_rectangle()
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/include/2geom/
H A Dconic_section_clipper_impl.h138 void rsplit (std::list<Point> & points,
143 void rsplit (std::list<Point> & points,
281 void CLIPPER_CLASS::rsplit (std::list<Point> & points, in rsplit() function
294 rsplit (points, sp, ip, k); in rsplit()
295 rsplit (points, ip, fp, k); in rsplit()
310 void CLIPPER_CLASS::rsplit (std::list<Point> & points, in rsplit() function
328 rsplit (points, sp, ip, length); in rsplit()
329 rsplit (points, ip, fp, length); in rsplit()
/dports/math/lib2geom/lib2geom-1.1/include/2geom/
H A Dconic_section_clipper_impl.h138 void rsplit (std::list<Point> & points,
143 void rsplit (std::list<Point> & points,
281 void CLIPPER_CLASS::rsplit (std::list<Point> & points, in rsplit() function
294 rsplit (points, sp, ip, k); in rsplit()
295 rsplit (points, ip, fp, k); in rsplit()
310 void CLIPPER_CLASS::rsplit (std::list<Point> & points, in rsplit() function
328 rsplit (points, sp, ip, length); in rsplit()
329 rsplit (points, ip, fp, length); in rsplit()
/dports/lang/cython/Cython-0.29.24/tests/run/
H A Dtest_unicode_string_tests.pxi440 self.checkequal(['abcd'], 'abcd', 'rsplit', '|')
441 self.checkequal([''], '', 'rsplit', '|')
465 'rsplit', 'test')
471 self.checkequal([''], '', 'rsplit', 'aaa')
472 self.checkequal(['aa'], 'aa', 'rsplit', 'aaa')
479 'rsplit', 'BLAH', 18)
490 'a b c d', 'rsplit', maxsplit=1)
731 'this is the rsplit function', 'rsplit')
745 self.checkequal([], ' ', 'rsplit')
746 self.checkequal(['a'], ' a ', 'rsplit')
[all …]
/dports/lang/cython-devel/cython-2b1e743/tests/run/
H A Dtest_unicode_string_tests.pxi440 self.checkequal(['abcd'], 'abcd', 'rsplit', '|')
441 self.checkequal([''], '', 'rsplit', '|')
465 'rsplit', 'test')
471 self.checkequal([''], '', 'rsplit', 'aaa')
472 self.checkequal(['aa'], 'aa', 'rsplit', 'aaa')
479 'rsplit', 'BLAH', 18)
490 'a b c d', 'rsplit', maxsplit=1)
731 'this is the rsplit function', 'rsplit')
745 self.checkequal([], ' ', 'rsplit')
746 self.checkequal(['a'], ' a ', 'rsplit')
[all …]

12345678910>>...125