HomeSort by relevance Sort by last modified time
    Searched refs:contents (Results 276 - 300 of 1735) sorted by null

<<11121314151617181920>>

  /external/chromium_org/net/dns/
dns_hosts.cc 17 // Parses the contents of a hosts file. Returns one token (IP or hostname) at
108 void ParseHosts(const std::string& contents, DnsHosts* dns_hosts) {
115 HostsParser parser(contents);
160 std::string contents;
161 if (!base::ReadFileToString(path, &contents))
164 ParseHosts(contents, dns_hosts);
  /external/chromium_org/third_party/leveldatabase/src/table/
filter_block.cc 79 const Slice& contents)
85 size_t n = contents.size();
87 base_lg_ = contents[n-1];
88 uint32_t last_word = DecodeFixed32(contents.data() + n - 5);
90 data_ = contents.data();
  /external/chromium_org/tools/android/adb_profile_chrome/
profiler_unittest.py 15 def __init__(self, contents='fake-contents'):
16 self.contents = contents
30 f.write(self.contents)
62 self.assertEquals(f.read(), controller.contents)
  /external/chromium_org/ui/views/examples/
widget_example.cc 36 AddChildView(new Label(ASCIIToUTF16("Dialog contents label!")));
97 // If the Widget has no contents by default, add a view with a 'Close' button.
99 View* contents = new View(); local
100 contents->SetLayoutManager(new BoxLayout(BoxLayout::kHorizontal, 0, 0, 0));
101 contents->set_background(Background::CreateSolidBackground(SK_ColorGRAY));
102 BuildButton(contents, "Close", CLOSE_WIDGET);
103 widget->SetContentsView(contents);
  /external/chromium_org/chrome/browser/net/
