/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/ |
D | tDomain_Split.py | 71 self.temp_file="f_temp_file" 75 if os.path.exists(self.temp_file): 76 os.remove(self.temp_file) 115 f_temp_file = open(self.temp_file, "w") 120 for line in open(self.temp_file, "r"): 126 os.remove(self.temp_file) 132 f_temp_file = open(self.temp_file, "w") 138 for line in open(self.temp_file, "r"): 155 os.remove(self.temp_file) 178 f_temp_file = open(self.temp_file, "w") [all …]
|
/external/autotest/server/site_tests/brillo_ADBFileTransfer/ |
D | brillo_ADBFileTransfer.py | 25 self.temp_file = tempfile.NamedTemporaryFile() 26 self.temp_file.write(_DATA_STR) 27 self.temp_file.flush() 28 os.fsync(self.temp_file.file.fileno()) 43 host.send_file(self.temp_file.name, device_temp_file, 48 if not filecmp.cmp(self.temp_file.name, 58 self.temp_file.close()
|
/external/autotest/site_utils/stats/ |
D | apache_error_log_metrics_unittest.py | 78 with tempfile.NamedTemporaryFile() as temp_file: 80 '--debug-metrics-file', temp_file.name], 84 with open(temp_file.name) as fh: 103 with tempfile.NamedTemporaryFile() as temp_file: 105 '--debug-metrics-file', temp_file.name], 109 with open(temp_file.name) as fh:
|
D | apache_access_log_metrics_unittest.py | 68 with tempfile.NamedTemporaryFile() as temp_file: 70 '--debug-metrics-file', temp_file.name], 74 with open(temp_file.name) as fh:
|
/external/devlib/devlib/module/ |
D | thermal.py | 32 temp_file = self.target.path.join(self.zone.path, self.temp_node) 33 return self.target.read_int(temp_file) 36 temp_file = self.target.path.join(self.zone.path, self.temp_node) 37 self.target.write_value(temp_file, temperature) 70 temp_file = self.target.path.join(self.path, 'temp') 71 return self.target.read_int(temp_file)
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/ |
D | tFunction_listingFunctions.py | 64 self.temp_file="tempfile" 71 if os.path.exists(self.temp_file): 72 os.remove(self.temp_file) 316 f_temp_file = open(self.temp_file, "w") 321 f_temp_file = open(self.temp_file, "r") 368 f_temp_file = open(self.temp_file, "w") 373 f_temp_file = open(self.temp_file, "r") 420 f_temp_file = open(self.temp_file, "w") 425 f_temp_file = open(self.temp_file, "r") 469 f_temp_file = open(self.temp_file, "w") [all …]
|
/external/devlib/devlib/utils/ |
D | rendering.py | 31 self.temp_file = None 43 fd, self.temp_file = tempfile.mkstemp() 44 logger.debug('temp file: {}'.format(self.temp_file)) 72 if not self.temp_file: 74 with open(self.temp_file) as fh: 77 shutil.copy(self.temp_file, outfile) 78 os.unlink(self.temp_file) 79 self.temp_file = None
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | rtp_file_source.cc | 36 rtc::scoped_ptr<RtpFileReader> temp_file( in ValidRtpDump() local 38 return !!temp_file; in ValidRtpDump() 42 rtc::scoped_ptr<RtpFileReader> temp_file( in ValidPcap() local 44 return !!temp_file; in ValidPcap()
|
/external/google-breakpad/src/tools/windows/symupload/ |
D | symupload.cc | 133 FILE *temp_file = NULL; in DumpSymbolsToTempFile() local 135 if (_wfopen_s(&temp_file, temp_filename, L"w") != 0) in DumpSymbolsToTempFile() 139 if (!(temp_file = _wfopen(temp_filename, L"w"))) in DumpSymbolsToTempFile() 145 bool success = writer.WriteMap(temp_file); in DumpSymbolsToTempFile() 146 fclose(temp_file); in DumpSymbolsToTempFile()
|
/external/autotest/server/site_tests/power_DeferForFlashrom/ |
D | power_DeferForFlashrom.py | 55 temp_file = self.host.run( 59 (source_path, temp_file, size)) 60 logging.info('Created %s', temp_file) 61 return temp_file
|
/external/toolchain-utils/cros_utils/ |
D | no_pseudo_terminal_test.py | 40 temp_file = tempfile.mktemp() 41 self.assertTrue(self._AttachStraceToSelf(temp_file)) 48 strace_contents = open(temp_file).read()
|
/external/autotest/client/cros/ |
D | gpio.py | 85 temp_fd, temp_file = tempfile.mkstemp() 87 command = "crossystem %s 2>%s" % (name, temp_file) 92 with open(temp_file, 'r') as temp_handle:
|
/external/autotest/server/site_tests/network_DiskFull/ |
D | hog_disk.sh | 38 temp_file=$(mktemp --tmpdir="$mount_point" hog_disk.XXXXXXXXXX) 43 fallocate --length "$mount_size_bytes" "$temp_file" 2>/dev/null || true
|
/external/libchrome/base/metrics/ |
D | persistent_histogram_allocator_unittest.cc | 134 FilePath temp_file = temp_dir.path().AppendASCII(temp_name); in TEST_F() local 139 GlobalHistogramAllocator::CreateWithFile(temp_file, temp_size, 0, temp_name); in TEST_F() 145 GlobalHistogramAllocator::CreateWithFile(temp_file, temp_size, 0, ""); in TEST_F() 151 GlobalHistogramAllocator::CreateWithFile(temp_file, 0, 0, ""); in TEST_F()
|
/external/libjpeg-turbo/ |
D | jmemsys.h | 140 short temp_file; /* file reference number to temp file */ member 145 FILE *temp_file; /* stdio reference to temp file */ member
|
/external/vixl/tools/ |
D | clang_format.py | 79 temp_file, temp_file_name = tempfile.mkstemp(prefix = 'clang_format_') 82 stdout = temp_file, stderr = subprocess.STDOUT) 105 stdout=temp_file, stderr=subprocess.STDOUT)
|
/external/autotest/client/cros/input_playback/ |
D | input_playback.py | 186 with tempfile.NamedTemporaryFile() as temp_file: 187 filename = temp_file.name 189 stdout=temp_file) 199 temp_file.seek(0) 200 props = temp_file.read()
|
/external/libchrome/base/json/ |
D | json_value_serializer_unittest.cc | 154 FilePath temp_file(tempdir.path().AppendASCII("test.json")); in TEST() local 156 WriteFile(temp_file, kProperJSON, strlen(kProperJSON))); in TEST() 159 JSONFileValueDeserializer file_deserializer(temp_file); in TEST() 178 FilePath temp_file(tempdir.path().AppendASCII("test.json")); in TEST() local 180 WriteFile(temp_file, kProperJSONWithCommas, in TEST() 184 JSONFileValueDeserializer file_deserializer(temp_file); in TEST()
|
/external/devlib/devlib/platform/ |
D | arm.py | 258 temp_file = tempfile.mktemp() 259 self.target.pull(self.on_target_file, temp_file) 262 with open(temp_file, 'rb') as fh: 272 raise HostError('Channel "{}" is not in {}'.format(chan.name, temp_file))
|
/external/webrtc/webrtc/base/ |
D | win32regkey_unittest.cc | 570 wchar_t temp_file[MAX_PATH] = {0}; in RegKeyStaticFunctionsTest() local 572 ::GetTickCount(), temp_file), 0); in RegKeyStaticFunctionsTest() 577 EXPECT_SUCCEEDED(RegKey::Save(kFullRkey1Subkey, temp_file)); in RegKeyStaticFunctionsTest() 582 EXPECT_SUCCEEDED(RegKey::Restore(kFullRkey1Subkey, temp_file)); in RegKeyStaticFunctionsTest() 593 EXPECT_EQ(TRUE, ::DeleteFile(temp_file)); in RegKeyStaticFunctionsTest()
|
/external/autotest/client/cros/crash/ |
D | crash_test.py | 231 temp_file = self._CONSENT_FILE + '.tmp'; 232 utils.open_write_close(temp_file, 'test-consent') 233 utils.system('chown chronos:chronos "%s"' % (temp_file)) 234 shutil.move(temp_file, self._CONSENT_FILE)
|
/external/chromium-trace/catapult/common/battor/battor/ |
D | battor_wrapper.py | 232 temp_file = tempfile.NamedTemporaryFile(delete=False) 233 self._trace_results_path = temp_file.name 234 temp_file.close()
|
/external/autotest/site_utils/ |
D | test_runner_utils.py | 280 with tempfile.NamedTemporaryFile() as temp_file: 281 temp_file.write(job.control_file) 282 temp_file.flush() 292 extra_args = [temp_file.name]
|
/external/toolchain-utils/user_activity_benchmarks/ |
D | process_hot_functions_unittest.py | 156 temp_file, temp_filename = tempfile.mkstemp() 157 os.close(temp_file)
|
/external/pdfium/third_party/libjpeg/ |
D | jmemsys.h | 132 FXSYS_FILE * temp_file; /* stdio reference to temp file */ member
|