Home
last modified time | relevance | path

Searched refs:data_file (Results 1 – 17 of 17) sorted by relevance

/external/autotest/client/site_tests/platform_BootLockbox/
Dplatform_BootLockbox.py18 self.data_file = '/tmp/__lockbox_test'
19 open(self.data_file, mode='w').write('test_lockbox_data')
22 self._remove_file(self.data_file)
23 self._remove_file(self.data_file + '.signature')
47 ' --action=sign_lockbox --file=' + self.data_file,
52 ' --action=verify_lockbox --file=' + self.data_file,
84 open(self.data_file, mode='w').write('test_lockbox_data2')
87 open(self.data_file, mode='w').write('test_lockbox_data')
/external/toolchain-utils/fdo_scripts/
Dsummarize_hot_blocks.py79 def SummarizeLines(self, data_file): argument
82 for line in data_file:
93 (sum_count, data_file.name, sum_line, line))
98 def SummarizeFile(self, data_file, sum_file): argument
99 with open(data_file, 'r') as f:
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
Dbase.py52 data_file = csv.reader(csv_file)
53 header = next(data_file)
58 for i, row in enumerate(data_file):
72 data_file = csv.reader(csv_file)
74 for row in data_file:
/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_classifier_unittest.cc48 FILE* data_file = fopen(data_filename.c_str(), "rb"); in RunAnalysisTest() local
56 ASSERT_EQ(1u, fread(&is_music_ref, sizeof(is_music_ref), 1, data_file)); in RunAnalysisTest()
60 fclose(data_file); in RunAnalysisTest()
/external/libevent/sample/
Dhttps-client.c193 const char *url = NULL, *data_file = NULL; in main() local
232 data_file = argv[i + 1]; in main()
437 if (data_file) { in main()
441 FILE * f = fopen(data_file, "rb"); in main()
461 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri); in main()
/external/autotest/client/cros/
Downership.py362 data_file = scoped_tempfile()
363 data_file.fo.write(data)
364 data_file.fo.seek(0)
372 stdin=data_file.fo,
/external/v8/tools/
Dstats-viewer.py117 data_file = open(self.data_name, "r")
118 size = os.fstat(data_file.fileno()).st_size
119 fileno = data_file.fileno()
451 def Main(data_file, name_filter): argument
458 StatsViewer(data_file, name_filter).Run()
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dinput_pipeline_test.py42 _, data_file = tempfile.mkstemp(dir=test_tmpdir)
43 with open(data_file, "w") as f:
47 return data_file
60 _, data_file = tempfile.mkstemp(dir=test_tmpdir)
61 with tf_record.TFRecordWriter(data_file) as writer:
71 return data_file
/external/python/cpython3/Lib/test/test_asyncio/
Dutils.py38 def data_file(filename): function
49 ONLYCERT = data_file('ssl_cert.pem')
50 ONLYKEY = data_file('ssl_key.pem')
51 SIGNED_CERTFILE = data_file('keycert3.pem')
52 SIGNING_CA = data_file('pycacert.pem')
/external/autotest/client/site_tests/performance_InboxInputLatency/
Dperformance_InboxInputLatency.py138 data_file = os.path.join(current_dir, _KEYIN_TEST_DATA)
139 self.keyboard.playback(data_file)
/external/python/cpython2/Lib/test/
Dtest_ssl.py33 def data_file(*name): function
41 CERTFILE = data_file("keycert.pem")
43 ONLYCERT = data_file("ssl_cert.pem")
44 ONLYKEY = data_file("ssl_key.pem")
47 CERTFILE_PROTECTED = data_file("keycert.passwd.pem")
48 ONLYKEY_PROTECTED = data_file("ssl_key.passwd.pem")
50 CAPATH = data_file("capath")
52 CAFILE_NEURONIO = data_file("capath", "4e1295a3.0")
53 CAFILE_CACERT = data_file("capath", "5ed36f99.0")
57 CRLFILE = data_file("revocation.crl")
[all …]
/external/tensorflow/tensorflow/contrib/eager/python/examples/spinn/
Ddata.py256 def __init__(self, data_file, word2index, sentence_len_limit=-1): argument
275 with open(data_file, "rt") as f:
/external/python/cpython3/Lib/test/
Dtest_ssl.py50 def data_file(*name): function
58 CERTFILE = data_file("keycert.pem")
60 ONLYCERT = data_file("ssl_cert.pem")
61 ONLYKEY = data_file("ssl_key.pem")
64 CERTFILE_PROTECTED = data_file("keycert.passwd.pem")
65 ONLYKEY_PROTECTED = data_file("ssl_key.passwd.pem")
67 CAPATH = data_file("capath")
69 CAFILE_NEURONIO = data_file("capath", "4e1295a3.0")
70 CAFILE_CACERT = data_file("capath", "5ed36f99.0")
89 CRLFILE = data_file("revocation.crl")
[all …]
Dtest_compileall.py139 data_file = os.path.join(data_dir, 'file')
142 with open(data_file, 'w'):
144 compileall.compile_file(data_file)
/external/toolchain-utils/crosperf/
Dresults_cache.py100 with open(data_filename, 'r') as data_file:
101 raw_dict = json.load(data_file)
123 with open(data_filename, 'r') as data_file:
124 lines = data_file.readlines()
/external/fsverity-utils/
Dcmd_setup.c115 struct filedes *data_file, u64 data_size, in build_merkle_tree() argument
156 file = data_file; in build_merkle_tree()
/external/u-boot/
DREADME4222 -n name -d data_file image
4298 tools/dumpimage -i image -T type -p position data_file
4299 -i ==> extract from the 'image' a specific 'data_file'
4301 -p ==> 'position' (starting at 0) of the 'data_file' inside the 'image'