/external/bsdiff/ |
D | bspatch.cc | 238 std::unique_ptr<FileInterface> new_file = in bspatch() local 240 if (!new_file) { in bspatch() 252 new_file.reset(new ExtentsFile(std::move(new_file), parsed_new_extents)); in bspatch() 260 new_file.reset(new BufferFile(std::move(new_file), newsize)); in bspatch() 263 return bspatch(old_file, new_file, patch_data, patch_size); in bspatch() 274 std::unique_ptr<FileInterface> new_file(new SinkFile(sink)); in bspatch() local 276 return bspatch(old_file, new_file, patch_data, patch_size); in bspatch() 282 const std::unique_ptr<FileInterface>& new_file, in bspatch() argument 392 ret = ReadBZ2AndWriteAll(new_file, &dstream, -i, new_buf.data(), in bspatch() 428 if (!WriteAll(new_file, new_buf.data(), read_bytes)) { in bspatch() [all …]
|
D | bspatch.h | 36 const std::unique_ptr<FileInterface>& new_file,
|
/external/ltp/testcases/kernel/fs/racer/ |
D | fs_racer_file_link.sh | 27 new_file=$((($file + 1)%$MAX)) 28 ln -s $file $DIR/$new_file 2> /dev/null 29 ln $file $DIR/$new_file 2> /dev/null
|
D | fs_racer_file_symlink.sh | 27 new_file=$((($file + 1)%$MAX)) 28 ln -s $file $DIR/$new_file 2> /dev/null 29 ln -s $file/$file/$file $DIR/$new_file 2> /dev/null
|
D | fs_racer_file_concat.sh | 26 cat $DIR/$file >> $DIR/$new_file 27 cat $DIR/$file/$file/$file >> $DIR/$new_file 33 new_file=$(($RANDOM%$MAX))
|
D | fs_racer_file_rename.sh | 27 new_file=$((($file + 1)%$MAX)) 28 mv $DIR/$file $DIR/$new_file 2> /dev/null
|
/external/compiler-rt/lib/profile/ |
D | GCDAProfiling.c | 85 static int new_file = 0; variable 115 if (!new_file) return; in resize_write_buffer() 152 if (new_file) in read_32bit_value() 163 if (new_file) in read_64bit_value() 264 new_file = 0; in llvm_gcda_start_file() 269 new_file = 1; in llvm_gcda_start_file() 298 if (new_file) { in llvm_gcda_start_file() 304 new_file = 1; in llvm_gcda_start_file() 482 if (new_file) { in llvm_gcda_end_file()
|
/external/pdfium/fpdfsdk/ |
D | fpdfedit_embeddertest.cpp | 70 std::string* new_file = static_cast<std::string*>(param); in GetBlockFromString() local 71 if (!new_file || pos + size < pos) in GetBlockFromString() 74 unsigned long file_size = new_file->size(); in GetBlockFromString() 78 memcpy(buf, new_file->data() + pos, size); in GetBlockFromString() 135 std::string new_file = GetString(); in TEST_F() local 136 EXPECT_GT(new_file.size(), 923U); in TEST_F() 142 file_access.m_FileLen = new_file.size(); in TEST_F() 144 file_access.m_Param = &new_file; in TEST_F() 222 std::string new_file = GetString(); in TEST_F() local 227 file_access.m_FileLen = new_file.size(); in TEST_F() [all …]
|
/external/elfutils/libdw/ |
D | dwarf_getsrclines.c | 344 struct filelist *new_file = NEW_FILE (); in read_srclines() local 367 new_file->info.name = fname; in read_srclines() 370 new_file->info.name = libdw_alloc (dbg, char, 1, in read_srclines() 373 char *cp = new_file->info.name; in read_srclines() 385 assert (strlen (new_file->info.name) in read_srclines() 392 get_uleb128 (new_file->info.mtime, linep, lineendp); in read_srclines() 397 get_uleb128 (new_file->info.length, linep, lineendp); in read_srclines() 545 struct filelist *new_file = NEW_FILE (); in read_srclines() local 547 new_file->info.name = fname; in read_srclines() 550 new_file->info.name = in read_srclines() [all …]
|
/external/autotest/server/site_tests/platform_CompromisedStatefulPartition/ |
D | platform_CompromisedStatefulPartition.py | 52 for new_file in self.FILES_LIST: 53 if not host.path_exists(new_file): 56 'statefull partition' % new_file)
|
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
D | image_util_unittest.py | 50 new_file = image_util.FromPngFile(temp_file) 51 self.assertTrue(image_util.AreEqual(orig, new_file, likely_equal=True)) 66 new_file = image_util.FromPngFile(temp_file) 67 self.assertTrue(image_util.AreEqual(orig, new_file, likely_equal=True))
|
/external/skia/tools/ |
D | parse_llvm_coverage.py | 44 new_file = _fix_filename(filename) 47 if f.endswith(new_file): 53 % (new_file, '\n\t'.join(matched)))
|
/external/webrtc/tools/sslroots/ |
D | generate_sslroots.py | 74 new_file = open(new_file_name, 'w') 76 new_file.write(out_line) 77 new_file.close()
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem.py | 932 parent_directory, new_file = self.SplitPath(file_path) 941 file_object = FakeFile(new_file, st_mode, contents) 1541 def rename(self, old_file, new_file): argument 1556 new_file = self.filesystem.NormalizePath(new_file) 1562 if self.filesystem.Exists(new_file): 1563 if old_file == new_file: 1566 self.remove(new_file) 1568 new_dir, new_name = self.path.split(new_file) 1580 self.filesystem.CreateFile(new_file, 1585 new_object = self.filesystem.GetObject(new_file) [all …]
|
D | fake_filesystem_test.py | 408 new_file = self.filesystem.GetObject(path) 411 self.assertEqual(os.path.basename(path), new_file.name) 412 self.assertTrue(stat.S_IFREG & new_file.st_mode) 413 self.assertEqual(contents, new_file.contents) 418 new_file = self.filesystem.GetObject(path) 419 self.assertEqual(None, new_file.contents) 420 self.assertEqual(100000000, new_file.st_size) 432 new_file = self.filesystem.GetObject(path) 433 self.assertEqual(os.path.basename(path), new_file.name) 434 self.assertTrue(stat.S_IFREG & new_file.st_mode) [all …]
|
/external/toybox/toys/pending/ |
D | syslogd.c | 291 char new_file[i]; in write_rotate() local 294 sprintf(new_file, "%s.%d", tf->filename, i); in write_rotate() 297 rename(old_file, new_file); in write_rotate() 299 rename(tf->filename, new_file); in write_rotate()
|
/external/v8/tools/gcmole/ |
D | gcmole.lua | 134 local new_file = line:match "^______________ (.*)$" 144 elseif new_file then 145 filename = new_file
|
/external/e2fsprogs/lib/support/ |
D | profile.c | 308 prf_file_t new_file, *last; in profile_init() local 330 retval = profile_open_file(cp, &new_file); in profile_init() 335 *last = new_file; in profile_init() 336 last = &new_file->next; in profile_init() 342 retval = profile_open_file(*fs, &new_file); in profile_init() 349 *last = new_file; in profile_init() 350 last = &new_file->next; in profile_init()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_database.cc | 256 FileDescriptorProto* new_file = new FileDescriptorProto; in Add() local 257 new_file->CopyFrom(file); in Add() 258 return AddAndOwn(new_file); in Add()
|
/external/clang/ |
D | build.py | 615 new_file = os.path.join(install_dir, built_file + ".real") 616 rename(old_file, new_file)
|
/external/libmtp/src/ |
D | libmtp.c | 5782 PTPObjectInfo new_file; local 5784 memset(&new_file, 0, sizeof(PTPObjectInfo)); 5786 new_file.Filename = filedata->filename; 5788 strip_7bit_from_utf8(new_file.Filename); 5791 new_file.ObjectCompressedSize = (uint32_t) filedata->filesize; 5792 new_file.ObjectFormat = of; 5793 new_file.StorageID = store; 5794 new_file.ParentObject = localph; 5795 new_file.ModificationDate = time(NULL); 5798 ret = ptp_sendobjectinfo(params, &store, &localph, &filedata->item_id, &new_file);
|
/external/google-breakpad/src/processor/ |
D | minidump.cc | 1954 scoped_ptr<string> new_file(UTF16ToUTF8(string_utf16, false)); in debug_file() local 1955 file = *new_file; in debug_file()
|