Home
last modified time | relevance | path

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

12

/third_party/boost/tools/quickbook/src/
Dfiles.cpp381 void reset() { new_file.reset(); } in reset()
383 boost::intrusive_ptr<mapped_file> new_file; member
395 assert(!data->new_file); in start()
396 data->new_file = new mapped_file(f); in start()
401 file_ptr r = data->new_file; in release()
410 return data->new_file->source().empty(); in empty()
415 return data->new_file->source().size(); in get_pos()
420 data->new_file->add_empty_mapped_file_section(pos); in add_at_pos()
421 data->new_file->source_.append(x.begin(), x.end()); in add_at_pos()
426 data->new_file->add_mapped_file_section(x.begin()); in add()
[all …]
/third_party/boost/libs/date_time/xmldoc/
Dref_tag_fix.pl47 my ($line, @new_file, $title, $processed);
60 push(@new_file, "<section id=\"$id_tag\">\n");
61 push(@new_file, "<title>$title</title>\n");
65 push(@new_file, "</section>\n");
68 push(@new_file, $line);
75 print OTP shift(@new_file);
90 foreach(@new_file){
/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/glib/gio/
Dgio-tool-rename.c38 GFile *new_file; in handle_rename() local
84 new_file = g_file_set_display_name (file, argv[2], NULL, &error); in handle_rename()
86 if (new_file == NULL) in handle_rename()
94 char *uri = g_file_get_uri (new_file); in handle_rename()
96 g_object_unref (new_file); in handle_rename()
Dglocalfile.c541 GFile *new_file; in g_local_file_get_child_for_display_name() local
553 new_file = g_file_get_child (file, basename); in g_local_file_get_child_for_display_name()
556 return new_file; in g_local_file_get_child_for_display_name()
1134 GFile *new_file, *parent; in g_local_file_set_display_name() local
1148 new_file = g_file_get_child_for_display_name (parent, display_name, error); in g_local_file_set_display_name()
1151 if (new_file == NULL) in g_local_file_set_display_name()
1154 new_local = G_LOCAL_FILE (new_file); in g_local_file_set_display_name()
1162 g_set_io_error (error, _("Error renaming file %s: %s"), new_file, errsv); in g_local_file_set_display_name()
1187 g_object_unref (new_file); in g_local_file_set_display_name()
1196 return new_file; in g_local_file_set_display_name()
Dgresourcefile.c431 GFile *new_file; in g_resource_file_get_child_for_display_name() local
433 new_file = g_file_get_child (file, display_name); in g_resource_file_get_child_for_display_name()
435 return new_file; in g_resource_file_get_child_for_display_name()
/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/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/boost/libs/math/tools/
Dbessel_derivative_data_from_bessel_ipps.cpp152 auto new_file = src; in processFiles() local
154 const auto int_pos = new_file.find("int"); in processFiles()
155 const auto large_pos = new_file.find("large"); in processFiles()
156 const auto data_pos = new_file.find("data"); in processFiles()
161 new_file.insert(derivative_pos, "derivative_"); in processFiles()
163 ::generateResultFile(src, new_file); in processFiles()
/third_party/flutter/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/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/gstreamer/gstplugins_bad/ext/curl/
Dgstcurlbasesink.h84 gboolean new_file; member
106 size_t block_size, gboolean new_file, gboolean close_transfer);
Dgstcurlbasesink.c256 sink->new_file = TRUE; in gst_curl_base_sink_init()
448 sink->new_file = TRUE; in gst_curl_base_sink_start()
851 max_bytes_to_send, sink->new_file, sink->transfer_thread_close); in gst_curl_base_sink_transfer_read_cb()
1186 sink->new_file = TRUE; in gst_curl_base_sink_transfer_start_unlocked()
1222 sink->new_file = FALSE; in gst_curl_base_sink_transfer_thread_func()
1357 !sink->transfer_thread_close && !sink->new_file) { in gst_curl_base_sink_wait_for_data_unlocked()
1363 } else if (sink->new_file) { in gst_curl_base_sink_wait_for_data_unlocked()
1377 sink->new_file = TRUE; in gst_curl_base_sink_new_file_notify_unlocked()
Dgstcurlsmtpsink.c128 void *curl_ptr, size_t block_size, gboolean new_file,
762 void *curl_ptr, size_t block_size, gboolean new_file, in gst_curl_smtp_sink_flush_data_unlocked() argument
808 if (new_file) { in gst_curl_smtp_sink_flush_data_unlocked()
813 bcsink->new_file = FALSE; in gst_curl_smtp_sink_flush_data_unlocked()
/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/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.py138 new_file = open(os.path.join(self.csv_dir, self.new_rev + ".csv"), "r")
154 for line in new_file.readlines()[1:]:
/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/e2fsprogs/lib/support/
Dprofile.c308 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()
/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)
/third_party/glib/gio/win32/
Dgwinhttpfile.c429 GFile *new_file; in g_winhttp_file_get_child_for_display_name() local
440 new_file = g_file_get_child (file, basename); in g_winhttp_file_get_child_for_display_name()
443 return new_file; in g_winhttp_file_get_child_for_display_name()

12