/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/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
D | file_handle.py | 12 def __init__(self, temp_file=None, absolute_path=None): argument 25 assert (absolute_path is None) != (temp_file is None) 26 self._temp_file = temp_file 56 def FromTempFile(temp_file): argument 62 return FileHandle(temp_file)
|
/external/opencv3/3rdparty/libjpeg/ |
D | jmemansi.c | 101 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store() 103 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store() 114 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store() 116 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store() 125 fclose(info->temp_file); in close_backing_store() 144 if ((info->temp_file = tmpfile()) == NULL) in jpeg_open_backing_store()
|
D | jmemsys.h | 160 short temp_file; /* file reference number to temp file */ member 165 FILE * temp_file; /* stdio reference to temp file */ member
|
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
D | image_util_unittest.py | 48 temp_file = tempfile.NamedTemporaryFile(suffix='.png').name 49 image_util.WritePngFile(orig, temp_file) 50 new_file = image_util.FromPngFile(temp_file) 55 temp_file = tempfile.NamedTemporaryFile().name 57 orig, temp_file) 64 temp_file = tempfile.NamedTemporaryFile(suffix='.png').name 65 image_util.WritePngFile(orig, temp_file) 66 new_file = image_util.FromPngFile(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/chromium-trace/catapult/perf_insights/perf_insights/mre/ |
D | file_handle.py | 91 temp_file = tempfile.NamedTemporaryFile(delete=False) 92 temp_file.write(self.data) 93 temp_file.close() 94 self._temp_file_path = temp_file.name
|
/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/chromium-trace/catapult/perf_insights/perf_insights/ |
D | map_single_trace.py | 23 temp_file = tempfile.NamedTemporaryFile(delete=False) 24 temp_file.write(""" 30 temp_file.close() 31 self._filename = temp_file.name
|
/external/libchrome/base/trace_event/ |
D | process_memory_maps_dump_provider_unittest.cc | 110 FILE* temp_file = CreateAndOpenTemporaryFile(&temp_path); in CreateAndSetSmapsFileForTesting() local 111 file.reset(temp_file); in CreateAndSetSmapsFileForTesting() 112 ASSERT_TRUE(temp_file); in CreateAndSetSmapsFileForTesting() 114 ASSERT_TRUE(base::WriteFileDescriptor(fileno(temp_file), smaps_string, in CreateAndSetSmapsFileForTesting()
|
/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:
|
D | crash_test.py | 223 temp_file = self._CONSENT_FILE + '.tmp'; 224 utils.open_write_close(temp_file, 'test-consent') 225 utils.system('chown chronos:chronos "%s"' % (temp_file)) 226 shutil.move(temp_file, self._CONSENT_FILE)
|
/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/autotest/client/cros/input_playback/ |
D | input_playback.py | 171 with tempfile.NamedTemporaryFile() as temp_file: 172 filename = temp_file.name 174 stdout=temp_file) 184 temp_file.seek(0) 185 props = temp_file.read()
|
/external/libjpeg-turbo/ |
D | jmemsys.h | 139 short temp_file; /* file reference number to temp file */ member 144 FILE * temp_file; /* stdio reference to temp file */ member
|
/external/opencv3/modules/core/src/ |
D | system.cpp | 554 std::wstring temp_file = GetTempFileNameWinRT(L"ocv"); in tempfile() local 555 if (temp_file.empty()) in tempfile() 558 temp_file = temp_dir.append(std::wstring(L"\\")).append(temp_file); in tempfile() 559 DeleteFileW(temp_file.c_str()); in tempfile() 562 size_t copied = wcstombs(aname, temp_file.c_str(), MAX_PATH); in tempfile() 568 char temp_file[MAX_PATH] = { 0 }; in tempfile() local 575 if(0 == ::GetTempFileNameA(temp_dir, "ocv", 0, temp_file)) in tempfile() 578 DeleteFileA(temp_file); in tempfile() 580 fname = temp_file; in tempfile()
|
/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/chromium-trace/catapult/third_party/vinn/vinn/ |
D | _vinn.py | 195 temp_file = os.path.join(temp_dir, '%s.js' % name) 197 temp_file = os.path.join(temp_dir, 'temp_program.js') 198 with open(temp_file, 'w') as f: 200 return RunFile(temp_file, source_paths, js_args, v8_args, stdout, stdin)
|
/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/site_utils/ |
D | test_runner_utils.py | 278 with tempfile.NamedTemporaryFile() as temp_file: 279 temp_file.write(job.control_file) 280 temp_file.flush() 290 extra_args = [temp_file.name]
|
/external/pdfium/third_party/libjpeg/ |
D | jmemsys.h | 132 FXSYS_FILE * temp_file; /* stdio reference to temp file */ member
|
/external/libchrome/base/files/ |
D | file_util.h | 231 FilePath* temp_file);
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_utils_test.py | 892 temp_file = MockTempFile('/sdcard/temp-123') 893 cmd_redirect = '( %s )>%s' % (cmd, temp_file.name) 896 temp_file), 898 (self.call.device.ReadFile(temp_file.name, force_pull=True), 913 temp_file = MockTempFile('/sdcard/temp-123') 914 cmd_redirect = '( %s )>%s' % (cmd, temp_file.name) 918 temp_file),
|