/external/chromium_org/chrome/installer/mac/ |
D | dirpatcher.sh | 128 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 …]
|
D | dirdiffer.sh | 191 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/ |
D | apply-ed-patches.pl | 67 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/ |
D | apply-ed-patches.pl | 67 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/ |
D | duplicate_tree_detector_unittest.cc | 94 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/ |
D | dwarf_getsrclines.c | 280 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/ |
D | GCDAProfiling.c | 66 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/ |
D | metadata_database_unittest.cc | 844 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/ |
D | bitmap_unittest.py | 57 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/ |
D | win_utils_unittest.cc | 33 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/ |
D | clean-header-guards | 48 File.open(tmp_filename, "w+") do |new_file| 49 new_file.write(contents)
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | change_list_processor_unittest.cc | 513 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/ |
D | courgette_tool.cc | 311 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/ |
D | filesystem_unittest.py | 181 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/ |
D | block_files.cc | 494 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/ |
D | block_files.cc | 578 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/ |
D | repair.cc | 447 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/ |
D | base_unittest.py | 85 new_file = tempfile.NamedTemporaryFile() 86 new_file.write(contents.encode(encoding)) 87 new_file.flush() 88 return new_file
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_database.cc | 257 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/ |
D | descriptor_database.cc | 257 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/ |
D | safe_browsing_store_file.cc | 397 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/ |
D | safe_browsing_store_file.cc | 400 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/ |
D | profile.c | 303 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/ |
D | create_installer_archive.py | 128 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/ |
D | stage2.c | 595 char *new_file = config_file; in run_menu() local 604 while ((*(new_file++) = *(pptr++)) != 0) in run_menu()
|