Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/fwl/
Dcfwl_widgetmgr.cpp44 Item* pItem = GetWidgetMgrItem(pWidget); in GetParentWidget() local
45 return pItem && pItem->pParent ? pItem->pParent->pWidget : nullptr; in GetParentWidget()
49 Item* pItem = GetWidgetMgrItem(pWidget); in GetOwnerWidget() local
50 return pItem && pItem->pOwner ? pItem->pOwner->pWidget : nullptr; in GetOwnerWidget()
54 Item* pItem = GetWidgetMgrItem(pWidget); in GetFirstSiblingWidget() local
55 if (!pItem) in GetFirstSiblingWidget()
58 pItem = pItem->pPrevious; in GetFirstSiblingWidget()
59 while (pItem && pItem->pPrevious) in GetFirstSiblingWidget()
60 pItem = pItem->pPrevious; in GetFirstSiblingWidget()
61 return pItem ? pItem->pWidget : nullptr; in GetFirstSiblingWidget()
[all …]
Dcfwl_listbox.cpp128 CFWL_ListItem* pItem = GetItem(this, i); in CountSelItems() local
129 if (!pItem) in CountSelItems()
131 if (pItem->GetStates() & FWL_ITEMSTATE_LTB_Selected) in CountSelItems()
148 CFWL_ListItem* pItem = GetItem(this, i); in GetSelIndex() local
149 if (!pItem) in GetSelIndex()
151 if (pItem->GetStates() & FWL_ITEMSTATE_LTB_Selected) { in GetSelIndex()
160 void CFWL_ListBox::SetSelItem(CFWL_ListItem* pItem, bool bSelect) { in SetSelItem() argument
161 if (!pItem) { in SetSelItem()
171 SetSelectionDirect(pItem, bSelect); in SetSelItem()
173 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.h112 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/core/fxcrt/xml/
Dcfx_xmlnode.cpp187 CFX_XMLNode* pItem = (CFX_XMLNode*)this; in GetNodeItem() local
188 while (pItem->m_pPrior) { in GetNodeItem()
189 pItem = pItem->m_pPrior; in GetNodeItem()
191 return pItem == (CFX_XMLNode*)this ? nullptr : pItem; in GetNodeItem()
198 CFX_XMLNode* pItem = (CFX_XMLNode*)this; in GetNodeItem() local
199 while (pItem->m_pNext) in GetNodeItem()
200 pItem = pItem->m_pNext; in GetNodeItem()
201 return pItem == (CFX_XMLNode*)this ? nullptr : pItem; in GetNodeItem()
213 CFX_XMLNode* pItem = m_pPrior; in GetNodeItem() local
214 while (pItem->m_pChild) { in GetNodeItem()
[all …]
Dcfx_saxreader.cpp644 CFX_SAXItem* pItem = GetCurrentItem(); in NotifyData() local
645 if (!pItem) in NotifyData()
648 if (pItem->m_eNode == CFX_SAXItem::Type::Tag) in NotifyData()
650 pItem->m_pNode, in NotifyData()
659 CFX_SAXItem* pItem = GetCurrentItem(); in NotifyEnter() local
660 if (!pItem) in NotifyEnter()
663 if (pItem->m_eNode == CFX_SAXItem::Type::Tag || in NotifyEnter()
664 pItem->m_eNode == CFX_SAXItem::Type::Instruction) { in NotifyEnter()
665 pItem->m_pNode = m_pHandler->OnTagEnter(ByteStringView(m_Data), in NotifyEnter()
666 pItem->m_eNode, m_dwNodePos); in NotifyEnter()
[all …]
/external/pdfium/xfa/fxfa/
Dcxfa_fftext.cpp46 CXFA_LayoutItem* pItem = this; in RenderWidget() local
47 if (!pItem->GetPrev() && !pItem->GetNext()) { in RenderWidget()
52 if (!pItem->GetPrev()) in RenderWidget()
54 else if (!pItem->GetNext()) in RenderWidget()
82 CXFA_LayoutItem* pItem = this; in PerformLayout() local
83 if (!pItem->GetPrev() && !pItem->GetNext()) in PerformLayout()
86 pItem = pItem->GetFirst(); in PerformLayout()
87 while (pItem) { in PerformLayout()
88 CFX_RectF rtText = pItem->GetRect(false); in PerformLayout()
91 if (!pItem->GetPrev()) in PerformLayout()
[all …]
Dcxfa_widgetacciterator.cpp17 CXFA_Node* pItem = m_pCurWidgetAcc ? m_ContentIterator.MoveToNext() in MoveToNext() local
19 while (pItem) { in MoveToNext()
20 m_pCurWidgetAcc = pItem->GetWidgetAcc(); in MoveToNext()
23 pItem = m_ContentIterator.MoveToNext(); in MoveToNext()
Dcxfa_fffield.cpp175 CXFA_LayoutItem* pItem = this; in CapPlacement() local
180 if (!pItem->GetPrev() && !pItem->GetNext()) { in CapPlacement()
183 if (!pItem->GetPrev()) in CapPlacement()
185 else if (!pItem->GetNext()) in CapPlacement()
203 CXFA_LayoutItem* pItem = this; in CapPlacement() local
204 if (!pItem->GetPrev() && !pItem->GetNext()) { in CapPlacement()
207 pItem = pItem->GetFirst(); in CapPlacement()
208 m_rtCaption = pItem->GetRect(false); in CapPlacement()
209 pItem = pItem->GetNext(); in CapPlacement()
210 while (pItem) { in CapPlacement()
[all …]
Dcxfa_fwltheme.cpp155 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()
Dcxfa_ffnotify.h50 void StartFieldDrawLayout(CXFA_Node* pItem,
53 bool FindSplitPos(CXFA_Node* pItem,
Dcxfa_widgetacc.cpp475 if (CXFA_Node* pItem = in CreateUIChild() local
477 eValueType = pItem->GetElementType(); in CreateUIChild()
1679 CXFA_Items* pItem = in SetCheckState() local
1681 if (!pItem) in SetCheckState()
1684 CXFA_Node* pItemchild = pItem->GetFirstChild(); in SetCheckState()
1743 CXFA_Items* pItem = in SetSelectedMemberByValue() local
1745 if (!pItem) in SetSelectedMemberByValue()
1748 CXFA_Node* pItemchild = pItem->GetFirstChild(); in SetSelectedMemberByValue()
1847 CXFA_Node* pItem = pItems[0]; in CountChoiceListItems() local
1854 pItem = pItems[1]; in CountChoiceListItems()
[all …]
Dcxfa_ffnotify.cpp195 void CXFA_FFNotify::StartFieldDrawLayout(CXFA_Node* pItem, in StartFieldDrawLayout() argument
198 CXFA_WidgetAcc* pAcc = pItem->GetWidgetAcc(); in StartFieldDrawLayout()
205 bool CXFA_FFNotify::FindSplitPos(CXFA_Node* pItem, in FindSplitPos() argument
208 CXFA_WidgetAcc* pAcc = pItem->GetWidgetAcc(); in FindSplitPos()
Dcxfa_fflistbox.cpp144 for (CFWL_ListItem* pItem : selItemArray) in UpdateFWLData()
145 pListBox->SetSelItem(pItem, true); in UpdateFWLData()
/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.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.push_back(pItem->m_pFormNode); in GetObjArray()
240 for (CXFA_LayoutItem* pItem = pLayoutPage->m_pFirstChild; pItem; in GetObjArray() local
241 pItem = pItem->m_pNextSibling) { in GetObjArray()
242 if (pItem->m_pFormNode->GetElementType() == XFA_Element::ContentArea) { in GetObjArray()
243 retArray.push_back(pItem->m_pFormNode); in GetObjArray()
247 iterator(static_cast<CXFA_ContentLayoutItem*>(pItem->m_pFirstChild)); in GetObjArray()
269 iterator(static_cast<CXFA_ContentLayoutItem*>(pItem)); in GetObjArray()
[all …]
Dcjx_node.cpp277 CXFA_Node* pItem = pNewChild->GetNextSibling(); in loadXML() local
281 pNewChild = pItem; in loadXML()
285 CXFA_Node* pItem = pChild->GetNextSibling(); in loadXML() local
288 pChild = pItem; in loadXML()
305 CXFA_Node* pItem = pChild->GetNextSibling(); in loadXML() local
309 pChild = pItem; in loadXML()
/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/xfa/fxfa/parser/
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()
/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.c26580 struct SrcList_item *pItem;
26584 pItem = &pSrc->a[k];
26587 if( pItem->zDatabase ){
26588 sqlite3StrAccumAppendAll(pAccum, pItem->zDatabase);
26591 sqlite3StrAccumAppendAll(pAccum, pItem->zName);
27141 struct SrcList_item *pItem = &p->pSrc->a[i];
27145 sqlite3XPrintf(&x, "{%d,*}", pItem->iCursor);
27146 if( pItem->zDatabase ){
27147 sqlite3XPrintf(&x, " %s.%s", pItem->zDatabase, pItem->zName);
27148 }else if( pItem->zName ){
[all …]

12