Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/fwl/
Dcfwl_widgetmgr.cpp43 Item* pItem = GetWidgetMgrItem(pWidget); in GetParentWidget() local
44 return pItem && pItem->pParent ? pItem->pParent->pWidget : nullptr; in GetParentWidget()
48 Item* pItem = GetWidgetMgrItem(pWidget); in GetOwnerWidget() local
49 return pItem && pItem->pOwner ? pItem->pOwner->pWidget : nullptr; in GetOwnerWidget()
53 Item* pItem = GetWidgetMgrItem(pWidget); in GetFirstSiblingWidget() local
54 if (!pItem) in GetFirstSiblingWidget()
57 pItem = pItem->pPrevious; in GetFirstSiblingWidget()
58 while (pItem && pItem->pPrevious) in GetFirstSiblingWidget()
59 pItem = pItem->pPrevious; in GetFirstSiblingWidget()
60 return pItem ? pItem->pWidget : nullptr; in GetFirstSiblingWidget()
[all …]
Dcfwl_listbox.cpp131 CFWL_ListItem* pItem = GetItem(this, i); in CountSelItems() local
132 if (!pItem) in CountSelItems()
134 if (pItem->GetStates() & FWL_ITEMSTATE_LTB_Selected) in CountSelItems()
151 CFWL_ListItem* pItem = GetItem(this, i); in GetSelIndex() local
152 if (!pItem) in GetSelIndex()
154 if (pItem->GetStates() & FWL_ITEMSTATE_LTB_Selected) { in GetSelIndex()
163 void CFWL_ListBox::SetSelItem(CFWL_ListItem* pItem, bool bSelect) { in SetSelItem() argument
164 if (!pItem) { in SetSelItem()
174 SetSelectionDirect(pItem, bSelect); in SetSelItem()
176 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.h110 void SetLayoutItem(CXFA_FFWidget* pItem) { m_pLayoutItem = pItem; } in SetLayoutItem() argument
Dcfwl_combobox.cpp212 CFWL_ListItem* pItem = static_cast<CFWL_ListItem*>( in GetTextByIndex() local
214 return pItem ? pItem->GetText() : L""; in GetTextByIndex()
/external/pdfium/xfa/fxfa/app/
Dxfa_fftext.cpp45 CXFA_LayoutItem* pItem = this; in RenderWidget() local
46 if (!pItem->GetPrev() && !pItem->GetNext()) { in RenderWidget()
55 if (!pItem->GetPrev()) in RenderWidget()
57 else if (!pItem->GetNext()) in RenderWidget()
85 CXFA_LayoutItem* pItem = this; in PerformLayout() local
86 if (!pItem->GetPrev() && !pItem->GetNext()) { in PerformLayout()
89 pItem = pItem->GetFirst(); in PerformLayout()
90 while (pItem) { in PerformLayout()
91 CFX_RectF rtText = pItem->GetRect(false); in PerformLayout()
93 if (!pItem->GetPrev()) { in PerformLayout()
[all …]
Dxfa_fffield.cpp155 CXFA_LayoutItem* pItem = this; in CapPlacement() local
161 if (!pItem->GetPrev() && !pItem->GetNext()) { in CapPlacement()
164 if (!pItem->GetPrev()) in CapPlacement()
166 else if (!pItem->GetNext()) in CapPlacement()
184 CXFA_LayoutItem* pItem = this; in CapPlacement() local
185 if (!pItem->GetPrev() && !pItem->GetNext()) { in CapPlacement()
188 pItem = pItem->GetFirst(); in CapPlacement()
189 m_rtCaption = pItem->GetRect(false); in CapPlacement()
190 pItem = pItem->GetNext(); in CapPlacement()
191 while (pItem) { in CapPlacement()
[all …]
Dxfa_ffnotify.h46 void StartFieldDrawLayout(CXFA_Node* pItem,
49 bool FindSplitPos(CXFA_Node* pItem,
Dxfa_fwltheme.cpp156 CXFA_LayoutItem* pItem = pWidget; in GetUIMargin() local
164 if (!pItem->GetPrev()) { in GetUIMargin()
165 if (pItem->GetNext()) in GetUIMargin()
167 } else if (!pItem->GetNext()) { in GetUIMargin()
Dxfa_ffnotify.cpp173 void CXFA_FFNotify::StartFieldDrawLayout(CXFA_Node* pItem, in StartFieldDrawLayout() argument
176 CXFA_WidgetAcc* pAcc = static_cast<CXFA_WidgetAcc*>(pItem->GetWidgetData()); in StartFieldDrawLayout()
183 bool CXFA_FFNotify::FindSplitPos(CXFA_Node* pItem, in FindSplitPos() argument
186 CXFA_WidgetAcc* pAcc = static_cast<CXFA_WidgetAcc*>(pItem->GetWidgetData()); in FindSplitPos()
Dxfa_ffdocview.cpp824 CXFA_Node* pItem = m_pCurWidgetAcc ? m_ContentIterator.MoveToNext() in MoveToNext() local
826 while (pItem) { in MoveToNext()
827 m_pCurWidgetAcc = static_cast<CXFA_WidgetAcc*>(pItem->GetWidgetData()); in MoveToNext()
830 pItem = m_ContentIterator.MoveToNext(); in MoveToNext()
/external/pdfium/xfa/fde/xml/
Dcfx_saxreader.cpp662 CFX_SAXItem* pItem = GetCurrentItem(); in NotifyData() local
663 if (!pItem) in NotifyData()
666 if (pItem->m_eNode == CFX_SAXItem::Type::Tag) in NotifyData()
668 pItem->m_pNode, in NotifyData()
675 CFX_SAXItem* pItem = GetCurrentItem(); in NotifyEnter() local
676 if (pItem->m_eNode == CFX_SAXItem::Type::Tag || in NotifyEnter()
677 pItem->m_eNode == CFX_SAXItem::Type::Instruction) { in NotifyEnter()
678 pItem->m_pNode = m_pHandler->OnTagEnter( in NotifyEnter()
679 CFX_ByteStringC(m_pszData, m_iDataLength), pItem->m_eNode, m_dwNodePos); in NotifyEnter()
684 CFX_SAXItem* pItem = GetCurrentItem(); in NotifyAttribute() local
[all …]
Dfde_xml_imp.cpp252 CFDE_XMLNode* pItem = (CFDE_XMLNode*)this; in GetNodeItem() local
253 while (pItem->m_pPrior) { in GetNodeItem()
254 pItem = pItem->m_pPrior; in GetNodeItem()
256 return pItem == (CFDE_XMLNode*)this ? nullptr : pItem; in GetNodeItem()
263 CFDE_XMLNode* pItem = (CFDE_XMLNode*)this; in GetNodeItem() local
264 while (pItem->m_pNext) in GetNodeItem()
265 pItem = pItem->m_pNext; in GetNodeItem()
266 return pItem == (CFDE_XMLNode*)this ? nullptr : pItem; in GetNodeItem()
278 CFDE_XMLNode* pItem = m_pPrior; in GetNodeItem() local
279 while (pItem->m_pChild) { in GetNodeItem()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcscript_layoutpseudomodel.cpp228 for (CXFA_LayoutItem* pItem = pLayoutPage->m_pFirstChild; pItem; in GetObjArray() local
229 pItem = pItem->m_pNextSibling) { in GetObjArray()
230 if (pItem->m_pFormNode->GetElementType() == XFA_Element::ContentArea) { in GetObjArray()
231 retArray.Add(pItem->m_pFormNode); in GetObjArray()
241 for (CXFA_LayoutItem* pItem = pLayoutPage->m_pFirstChild; pItem; in GetObjArray() local
242 pItem = pItem->m_pNextSibling) { in GetObjArray()
243 if (pItem->m_pFormNode->GetElementType() == XFA_Element::ContentArea) { in GetObjArray()
244 retArray.Add(pItem->m_pFormNode); in GetObjArray()
248 iterator(static_cast<CXFA_ContentLayoutItem*>(pItem->m_pFirstChild)); in GetObjArray()
270 iterator(static_cast<CXFA_ContentLayoutItem*>(pItem)); in GetObjArray()
[all …]
Dcxfa_containerlayoutitem.h24 inline CXFA_ContainerLayoutItem* ToContainerLayoutItem(CXFA_LayoutItem* pItem) { in ToContainerLayoutItem() argument
25 return pItem ? pItem->AsContainerLayoutItem() : nullptr; in ToContainerLayoutItem()
Dcxfa_contentlayoutitem.h24 inline CXFA_ContentLayoutItem* ToContentLayoutItem(CXFA_LayoutItem* pItem) { in ToContentLayoutItem() argument
25 return pItem ? pItem->AsContentLayoutItem() : nullptr; in ToContentLayoutItem()
Dcxfa_widgetdata.cpp176 if (CXFA_Node* pItem = pItems->GetChild(0, XFA_Element::Unknown)) in CreateUIChild() local
177 eValueType = pItem->GetElementType(); in CreateUIChild()
566 CXFA_Node* pItem = pChild->GetChild(0, XFA_Element::Items); in SetCheckState() local
567 if (!pItem) in SetCheckState()
570 CXFA_Node* pItemchild = pItem->GetNodeItem(XFA_NODEITEM_FirstChild); in SetCheckState()
655 CXFA_Node* pItem = pNode->GetChild(0, XFA_Element::Items); in SetSelectedMemberByValue() local
656 if (!pItem) in SetSelectedMemberByValue()
659 CXFA_Node* pItemchild = pItem->GetNodeItem(XFA_NODEITEM_FirstChild); in SetSelectedMemberByValue()
742 CXFA_Node* pItem = nullptr; in CountChoiceListItems() local
757 pItem = pItems[0]; in CountChoiceListItems()
[all …]
/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/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/fxedit/
Dfxet_list.cpp99 if (CPLST_Select_Item* pItem = m_aItems.GetAt(nIndex)) { in Add() local
100 pItem->nState = 1; in Add()
118 if (CPLST_Select_Item* pItem = m_aItems.GetAt(i)) in Sub() local
119 if (pItem->nItemIndex == nItemIndex) in Sub()
120 pItem->nState = -1; in Sub()
137 if (CPLST_Select_Item* pItem = m_aItems.GetAt(i)) { in Find() local
138 if (pItem->nItemIndex == nItemIndex) in Find()
156 if (CPLST_Select_Item* pItem = m_aItems.GetAt(nIndex)) in GetItemIndex() local
157 return pItem->nItemIndex; in GetItemIndex()
164 if (CPLST_Select_Item* pItem = m_aItems.GetAt(nIndex)) in GetState() local
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTPrint3D.cpp294 …PVRTuint32* pItem = (PVRTuint32*)bsearch(&character, m_pszCharacterList, m_uiNumCharacters, sizeof… in FindCharacter() local
295 if(!pItem) in FindCharacter()
298 PVRTuint32 uiIdx = (PVRTuint32) (pItem - m_pszCharacterList); in FindCharacter()
312 …KerningPair* pItem = (KerningPair*)bsearch(&uiPairToSearch, m_pKerningPairs, m_uiNumKerningPairs, … in ApplyKerning() local
313 if(pItem) in ApplyKerning()
314 fOffset += (float)pItem->iOffset; in ApplyKerning()
/external/sqlite/dist/orig/
Dsqlite3.c25749 struct SrcList_item *pItem;
25753 pItem = &pSrc->a[k];
25756 if( pItem->zDatabase ){
25757 sqlite3StrAccumAppendAll(pAccum, pItem->zDatabase);
25760 sqlite3StrAccumAppendAll(pAccum, pItem->zName);
26307 struct SrcList_item *pItem = &p->pSrc->a[i];
26311 sqlite3XPrintf(&x, "{%d,*}", pItem->iCursor);
26312 if( pItem->zDatabase ){
26313 sqlite3XPrintf(&x, " %s.%s", pItem->zDatabase, pItem->zName);
26314 }else if( pItem->zName ){
[all …]
/external/sqlite/dist/
Dsqlite3.c25749 struct SrcList_item *pItem;
25753 pItem = &pSrc->a[k];
25756 if( pItem->zDatabase ){
25757 sqlite3StrAccumAppendAll(pAccum, pItem->zDatabase);
25760 sqlite3StrAccumAppendAll(pAccum, pItem->zName);
26307 struct SrcList_item *pItem = &p->pSrc->a[i];
26311 sqlite3XPrintf(&x, "{%d,*}", pItem->iCursor);
26312 if( pItem->zDatabase ){
26313 sqlite3XPrintf(&x, " %s.%s", pItem->zDatabase, pItem->zName);
26314 }else if( pItem->zName ){
[all …]

12