HomeSort by relevance Sort by last modified time
    Searched refs:temp_file (Results 1 - 25 of 34) sorted by null

1 2

  /external/chromium-trace/catapult/telemetry/telemetry/internal/util/
file_handle.py 12 def __init__(self, temp_file=None, absolute_path=None):
19 temp_file: An instance of a temporary file object.
24 # Exactly one of absolute_path or temp_file must be specified.
25 assert (absolute_path is None) != (temp_file is None)
26 self._temp_file = temp_file
56 def FromTempFile(temp_file):
62 return FileHandle(temp_file)
  /external/opencv3/3rdparty/libjpeg/
jmemansi.c 101 if (fseek(info->temp_file, file_offset, SEEK_SET))
103 if (JFREAD(info->temp_file, buffer_address, byte_count)
114 if (fseek(info->temp_file, file_offset, SEEK_SET))
116 if (JFWRITE(info->temp_file, buffer_address, byte_count)
125 fclose(info->temp_file);
144 if ((info->temp_file = tmpfile()) == NULL)
jmemsys.h 160 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
165 FILE * temp_file; /* stdio reference to temp file */ member in struct:backing_store_struct
  /external/autotest/server/site_tests/network_DiskFull/
hog_disk.sh 38 temp_file=$(mktemp --tmpdir="$mount_point" hog_disk.XXXXXXXXXX)
39 trap 'rm -f "$temp_file"' EXIT
43 fallocate --length "$mount_size_bytes" "$temp_file" 2>/dev/null || true
  /external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
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/webrtc/webrtc/modules/audio_coding/neteq/tools/
rtp_file_source.cc 36 rtc::scoped_ptr<RtpFileReader> temp_file(
38 return !!temp_file;
42 rtc::scoped_ptr<RtpFileReader> temp_file(
44 return !!temp_file;
  /external/autotest/client/cros/
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:
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/power_DeferForFlashrom/
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/mre/
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/chromium-trace/catapult/telemetry/telemetry/util/
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/libjpeg-turbo/
jmemsys.h 139 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
144 FILE * temp_file; /* stdio reference to temp file */ member in struct:backing_store_struct
  /external/google-breakpad/src/tools/windows/symupload/
symupload.cc 133 FILE *temp_file = NULL; local
135 if (_wfopen_s(&temp_file, temp_filename, L"w") != 0)
139 if (!(temp_file = _wfopen(temp_filename, L"w")))
145 bool success = writer.WriteMap(temp_file);
146 fclose(temp_file);
  /system/core/adb/
test_device.py 691 for temp_file in temp_files:
694 temp_file.base_name)
695 self._verify_remote(temp_file.checksum, remote_path)
747 paths = map(lambda temp_file: temp_file.full_path, temp_files)
751 for temp_file in temp_files:
753 temp_file.base_name)
754 self._verify_remote(temp_file.checksum, remote_path)
760 temp_file.base_name)
761 self._verify_remote(temp_file.checksum, remote_path
    [all...]
sysdeps_win32_test.cpp 124 TemporaryFile temp_file; local
125 EXPECT_TRUE(temp_file.fd >= 0);
126 EXPECT_EQ(0, unix_isatty(temp_file.fd));
128 int temp_file_ro_fd = unix_open(temp_file.path, O_RDONLY);
  /external/chromium-trace/catapult/perf_insights/perf_insights/
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/
process_memory_maps_dump_provider_unittest.cc 110 FILE* temp_file = CreateAndOpenTemporaryFile(&temp_path); local
111 file.reset(temp_file);
112 ASSERT_TRUE(temp_file);
114 ASSERT_TRUE(base::WriteFileDescriptor(fileno(temp_file), smaps_string,
  /external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/
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/pdfium/third_party/libjpeg/
jmemsys.h 132 FXSYS_FILE * temp_file; /* stdio reference to temp file */ member in struct:backing_store_struct
  /external/autotest/client/cros/input_playback/
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/libchrome/base/json/
json_value_serializer_unittest.cc 154 FilePath temp_file(tempdir.path().AppendASCII("test.json"));
156 WriteFile(temp_file, kProperJSON, strlen(kProperJSON)));
159 JSONFileValueDeserializer file_deserializer(temp_file);
178 FilePath temp_file(tempdir.path().AppendASCII("test.json"));
180 WriteFile(temp_file, kProperJSONWithCommas,
184 JSONFileValueDeserializer file_deserializer(temp_file);
  /external/chromium-trace/catapult/third_party/vinn/vinn/
_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/opencv3/modules/core/src/
system.cpp 554 std::wstring temp_file = GetTempFileNameWinRT(L"ocv"); local
555 if (temp_file.empty())
558 temp_file = temp_dir.append(std::wstring(L"\\")).append(temp_file);
559 DeleteFileW(temp_file.c_str());
562 size_t copied = wcstombs(aname, temp_file.c_str(), MAX_PATH);
568 char temp_file[MAX_PATH] = { 0 }; local
575 if(0 == ::GetTempFileNameA(temp_dir, "ocv", 0, temp_file))
578 DeleteFileA(temp_file);
580 fname = temp_file;
    [all...]
  /external/webrtc/webrtc/base/
win32regkey_unittest.cc 570 wchar_t temp_file[MAX_PATH] = {0}; local
572 ::GetTickCount(), temp_file), 0);
577 EXPECT_SUCCEEDED(RegKey::Save(kFullRkey1Subkey, temp_file));
582 EXPECT_SUCCEEDED(RegKey::Restore(kFullRkey1Subkey, temp_file));
593 EXPECT_EQ(TRUE, ::DeleteFile(temp_file));
  /toolchain/binutils/binutils-2.25/libiberty/
pex-common.c 103 temp_file (struct pex_obj *obj, int flags, char *name) function
232 outname = temp_file (obj, flags, outname);
396 name = temp_file (obj, flags, name);

Completed in 1064 milliseconds

1 2