Home
last modified time | relevance | path

Searched refs:open_func (Results 1 – 7 of 7) sorted by relevance

/external/autotest/client/bin/
Dpartition.py120 open_func=open): argument
142 for swapline in open_func('/proc/swaps'):
147 for partline in open_func('/proc/partitions').readlines():
225 open_func=open): argument
241 filter_func=filter_func, exclude_swap=exclude_swap, open_func=open_func)
246 not part.get_mountpoint(open_func=open_func)):
481 def get_mountpoint(self, open_func=open, filename=None): argument
495 for line in open_func(filename).readlines():
502 res = self.get_mountpoint(open_func=open_func, filename='/proc/mounts')
506 res = self.get_mountpoint(open_func=open_func, filename='/etc/mtab')
Dpartition_unittest.py101 open_func=fake_open)
108 parts = partition.get_partition_list(job, open_func=fake_open)
116 open_func=fake_open)
124 open_func=fake_open)
/external/python/cpython2/Tools/iobench/
Diobench.py281 def run_one_test(name, size, open_func, test_func, *args): argument
286 with open_func(name) as f:
290 def run_test_family(tests, mode_filter, files, open_func, *make_args): argument
302 open_func, test_func, *args)
/external/syslinux/com32/lua/src/
Dlparser.c527 static void open_func (LexState *ls, FuncState *fs, BlockCnt *bl) { in open_func() function
794 open_func(ls, &new_fs, &bl); in body()
1607 open_func(ls, fs, &bl); in mainfunc()
/external/skia/third_party/lua/src/
Dlparser.c527 static void open_func (LexState *ls, FuncState *fs, BlockCnt *bl) { in open_func() function
794 open_func(ls, &new_fs, &bl); in body()
1607 open_func(ls, fs, &bl); in mainfunc()
/external/python/cpython2/Modules/
Dclmodule.c666 doOpen(PyObject *self, PyObject *args, int (*open_func)(int, CL_Handle *), in doOpen()
684 if ((*open_func)(scheme, &new->ob_compressorHdl) == FAILURE || in doOpen()
/external/python/cpython2/Doc/whatsnew/
D2.5.rst170 open_func = functools.partial(self.open_item, item_path)
171 popup_menu.append( ("Open", open_func, 1) )