Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/src/fwl/src/core/
Dfwl_widgetmgrimp.cpp49 CFWL_WidgetMgrItem* pItem; in ~CFWL_WidgetMgr() local
50 m_mapWidgetItem.GetNextAssoc(ps, pWidget, (void*&)pItem); in ~CFWL_WidgetMgr()
51 delete pItem; in ~CFWL_WidgetMgr()
71 CFWL_WidgetMgrItem* pItem = GetWidgetMgrItem(pWidget); in GetWidget() local
72 if (!pItem) { in GetWidget()
78 pRet = pItem->pParent ? pItem->pParent->pWidget : NULL; in GetWidget()
82 pRet = pItem->pOwner ? pItem->pOwner->pWidget : NULL; in GetWidget()
86 pItem = pItem->pPrevious; in GetWidget()
87 while (pItem && pItem->pPrevious) { in GetWidget()
88 pItem = pItem->pPrevious; in GetWidget()
[all …]
/external/pdfium/xfa/src/fwl/src/lightwidget/
Dcombobox.cpp31 CFWL_ComboBoxItem* pItem = new CFWL_ComboBoxItem; in AddString() local
32 pItem->m_wsText = wsText; in AddString()
33 pItem->m_dwStyles = 0; in AddString()
34 return m_comboBoxData.m_arrItem.Add(pItem); in AddString()
38 CFWL_ComboBoxItem* pItem = new CFWL_ComboBoxItem; in AddString() local
39 pItem->m_wsText = wsText; in AddString()
40 pItem->m_dwStyles = 0; in AddString()
41 pItem->m_pDIB = pIcon; in AddString()
42 return m_comboBoxData.m_arrItem.Add(pItem); in AddString()
55 CFWL_ComboBoxItem* pItem = reinterpret_cast<CFWL_ComboBoxItem*>( in GetTextByIndex() local
[all …]
Dlistbox.cpp36 CFWL_ListItem* pItem = new CFWL_ListItem; in AddString() local
37 pItem->m_dwStates = 0; in AddString()
38 pItem->m_wsText = wsAdd; in AddString()
39 pItem->m_dwStates = bSelect ? FWL_ITEMSTATE_LTB_Selected : 0; in AddString()
40 m_ListBoxDP.m_arrItem.Add(pItem); in AddString()
41 return (FWL_HLISTITEM)pItem; in AddString()
70 CFWL_ListItem* pItem = in DeleteAll() local
72 delete pItem; in DeleteAll()
192 CFWL_ListItem* pItem = reinterpret_cast<CFWL_ListItem*>(hItem); in GetItemStates() local
193 return pItem->m_dwStates | pItem->m_dwCheckState; in GetItemStates()
[all …]
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_fftext.cpp39 CXFA_LayoutItem* pItem = this; in RenderWidget() local
40 if (pItem->GetPrev() == NULL && pItem->GetNext() == NULL) { in RenderWidget()
46 if (pItem->GetPrev() == NULL) { in RenderWidget()
48 } else if (pItem->GetNext() == NULL) { in RenderWidget()
77 CXFA_LayoutItem* pItem = this; in PerformLayout() local
78 if (pItem->GetPrev() == NULL && pItem->GetNext() == NULL) { in PerformLayout()
81 pItem = pItem->GetFirst(); in PerformLayout()
82 while (pItem) { in PerformLayout()
84 pItem->GetRect(rtText); in PerformLayout()
86 if (pItem->GetPrev() == NULL) { in PerformLayout()
[all …]
Dxfa_fffield.cpp167 CXFA_LayoutItem* pItem = this; in CapPlacement() local
173 if (pItem->GetPrev() == NULL && pItem->GetNext() == NULL) { in CapPlacement()
176 if (pItem->GetPrev() == NULL) { in CapPlacement()
178 } else if (pItem->GetNext() == NULL) { in CapPlacement()
197 CXFA_LayoutItem* pItem = this; in CapPlacement() local
198 if (pItem->GetPrev() == NULL && pItem->GetNext() == NULL) { in CapPlacement()
202 pItem = pItem->GetFirst(); in CapPlacement()
203 pItem->GetRect(m_rtCaption); in CapPlacement()
204 pItem = pItem->GetNext(); in CapPlacement()
205 while (pItem) { in CapPlacement()
[all …]
Dxfa_ffnotify.h36 virtual void StartFieldDrawLayout(CXFA_Node* pItem,
39 virtual FX_BOOL FindSplitPos(CXFA_Node* pItem,
Dxfa_ffdocview.cpp862 CXFA_Node* pItem = m_pCurWidget ? m_ContentIterator.MoveToNext() in MoveToNext() local
864 while (pItem) { in MoveToNext()
865 if (CXFA_WidgetAcc* pAcc = (CXFA_WidgetAcc*)pItem->GetWidgetData()) { in MoveToNext()
874 pItem = m_ContentIterator.MoveToNext(); in MoveToNext()
914 CXFA_Node* pItem = m_pCurWidgetAcc ? m_ContentIterator.MoveToNext() in MoveToNext() local
916 while (pItem) { in MoveToNext()
917 if ((m_pCurWidgetAcc = (CXFA_WidgetAcc*)pItem->GetWidgetData()) != NULL) { in MoveToNext()
920 pItem = m_ContentIterator.MoveToNext(); in MoveToNext()
Dxfa_fwltheme.cpp209 CXFA_LayoutItem* pItem = pWidget; in GetCapacity() local
218 if (pItem->GetPrev() == NULL) { in GetCapacity()
219 if (pItem->GetNext() != NULL) { in GetCapacity()
222 } else if (pItem->GetNext() == NULL) { in GetCapacity()
/external/pdfium/xfa/src/fdp/src/css/
Dfde_csscache.cpp46 FDE_LPCSSCACHEITEM pItem = it->second; in AddStyleSheet() local
47 if (pItem->pStylesheet != pStyleSheet) { in AddStyleSheet()
48 pItem->pStylesheet->Release(); in AddStyleSheet()
49 pItem->pStylesheet = pStyleSheet; in AddStyleSheet()
50 pItem->pStylesheet->AddRef(); in AddStyleSheet()
51 pItem->dwActivity = 0; in AddStyleSheet()
67 FDE_LPCSSCACHEITEM pItem = it->second; in GetStyleSheet() local
68 pItem->dwActivity++; in GetStyleSheet()
69 pItem->pStylesheet->AddRef(); in GetStyleSheet()
70 return pItem->pStylesheet; in GetStyleSheet()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dpkgitems.cpp61 NativeItem() : pItem(NULL), pInfo(NULL), bytes(NULL), swapped(NULL), length(0) {} in NativeItem()
79 pItem=item; in setItem()
82 pInfo=::getDataInfo(pItem->data, pItem->length, infoLength, itemHeaderLength, &errorCode); in setItem()
86 length=pItem->length-itemHeaderLength; in setItem()
89 bytes=pItem->data+itemHeaderLength; in setItem()
94 pItem->name, u_errorName(errorCode)); in setItem()
101 swapped=new uint8_t[pItem->length]; in setItem()
103 … fprintf(stderr, "icupkg: unable to allocate memory for swapping \"%s\"\n", pItem->name); in setItem()
106 swap(ds, pItem->data, pItem->length, swapped, &errorCode); in setItem()
107 pInfo=::getDataInfo(swapped, pItem->length, infoLength, itemHeaderLength, &errorCode); in setItem()
[all …]
Dpackage.cpp689 Item *pItem; in writePackage() local
864 for(pItem=items, i=0; i<itemCount; ++pItem, ++i) { in writePackage()
865 int32_t type=makeTypeEnum(pItem->type); in writePackage()
870 pItem->data, pItem->length, pItem->data, in writePackage()
877 length=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in writePackage()
878 if(length!=pItem->length) { in writePackage()
1076 const Item *pItem; in addItems() local
1079 for(pItem=listPkg.items, i=0; i<listPkg.itemCount; ++pItem, ++i) { in addItems()
1080 addItem(pItem->name, pItem->data, pItem->length, FALSE, pItem->type); in addItems()
1116 const Item *pItem; in removeItems() local
[all …]
/external/opencv3/samples/winrt/ImageManipulations/MediaExtensions/Common/
DLinkList.h470 Ptr pItem = nullptr; in GetItem() local
474 HRESULT hr = List<Ptr>::GetItem(pNode, &pItem); in GetItem()
477 assert(pItem || NULLABLE); in GetItem()
478 if (pItem) in GetItem()
480 *ppItem = pItem; in GetItem()
494 Ptr pItem = nullptr; in RemoveItem() local
496 HRESULT hr = List<Ptr>::RemoveItem(pNode, &pItem); in RemoveItem()
500 assert(pItem || NULLABLE); in RemoveItem()
501 if (ppItem && pItem) in RemoveItem()
503 *ppItem = pItem; in RemoveItem()
[all …]
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_script_layoutpseudomodel.cpp223 for (CXFA_LayoutItem* pItem = pLayoutPage->m_pFirstChild; pItem; in Script_LayoutPseudoModel_GetObjArray() local
224 pItem = pItem->m_pNextSibling) { in Script_LayoutPseudoModel_GetObjArray()
225 if (pItem->m_pFormNode->GetClassID() == XFA_ELEMENT_ContentArea) { in Script_LayoutPseudoModel_GetObjArray()
226 retArray.Add(pItem->m_pFormNode); in Script_LayoutPseudoModel_GetObjArray()
237 for (CXFA_LayoutItem* pItem = pLayoutPage->m_pFirstChild; pItem; in Script_LayoutPseudoModel_GetObjArray() local
238 pItem = pItem->m_pNextSibling) { in Script_LayoutPseudoModel_GetObjArray()
239 if (pItem->m_pFormNode->GetClassID() == XFA_ELEMENT_ContentArea) { in Script_LayoutPseudoModel_GetObjArray()
240 retArray.Add(pItem->m_pFormNode); in Script_LayoutPseudoModel_GetObjArray()
244 iterator((CXFA_ContentLayoutItem*)pItem->m_pFirstChild); in Script_LayoutPseudoModel_GetObjArray()
268 iterator((CXFA_ContentLayoutItem*)pItem); in Script_LayoutPseudoModel_GetObjArray()
[all …]
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_IconList.cpp239 if (CPWL_IconList_Item* pItem = GetListItem(nItemIndex)) { in ScrollToItem() local
240 CPDF_Rect rcOrigin = pItem->GetWindowRect(); in ScrollToItem()
241 CPDF_Rect rcWnd = pItem->ChildToParent(rcOrigin); in ScrollToItem()
293 if (CPWL_IconList_Item* pItem = GetListItem(nItemIndex)) { in SelectItem() local
294 pItem->SetSelect(bSelect); in SelectItem()
295 pItem->InvalidateRect(); in SelectItem()
313 if (CPWL_IconList_Item* pItem = GetListItem(nItemIndex)) in SetListData() local
314 pItem->SetData(pData); in SetListData()
319 if (CPWL_IconList_Item* pItem = GetListItem(nItemIndex)) in SetListIcon() local
320 pItem->SetIcon(nIconIndex); in SetListIcon()
[all …]
/external/pdfium/xfa/src/fxfa/src/common/
Dxfa_doclayout.h102 inline CXFA_ContainerLayoutItem* ToContainerLayoutItem(CXFA_LayoutItem* pItem) { in ToContainerLayoutItem() argument
103 return pItem ? pItem->AsContainerLayoutItem() : nullptr; in ToContainerLayoutItem()
105 inline CXFA_ContentLayoutItem* ToContentLayoutItem(CXFA_LayoutItem* pItem) { in ToContentLayoutItem() argument
106 return pItem ? pItem->AsContentLayoutItem() : nullptr; in ToContentLayoutItem()
Dxfa_document.h92 virtual void StartFieldDrawLayout(CXFA_Node* pItem,
95 virtual FX_BOOL FindSplitPos(CXFA_Node* pItem,
/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_List.h38 void push_back(TYPE* pItem) { m_vector.push_back(pItem); } in push_back() argument
41 void set(size_t index, TYPE* pItem) { in set() argument
43 m_vector[index] = pItem; in set()
/external/nanopb-c/
Dpb_decode.c439 void *pItem = (uint8_t*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() local
440 if (!func(&substream, iter->pos, pItem)) in decode_static_field()
458 void *pItem = (uint8_t*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() local
463 return func(stream, iter->pos, pItem); in decode_static_field()
491 static void initialize_pointer_field(void *pItem, pb_field_iterator_t *iter) in initialize_pointer_field() argument
496 *(void**)pItem = NULL; in initialize_pointer_field()
500 pb_message_set_to_defaults((const pb_field_t *) iter->pos->ptr, pItem); in initialize_pointer_field()
544 void *pItem; in decode_pointer_field()
567 pItem = *(uint8_t**)iter->pData + iter->pos->data_size * (*size); in decode_pointer_field()
568 initialize_pointer_field(pItem, iter); in decode_pointer_field()
[all …]
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_list.cpp319 if (CPLST_Select_Item* pItem = m_aItems.GetAt(nIndex)) { in Add() local
320 pItem->nState = 1; in Add()
338 if (CPLST_Select_Item* pItem = m_aItems.GetAt(i)) in Sub() local
339 if (pItem->nItemIndex == nItemIndex) in Sub()
340 pItem->nState = -1; in Sub()
357 if (CPLST_Select_Item* pItem = m_aItems.GetAt(i)) { in Find() local
358 if (pItem->nItemIndex == nItemIndex) in Find()
376 if (CPLST_Select_Item* pItem = m_aItems.GetAt(nIndex)) in GetItemIndex() local
377 return pItem->nItemIndex; in GetItemIndex()
384 if (CPLST_Select_Item* pItem = m_aItems.GetAt(nIndex)) in GetState() local
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render.cpp973 _PDF_RenderItem* pItem = m_ContentList.AddSpace(); in AppendObjectList() local
974 pItem->m_pObjectList = pObjs; in AppendObjectList()
976 pItem->m_Matrix = *pObject2Device; in AppendObjectList()
978 pItem->m_Matrix.SetIdentity(); in AppendObjectList()
993 _PDF_RenderItem* pItem = m_ContentList.GetDataPtr(j); in Render() local
995 CFX_Matrix FinalMatrix = pItem->m_Matrix; in Render()
999 pOptions, pItem->m_pObjectList->m_Transparency, FALSE, in Render()
1001 status.RenderObjectList(pItem->m_pObjectList, &FinalMatrix); in Render()
1012 pItem->m_pObjectList->m_Transparency, FALSE, NULL); in Render()
1013 status.RenderObjectList(pItem->m_pObjectList, &pItem->m_Matrix); in Render()
[all …]
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Note.h38 virtual void OnItemCreate(IPWL_NoteItem* pItem) = 0;
39 virtual void OnItemDelete(IPWL_NoteItem* pItem) = 0;
40 virtual void OnSetAuthorName(IPWL_NoteItem* pItem) = 0;
41 virtual void OnSetBkColor(IPWL_NoteItem* pItem) = 0;
42 virtual void OnSetContents(IPWL_NoteItem* pItem) = 0;
43 virtual void OnSetDateTime(IPWL_NoteItem* pItem) = 0;
44 virtual void OnSetSubjectName(IPWL_NoteItem* pItem) = 0;
46 virtual void OnPopupMenu(IPWL_NoteItem* pItem, int32_t x, int32_t y) = 0;
/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.cpp232 CFDE_XMLNode* pItem = (CFDE_XMLNode*)this; in GetNodeItem() local
233 while (pItem->m_pPrior != NULL) { in GetNodeItem()
234 pItem = pItem->m_pPrior; in GetNodeItem()
236 return pItem == (CFDE_XMLNode*)this ? NULL : pItem; in GetNodeItem()
243 CFDE_XMLNode* pItem = (CFDE_XMLNode*)this; in GetNodeItem() local
244 while (pItem->m_pNext != NULL) { in GetNodeItem()
245 pItem = pItem->m_pNext; in GetNodeItem()
247 return pItem == (CFDE_XMLNode*)this ? NULL : pItem; in GetNodeItem()
260 CFDE_XMLNode* pItem = m_pPrior; in GetNodeItem() local
261 while (CFDE_XMLNode* pTemp = pItem->m_pChild) { in GetNodeItem()
[all …]
/external/pdfium/core/src/fxge/android/
Dfpf_skiafontmgr.cpp63 FPF_LPCSKIAFONTMAP pItem = &g_SkiaFontmap[iMid]; in FPF_SkiaGetSubstFont() local
64 if (dwHash < pItem->dwFamily) { in FPF_SkiaGetSubstFont()
66 } else if (dwHash > pItem->dwFamily) { in FPF_SkiaGetSubstFont()
69 return pItem->dwSubSt; in FPF_SkiaGetSubstFont()
84 FPF_LPCSKIAFONTMAP pItem = &g_SkiaSansFontMap[iMid]; in FPF_SkiaGetSansFont() local
85 if (dwHash < pItem->dwFamily) { in FPF_SkiaGetSansFont()
87 } else if (dwHash > pItem->dwFamily) { in FPF_SkiaGetSansFont()
90 return pItem->dwSubSt; in FPF_SkiaGetSansFont()
/external/pdfium/xfa/src/fgas/src/xml/
Dfx_sax_imp.cpp102 CFX_SAXItem* pItem = m_pRoot; in Reset() local
103 while (pItem) { in Reset()
104 CFX_SAXItem* pNext = pItem->m_pNext; in Reset()
105 delete pItem; in Reset()
106 pItem = pNext; in Reset()
/external/pdfium/core/src/fxcrt/
Dfx_xml_parser.cpp796 CXML_AttrItem* pItem = (CXML_AttrItem*)m_pMap->AddSpace(); in SetAt() local
797 if (!pItem) { in SetAt()
800 pItem->m_QSpaceName = space; in SetAt()
801 pItem->m_AttrName = name; in SetAt()
802 pItem->m_Value = value; in SetAt()

12