net_error_tab_helper.cc 156 NetErrorTabHelper::NetErrorTabHelper(WebContents* contents)
157 : WebContentsObserver(contents),
166 if (contents)
167 InitializePref(contents);
212 void NetErrorTabHelper::InitializePref(WebContents* contents) {
213 DCHECK(contents);
215 BrowserContext* browser_context = contents->GetBrowserContext();
  /external/chromium_org/chrome/browser/ui/tabs/
tab_utils.cc 119 bool IsPlayingAudio(content::WebContents* contents) {
121 AudioStreamMonitor::FromWebContents(contents);
125 TabMediaState GetTabMediaStateForContents(content::WebContents* contents) {
126 if (!contents)
133 if (indicator->IsBeingMirrored(contents))
135 if (indicator->IsCapturingUserMedia(contents))
139 if (IsPlayingAudio(contents))
tab_strip_model.h 164 void AppendWebContents(content::WebContents* contents, bool foreground);
177 content::WebContents* contents,
254 int GetIndexOfWebContents(const content::WebContents* contents) const;
296 void TabNavigating(content::WebContents* contents,
311 void ForgetGroup(content::WebContents* contents);
313 // Returns true if the group/opener relationships present for |contents|
315 bool ShouldResetGroupOnSelect(content::WebContents* contents) const;
382 // append the contents to the end of the tab strip.
383 void AddWebContents(content::WebContents* contents,
479 bool IsNewTabAtEndOfTabStrip(content::WebContents* contents) const
    [all...]
tab_strip_model.cc 52 typedef std::vector<WebContents*> Contents;
54 explicit CloseTracker(const Contents& contents);
93 CloseTracker::CloseTracker(const Contents& contents) {
94 for (size_t i = 0; i < contents.size(); ++i)
95 observers_.push_back(new DeletionObserver(this, contents[i]));
140 void SetWebContents(WebContents* contents);
210 WebContents* contents)
211 : content::WebContentsObserver(contents),
271 InsertWebContentsAt(count(), contents, local
709 WebContents* contents = GetWebContentsAt(index); local
1130 std::vector<WebContents*> contents; local
    [all...]
  /external/chromium_org/ppapi/cpp/private/
flash_file.cc 107 PP_DirContents_Dev* contents = NULL; local
109 GetDirContents(instance.pp_instance(), path.c_str(), &contents);
110 if (result == PP_OK && contents) {
111 for (int32_t i = 0; i < contents->count; i++)
112 dir_contents->push_back(ConvertDirEntry(contents->entries[i]));
114 if (contents) {
116 FreeDirContents(instance.pp_instance(), contents);
  /external/chromium_org/third_party/
PRESUBMIT.py 81 contents = input_api.ReadFile(f)
82 if (not shortname_pattern.search(contents)
83 and not name_pattern.search(contents)):
89 if not version_pattern.search(contents):
96 if not release_pattern.search(contents):
102 license_match = license_pattern.search(contents)
110 and not license_android_compatible_pattern.search(contents):
  /external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
bc-data.c 50 /*@only@*/ unsigned char *contents; member in struct:yasm_dataval::__anon20202::__anon20203
66 static void bc_data_destroy(void *contents);
67 static void bc_data_print(const void *contents, FILE *f, int indent_level);
90 bc_data_destroy(void *contents)
92 bytecode_data *bc_data = (bytecode_data *)contents;
94 yasm_xfree(contents);
98 bc_data_print(const void *contents, FILE *f, int indent_level)
100 const bytecode_data *bc_data = (const bytecode_data *)contents;
109 bytecode_data *bc_data = (bytecode_data *)bc->contents;
158 bytecode_data *bc_data = (bytecode_data *)bc->contents;
    [all...]
bc-align.c 52 static void bc_align_destroy(void *contents);
53 static void bc_align_print(const void *contents, FILE *f, int indent_level);
78 bc_align_destroy(void *contents)
80 bytecode_align *align = (bytecode_align *)contents;
87 yasm_xfree(contents);
91 bc_align_print(const void *contents, FILE *f, int indent_level)
93 const bytecode_align *align = (const bytecode_align *)contents;
107 bytecode_align *align = (bytecode_align *)bc->contents;
137 bytecode_align *align = (bytecode_align *)bc->contents;
172 bytecode_align *align = (bytecode_align *)bc->contents;
    [all...]
bc-incbin.c 55 static void bc_incbin_destroy(void *contents);
56 static void bc_incbin_print(const void *contents, FILE *f, int indent_level);
78 bc_incbin_destroy(void *contents)
80 bytecode_incbin *incbin = (bytecode_incbin *)contents;
84 yasm_xfree(contents);
88 bc_incbin_print(const void *contents, FILE *f, int indent_level)
90 const bytecode_incbin *incbin = (const bytecode_incbin *)contents;
110 bytecode_incbin *incbin = (bytecode_incbin *)bc->contents;
134 bytecode_incbin *incbin = (bytecode_incbin *)bc->contents;
203 bytecode_incbin *incbin = (bytecode_incbin *)bc->contents;
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
PropertyResourceBundleTest.java 187 Vector<String> contents = new Vector<String>(); local
189 contents.add(keys.nextElement());
192 assertEquals("did not get the right number of properties", 4, contents
194 assertTrue("did not get the parent property p1", contents
196 assertTrue("did not get the parent property p2", contents
198 assertTrue("did not get the local property p3", contents.contains("p3"));
199 assertTrue("did not get the local property p4", contents.contains("p4"));
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
drive_metadata_store.cc 189 SyncStatusCode ReadContents(DBContents* contents) {
190 DCHECK(contents);
191 DCHECK(contents->db);
193 contents->largest_changestamp = 0;
194 contents->metadata_map.clear();
195 contents->incremental_sync_origins.clear();
198 contents->db->NewIterator(leveldb::ReadOptions()));
203 &contents->largest_changestamp);
212 contents->sync_root_directory_resource_id = resource_id;
230 success = contents->metadata_map[origin].insert
    [all...]
  /ndk/sources/host-tools/make-3.81/
dir.c 338 /* Table of directory contents hashed by device and inode number. */
345 /* The directory's contents. This data may be shared by several
348 struct directory_contents *contents;
485 setting the `contents' member to a nil pointer. */
486 dir->contents = 0;
490 /* Search the contents hash table; device and inode are the key. */
519 /* Enter it in the contents hash table. */
571 /* Point the name-hashed entry for DIR at its contents data. */
572 dir->contents = dc;
740 return dir_contents_file_exists_p (find_directory (dirname)->contents,
346 struct directory_contents *contents; member in struct:directory
1090 struct directory_contents *contents; \/* The directory being read. *\/ member in struct:dirstream
    [all...]
  /external/chromium_org/chrome/browser/resources/ntp4/
apps_page.css 11 .app-contents {
15 .app-contents:active:not(.suppress-active),
16 .app:not(.click-focus):focus .app-contents:not(.suppress-active),
17 .drag-representation:not(.placing) .app-contents {
22 .app-contents:active:not(.suppress-active),
25 .app-contents.suppress-active {
29 .app-contents > span {
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/
win64-except.c 39 static void win64_uwinfo_bc_destroy(void *contents);
40 static void win64_uwinfo_bc_print(const void *contents, FILE *f,
54 static void win64_uwcode_bc_destroy(void *contents);
55 static void win64_uwcode_bc_print(const void *contents, FILE *f,
194 win64_uwinfo_bc_destroy(void *contents)
196 yasm_win64__uwinfo_destroy((coff_unwind_info *)contents);
200 win64_uwinfo_bc_print(const void *contents, FILE *f, int indent_level)
208 coff_unwind_info *info = (coff_unwind_info *)bc->contents;
225 coff_unwind_info *info = (coff_unwind_info *)bc->contents;
257 coff_unwind_info *info = (coff_unwind_info *)bc->contents;
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
sessionmessages.cc 351 const ContentInfos& contents,
356 bool has_audio = FindContentInfoByName(contents, CN_AUDIO) != NULL;
357 bool has_video = FindContentInfoByName(contents, CN_VIDEO) != NULL;
441 const ContentInfos& contents,
455 const ContentInfo* content = FindContentInfoByName(contents, content_name);
591 ContentInfos* contents,
601 contents->push_back(ContentInfo(name, type, desc));
618 ContentInfos* contents,
635 contents, error))
640 contents, error)
    [all...]
sessiondescription.cc 35 ContentInfos& contents, const std::string& name) {
36 for (ContentInfos::iterator content = contents.begin();
37 content != contents.end(); ++content) {
46 const ContentInfos& contents, const std::string& name) {
47 for (ContentInfos::const_iterator content = contents.begin();
48 content != contents.end(); ++content) {
57 const ContentInfos& contents, const std::string& type) {
58 for (ContentInfos::const_iterator content = contents.begin();
59 content != contents.end(); ++content) {
96 content != copy->contents().end(); ++content)
    [all...]
  /external/chromium_org/chrome/browser/media/
webrtc_log_uploader.cc 369 std::string contents; local
372 if (!base::ReadFileToString(upload_list_path, &contents)) {
381 int i = contents.size() - 1;
383 if (contents[i] == '\n')
389 contents.erase(0, i + 2);
395 contents += ",," + local_log_id + '\n';
398 base::WriteFile(upload_list_path, &contents[0], contents.size());
399 if (written != static_cast<int>(contents.size())) {
414 std::string contents; local
    [all...]
  /external/chromium_org/content/browser/android/in_process/
synchronous_compositor_impl.cc 54 WebContents* contents = WebContents::FromRenderViewHost(rvh);
55 if (!contents)
57 return FromWebContents(contents);
65 SynchronousCompositorImpl::SynchronousCompositorImpl(WebContents* contents)
68 contents_(contents),
71 DCHECK(contents);
292 WebContents* contents,
294 DCHECK(contents);
297 SynchronousCompositorImpl::CreateForWebContents(contents);
300 SynchronousCompositorImpl::FromWebContents(contents)) {
    [all...]
  /external/chromium_org/ppapi/proxy/
flash_file_resource.cc 106 PP_DirContents_Dev** contents) {
116 *contents = new PP_DirContents_Dev;
117 (*contents)->count = static_cast<int32_t>(entries.size());
118 (*contents)->entries = new PP_DirEntry_Dev[entries.size()];
121 PP_DirEntry_Dev* dest = &(*contents)->entries[i];
134 PP_DirContents_Dev* contents) {
135 for (int32_t i = 0; i < contents->count; ++i)
136 delete[] contents->entries[i].name;
137 delete[] contents->entries;
138 delete contents;
    [all...]
  /external/chromium_org/chrome/browser/ui/toolbar/
back_forward_menu_model.cc 301 WebContents* contents = GetWebContents(); local
306 items = contents->GetController().GetEntryCount() -
307 contents->GetController().GetCurrentEntryIndex() - 1;
309 items = contents->GetController().GetCurrentEntryIndex();
321 WebContents* contents = GetWebContents(); local
324 int current_entry = contents->GetController().GetCurrentEntryIndex();
347 WebContents* contents = GetWebContents(); local
348 NavigationController& controller = contents->GetController();
401 WebContents* contents = GetWebContents(); local
402 int entry = contents->GetController().GetCurrentEntryIndex() + offset
429 WebContents* contents = GetWebContents(); local
    [all...]
  /external/chromium_org/chrome/browser/ui/login/
login_prompt_browsertest.cc 293 content::WebContents* contents = local
295 NavigationController* controller = &contents->GetController();
315 content::WebContents* contents = local
317 NavigationController* controller = &contents->GetController();
356 content::TitleWatcher title_watcher(contents, expected_title);
365 content::WebContents* contents = local
367 NavigationController* controller = &contents->GetController();
407 content::TitleWatcher title_watcher(contents, expected_title);
479 content::WebContents* contents = local
481 NavigationController* controller = &contents->GetController()
577 content::WebContents* contents = local
628 content::WebContents* contents = local
679 content::WebContents* contents = local
749 content::WebContents* contents = local
806 content::WebContents* contents = local
877 content::WebContents* contents = local
1057 content::WebContents* contents = local
1133 content::WebContents* contents = local
1168 content::WebContents* contents = local
1203 content::WebContents* contents = local
1267 content::WebContents* contents = local
1312 content::WebContents* contents = local
    [all...]

Completed in 785 milliseconds

<<11121314151617181920>>