Home
last modified time | relevance | path

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

/external/autotest/client/bin/
Dpartition.py121 open_func=open): argument
143 for swapline in open_func('/proc/swaps'):
148 for partline in open_func('/proc/partitions').readlines():
226 open_func=open): argument
242 filter_func=filter_func, exclude_swap=exclude_swap, open_func=open_func)
247 not part.get_mountpoint(open_func=open_func)):
482 def get_mountpoint(self, open_func=open, filename=None): argument
496 for line in open_func(filename).readlines():
503 res = self.get_mountpoint(open_func=open_func, filename='/proc/mounts')
507 res = self.get_mountpoint(open_func=open_func, filename='/etc/mtab')
Dpartition_unittest.py106 open_func=fake_open)
113 parts = partition.get_partition_list(job, open_func=fake_open)
121 open_func=fake_open)
129 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/python/cpython3/Tools/iobench/
Diobench.py282 def run_one_test(name, size, open_func, test_func, *args): argument
287 with open_func(name) as f:
291 def run_test_family(tests, mode_filter, files, open_func, *make_args): argument
303 open_func, test_func, *args)
/external/tensorflow/tensorflow/core/kernels/
Dsave_restore_tensor.h53 checkpoint::TensorSliceReader::OpenTableFunction open_func,
Dsave_restore_tensor.cc145 checkpoint::TensorSliceReader::OpenTableFunction open_func, in RestoreTensor() argument
167 reader = context->slice_reader_cache()->GetReader(file_pattern, open_func, in RestoreTensor()
172 file_pattern, open_func, preferred_shard)); in RestoreTensor()
/external/lua/src/
Dlparser.c719 static void open_func (LexState *ls, FuncState *fs, BlockCnt *bl) { in open_func() function
986 open_func(ls, &new_fs, &bl); in body()
1956 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) )
/external/python/cpython3/Doc/whatsnew/
D2.5.rst170 open_func = functools.partial(self.open_item, item_path)
171 popup_menu.append( ("Open", open_func, 1) )