/external/chromium_org/chrome/tools/build/ |
version.py | 60 def subst_template(contents, values): 74 contents = contents.replace('@' + key + '@', val) 77 return contents 82 Returns the contents of the specified file_name with substited 91 def write_if_changed(file_name, contents): 93 Writes the specified contents to the specified file_name 94 iff the contents are different than the current contents. 101 if contents == old_contents 174 contents = subst_template(template, values) variable 176 contents = subst_file(in_file, values) variable [all...] |
/external/chromium_org/third_party/WebKit/ManualTests/ |
scrollable-positioned-frame.html | 4 <p>The contents of this frame should scroll with the mouse wheel.</p>
|
scrollable-positioned-nested-frame.html | 4 <p>The contents of this frame should scroll with the mouse wheel.</p>
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
clean-header-guards | 37 contents = file.read 38 match_results = contents.match(/#ifndef (\S+)\n#define \1/s) 43 contents.gsub!(/#{current_guard}\b/, new_guard) 49 new_file.write(contents)
|
/external/chromium_org/tools/grit/grit/testdata/ |
email_thread.html | 6 [CONTENTS]
|
/external/chromium_org/tools/gyp/test/mac/ |
gyptest-loadable-module.py | 26 'test_loadable_module.plugin/Contents/MacOS/test_loadable_module', 35 'test_loadable_module.plugin/Contents/Info.plist', chdir=CHDIR) 44 'test_loadable_module.plugin/Contents/PkgInfo', chdir=CHDIR) 46 'test_loadable_module.plugin/Contents/Resources', chdir=CHDIR)
|
gyptest-bundle-resources.py | 20 os.path.join('resource.app/Contents/Resources', path), chdir=CHDIR) 39 test.built_file_must_match('resource.app/Contents/Resources/secret.txt', 41 test.built_file_must_match('source_rule.app/Contents/Resources/secret.txt', 45 'resource.app/Contents/Resources/executable-file.sh', 56 'resource_rule.app/Contents/Resources/secret.txt', 'ABC\n', chdir=CHDIR)
|
/external/srec/portable/src/ |
ArrayListImpl.c | 54 impl->contents = MALLOC(minCapacity * sizeof(void*), MTAG); 55 if (impl->contents == NULL) 82 void** temp = REALLOC(impl->contents, newCapacity * sizeof(void*)); 85 impl->contents = temp; 90 impl->contents[i] = impl->contents[i - 1]; 92 impl->contents[index] = element; 118 impl->contents[i] = impl->contents[i+1]; 129 if ((temp = REALLOC(impl->contents, newCapacity * sizeof(void*))) == NULL [all...] |
/external/chromium/chrome/browser/sessions/ |
session_command.h | 34 // of size |size| that must be filled via contents(). 38 // id whose contents is populated from the contents of pickle. 41 // The contents of the command. 42 char* contents() { return &(contents_[0]); } function in class:SessionCommand 43 const char* contents() const { return &(contents_[0]); } function in class:SessionCommand 55 // Returns the contents as a pickle. It is up to the caller to delete the
|
/external/chromium/chrome/browser/ui/find_bar/ |
find_backend_unittest.cc | 20 string16 FindPrepopulateText(TabContents* contents) { 21 return FindBarState::GetLastPrepopulateText(contents->profile()); 31 EXPECT_EQ(string16(), FindPrepopulateText(contents())); 40 EXPECT_EQ(string16(), FindPrepopulateText(contents())); 55 EXPECT_EQ(search_term1, FindPrepopulateText(contents())); 66 EXPECT_EQ(search_term2, FindPrepopulateText(contents())); 77 EXPECT_EQ(search_term3, FindPrepopulateText(contents()));
|
/external/chromium_org/chrome/browser/sessions/ |
session_command.h | 34 // of size |size| that must be filled via contents(). 38 // id whose contents is populated from the contents of pickle. 41 // The contents of the command. 42 char* contents() { return const_cast<char*>(contents_.c_str()); } function in class:SessionCommand 43 const char* contents() const { return contents_.c_str(); } function in class:SessionCommand 55 // Returns the contents as a pickle. It is up to the caller to delete the
|
/external/chromium_org/chrome/test/functional/ispy/common/ |
cloud_bucket.py | 16 def UploadFile(self, path, contents, content_type): 21 contents: the contents of the file to be uploaded. 33 String contents of the file downloaded. 40 def UpdateFile(self, path, contents): 45 contents: the contents of the file to be updated.
|
/external/chromium/chrome/browser/ui/views/tabs/ |
browser_tab_strip_controller.h | 66 virtual void TabInsertedAt(TabContentsWrapper* contents, 69 virtual void TabDetachedAt(TabContentsWrapper* contents, 72 TabContentsWrapper* contents, 75 virtual void TabMoved(TabContentsWrapper* contents, 78 virtual void TabChangedAt(TabContentsWrapper* contents, 85 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, 87 virtual void TabMiniStateChanged(TabContentsWrapper* contents, 89 virtual void TabBlockedStateChanged(TabContentsWrapper* contents, 101 void SetTabDataAt(TabContentsWrapper* contents, int model_index); 104 void SetTabRendererDataFromModel(TabContents* contents, [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
drive_internals.html | 66 <tbody id='in-flight-operations-contents'> 77 <h2 id='file-system-contents-section'>File System Contents</h2> 79 <div id='file-system-contents'></div> 81 <h2 id='gcache-contents-section'>GCache Contents</h2> 83 <tbody id='gcache-contents'> 100 <h2 id='cache-contents-section'>Cache Contents</h2> 102 <tbody id='cache-contents'> [all...] |
/external/chromium_org/chrome/browser/ui/search/ |
instant_loader.h | 33 // changes in the underlying contents. 39 // Called to open a URL using the underlying contents (see 68 // Returns the contents currently held. May be NULL. 69 content::WebContents* contents() const { return contents_.get(); } function in class:InstantLoader 71 // Replaces the contents held with |contents|. Any existing contents is 73 void SetContents(scoped_ptr<content::WebContents> contents); 75 // Releases the contents currently held. Must only be called if contents() i [all...] |
instant_unload_handler.cc | 19 scoped_ptr<content::WebContents> contents, 22 contents_(contents.Pass()), 65 scoped_ptr<content::WebContents> contents, 67 DCHECK(!contents->GetDelegate()); 69 if (!contents->NeedToFireBeforeUnload()) { 75 base::MessageLoop::current()->DeleteSoon(FROM_HERE, contents.release()); 81 new WebContentsDelegateImpl(this, contents.Pass(), index)); 85 scoped_ptr<content::WebContents> contents, 91 chrome::NavigateParams params(browser_, contents.release());
|
/external/chromium/chrome/browser/tab_contents/ |
infobar_delegate.cc | 69 InfoBarDelegate::InfoBarDelegate(TabContents* contents) 71 if (contents) 72 StoreActiveEntryUniqueID(contents); 75 void InfoBarDelegate::StoreActiveEntryUniqueID(TabContents* contents) { 76 NavigationEntry* active_entry = contents->controller().GetActiveEntry();
|
/external/chromium_org/chrome/renderer/pepper/ |
pepper_flash_font_file_host.cc | 53 std::string contents; local 59 contents.resize(length); 61 reinterpret_cast<uint8_t*>(const_cast<char*>(contents.c_str())); 66 contents.clear(); 72 context->reply_msg = PpapiPluginMsg_FlashFontFile_GetFontTableReply(contents);
|
/frameworks/base/core/java/android/util/ |
FastImmutableArraySet.java | 26 * so it is worth copying the contents of the set to an array when iterating over it 34 public FastImmutableArraySet(T[] contents) { 35 mContents = contents; 59 public FastIterator(T[] contents) { 60 mContents = contents;
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
test_file_system_test.py | 13 '404.html': '404.html contents', 15 'a11y.html': 'a11y.html contents', 16 'about_apps.html': 'about_apps.html contents', 18 'file.html': 'file.html contents' 22 'activeTab.html': 'activeTab.html contents', 23 'alarms.html': 'alarms.html contents' 63 self.assertEqual('404.html contents', fs.ReadSingle('404.html').Get()) 64 self.assertEqual('404.html contents', fs.ReadSingle('/404.html').Get()) 65 self.assertEqual('a11y.html contents', 76 self.assertEqual('404.html contents', [all...] |
link_converter.py | 19 def _WriteFile(filename, contents): 21 f.write(contents) 57 contents = _ReadFile(filename) 58 contents = re.sub(regex, 60 contents) 61 contents = contents.replace('$ref:extension.lastError', 64 print contents 66 _WriteFile(filename, contents)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
ValueCompleter.java | 63 public IContentProposal[] getProposals(String contents, int position) { 70 String prefix = contents; // TODO: Go back to position inside the array? 76 && !contents.isEmpty() 79 && !contents.startsWith(PREFIX_RESOURCE_REF) 80 && !contents.startsWith(PREFIX_THEME_REF)) { 81 proposals.add(new ContentProposal(contents)); 84 if (!contents.isEmpty() && Character.isDigit(contents.charAt(0)) 89 for (int i = 0, n = contents.length(); i < n; i++) { 90 char c = contents.charAt(i) [all...] |
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
picasa_file_util_unittest.cc | 135 FileSystemOperation::FileEntryList* contents, 141 *contents = file_list; 147 FileSystemOperation::FileEntryList* contents, 149 DCHECK(contents); 153 url, base::Bind(&ReadDirectoryTestHelperCallback, &run_loop, contents, 294 FileSystemOperation::FileEntryList contents; local 297 ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); local 300 ASSERT_EQ(test_folders.size(), contents.size()); 302 for (size_t i = 0; i < contents.size(); ++i) { 303 EXPECT_TRUE(contents[i].is_directory) 340 FileSystemOperation::FileEntryList contents; local 343 ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); local 349 FileSystemOperation::FileEntryList contents; local 352 ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); local 428 FileSystemOperation::FileEntryList contents; local 431 ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); local 447 FileSystemOperation::FileEntryList contents; local 450 ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); local 566 FileSystemOperation::FileEntryList contents; local 570 ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); local [all...] |
/external/chromium/chrome/browser/ui/views/tab_contents/ |
native_tab_contents_container_win.cc | 31 void NativeTabContentsContainerWin::AttachContents(TabContents* contents) { 32 // We need to register the tab contents window with the BrowserContainer so 37 Attach(contents->GetNativeView()); 40 void NativeTabContentsContainerWin::DetachContents(TabContents* contents) { 48 HWND container_hwnd = contents->GetNativeView(); 50 // Hide the contents before adjusting its parent to avoid a full desktop 55 static_cast<TabContentsViewViews*>(contents->view())->Unparent(); 100 // We need to be focusable when our contents is not a view hierarchy, as 101 // clicking on the contents needs to focus us.
|
/external/chromium_org/chrome/browser/ui/views/ |
hung_renderer_view_win.cc | 32 bool PlatformShowCustomHungRendererDialog(WebContents* contents) { 36 HungRendererDialogMetro::Create()->Show(contents); 40 bool PlatformHideCustomHungRendererDialog(WebContents* contents) { 45 HungRendererDialogMetro::GetInstance()->Hide(contents); 77 void HungRendererDialogMetro::Show(WebContents* contents) { 79 HungRendererDialogView::IsFrameActive(contents)) { 96 contents_ = contents; 100 contents->GetTitle().c_str(), 110 void HungRendererDialogMetro::Hide(WebContents* contents) {
|