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

1 2 3

  /external/chromium_org/chrome/installer/util/
logging_installer_unittest.cc 21 base::FilePath temp_file = temp_dir.path().Append(L"temp"); local
23 file_util::WriteFile(temp_file, &test_data[0], test_data.size()));
24 ASSERT_TRUE(base::PathExists(temp_file));
27 EXPECT_TRUE(base::GetFileSize(temp_file, &file_size));
31 installer::TruncateLogFileIfNeeded(temp_file));
33 EXPECT_TRUE(base::GetFileSize(temp_file, &file_size));
37 EXPECT_FALSE(base::PathExists(temp_file.Append(L".tmp")));
46 base::FilePath temp_file = temp_dir.path().Append(L"temp"); local
48 file_util::WriteFile(temp_file, &test_data[0], test_data.size()));
49 ASSERT_TRUE(base::PathExists(temp_file));
68 base::FilePath temp_file = temp_dir.path().Append(L"temp"); local
97 base::FilePath temp_file = temp_dir.path().Append(L"temp"); local
    [all...]
  /external/chromium_org/chrome/test/functional/media/
audio_playback_perf.py 63 temp_file = None
69 temp_file = GetTempFilename()
71 temp_file)
80 audio_tools.RemoveSilence(temp_file, file_no_silence)
96 if temp_file:
97 os.remove(temp_file)
  /external/jpeg/
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)
jmem-android.c 103 if (fseek(info->temp_file, file_offset, SEEK_SET))
105 if (JFREAD(info->temp_file, buffer_address, byte_count)
116 if (fseek(info->temp_file, file_offset, SEEK_SET))
118 if (JFWRITE(info->temp_file, buffer_address, byte_count)
127 fclose(info->temp_file);
163 if ((info->temp_file = getTempFile()) == NULL)
jmemmac.c 161 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr )
164 retVal = FSRead ( info->temp_file, &bytes,
179 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr )
182 retVal = FSWrite ( info->temp_file, &bytes,
192 FSClose ( info->temp_file );
253 osErr = FSpOpenDF ( &theSpec, fsRdWrPerm, &(info->temp_file) );
jmemname.c 208 if (fseek(info->temp_file, file_offset, SEEK_SET))
210 if (JFREAD(info->temp_file, buffer_address, byte_count)
221 if (fseek(info->temp_file, file_offset, SEEK_SET))
223 if (JFWRITE(info->temp_file, buffer_address, byte_count)
232 fclose(info->temp_file); /* close the file */
251 if ((info->temp_file = fopen(info->temp_name, RW_BINARY)) == NULL)
jmemsys.h 160 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
165 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
170 FILE * temp_file; /* stdio reference to temp file */ member in struct:backing_store_struct
  /external/qemu/distrib/jpeg-6b/
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)
jmem-android.c 103 if (fseek(info->temp_file, file_offset, SEEK_SET))
105 if (JFREAD(info->temp_file, buffer_address, byte_count)
116 if (fseek(info->temp_file, file_offset, SEEK_SET))
118 if (JFWRITE(info->temp_file, buffer_address, byte_count)
127 fclose(info->temp_file);
163 if ((info->temp_file = getTempFile()) == NULL)
jmemmac.c 161 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr )
164 retVal = FSRead ( info->temp_file, &bytes,
179 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr )
182 retVal = FSWrite ( info->temp_file, &bytes,
192 FSClose ( info->temp_file );
253 osErr = FSpOpenDF ( &theSpec, fsRdWrPerm, &(info->temp_file) );
jmemname.c 208 if (fseek(info->temp_file, file_offset, SEEK_SET))
210 if (JFREAD(info->temp_file, buffer_address, byte_count)
221 if (fseek(info->temp_file, file_offset, SEEK_SET))
223 if (JFWRITE(info->temp_file, buffer_address, byte_count)
232 fclose(info->temp_file); /* close the file */
251 if ((info->temp_file = fopen(info->temp_name, RW_BINARY)) == NULL)
jmemsys.h 160 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
165 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
170 FILE * temp_file; /* stdio reference to temp file */ member in struct:backing_store_struct
  /external/chromium_org/chrome/test/remoting/
me2me_browsertest.cc 89 base::FilePath temp_file; local
90 EXPECT_TRUE(base::CreateTemporaryFile(&temp_file));
95 temp_file.MaybeAsASCII() + "\n";
104 EXPECT_TRUE(base::ReadFileToString(temp_file, &content));
108 EXPECT_TRUE(base::DeleteFile(temp_file, false));
  /external/chromium_org/google_apis/drive/
base_requests_server_unittest.cc 74 base::FilePath temp_file; local
81 test_util::CreateCopyResultCallback(&result_code, &temp_file)),
92 base::ReadFileToString(temp_file, &contents);
93 base::DeleteFile(temp_file, false);
108 base::FilePath temp_file; local
115 test_util::CreateCopyResultCallback(&result_code, &temp_file)),
  /external/chromium_org/chrome/browser/extensions/api/page_capture/
page_capture_apitest.cc 35 const base::FilePath& temp_file) OVERRIDE {
36 temp_file_ = temp_file;
page_capture_api.h 34 virtual void OnTemporaryFileCreated(const base::FilePath& temp_file) = 0;
  /external/chromium_org/chrome/browser/ui/
network_profile_bubble.cc 126 base::FilePath temp_file; local
129 if (base::CreateTemporaryFileInDir(profile_folder, &temp_file) &&
130 (file_util::WriteFile(temp_file, ".", 1) == 1)) {
132 if (!base::NormalizeFilePath(temp_file, &normalized_temp_file))
137 base::DeleteFile(temp_file, false);
  /external/chromium/chrome/browser/safe_browsing/
safe_browsing_store_file_unittest.cc 33 const FilePath temp_file = local
35 file_util::Delete(temp_file, false);
63 const FilePath temp_file = local
67 EXPECT_FALSE(file_util::PathExists(temp_file));
71 EXPECT_TRUE(file_util::PathExists(temp_file));
78 EXPECT_TRUE(file_util::PathExists(temp_file));
83 EXPECT_FALSE(file_util::PathExists(temp_file));
  /external/chromium_org/apps/
app_restore_service_browsertest.cc 65 base::FilePath temp_file; local
67 &temp_file));
70 &temp_file);
110 base::FilePath temp_file; local
112 &temp_file));
115 &temp_file);
  /external/chromium_org/chrome/browser/extensions/
