Home
last modified time | relevance | path

Searched refs:zopen (Results 1 - 2 of 2) sorted by relevance

/third_party/toybox/toys/pending/
H A Dman.c126 static int zopen(char *s) in zopen() function
157 while ((fd == -1) && *suf) strcpy(s + len - dotnum, *suf++), fd = zopen(s); in tryfile()
158 // Recheck suf in zopen, because for x.1.gz name here it is "". in tryfile()
186 if (-1 != (fd = zopen(f))) { in man_main()
201 if (strchr(*toys.optargs, '/')) fd = zopen(*toys.optargs); in man_main()
/third_party/python/Lib/test/
H A Dtest_zipfile.py2637 with zipf.open('ones') as zopen:
2638 self.assertEqual(zopen.read(), b'111')
2639 with zipf.open('twos') as zopen:
2640 self.assertEqual(zopen.read(), b'222')
2658 with zipf.open('ones') as zopen:
2659 self.assertEqual(zopen.read(), b'111')
2660 with zipf.open('twos') as zopen:
2661 self.assertEqual(zopen.read(), b'222')
2670 with zipf.open('ones', 'w') as zopen:
2671 zopen
[all...]

Completed in 5 milliseconds