/external/chromium_org/tools/gyp/test/generator-output/actions/subdir1/ |
make-prog2.py | 9 contents = r""" 18 open(sys.argv[1], 'w').write(contents)
|
/external/clang/test/CodeGen/ |
2009-03-08-ZeroEltStructCrash.c | 7 } contents; member in struct:Union 10 int *array = u->contents.zero_arr;
|
/libcore/support/src/test/java/tests/support/ |
Support_TestResource.java | 25 Object[][] contents = { { "parent1", "parentValue1" }, local 28 return contents;
|
/external/chromium_org/tools/gyp/test/variables/commands/ |
gyptest-commands-repeated.py | 22 # Verify the commands-repeated.gypd against the checked-in expected contents. 25 # contents file setting the Subversion svn:eol-style to native, 31 contents = test.read('commands-repeated.gypd').replace('\r\n', '\n') variable 33 if not test.match(contents, expect): 34 print "Unexpected contents of `commands-repeated.gypd'" 35 test.diff(expect, contents, 'commands-repeated.gypd ')
|
gyptest-commands.py | 23 # Verify the commands.gypd against the checked-in expected contents. 26 # contents file setting the Subversion svn:eol-style to native, 32 contents = test.read('commands.gypd').replace('\r', '') variable 34 if not test.match(contents, expect): 35 print "Unexpected contents of `commands.gypd'" 36 test.diff(expect, contents, 'commands.gypd ')
|
gyptest-commands-ignore-env.py | 30 # Verify the commands.gypd against the checked-in expected contents. 33 # contents file setting the Subversion svn:eol-style to native, 39 contents = test.read('commands.gypd').replace('\r', '') variable 41 if not test.match(contents, expect): 42 print "Unexpected contents of `commands.gypd'" 43 test.diff(expect, contents, 'commands.gypd ')
|
/external/chromium_org/tools/gyp/test/variables/filelist/ |
gyptest-filelist.py | 22 contents = test.read('src/dummy_foo').replace('\r', '') variable 24 if not test.match(contents, expect): 25 print "Unexpected contents of `src/dummy_foo'" 26 test.diff(expect, contents, 'src/dummy_foo')
|
/external/chromium_org/third_party/boringssl/src/crypto/bytestring/ |
ber.c | 40 CBS contents; local 44 if (!CBS_get_any_asn1_element(&in, &contents, &tag, &header_len)) { 47 if (CBS_len(&contents) == header_len && 49 CBS_data(&contents)[header_len-1] == 0x80) { 54 if (!CBS_skip(&contents, header_len) || 55 !cbs_find_ber(&contents, ber_found, depth + 1)) { 74 /* is_eoc returns true if |header_len| and |contents|, as returned by 75 * |CBS_get_any_asn1_element|, indicate an "end of contents" (EOC) value. */ 76 static char is_eoc(size_t header_len, CBS *contents) { 77 return header_len == 2 && CBS_len(contents) == 2 & 94 CBS contents; local 125 CBS in_copy, contents; local [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
MinimalCollection.java | 33 public static <E> MinimalCollection<E> of(E... contents) { 34 return new MinimalCollection<E>(Object.class, true, contents); 39 Class<? super E> type, E... contents) { 40 return new MinimalCollection<E>(type, true, contents); 43 private final E[] contents; field in class:MinimalCollection 48 MinimalCollection(Class<? super E> type, boolean allowNulls, E... contents) { 49 // TODO: consider making it shuffle the contents to test iteration order. 50 this.contents = Platform.clone(contents); 55 for (Object element : contents) { [all...] |
/external/chromium_org/chrome/browser/ui/ |
fast_unload_controller.cc | 27 // DetachedWebContentsDelegate will delete web contents when they close. 66 bool FastUnloadController::CanCloseContents(content::WebContents* contents) { 75 content::WebContents* contents) { 76 // If |contents| is being inspected, devtools needs to intercept beforeunload 78 return DevToolsWindow::GetInstanceForInspectedWebContents(contents) != NULL; 83 content::WebContents* contents) { 84 // If there's a devtools window attached to |contents|, 86 // and then call beforeunload handlers for |contents|. 88 if (DevToolsWindow::InterceptPageBeforeUnload(contents)) { 95 if (contents->NeedToFireBeforeUnload()) 208 content::WebContents* contents = local 242 content::WebContents* contents = *it; local 278 content::WebContents* contents = local 382 content::WebContents* contents = *it; local 416 content::WebContents* contents = *current; local [all...] |
/external/chromium_org/chrome/browser/ui/pdf/ |
chrome_pdf_web_contents_helper_client.h | 19 virtual void UpdateLocationBar(content::WebContents* contents) OVERRIDE; 21 virtual void UpdateContentRestrictions(content::WebContents* contents, 25 content::WebContents* contents) OVERRIDE; 27 virtual void OnSaveURL(content::WebContents* contents) OVERRIDE; 30 content::WebContents* contents,
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TestParcelable.java | 7 int contents; field in class:TestParcelable 9 public TestParcelable(int contents) { 10 this.contents = contents; 32 dest.writeInt(contents);
|
/external/chromium_org/chrome/browser/ |
loadtimes_extension_bindings_browsertest.cc | 21 content::WebContents* contents = local 24 contents, 33 contents, 38 contents, 51 content::WebContents* contents = local 54 contents, "window.before = window.chrome.loadTimes()")); 56 contents, "window.location.href = window.location + \"#\"")); 58 contents, "window.after = window.chrome.loadTimes()")); 68 content::WebContents* contents = local 71 contents, "window.before = window.chrome.loadTimes()")) [all...] |
/external/chromium_org/content/browser/web_contents/ |
web_contents_impl_unittest.cc | 116 TestInterstitialPage(WebContentsImpl* contents, 122 contents, 123 static_cast<RenderWidgetHostDelegate*>(contents), 272 explicit TestWebContentsObserver(WebContents* contents) 273 : WebContentsObserver(contents) { 350 cont.RendererDidNavigate(contents()->GetMainFrame(), params, &details); 352 contents()->UpdateTitle(contents()->GetMainFrame(), 0, 355 EXPECT_EQ(base::ASCIIToUTF16("Lots O' Whitespace"), contents()->GetTitle()); 362 EXPECT_EQ(base::string16(), contents()->GetTitle()) [all...] |
web_contents_user_data_unittest.cc | 20 explicit WebContentsAttachedClass1(WebContents* contents) {} 29 explicit WebContentsAttachedClass2(WebContents* contents) {} 39 WebContents* contents = web_contents(); local 41 WebContentsAttachedClass1::FromWebContents(contents); 44 WebContentsAttachedClass2::FromWebContents(contents); 47 WebContentsAttachedClass1::CreateForWebContents(contents); 48 class1 = WebContentsAttachedClass1::FromWebContents(contents); 50 class2 = WebContentsAttachedClass2::FromWebContents(contents); 53 WebContentsAttachedClass2::CreateForWebContents(contents); 55 WebContentsAttachedClass1::FromWebContents(contents); 92 WebContents* contents = web_contents(); local [all...] |
/external/chromium_org/base/ |
sys_info_linux.cc | 32 std::string contents; local 33 base::ReadFileToString(base::FilePath("/proc/sys/kernel/shmmax"), &contents); 34 DCHECK(!contents.empty()); 35 if (!contents.empty() && contents[contents.length() - 1] == '\n') { 36 contents.erase(contents.length() - 1); 40 if (!base::StringToUint64(contents, &limit)) { 83 std::string contents; local [all...] |
/external/chromium_org/components/policy/core/common/cloud/ |
resource_cache_unittest.cc | 61 std::map<std::string, std::string> contents; local 62 cache.LoadAllSubkeys(kKey1, &contents); 63 EXPECT_EQ(2u, contents.size()); 64 EXPECT_EQ(kData0, contents[kSubA]); 65 EXPECT_EQ(kData1, contents[kSubB]); 79 cache.LoadAllSubkeys(kKey1, &contents); 80 EXPECT_EQ(2u, contents.size()); 81 EXPECT_EQ(kData1, contents[kSubB]); 82 EXPECT_EQ(kData1, contents[kSubD]); 87 cache.LoadAllSubkeys(kKey1, &contents); 134 std::map<std::string, std::string> contents; local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
ImageDecoder.cpp | 50 inline bool matchesGIFSignature(char* contents) 52 return !memcmp(contents, "GIF87a", 6) || !memcmp(contents, "GIF89a", 6); 55 inline bool matchesPNGSignature(char* contents) 57 return !memcmp(contents, "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A", 8); 60 inline bool matchesJPEGSignature(char* contents) 62 return !memcmp(contents, "\xFF\xD8\xFF", 3); 65 inline bool matchesWebPSignature(char* contents) 67 return !memcmp(contents, "RIFF", 4) && !memcmp(contents + 8, "WEBPVP", 6) 92 char contents[longestSignatureLength]; local [all...] |
/external/chromium_org/third_party/WebKit/Source/build/scripts/ |
make_private_script_source.py | 30 contents = f.read() 31 match = re.search(r'partial\s+interface\s+(\w+)\s*{', contents) 44 contents = [] 45 contents.append('#ifndef %s_h\n' % source_name) 46 contents.append('#define %s_h\n' % source_name) 53 contents.append('const char kSourceOf%s[] = {\n %s\n};\n\n' % ( 55 contents.append('struct %s {' % source_name) 56 contents.append(""" 61 contents.append(""" 65 contents.append('const char* resourceFile;' [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
drive_internals.css | 6 #gcache-contents { 10 #file-system-contents { 14 #cache-contents {
|
/external/chromium_org/chrome/browser/ui/tabs/ |
test_tab_strip_model_delegate.cc | 29 content::WebContents* contents) { 31 CoreTabHelper::CreateForWebContents(contents); 33 extensions::TabHelper::CreateForWebContents(contents); 48 content::WebContents* contents) { 52 content::WebContents* contents) { 57 content::WebContents* contents) {
|
/external/chromium_org/chrome/browser/ui/passwords/ |
manage_passwords_ui_controller_mock.cc | 10 content::WebContents* contents) 11 : ManagePasswordsUIController(contents), 15 contents->SetUserData(UserDataKey(), this);
|
/external/chromium_org/chrome/browser/ui/cocoa/tab_contents/ |
favicon_util_mac.h | 16 // Returns an autoreleased favicon for a given WebContents. If |contents| 19 NSImage* FaviconForWebContents(content::WebContents* contents);
|
/external/chromium_org/chrome/browser/ui/webui/suggestions_internals/ |
suggestions_internals_ui.h | 14 explicit SuggestionsInternalsUI(content::WebUI* contents);
|
/external/chromium_org/chrome/browser/ui/webui/user_actions/ |
user_actions_ui.h | 13 explicit UserActionsUI(content::WebUI* contents);
|