extension_creator_filter_unittest.cc 27 base::FilePath temp_file; local
28 EXPECT_TRUE(base::CreateTemporaryFileInDir(test_dir_, &temp_file));
29 EXPECT_TRUE(base::Move(temp_file, test_file));
39 base::FilePath temp_file; local
40 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_sub_dir, &temp_file));
41 EXPECT_TRUE(base::Move(temp_file, test_file));
  /external/chromium_org/tools/telemetry/telemetry/core/
bitmap_unittest.py 55 temp_file = tempfile.NamedTemporaryFile().name
56 orig.WritePngFile(temp_file)
57 new_file = bitmap.Bitmap.FromPngFile(temp_file)
65 temp_file = tempfile.NamedTemporaryFile().name
66 orig.WritePngFile(temp_file)
67 new_file = bitmap.Bitmap.FromPngFile(temp_file)
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
fake_drive_service_helper.cc 109 base::FilePath temp_file = WriteToTempFile(content); local
114 parent_folder_id, temp_file, title,
128 base::FilePath temp_file = WriteToTempFile(content); local
132 file_id, temp_file,
238 base::FilePath temp_file; local
239 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_, &temp_file));
241 temp_file, file->resource_id(),
249 return base::ReadFileToString(temp_file, file_content)
297 base::FilePath temp_file; local
298 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_, &temp_file));
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
zipfileset.py 42 temp_file = NetworkTransaction().run(lambda: urllib.urlretrieve(zip_url)[0])
43 return (temp_file, zipfile.ZipFile(temp_file))
  /external/chromium_org/cloud_print/service/win/
service_listener.cc 41 base::FilePath temp_file; local
42 if (base::CreateTemporaryFileInDir(user_data_dir, &temp_file)) {
43 DCHECK(base::PathExists(temp_file));
46 base::DeleteFile(temp_file, false);
  /external/chromium/chrome/browser/chromeos/login/
signed_settings_temp_storage_unittest.cc 30 FilePath temp_file; local
32 file_util::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file));
33 local_state_.reset(PrefService::CreatePrefService(temp_file, NULL, NULL));

Completed in 1418 milliseconds

1 2 3