Home
last modified time | relevance | path

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

/third_party/protobuf/benchmarks/util/
Dprotoc-gen-proto2_to_proto3.cc58 FileDescriptorProto new_file; in Generate() local
59 file->CopyTo(&new_file); in Generate()
60 SchemaGroupStripper::StripFile(file, &new_file); in Generate()
63 enum_scrubber.ScrubFile(&new_file); in Generate()
64 ExtensionStripper::StripFile(&new_file); in Generate()
65 FieldScrubber::ScrubFile(&new_file); in Generate()
66 new_file.set_syntax("proto3"); in Generate()
76 string content = GetPool()->BuildFile(new_file)->DebugString(); in Generate()
Dprotoc-gen-gogoproto.cc73 FileDescriptorProto new_file; in Generate() local
74 file->CopyTo(&new_file); in Generate()
75 SchemaGroupStripper::StripFile(file, &new_file); in Generate()
78 enum_scrubber.ScrubFile(&new_file); in Generate()
88 string content = new_pool_.BuildFile(new_file)->DebugString(); in Generate()
/third_party/python/Lib/distutils/tests/
Dtest_dep_util.py15 new_file = os.path.join(tmpdir, 'new')
19 self.assertRaises(DistutilsFileError, newer, new_file, old_file)
23 self.write_file(new_file)
24 self.assertTrue(newer(new_file, 'I_dont_exist'))
25 self.assertTrue(newer(new_file, old_file))
29 self.assertFalse(newer(old_file, new_file))
/third_party/elfutils/libdw/
Ddwarf_getsrclines.c485 struct filelist *new_file = NEW_FILE (); in read_srclines() local
508 new_file->info.name = fname; in read_srclines()
511 new_file->info.name = libdw_alloc (dbg, char, 1, in read_srclines()
514 char *cp = new_file->info.name; in read_srclines()
525 assert (strlen (new_file->info.name) in read_srclines()
532 get_uleb128 (new_file->info.mtime, linep, lineendp); in read_srclines()
537 get_uleb128 (new_file->info.length, linep, lineendp); in read_srclines()
628 struct filelist *new_file = n == 0 ? &null_file : NEW_FILE (); in read_srclines() local
635 new_file->info.name = (char *) fname; in read_srclines()
638 new_file->info.name = libdw_alloc (dbg, char, 1, in read_srclines()
[all …]
/third_party/ltp/testcases/kernel/fs/racer/
Dfs_racer_file_link.sh27 new_file=$((($file + 1)%$MAX))
28 ln -s $file $DIR/$new_file 2> /dev/null
29 ln $file $DIR/$new_file 2> /dev/null
Dfs_racer_file_symlink.sh27 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
Dfs_racer_file_concat.sh26 cat $DIR/$file >> $DIR/$new_file
27 cat $DIR/$file/$file/$file >> $DIR/$new_file
33 new_file=$(($RANDOM%$MAX))
Dfs_racer_file_rename.sh27 new_file=$((($file + 1)%$MAX))
28 mv -f $DIR/$file $DIR/$new_file 2> /dev/null
/third_party/vk-gl-cts/external/vulkan-docs/src/xml/
Dgenerate-core-block.rb109 new_file = old_file.clone
111 new_file.gsub!(old,new)
114 if (old_file != new_file)
115 File.write(name, new_file)
/third_party/skia/tools/
Dparse_llvm_coverage.py44 new_file = _fix_filename(filename)
47 if f.endswith(new_file):
53 % (new_file, '\n\t'.join(matched)))
/third_party/node/deps/v8/tools/gcmole/
Dgcmole.py489 new_file = options.out_dir / "test-expectations-gen.txt"
490 with open(new_file, "w") as f:
492 log("Wrote test-results: {}", new_file)
504 log("New: " + new_file)
510 fromfile=str(new_file),
520 log("*New:* " + new_file)
/third_party/mbedtls/tests/scripts/
Dset_psa_test_dependencies.py272 with open(tmp, 'w', encoding='utf-8') as new_file:
273 new_file.write(new_content)
/third_party/python/Lib/
Dmailbox.py676 new_file = _create_temporary(self._path)
679 self._pre_mailbox_hook(new_file)
683 self._pre_message_hook(new_file)
684 new_start = new_file.tell()
690 new_file.write(buffer)
691 new_toc[key] = (new_start, new_file.tell())
692 self._post_message_hook(new_file)
693 self._file_length = new_file.tell()
695 new_file.close()
696 os.remove(new_file.name)
[all …]
/third_party/toybox/toys/pending/
Dsyslogd.c290 char new_file[i]; in write_rotate() local
293 sprintf(new_file, "%s.%d", tf->filename, i); in write_rotate()
296 rename(old_file, new_file); in write_rotate()
298 rename(tf->filename, new_file); in write_rotate()
/third_party/mbedtls/scripts/
Dcode_size_compare.py136 new_file = open(os.path.join(self.csv_dir, self.new_rev + ".csv"), "r")
152 for line in new_file.readlines()[1:]:
/third_party/python/Lib/idlelib/
Deditor.py936 def update_recent_files_list(self, new_file=None): argument
945 if new_file:
946 new_file = os.path.abspath(new_file) + '\n'
947 if new_file in rf_list:
948 rf_list.remove(new_file) # move to top
949 rf_list.insert(0, new_file)
1077 self.update_recent_files_list(new_file=self.io.filename)
Dpyshell.py266 with open(self.breakpointPath, "w") as new_file:
269 new_file.write(line)
273 new_file.write(filename + '=' + str(breaks) + '\n')
/third_party/protobuf/src/google/protobuf/
Ddescriptor_database.cc345 FileDescriptorProto* new_file = new FileDescriptorProto; in Add() local
346 new_file->CopyFrom(file); in Add()
347 return AddAndOwn(new_file); in Add()
/third_party/ffmpeg/libavformat/
Dhlsenc.c1279 char *new_file = av_strdup(line); in parse_playlist() local
1280 if (!new_file) { in parse_playlist()
1284 ff_format_set_url(vs->avf, new_file); in parse_playlist()
/third_party/pulseaudio/shell-completion/zsh/
D_pulseaudio711 '--log-target=[set the log target]:target:(auto syslog stderr file\: new_file\:):file' \