/external/autotest/tko/ |
draw_graphs | 30 foreach $data_file (@data_files) { 31 $data_file =~ /^plotdata\.([\w-]+)\.([\w-]+)$/; 33 print " === Analysing data file: $data_file $test $machine\n"; 35 open DATAFILE, $data_file || die "Cannot open $data_file";
|
/external/autotest/client/site_tests/platform_BootLockbox/ |
platform_BootLockbox.py | 18 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, 88 open(self.data_file, mode='w').write('test_lockbox_data2') 91 open(self.data_file, mode='w').write('test_lockbox_data')
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
audio_classifier_unittest.cc | 48 FILE* data_file = fopen(data_filename.c_str(), "rb"); local 56 ASSERT_EQ(1u, fread(&is_music_ref, sizeof(is_music_ref), 1, data_file)); 60 fclose(data_file);
|
/external/toolchain-utils/fdo_scripts/ |
summarize_hot_blocks.py | 79 def SummarizeLines(self, data_file): 82 for line in data_file: 93 (sum_count, data_file.name, sum_line, line)) 98 def SummarizeFile(self, data_file, sum_file): 99 with open(data_file, 'r') as f:
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/ |
base.py | 43 data_file = csv.reader(csv_file) 44 header = next(data_file) 49 for i, row in enumerate(data_file): 62 data_file = csv.reader(csv_file) 64 for row in data_file:
|
/external/libcxx/utils/libcxx/android/test/ |
format.py | 73 for data_file in data_files: 74 df_path = os.path.join(src_dir, data_file) 75 df_dev_path = self._wd_path(exec_file, data_file)
|
/external/libevent/sample/ |
https-client.c | 193 const char *url = NULL, *data_file = NULL; local 232 data_file = argv[i + 1]; 437 if (data_file) { 441 FILE * f = fopen(data_file, "rb"); 461 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri);
|
/external/autotest/client/cros/ |
ownership.py | 362 data_file = scoped_tempfile() 363 data_file.fo.write(data) 364 data_file.fo.seek(0) 372 stdin=data_file.fo,
|
/frameworks/base/tools/localedata/ |
extract_icu_data.py | 184 for data_file in all_icu_data_files: 185 locale = os.path.splitext(os.path.basename(data_file))[0] 186 with open(data_file) as input_file:
|
/external/v8/tools/ |
stats-viewer.py | 117 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): 455 data_file: The counters file to monitor. 458 StatsViewer(data_file, name_filter).Run()
|
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/ |
input_pipeline_test.py | 42 _, 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/autotest/client/site_tests/performance_InboxInputLatency/ |
performance_InboxInputLatency.py | 141 data_file = os.path.join(current_dir, _KEYIN_TEST_DATA) 142 self.keyboard.playback(data_file)
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/spinn/ |
data.py | 256 def __init__(self, data_file, word2index, sentence_len_limit=-1): 260 data_file: Full path to the data file, e.g., 275 with open(data_file, "rt") as f:
|
/external/python/cpython2/Lib/test/ |
test_ssl.py | 33 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/python/cpython3/Lib/test/ |
test_ssl.py | 37 def data_file(*name): function 45 CERTFILE = data_file("keycert.pem") 47 ONLYCERT = data_file("ssl_cert.pem") 48 ONLYKEY = data_file("ssl_key.pem") 51 CERTFILE_PROTECTED = data_file("keycert.passwd.pem") 52 ONLYKEY_PROTECTED = data_file("ssl_key.passwd.pem") 54 CAPATH = data_file("capath") 56 CAFILE_NEURONIO = data_file("capath", "4e1295a3.0") 57 CAFILE_CACERT = data_file("capath", "5ed36f99.0") 61 CRLFILE = data_file("revocation.crl" [all...] |
test_compileall.py | 133 data_file = os.path.join(data_dir, 'file') 136 with open(data_file, 'w'): 138 compileall.compile_file(data_file)
|
/external/toolchain-utils/crosperf/ |
results_cache.py | 100 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()
|
/build/make/tools/ |
fat16copy.py | 233 data_file = fat_file(self.backing.fs, chunk, size) 235 data_file.write(data.read())
|
/external/python/cpython3/Lib/test/test_asyncio/ |
test_events.py | 41 def data_file(filename): function 70 ONLYCERT = data_file('ssl_cert.pem') 71 ONLYKEY = data_file('ssl_key.pem') 72 SIGNED_CERTFILE = data_file('keycert3.pem') 73 SIGNING_CA = data_file('pycacert.pem') [all...] |