Searched refs:page_num (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/components/dom_distiller/core/
H A Ddistiller.cc77 void DistillerImpl::AddToDistillationQueue(int page_num, const GURL& url) { argument
78 if (!IsPageNumberInUse(page_num) && url.is_valid() &&
81 waiting_pages_[page_num] = url;
85 bool DistillerImpl::IsPageNumberInUse(int page_num) const {
86 return waiting_pages_.find(page_num) != waiting_pages_.end() ||
87 started_pages_index_.find(page_num) != started_pages_index_.end() ||
88 finished_pages_index_.find(page_num) != finished_pages_index_.end();
115 int page_num = front->first; local
120 DCHECK(started_pages_index_.find(page_num) == started_pages_index_.end());
121 DCHECK(finished_pages_index_.find(page_num)
135 OnPageDistillationFinished( int page_num, const GURL& page_url, scoped_ptr<proto::DomDistillerResult> distiller_result, bool distillation_successful) argument
200 FetchImage(int page_num, const std::string& image_id, const std::string& item) argument
217 OnFetchImageDone(int page_num, DistillerURLFetcher* url_fetcher, const std::string& id, const std::string& response) argument
244 AddPageIfDone(int page_num) argument
[all...]
H A Ddistiller.h96 int page_num; member in struct:dom_distiller::DistillerImpl::DistilledPageData
105 void OnFetchImageDone(int page_num,
111 int page_num,
116 virtual void FetchImage(int page_num,
123 // Adds the |url| to |pages_to_be_distilled| if |page_num| is a valid relative
125 void AddToDistillationQueue(int page_num, const GURL& url);
127 // Check if |page_num| is a valid relative page number, i.e. page with
128 // |page_num| is either under distillation or has already completed
130 bool IsPageNumberInUse(int page_num) const;
144 void AddPageIfDone(int page_num);
[all...]
H A Ddom_distiller_service_unittest.cc416 for (int page_num = 0; page_num < kPageCount; ++page_num) {
417 pages_url[page_num] = GURL(base_url + base::IntToString(page_num));
434 for (int page_num = 1; page_num < kPageCount; ++page_num) {
436 distilled_page->set_url(pages_url[page_num].spec());
447 for (int page_num
[all...]
H A Ddistiller_unittest.cc50 const string GetImageName(int page_num, int image_num) { argument
51 return base::IntToString(page_num) + "_" + base::IntToString(image_num);
146 for (size_t page_num = 0; page_num < pages_size; ++page_num) {
147 result->page_urls.push_back(url_prefix + base::IntToString(page_num));
149 base::IntToString(page_num));
151 string next_page_url = (page_num + 1 < pages_size)
152 ? url_prefix + base::IntToString(page_num + 1)
155 (page_num >
[all...]
H A Dviewer.cc177 for (int page_num = 0; page_num < article_proto->pages_size(); ++page_num) {
178 unsafe_output_stream << article_proto->pages(page_num).html();
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dpagemap.h152 // Find out if the given page_num index in array_ is in committed memory.
153 bool IsCommitted(size_t page_num) const {
154 return committed_[page_num >> 3] & (1 << (page_num & 0x7));
157 // Remember that the given page_num index in array_ is in committed memory.
158 void SetCommitted(size_t page_num) { argument
159 committed_[page_num >> 3] |= (1 << (page_num & 0x7));
/external/e2fsprogs/misc/
H A De4defrag.c412 * @page_num: page number.
415 unsigned char **vec, unsigned int *page_num)
439 *page_num = 0;
440 *page_num = (length + pagesize - 1) / pagesize;
441 *vec = (unsigned char *)calloc(*page_num, 1);
461 * @page_num: page number.
464 unsigned char *vec, unsigned int page_num)
483 (loff_t)pagesize * page_num, sync_flag) < 0)
489 for (i = 0; i < page_num; i++) {
1355 unsigned int page_num; local
414 page_in_core(int fd, struct move_extent defrag_data, unsigned char **vec, unsigned int *page_num) argument
463 defrag_fadvise(int fd, struct move_extent defrag_data, unsigned char *vec, unsigned int page_num) argument
[all...]
/external/fio/
H A Dgfio.h125 gint page_num; member in struct:gui_entry
H A Dgfio.c398 g_hash_table_remove(ge->ui->ge_hash, &ge->page_num);
745 ge->page_num = gtk_notebook_append_page(GTK_NOTEBOOK(ui->notebook), ge->vbox, ge->page_label);
747 g_hash_table_insert(ui->ge_hash, &ge->page_num, ge);
759 gtk_notebook_set_current_page(GTK_NOTEBOOK(ui->notebook), ge->page_num);
886 gtk_notebook_set_current_page(GTK_NOTEBOOK(ui->notebook), ge->page_num);
/external/bluetooth/bluedroid/stack/btm/
H A Dbtm_acl.c1378 BTM_TRACE_API ("ext_features_complt page_num:%d f[0]:x%02x, sm4:%x, pend:%d",
1521 UINT8 status, page_num, max_page; local
1529 STREAM_TO_UINT8 (page_num, p);
1548 STREAM_TO_ARRAY(p_acl_cb->peer_lmp_features[page_num], p, HCI_FEATURE_BYTES_PER_PAGE);
1552 if ((page_num < max_page) && (page_num < HCI_EXT_FEATURES_PAGE_MAX))
1554 page_num++;
1555 BTM_TRACE_DEBUG("BTM reads next remote extended features page (%d)", page_num);
1556 btm_read_remote_ext_features (handle, page_num);
1561 BTM_TRACE_DEBUG("BTM reached last remote extended features page (%d)", page_num);
[all...]
/external/bluetooth/bluedroid/stack/include/
H A Dhcimsgs.h270 HCI_API extern BOOLEAN btsnd_hcic_rmt_ext_features(UINT16 handle, UINT8 page_num);
280 HCI_API extern BOOLEAN btsnd_hcic_read_local_ext_features (UINT8 page_num);
1023 HCI_API extern void btsnd_hcie_read_rmt_ext_features (void *buffer, UINT8 status, UINT16 handle, UINT8 page_num,
/external/qemu/include/hw/
H A Dbt.h605 uint8_t page_num; member in struct:__anon29738
1210 uint8_t page_num; member in struct:__anon29814
1215 uint8_t page_num; member in struct:__anon29815
1582 uint8_t page_num; member in struct:__anon29860
/external/chromium_org/pdf/
H A Dinstance.cc2491 int page_num = engine_->GetFirstVisiblePage();
2492 if (page_num == -1)
2494 pp::Rect rc = engine_->GetPageRect(page_num);
/external/bluetooth/bluedroid/stack/hcic/
H A Dhcicmds.c581 BOOLEAN btsnd_hcic_rmt_ext_features (UINT16 handle, UINT8 page_num) argument
598 UINT8_TO_STREAM (pp, page_num);
2800 BOOLEAN btsnd_hcic_read_local_ext_features (UINT8 page_num) argument
2816 UINT8_TO_STREAM (pp, page_num);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 445 milliseconds