Home
last modified time | relevance | path

Searched refs:new_file (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/chrome/installer/mac/
Ddirpatcher.sh128 local new_file="${2}"
132 if ! chmod -h "${mode}" "${new_file}"; then
136 if ! [[ -L "${new_file}" ]]; then
141 if ! touch -r "${patch_file}" "${new_file}"; then
150 local new_file="${3}"
158 if ! "${patcher}" "${old_file}" "${new_file}" "${patch_file}"; then
159 err "couldn't create ${new_file} by applying ${patch_file} to ${old_file}"
167 local new_file="${3}"
170 if ! "${decompressor}" -c < "${patch_file}" > "${new_file}"; then
171 err "couldn't decompress ${patch_file} to ${new_file} with ${decompressor}"
[all …]
Ddirdiffer.sh191 local new_file="${1}"
195 mode="$(stat "-f%OMp%OLp" "${new_file}")"
205 if ! touch -r "${new_file}" "${patch_file}"; then
219 local new_file="${2}"
223 if ! cp "${new_file}" "${uncompressed_file}"; then
227 uncompressed_size="$(file_size "${new_file}")"
237 if ! "${BZIP2}" -9c < "${new_file}" > "${bz2_file}"; then
238 err "couldn't compress ${new_file} to ${bz2_file} with ${BZIP2}"
257 if ! "${GZIP}" -9cn < "${new_file}" > "${gz_file}"; then
258 err "couldn't compress ${new_file} to ${gz_file} with ${GZIP}"
[all …]
/external/chromium_org/third_party/jemalloc/chromium/
Dapply-ed-patches.pl67 my $new_file = $1;
68 $new_file =~ s|^crt/src/||;
69 $new_file = "$srcdir$new_file";
70 my $new_patch_file = "$new_file.patch";
75 $target_file = $new_file;
/external/chromium_org/third_party/jemalloc/vendor/
Dapply-ed-patches.pl67 my $new_file = $1;
68 $new_file =~ s|^crt/src/||;
69 $new_file = "$srcdir$new_file";
70 my $new_patch_file = "$new_file.patch";
75 $target_file = $new_file;
/external/chromium_org/chrome/installer/util/
Dduplicate_tree_detector_unittest.cc94 base::FilePath new_file(temp_source_dir_.path()); in TEST_F() local
95 new_file = new_file.AppendASCII("FNew"); in TEST_F()
96 CreateTextFile(new_file.MaybeAsASCII(), text_content_1_); in TEST_F()
97 ASSERT_TRUE(base::PathExists(new_file)); in TEST_F()
108 base::FilePath new_file(temp_dest_dir_.path()); in TEST_F() local
109 new_file = new_file.AppendASCII("FNew"); in TEST_F()
110 CreateTextFile(new_file.MaybeAsASCII(), text_content_1_); in TEST_F()
111 ASSERT_TRUE(base::PathExists(new_file)); in TEST_F()
/external/elfutils/libdw/
Ddwarf_getsrclines.c280 struct filelist *new_file = in dwarf_getsrclines() local
281 (struct filelist *) alloca (sizeof (*new_file)); in dwarf_getsrclines()
302 new_file->info.name = fname; in dwarf_getsrclines()
305 new_file->info.name = libdw_alloc (dbg, char, 1, in dwarf_getsrclines()
308 char *cp = new_file->info.name; in dwarf_getsrclines()
320 assert (strlen (new_file->info.name) in dwarf_getsrclines()
325 get_uleb128 (new_file->info.mtime, linep); in dwarf_getsrclines()
328 get_uleb128 (new_file->info.length, linep); in dwarf_getsrclines()
330 new_file->next = filelist; in dwarf_getsrclines()
331 filelist = new_file; in dwarf_getsrclines()
[all …]
/external/compiler-rt/lib/profile/
DGCDAProfiling.c66 static int new_file = 0; variable
96 if (!new_file) return; in resize_write_buffer()
133 if (new_file) in read_32bit_value()
144 if (new_file) in read_64bit_value()
248 new_file = 0; in llvm_gcda_start_file()
253 new_file = 1; in llvm_gcda_start_file()
277 if (new_file) { in llvm_gcda_start_file()
283 new_file = 1; in llvm_gcda_start_file()
403 if (new_file) { in llvm_gcda_end_file()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dmetadata_database_unittest.cc844 TrackedFile new_file(CreateTrackedFile(app_root, "to be added later")); in TEST_F() local
845 new_file.should_be_absent = true; in TEST_F()
850 &new_file, in TEST_F()
874 CreateChangeResourceFromMetadata(new_file.metadata), &changes); in TEST_F()
881 new_file.tracker.mutable_synced_details()->set_missing(true); in TEST_F()
882 new_file.tracker.mutable_synced_details()->clear_md5(); in TEST_F()
883 new_file.tracker.set_active(false); in TEST_F()
884 new_file.tracker.set_dirty(true); in TEST_F()
885 ResetTrackerID(&new_file.tracker); in TEST_F()
886 EXPECT_NE(0, new_file.tracker.tracker_id()); in TEST_F()
[all …]
/external/chromium_org/tools/telemetry/telemetry/core/
Dbitmap_unittest.py57 new_file = bitmap.Bitmap.FromPngFile(temp_file)
58 self.assertTrue(orig.IsEqual(new_file))
67 new_file = bitmap.Bitmap.FromPngFile(temp_file)
68 self.assertTrue(orig.IsEqual(new_file))
/external/chromium_org/sandbox/win/src/
Dwin_utils_unittest.cc33 base::string16 new_file = base::string16(my_folder) + L"\\foo"; in TEST() local
34 EXPECT_EQ(ERROR_SUCCESS, IsReparsePoint(new_file, &result)); in TEST()
46 EXPECT_EQ(ERROR_SUCCESS, IsReparsePoint(new_file, &result)); in TEST()
/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dclean-header-guards48 File.open(tmp_filename, "w+") do |new_file|
49 new_file.write(contents)
/external/chromium_org/chrome/browser/chromeos/drive/
Dchange_list_processor_unittest.cc513 ResourceEntry new_file; in TEST_F() local
514 new_file.set_title("new_file"); in TEST_F()
515 new_file.set_resource_id("new_file_id"); in TEST_F()
516 change_lists[0]->mutable_entries()->push_back(new_file); in TEST_F()
545 util::GetDriveMyDriveRootPath().AppendASCII(new_file.title()), &entry)); in TEST_F()
560 ResourceEntry new_file; in TEST_F() local
561 new_file.set_title("new_file"); in TEST_F()
562 new_file.set_resource_id("new_file_id"); in TEST_F()
566 change_lists[0]->mutable_entries()->push_back(new_file); in TEST_F()
582 util::GetDriveMyDriveRootPath().AppendASCII(new_file.title()), &entry)); in TEST_F()
/external/chromium_org/courgette/
Dcourgette_tool.cc311 const base::FilePath& new_file, in GenerateEnsemblePatch() argument
314 std::string new_buffer = ReadOrFail(new_file, "'new' input"); in GenerateEnsemblePatch()
332 const base::FilePath& new_file) { in ApplyEnsemblePatch() argument
340 new_file.value().c_str()); in ApplyEnsemblePatch()
388 const base::FilePath& new_file, in GenerateBSDiffPatch() argument
391 std::string new_buffer = ReadOrFail(new_file, "'new' input"); in GenerateBSDiffPatch()
409 const base::FilePath& new_file) { in ApplyBSDiffPatch() argument
424 WriteSinkToFile(&new_stream, new_file); in ApplyBSDiffPatch()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
Dfilesystem_unittest.py181 new_file = os.path.join(d, 'foo')
182 fs.write_text_file(new_file, u'foo')
184 os.remove(new_file)
190 new_file = os.path.join(d, 'foo')
191 fs.write_text_file(new_file, u'foo')
193 os.remove(new_file)
/external/chromium/net/disk_cache/
Dblock_files.cc494 int new_file = header->next_file; in NextFile() local
495 if (!new_file) { in NextFile()
502 new_file = CreateNextBlockFile(type); in NextFile()
503 if (!new_file) in NextFile()
507 header->next_file = new_file; in NextFile()
511 Addr address(BLOCK_256, 1, new_file, 0); in NextFile()
/external/chromium_org/net/disk_cache/
Dblock_files.cc578 int new_file = header->next_file; in NextFile() local
579 if (!new_file) { in NextFile()
586 new_file = CreateNextBlockFile(type); in NextFile()
587 if (!new_file) in NextFile()
591 header->next_file = new_file; in NextFile()
595 Addr address(BLOCK_256, 1, new_file, 0); in NextFile()
/external/chromium_org/third_party/leveldatabase/src/db/
Drepair.cc447 std::string new_file = new_dir; in ArchiveFile() local
448 new_file.append("/"); in ArchiveFile()
449 new_file.append((slash == NULL) ? fname.c_str() : slash + 1); in ArchiveFile()
450 Status s = env_->RenameFile(fname, new_file); in ArchiveFile()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
Dbase_unittest.py85 new_file = tempfile.NamedTemporaryFile()
86 new_file.write(contents.encode(encoding))
87 new_file.flush()
88 return new_file
/external/protobuf/src/google/protobuf/
Ddescriptor_database.cc257 FileDescriptorProto* new_file = new FileDescriptorProto; in Add() local
258 new_file->CopyFrom(file); in Add()
259 return AddAndOwn(new_file); in Add()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Ddescriptor_database.cc257 FileDescriptorProto* new_file = new FileDescriptorProto; in Add() local
258 new_file->CopyFrom(file); in Add()
259 return AddAndOwn(new_file); in Add()
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_store_file.cc397 file_util::ScopedFILE new_file(file_util::OpenFile(new_filename, "wb+")); in BeginUpdate() local
398 if (new_file.get() == NULL) in BeginUpdate()
409 new_file_.swap(new_file); in BeginUpdate()
445 new_file_.swap(new_file); in BeginUpdate()
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_store_file.cc400 file_util::ScopedFILE new_file(base::OpenFile(new_filename, "wb+")); in BeginUpdate() local
401 if (new_file.get() == NULL) in BeginUpdate()
412 new_file_.swap(new_file); in BeginUpdate()
448 new_file_.swap(new_file); in BeginUpdate()
/external/e2fsprogs/e2fsck/
Dprofile.c303 prf_file_t new_file, *last; in profile_init() local
322 retval = profile_open_file(cp, &new_file); in profile_init()
327 *last = new_file; in profile_init()
328 last = &new_file->next; in profile_init()
334 retval = profile_open_file(*fs, &new_file); in profile_init()
341 *last = new_file; in profile_init()
342 last = &new_file->next; in profile_init()
/external/chromium_org/chrome/tools/build/win/
Dcreate_installer_archive.py128 def GenerateDiffPatch(options, orig_file, new_file, patch_file): argument
131 cmd = '%s -gen "%s" "%s" "%s"' % (exe_file, orig_file, new_file, patch_file)
134 cmd = [exe_file, orig_file, new_file, patch_file,]
/external/grub/stage2/
Dstage2.c595 char *new_file = config_file; in run_menu() local
604 while ((*(new_file++) = *(pptr++)) != 0) in run_menu()

12