/external/chromium_org/chrome/installer/mac/ |
H A 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} wit [all...] |
H A 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} t [all...] |
/external/chromium_org/third_party/jemalloc/chromium/ |
H A 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/ |
H A 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/ |
H A D | duplicate_tree_detector_unittest.cc | 94 base::FilePath new_file(temp_source_dir_.path()); 95 new_file = new_file.AppendASCII("FNew"); 96 CreateTextFile(new_file.MaybeAsASCII(), text_content_1_); 97 ASSERT_TRUE(base::PathExists(new_file)); 108 base::FilePath new_file(temp_dest_dir_.path()); 109 new_file = new_file.AppendASCII("FNew"); 110 CreateTextFile(new_file.MaybeAsASCII(), text_content_1_); 111 ASSERT_TRUE(base::PathExists(new_file)); [all...] |
/external/elfutils/libdw/ |
H A D | dwarf_getsrclines.c | 280 struct filelist *new_file = local 281 (struct filelist *) alloca (sizeof (*new_file)); 302 new_file->info.name = fname; 305 new_file->info.name = libdw_alloc (dbg, char, 1, 308 char *cp = new_file->info.name; 320 assert (strlen (new_file->info.name) 325 get_uleb128 (new_file->info.mtime, linep); 328 get_uleb128 (new_file->info.length, linep); 330 new_file->next = filelist; 331 filelist = new_file; 454 struct filelist *new_file = local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
H A D | clean-header-guards | 48 File.open(tmp_filename, "w+") do |new_file| 49 new_file.write(contents)
|
/external/compiler-rt/lib/profile/ |
H A D | GCDAProfiling.c | 66 static int new_file = 0; variable 96 if (!new_file) return; 133 if (new_file) 144 if (new_file) 248 new_file = 0; 253 new_file = 1; 277 if (new_file) { 283 new_file = 1; 403 if (new_file) {
|
/external/chromium_org/sandbox/win/src/ |
H A D | win_utils_unittest.cc | 33 base::string16 new_file = base::string16(my_folder) + L"\\foo"; local 34 EXPECT_EQ(ERROR_SUCCESS, IsReparsePoint(new_file, &result)); 46 EXPECT_EQ(ERROR_SUCCESS, IsReparsePoint(new_file, &result));
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
H A 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/chrome/browser/sync_file_system/drive_backend/ |
H A D | metadata_database_unittest.cc | 844 TrackedFile new_file(CreateTrackedFile(app_root, "to be added later")); 845 new_file.should_be_absent = true; 850 &new_file, 874 CreateChangeResourceFromMetadata(new_file.metadata), &changes); 881 new_file.tracker.mutable_synced_details()->set_missing(true); 882 new_file.tracker.mutable_synced_details()->clear_md5(); 883 new_file.tracker.set_active(false); 884 new_file.tracker.set_dirty(true); 885 ResetTrackerID(&new_file.tracker); 886 EXPECT_NE(0, new_file [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | change_list_processor_unittest.cc | 513 ResourceEntry new_file; local 514 new_file.set_title("new_file"); 515 new_file.set_resource_id("new_file_id"); 516 change_lists[0]->mutable_entries()->push_back(new_file); 543 // "new_file" should be added. 545 util::GetDriveMyDriveRootPath().AppendASCII(new_file.title()), &entry)); 560 ResourceEntry new_file; local 561 new_file.set_title("new_file"); [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
H A 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_org/courgette/ |
H A D | courgette_tool.cc | 311 const base::FilePath& new_file, 314 std::string new_buffer = ReadOrFail(new_file, "'new' input"); 332 const base::FilePath& new_file) { 340 new_file.value().c_str()); 388 const base::FilePath& new_file, 391 std::string new_buffer = ReadOrFail(new_file, "'new' input"); 409 const base::FilePath& new_file) { 424 WriteSinkToFile(&new_stream, new_file); 491 UsageProblem("-gen <old_file> <new_file> <patch_file>"); 495 UsageProblem("-apply <old_file> <patch_file> <new_file>"); 310 GenerateEnsemblePatch(const base::FilePath& old_file, const base::FilePath& new_file, const base::FilePath& patch_file) argument 330 ApplyEnsemblePatch(const base::FilePath& old_file, const base::FilePath& patch_file, const base::FilePath& new_file) argument 387 GenerateBSDiffPatch(const base::FilePath& old_file, const base::FilePath& new_file, const base::FilePath& patch_file) argument 407 ApplyBSDiffPatch(const base::FilePath& old_file, const base::FilePath& patch_file, const base::FilePath& new_file) argument [all...] |
/external/chromium/net/disk_cache/ |
H A D | block_files.cc | 494 int new_file = header->next_file; local 495 if (!new_file) { 502 new_file = CreateNextBlockFile(type); 503 if (!new_file) 507 header->next_file = new_file; 511 Addr address(BLOCK_256, 1, new_file, 0);
|
/external/chromium_org/net/disk_cache/ |
H A D | block_files.cc | 578 int new_file = header->next_file; local 579 if (!new_file) { 586 new_file = CreateNextBlockFile(type); 587 if (!new_file) 591 header->next_file = new_file; 595 Addr address(BLOCK_256, 1, new_file, 0);
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
H A D | repair.cc | 447 std::string new_file = new_dir; local 448 new_file.append("/"); 449 new_file.append((slash == NULL) ? fname.c_str() : slash + 1); 450 Status s = env_->RenameFile(fname, new_file);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor_database.cc | 257 FileDescriptorProto* new_file = new FileDescriptorProto; local 258 new_file->CopyFrom(file); 259 return AddAndOwn(new_file);
|
/external/protobuf/src/google/protobuf/ |
H A D | descriptor_database.cc | 257 FileDescriptorProto* new_file = new FileDescriptorProto; local 258 new_file->CopyFrom(file); 259 return AddAndOwn(new_file);
|
/external/chromium/chrome/browser/safe_browsing/ |
H A D | safe_browsing_store_file.cc | 397 file_util::ScopedFILE new_file(file_util::OpenFile(new_filename, "wb+")); 398 if (new_file.get() == NULL) 409 new_file_.swap(new_file); 445 new_file_.swap(new_file);
|
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | safe_browsing_store_file.cc | 400 file_util::ScopedFILE new_file(base::OpenFile(new_filename, "wb+")); 401 if (new_file.get() == NULL) 412 new_file_.swap(new_file); 448 new_file_.swap(new_file);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
H A 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/e2fsprogs/e2fsck/ |
H A D | profile.c | 303 prf_file_t new_file, *last; local 322 retval = profile_open_file(cp, &new_file); 327 *last = new_file; 328 last = &new_file->next; 334 retval = profile_open_file(*fs, &new_file); 341 *last = new_file; 342 last = &new_file->next;
|
/external/chromium_org/chrome/tools/build/win/ |
H A D | create_installer_archive.py | 128 def GenerateDiffPatch(options, orig_file, new_file, patch_file): 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/ |
H A D | stage2.c | 595 char *new_file = config_file; local 604 while ((*(new_file++) = *(pptr++)) != 0)
|