Home
last modified time | relevance | path

Searched refs:new_contents (Results 1 – 25 of 29) sorted by relevance

12

/third_party/json/benchmarks/thirdparty/benchmark/tools/
Dstrip_asm.py88 new_contents = ''
116 if fn_label_def.match(l) and len(new_contents) != 0:
117 new_contents += '\n'
119 new_contents += l
120 new_contents += '\n'
121 return new_contents
141 new_contents = process_asm(contents)
143 f.write(new_contents)
/third_party/benchmark/tools/
Dstrip_asm.py88 new_contents = ''
116 if fn_label_def.match(l) and len(new_contents) != 0:
117 new_contents += '\n'
119 new_contents += l
120 new_contents += '\n'
121 return new_contents
141 new_contents = process_asm(contents)
143 f.write(new_contents)
/third_party/cef/libcef/browser/chrome/
Dchrome_browser_delegate.cc37 content::WebContents* new_contents) { in OnWebContentsCreated() argument
40 new_contents->SetDelegate(browser_); in OnWebContentsCreated()
42 SetAsDelegate(new_contents, /*set_delegate=*/true); in OnWebContentsCreated()
81 content::WebContents* new_contents) { in WebContentsCreated() argument
101 new_contents, /*is_windowless=*/false, extra_info); in WebContentsCreated()
110 CreateBrowser(new_contents, settings, client, std::move(platform_delegate), in WebContentsCreated()
116 std::unique_ptr<content::WebContents> new_contents, in AddNewContents() argument
123 ChromeBrowserHostImpl::GetBrowserForContents(new_contents.get()); in AddNewContents()
126 new_browser->AddNewContents(std::move(new_contents)); in AddNewContents()
131 chrome::AddWebContents(browser_, source_contents, std::move(new_contents), in AddNewContents()
Dchrome_browser_delegate.h51 void OnWebContentsCreated(content::WebContents* new_contents) override;
61 content::WebContents* new_contents) override;
63 std::unique_ptr<content::WebContents> new_contents,
Dbrowser_delegate.h39 virtual void OnWebContentsCreated(content::WebContents* new_contents) = 0;
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceAssembler.cpp124 uintptr_t new_contents = NewContents(Assemblr, new_capacity); in extendCapacity() local
125 memmove(reinterpret_cast<void *>(new_contents), in extendCapacity()
129 intptr_t delta = new_contents - Contents; in extendCapacity()
130 Contents = new_contents; in extendCapacity()
134 Limit = computeLimit(new_contents, new_capacity); in extendCapacity()
/third_party/glib/gio/tests/
Dfile.c835 …const gchar *new_contents = "this is a test message which should be written to source and not targ… in test_replace_symlink() local
870 g_output_stream_write_all (G_OUTPUT_STREAM (stream), new_contents, strlen (new_contents), in test_replace_symlink()
873 g_assert_cmpint (n_written, ==, strlen (new_contents)); in test_replace_symlink()
916 g_assert_cmpstr (contents, ==, new_contents); in test_replace_symlink()
917 g_assert_cmpuint (length, ==, strlen (new_contents)); in test_replace_symlink()
1194 const gchar *new_contents = "this is a new test message which should be written to source"; in test_replace() local
1238 1, FILE_TEST_SETUP_TYPE_REGULAR_NONEMPTY, default_public_mode, new_contents, in test_replace()
1246 2, FILE_TEST_SETUP_TYPE_REGULAR_NONEMPTY, default_public_mode, new_contents, in test_replace()
1254 2, FILE_TEST_SETUP_TYPE_REGULAR_NONEMPTY, default_public_mode, new_contents, in test_replace()
1309 1, FILE_TEST_SETUP_TYPE_REGULAR_NONEMPTY, default_public_mode, new_contents, in test_replace()
[all …]
/third_party/python/Tools/scripts/
Dupdate_file.py17 new_contents = f.read()
18 if old_contents != new_contents:
/third_party/flutter/skia/tools/lua/
Dfind_ngrams_on_ct33 new_contents, subd = re.subn(NGRAMS_LUA_SUBSTITUTION_STR,
42 tmp_script.write(new_contents)
/third_party/python/Lib/lib2to3/tests/
Dtest_refactor.py199 new_contents = self.read_file(test_file)
200 self.assertNotEqual(old_contents, new_contents)
201 return new_contents
220 new_contents = self.read_file(test_file)
221 return old_contents, new_contents
/third_party/cef/libcef/browser/alloy/
Dbrowser_platform_delegate_alloy.cc124 std::unique_ptr<content::WebContents> new_contents, in AddNewContents() argument
134 AlloyBrowserHostImpl::GetBrowserForContents(new_contents.get()); in AddNewContents()
139 ->SetOwnedWebContents(new_contents.release()); in AddNewContents()
144 extension_host_->AddNewContents(source, std::move(new_contents), target_url, in AddNewContents()
Dbrowser_platform_delegate_alloy.h30 std::unique_ptr<content::WebContents> new_contents,
Dalloy_browser_host_impl.h207 std::unique_ptr<content::WebContents> new_contents,
251 content::WebContents* new_contents) override;
Dalloy_browser_host_impl.cc1124 std::unique_ptr<content::WebContents> new_contents, in AddNewContents() argument
1130 platform_delegate_->AddNewContents(source, std::move(new_contents), in AddNewContents()
1293 content::WebContents* new_contents) { in WebContentsCreated() argument
1307 new_contents, platform_delegate->IsWindowless(), extra_info); in WebContentsCreated()
1323 CreateInternal(settings, client, new_contents, /*own_web_contents=*/false, in WebContentsCreated()
/third_party/cef/libcef/browser/
Dbrowser_contents_delegate.cc35 content::WebContents* new_contents) { in ObserveWebContents() argument
36 WebContentsObserver::Observe(new_contents); in ObserveWebContents()
38 if (new_contents) { in ObserveWebContents()
48 &new_contents->GetController())); in ObserveWebContents()
53 browser_info_->MaybeCreateFrame(new_contents->GetMainFrame(), in ObserveWebContents()
Dbrowser_info_manager.h68 content::WebContents* new_contents,
Dbrowser_info_manager.cc83 content::WebContents* new_contents, in CreatePopupBrowserInfo() argument
88 auto frame_host = new_contents->GetMainFrame(); in CreatePopupBrowserInfo()
Dbrowser_contents_delegate.h79 void ObserveWebContents(content::WebContents* new_contents);
Dbrowser_platform_delegate.h113 std::unique_ptr<content::WebContents> new_contents,
/third_party/glib/gio/
Dgdbusauthmechanismsha1.c665 GString *new_contents; in keyring_generate_entry() local
682 new_contents = NULL; in keyring_generate_entry()
720 new_contents = g_string_new (NULL); in keyring_generate_entry()
822 g_string_append_printf (new_contents, in keyring_generate_entry()
865 g_string_append_printf (new_contents, in keyring_generate_entry()
877 new_contents->str, in keyring_generate_entry()
924 if (new_contents != NULL) in keyring_generate_entry()
925 g_string_free (new_contents, TRUE); in keyring_generate_entry()
/third_party/abseil-cpp/absl/container/
Dinlined_vector_test.cc1362 std::vector<int> new_contents; in TEST() local
1364 new_contents.push_back(i + 3); in TEST()
1369 v.assign(new_contents.begin(), new_contents.end()); in TEST()
1371 EXPECT_EQ(new_contents.size(), v.size()); in TEST()
1372 EXPECT_LE(new_contents.size(), v.capacity()); in TEST()
1377 EXPECT_THAT(v, ElementsAreArray(new_contents)); in TEST()
1410 SourceContainer new_contents(new_contents_in.begin(), in InstanceRangedAssignTestForContainer() local
1415 v.assign(new_contents.begin(), new_contents.end()); in InstanceRangedAssignTestForContainer()
1417 EXPECT_EQ(new_contents.size(), v.size()); in InstanceRangedAssignTestForContainer()
1418 EXPECT_LE(new_contents.size(), v.capacity()); in InstanceRangedAssignTestForContainer()
[all …]
/third_party/cef/patch/patches/
Dchrome_browser_browser.patch112 + source, std::move(new_contents), target_url, disposition, initial_rect,
118 chrome::AddWebContents(this, source, std::move(new_contents), target_url,
160 task_manager::WebContentsTags::CreateForTabContents(new_contents);
164 + frame_name, target_url, new_contents);
Dweb_contents_1257_1565.patch39 std::unique_ptr<WebContentsImpl> new_contents;
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dinlined_vector_test.cc1366 std::vector<int> new_contents; in TEST() local
1368 new_contents.push_back(i + 3); in TEST()
1373 v.assign(new_contents.begin(), new_contents.end()); in TEST()
1375 EXPECT_EQ(new_contents.size(), v.size()); in TEST()
1376 EXPECT_LE(new_contents.size(), v.capacity()); in TEST()
1381 EXPECT_THAT(v, ElementsAreArray(new_contents)); in TEST()
1414 SourceContainer new_contents(new_contents_in.begin(), in InstanceRangedAssignTestForContainer() local
1419 v.assign(new_contents.begin(), new_contents.end()); in InstanceRangedAssignTestForContainer()
1421 EXPECT_EQ(new_contents.size(), v.size()); in InstanceRangedAssignTestForContainer()
1422 EXPECT_LE(new_contents.size(), v.capacity()); in InstanceRangedAssignTestForContainer()
[all …]
/third_party/python/Lib/test/
Dtest_clinic.py814 new_contents = f.read()
817 self.assertEqual(new_contents, orig_contents)

12