Home
last modified time | relevance | path

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

12

/external/ltp/utils/ffsb-6.0-rc2/
Dfilelist.c123 struct ffsb_file *newfile, *oldfile = NULL; in add_file() local
130 newfile = ffsb_malloc(sizeof(struct ffsb_file)); in add_file()
132 newfile->size = size; in add_file()
133 init_rwlock(&(newfile->lock)); in add_file()
147 newfile->num = filenum; in add_file()
148 rbtree_insert(b->files, newfile); in add_file()
150 rw_lock_write(&newfile->lock); in add_file()
173 newfile->name = ffsb_strdup(buf); in add_file()
174 return newfile; in add_file()
176 free(newfile); in add_file()
[all …]
Dfileops.c422 struct ffsb_file *newfile = NULL; in ffsb_createfile_core() local
449 newfile = add_file(bf, size, rd); in ffsb_createfile_core()
450 fd = fhopencreate(newfile->name, ft, fs); in ffsb_createfile_core()
461 unlock_file_writer(newfile); in ffsb_createfile_core()
/external/python/cpython2/Lib/
Dshlex.py65 def push_source(self, newstream, newfile=None): argument
70 self.infile = newfile
74 if newfile is not None:
102 (newfile, newstream) = spec
103 self.push_source(newstream, newfile)
248 def sourcehook(self, newfile): argument
250 if newfile[0] == '"':
251 newfile = newfile[1:-1]
253 if isinstance(self.infile, basestring) and not os.path.isabs(newfile):
254 newfile = os.path.join(os.path.dirname(self.infile), newfile)
[all …]
Dtempfile.py542 newfile = self._file = TemporaryFile(*self._TemporaryFileArgs)
545 newfile.write(file.getvalue())
546 newfile.seek(file.tell(), 0)
/external/python/cpython3/Lib/
Dshlex.py74 def push_source(self, newstream, newfile=None): argument
79 self.infile = newfile
83 if newfile is not None:
111 (newfile, newstream) = spec
112 self.push_source(newstream, newfile)
274 def sourcehook(self, newfile): argument
276 if newfile[0] == '"':
277 newfile = newfile[1:-1]
279 if isinstance(self.infile, str) and not os.path.isabs(newfile):
280 newfile = os.path.join(os.path.dirname(self.infile), newfile)
[all …]
Dtempfile.py660 newfile = self._file = TemporaryFile(**self._TemporaryFileArgs)
663 newfile.write(file.getvalue())
664 newfile.seek(file.tell(), 0)
/external/freetype/builds/atari/
DFNames.SIC32 local newfile,err;
34 newfile=datei;
35 newfile[0]=(newfile[0] | 32) ^ 32;
36 err=files.rename("-q",path+datei,newfile);
/external/curl/tests/libtest/
Dtest613.pl97 my $newfile = $logfile . ".new";
98 open(OUT, ">$newfile") || die "$!";
103 rename $newfile, $logfile;
/external/python/cpython2/Lib/test/
Dtest_profile.py68 newfile = []
71 newfile.append(line)
76 f.writelines(newfile)
/external/skia/tools/
Djsondiff.py154 def GenerateDiffDict(self, oldfile, newfile=None): argument
164 self._GetFileContentsAsString(newfile))
197 diffs = differ.GenerateDiffDict(oldfile=args.old, newfile=args.new)
/external/skqp/tools/
Djsondiff.py154 def GenerateDiffDict(self, oldfile, newfile=None): argument
164 self._GetFileContentsAsString(newfile))
197 diffs = differ.GenerateDiffDict(oldfile=args.old, newfile=args.new)
/external/e2fsprogs/misc/
Dcreate_inode.c619 ext2_ino_t newfile; in do_write_internal() local
635 retval = ext2fs_namei(fs, root, cwd, dest, &newfile); in do_write_internal()
641 retval = ext2fs_new_inode(fs, cwd, 010755, 0, &newfile); in do_write_internal()
645 printf("Allocated inode: %u\n", newfile); in do_write_internal()
647 retval = ext2fs_link(fs, cwd, dest, newfile, in do_write_internal()
653 retval = ext2fs_link(fs, cwd, dest, newfile, in do_write_internal()
658 if (ext2fs_test_inode_bitmap2(fs->inode_map, newfile)) in do_write_internal()
660 ext2fs_inode_alloc_stats2(fs, newfile, +1, 0); in do_write_internal()
675 retval = ext2fs_extent_open2(fs, newfile, &inode, &handle); in do_write_internal()
681 retval = ext2fs_write_new_inode(fs, newfile, &inode); in do_write_internal()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dinline_data.c598 ext2_ino_t newfile; in file_test() local
604 retval = ext2fs_new_inode(fs, 2, 010755, 0, &newfile); in file_test()
614 retval = ext2fs_write_new_inode(fs, newfile, &inode); in file_test()
620 retval = ext2fs_inline_data_init(fs, newfile); in file_test()
626 retval = ext2fs_inline_data_size(fs, newfile, &size); in file_test()
640 retval = ext2fs_inline_data_set(fs, newfile, 0, buf, BUFF_SIZE); in file_test()
648 retval = ext2fs_inline_data_get(fs, newfile, 0, cmpbuf, &size); in file_test()
668 retval = ext2fs_punch(fs, newfile, 0, 0, 0, ~0ULL); in file_test()
675 ext2fs_read_inode(fs, newfile, &inode); in file_test()
/external/python/cpython3/Lib/test/
Dtest_profile.py107 newfile = []
110 newfile.append(line)
115 f.writelines(newfile)
/external/clang/lib/ARCMigrate/
DFileRemapper.cpp219 void FileRemapper::remap(const FileEntry *file, const FileEntry *newfile) { in remap() argument
220 assert(file && newfile); in remap()
223 targ = newfile; in remap()
224 ToFromMappings[newfile] = file; in remap()
/external/webrtc/webrtc/modules/audio_processing/test/
Dapmtest.m314 are_files_equal(newfile, reffile, precision, diffvector)
318 if ~exist(newfile,'file')
319 warning(['Output file ' newfile ' does not exist']);
328 fid = fopen(newfile,'rb');
345 fprintf([newfile ' is bit-exact to reference\n']);
349 warning([newfile ' is empty']);
/external/swiftshader/third_party/LLVM/utils/
DNewNightlyTest.pl386 my ($file, $newfile) = @_;
388 if ($VERBOSE) { print "Copying $file to $newfile\n"; }
389 copy($file, $newfile);
/external/lua/src/
Dliolib.c240 static LStream *newfile (lua_State *L) { in newfile() function
249 LStream *p = newfile(L); in opencheck()
259 LStream *p = newfile(L); in io_open()
287 LStream *p = newfile(L); in io_tmpfile()
/external/clang/include/clang/ARCMigrate/
DFileRemapper.h63 void remap(const FileEntry *file, const FileEntry *newfile);
/external/python/cpython2/Tools/webchecker/
Dwebchecker.py648 newfile = dumpfile + ".new"
649 f = open(newfile, "wb")
656 os.rename(newfile, dumpfile)
/external/elfutils/
D.gitignore140 /tests/newfile
/external/curl/src/
Dtool_getparam.c780 FILE *newfile = fopen(nextarg, FOPEN_WRITETEXT); in getparameter() local
781 if(!newfile) in getparameter()
786 global->errors = newfile; in getparameter()
Dtool_operate.c349 FILE *newfile = fopen(config->headerfile, "wb"); in operate_do() local
350 if(!newfile) { in operate_do()
359 heads.stream = newfile; in operate_do()
/external/libcups/cups/
Dppd-cache.c2730 char newfile[1024]; /* New filename */ in _ppdCacheWriteFile() local
2747 snprintf(newfile, sizeof(newfile), "%s.N", filename); in _ppdCacheWriteFile()
2748 if ((fp = cupsFileOpen(newfile, "w9")) == NULL) in _ppdCacheWriteFile()
2929 unlink(newfile); in _ppdCacheWriteFile()
2934 return (!rename(newfile, filename)); in _ppdCacheWriteFile()
/external/u-boot/scripts/
Dcheckpatch.pl6527 my $newfile = $filename;
6528 $newfile .= ".EXPERIMENTAL-checkpatch-fixes" if (!$fix_inplace);
6534 open($f, '>', $newfile)
6535 or die "$P: Can't open $newfile for write\n";
6552 Wrote EXPERIMENTAL --fix correction(s) to '$newfile'

12