Home
last modified time | relevance | path

Searched refs:pItem (Results 1 – 25 of 38) sorted by relevance

12

/external/pdfium/xfa/fwl/
Dcfwl_widgetmgr.cpp39 Item* pItem = GetWidgetMgrItem(pWidget); in GetParentWidget() local
40 return pItem && pItem->pParent ? pItem->pParent->pWidget : nullptr; in GetParentWidget()
44 Item* pItem = GetWidgetMgrItem(pWidget); in GetOwnerWidget() local
45 return pItem && pItem->pOwner ? pItem->pOwner->pWidget : nullptr; in GetOwnerWidget()
49 Item* pItem = GetWidgetMgrItem(pWidget); in GetFirstSiblingWidget() local
50 if (!pItem) in GetFirstSiblingWidget()
53 pItem = pItem->pPrevious; in GetFirstSiblingWidget()
54 while (pItem && pItem->pPrevious) in GetFirstSiblingWidget()
55 pItem = pItem->pPrevious; in GetFirstSiblingWidget()
56 return pItem ? pItem->pWidget : nullptr; in GetFirstSiblingWidget()
[all …]
Dcfwl_listbox.cpp121 CFWL_ListItem* pItem = GetItem(this, i); in CountSelItems() local
122 if (!pItem) in CountSelItems()
124 if (pItem->GetStates() & FWL_ITEMSTATE_LTB_Selected) in CountSelItems()
141 CFWL_ListItem* pItem = GetItem(this, i); in GetSelIndex() local
142 if (!pItem) in GetSelIndex()
144 if (pItem->GetStates() & FWL_ITEMSTATE_LTB_Selected) { in GetSelIndex()
153 void CFWL_ListBox::SetSelItem(CFWL_ListItem* pItem, bool bSelect) { in SetSelItem() argument
154 if (!pItem) { in SetSelItem()
164 SetSelectionDirect(pItem, bSelect); in SetSelItem()
166 SetSelection(pItem, pItem, bSelect); in SetSelItem()
[all …]
Dcfwl_listbox.h54 int32_t GetItemIndex(CFWL_Widget* pWidget, CFWL_ListItem* pItem);
58 void DeleteString(CFWL_ListItem* pItem);
Dcfwl_widget.h131 void SetAdapterIface(AdapterIface* pItem) { m_pAdapterIface = pItem; } in SetAdapterIface() argument
/external/pdfium/xfa/fxfa/
Dcxfa_fftext.cpp44 CXFA_ContentLayoutItem* pItem = GetLayoutItem(); in RenderWidget() local
45 if (!pItem->GetPrev() && !pItem->GetNext()) { in RenderWidget()
50 if (!pItem->GetPrev()) in RenderWidget()
52 else if (!pItem->GetNext()) in RenderWidget()
81 CXFA_ContentLayoutItem* pItem = GetLayoutItem(); in PerformLayout() local
82 if (!pItem->GetPrev() && !pItem->GetNext()) in PerformLayout()
85 pItem = pItem->GetFirst(); in PerformLayout()
86 while (pItem) { in PerformLayout()
87 CFX_RectF rtText = pItem->GetRect(false); in PerformLayout()
90 if (!pItem->GetPrev()) in PerformLayout()
[all …]
Dcxfa_readynodeiterator.cpp17 CXFA_Node* pItem = m_pCurNode ? m_ContentIterator.MoveToNext() in MoveToNext() local
19 while (pItem) { in MoveToNext()
20 m_pCurNode = pItem->IsWidgetReady() ? pItem : nullptr; in MoveToNext()
23 pItem = m_ContentIterator.MoveToNext(); in MoveToNext()
Dcxfa_fffield.cpp163 CXFA_ContentLayoutItem* pItem = GetLayoutItem()->GetPrev(); in SetEditScrollOffset() local
164 CXFA_FFField* pPrev = pItem ? ToField(pItem->GetFFWidget()) : nullptr; in SetEditScrollOffset()
170 pItem = pPrev->GetLayoutItem()->GetPrev(); in SetEditScrollOffset()
171 pPrev = pItem ? ToField(pItem->GetFFWidget()) : nullptr; in SetEditScrollOffset()
191 CXFA_ContentLayoutItem* pItem = GetLayoutItem(); in CapPlacement() local
196 if (!pItem->GetPrev() && !pItem->GetNext()) { in CapPlacement()
199 if (!pItem->GetPrev()) in CapPlacement()
201 else if (!pItem->GetNext()) in CapPlacement()
226 CXFA_ContentLayoutItem* pItem = GetLayoutItem(); in CapPlacement() local
227 if (!pItem->GetPrev() && !pItem->GetNext()) { in CapPlacement()
[all …]
Dcxfa_fwltheme.cpp153 CXFA_ContentLayoutItem* pItem = pWidget->GetLayoutItem(); in GetUIMargin() local
162 if (!pItem->GetPrev()) { in GetUIMargin()
163 if (pItem->GetNext()) in GetUIMargin()
165 } else if (!pItem->GetNext()) { in GetUIMargin()
Dcxfa_ffwidget.cpp671 CXFA_ContentLayoutItem* pItem = GetLayoutItem(); in EventKillFocus() local
672 if (pItem->TestStatusBits(XFA_WidgetStatus_Access)) { in EventKillFocus()
673 pItem->ClearStatusBits(XFA_WidgetStatus_Access); in EventKillFocus()
687 CXFA_ContentLayoutItem* pItem = GetLayoutItem(); in SetButtonDown() local
689 pItem->SetStatusBits(XFA_WidgetStatus_ButtonDown); in SetButtonDown()
691 pItem->ClearStatusBits(XFA_WidgetStatus_ButtonDown); in SetButtonDown()
Dcxfa_ffpageview.h27 void SetLayoutItem(CXFA_ViewLayoutItem* pItem) { m_pLayoutItem = pItem; } in SetLayoutItem() argument
Dcxfa_ffpageview.cpp82 CXFA_ContentLayoutItem* pItem = pWidget->GetLayoutItem(); in PageWidgetFilter() local
83 if (bTraversal && pItem->TestStatusBits(XFA_WidgetStatus_Disabled)) in PageWidgetFilter()
86 return pItem->TestStatusBits(XFA_WidgetStatus_Visible); in PageWidgetFilter()
90 return pItem->TestStatusBits(dwFilter); in PageWidgetFilter()
Dcxfa_fflistbox.cpp147 for (CFWL_ListItem* pItem : selItemArray) in UpdateFWLData()
148 pListBox->SetSelItem(pItem, true); in UpdateFWLData()
Dcxfa_ffwidget.h147 void SetLayoutItem(CXFA_ContentLayoutItem* pItem) { m_pLayoutItem = pItem; } in SetLayoutItem() argument
Dcxfa_ffnotify.h56 void StartFieldDrawLayout(CXFA_Node* pItem,
/external/pdfium/core/fpdfapi/page/
Dcpdf_contentmarks.cpp30 bool CPDF_ContentMarks::ContainsItem(const CPDF_ContentMarkItem* pItem) const { in ContainsItem()
31 return m_pMarkData && m_pMarkData->ContainsItem(pItem); in ContainsItem()
111 const CPDF_ContentMarkItem* pItem) const { in ContainsItem()
113 if (pMark == pItem) in ContainsItem()
138 auto pItem = pdfium::MakeRetain<CPDF_ContentMarkItem>(std::move(name)); in AddMark() local
139 m_Marks.push_back(pItem); in AddMark()
145 auto pItem = pdfium::MakeRetain<CPDF_ContentMarkItem>(std::move(name)); in AddMarkWithDirectDict() local
146 pItem->SetDirectDict(ToDictionary(pDict->Clone())); in AddMarkWithDirectDict()
147 m_Marks.push_back(pItem); in AddMarkWithDirectDict()
154 auto pItem = pdfium::MakeRetain<CPDF_ContentMarkItem>(name); in AddMarkWithPropertiesHolder() local
[all …]
Dcpdf_contentmarks.h27 bool ContainsItem(const CPDF_ContentMarkItem* pItem) const;
50 bool ContainsItem(const CPDF_ContentMarkItem* pItem) const;
/external/pdfium/xfa/fxfa/layout/
Dcxfa_contentlayoutitem.cpp47 void CXFA_ContentLayoutItem::InsertAfter(CXFA_ContentLayoutItem* pItem) { in InsertAfter() argument
48 CHECK_NE(this, pItem); in InsertAfter()
49 pItem->RemoveSelf(); in InsertAfter()
50 pItem->m_pNext = m_pNext; in InsertAfter()
51 pItem->m_pPrev = this; in InsertAfter()
52 m_pNext = pItem; in InsertAfter()
53 if (pItem->m_pNext) in InsertAfter()
54 pItem->m_pNext->m_pPrev = pItem; in InsertAfter()
/external/icu/icu4c/source/tools/toolutil/
Dpkgitems.cpp63 NativeItem() : pItem(NULL), pInfo(NULL), bytes(NULL), swapped(NULL), length(0) {} in NativeItem()
81 pItem=item; in setItem()
84 pInfo=::getDataInfo(pItem->data, pItem->length, infoLength, itemHeaderLength, &errorCode); in setItem()
88 length=pItem->length-itemHeaderLength; in setItem()
91 bytes=pItem->data+itemHeaderLength; in setItem()
96 pItem->name, u_errorName(errorCode)); in setItem()
103 swapped=new uint8_t[pItem->length]; in setItem()
105 … fprintf(stderr, "icupkg: unable to allocate memory for swapping \"%s\"\n", pItem->name); in setItem()
108 swap(ds, pItem->data, pItem->length, swapped, &errorCode); in setItem()
109 pInfo=::getDataInfo(swapped, pItem->length, infoLength, itemHeaderLength, &errorCode); in setItem()
[all …]
Dpackage.cpp691 Item *pItem; in writePackage() local
866 for(pItem=items, i=0; i<itemCount; ++pItem, ++i) { in writePackage()
867 int32_t type=makeTypeEnum(pItem->type); in writePackage()
872 pItem->data, pItem->length, pItem->data, in writePackage()
879 length=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in writePackage()
880 if(length!=pItem->length) { in writePackage()
1078 const Item *pItem; in addItems() local
1081 for(pItem=listPkg.items, i=0; i<listPkg.itemCount; ++pItem, ++i) { in addItems()
1082 addItem(pItem->name, pItem->data, pItem->length, FALSE, pItem->type); in addItems()
1118 const Item *pItem; in removeItems() local
[all …]
Dpackage.h143 void enumDependencies(Item *pItem, void *context, CheckDependency check);
/external/pdfium/fxjs/xfa/
Dcjx_layoutpseudomodel.cpp235 for (CXFA_LayoutItem* pItem = pLayoutPage->GetFirstChild(); pItem; in GetObjArray() local
236 pItem = pItem->GetNextSibling()) { in GetObjArray()
237 if (pItem->GetFormNode()->GetElementType() == XFA_Element::ContentArea) in GetObjArray()
238 retArray.push_back(pItem->GetFormNode()); in GetObjArray()
247 for (CXFA_LayoutItem* pItem = pLayoutPage->GetFirstChild(); pItem; in GetObjArray() local
248 pItem = pItem->GetNextSibling()) { in GetObjArray()
249 if (pItem->GetFormNode()->GetElementType() == XFA_Element::ContentArea) { in GetObjArray()
250 retArray.push_back(pItem->GetFormNode()); in GetObjArray()
252 CXFA_LayoutItemIterator iterator(pItem->GetFirstChild()); in GetObjArray()
273 CXFA_LayoutItemIterator iterator(pItem); in GetObjArray()
[all …]
Dcjx_node.cpp330 CXFA_Node* pItem = pNewChild->GetNextSibling(); in loadXML() local
334 pNewChild = pItem; in loadXML()
338 CXFA_Node* pItem = pChild->GetNextSibling(); in loadXML() local
341 pChild = pItem; in loadXML()
358 CXFA_Node* pItem = pChild->GetNextSibling(); in loadXML() local
362 pChild = pItem; in loadXML()
/external/grpc-grpc/third_party/nanopb/
Dpb_decode.c379 void *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() local
380 if (!func(&substream, iter->pos, pItem)) in decode_static_field()
398 void *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() local
403 return func(stream, iter->pos, pItem); in decode_static_field()
463 static void initialize_pointer_field(void *pItem, pb_field_iter_t *iter) in initialize_pointer_field() argument
468 *(void**)pItem = NULL; in initialize_pointer_field()
472 pb_message_set_to_defaults((const pb_field_t *) iter->pos->ptr, pItem); in initialize_pointer_field()
529 void *pItem; in decode_pointer_field()
552 pItem = *(char**)iter->pData + iter->pos->data_size * (*size); in decode_pointer_field()
553 initialize_pointer_field(pItem, iter); in decode_pointer_field()
[all …]
/external/nanopb-c/
Dpb_decode.c433 void *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() local
434 if (!func(&substream, iter->pos, pItem)) in decode_static_field()
453 char *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() local
458 return func(stream, iter->pos, pItem); in decode_static_field()
518 static void initialize_pointer_field(void *pItem, pb_field_iter_t *iter) in initialize_pointer_field() argument
523 *(void**)pItem = NULL; in initialize_pointer_field()
529 memset(pItem, 0, iter->pos->data_size); in initialize_pointer_field()
530 pb_message_set_to_defaults((const pb_field_t *) iter->pos->ptr, pItem); in initialize_pointer_field()
587 void *pItem; in decode_pointer_field()
610 pItem = *(char**)iter->pData + iter->pos->data_size * (*size); in decode_pointer_field()
[all …]
/external/skqp/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h3099 Item* const pItem = &block.pItems[block.FirstFreeIndex]; in Alloc() local
3100 block.FirstFreeIndex = pItem->NextFreeIndex; in Alloc()
3101 return &pItem->Value; in Alloc()
3107 Item* const pItem = &newBlock.pItems[0]; in Alloc() local
3108 newBlock.FirstFreeIndex = pItem->NextFreeIndex; in Alloc()
3109 return &pItem->Value; in Alloc()
3195 ItemType* InsertBefore(ItemType* pItem);
3197 ItemType* InsertAfter(ItemType* pItem);
3199 ItemType* InsertBefore(ItemType* pItem, const T& value);
3200 ItemType* InsertAfter(ItemType* pItem, const T& value);
[all …]

12