Home
last modified time | relevance | path

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

/kernel/tests/devicetree/early_mount/
Ddt_early_mount_test.py33 with open(file_path, 'r') as f:
35 return f.read().rstrip(' \n\x00')
40 with open('/proc/cmdline', 'r') as f:
41 cmdline_list = f.read().split()
/kernel/tests/net/test/
Dsysctls_test.py24 def check(self, f): argument
25 algs = open(f).readline().strip().split(' ')
Dremoved_feature_test.py31 with gzip.open('/proc/config.gz') as f:
32 for line in f:
Dnamespace.py97 def SetFileContents(f, s): argument
98 open(f, 'w').write(s)
Dnet_test.py402 def assertRaisesErrno(self, err_num, f=None, *args): argument
419 if f is None:
422 self.assertRaisesRegex(EnvironmentError, msg, f, *args)
Dmultinetwork_base.py214 f = open("/dev/net/tun", "r+b")
216 f = open("/dev/tun", "r+b")
219 fcntl.ioctl(f, TUNSETIFF, ifr)
227 net_test.SetNonBlocking(f)
228 return f
Dxfrm_test.py806 with open(XFRM_STATS_PROCFILE, 'r') as f:
807 for line in f:
811 f.close()
Dsock_diag_test.py565 f = open(self.TCP_DEFAULT_INIT_RWND, "w")
566 f.write("60")
/kernel/configs/tools/
Dcheck_fragments.sh49 for f in $FRAGMENTS; do
50 check_fragment $f
/kernel/tests/net/test/rootfs/
Dcommon.sh56 find /var/log -type f -exec rm -f '{}' ';'