Lines Matching defs:pNode
89 _Node *pNode = (_Node *)children.GetAt(i);
90 CPDF_FormField* pField = pNode->GetField(fields_to_go);
111 void RemoveNode(_Node *pNode, int nLevel = 0);
129 _Node *pNode = FX_NEW _Node;
130 if (pNode == NULL) {
133 pNode->parent = pParent;
134 pNode->short_name = short_name;
135 pNode->field_ptr = field_ptr;
136 pParent->children.Add(pNode);
137 return pNode;
139 void CFieldTree::RemoveNode(_Node *pNode, int nLevel)
141 if (pNode == NULL) {
145 delete pNode;
148 CFX_PtrArray& ptr_array = pNode->children;
153 delete pNode;
162 _Node *pNode = (_Node *)ptr_array[i];
163 if (pNode->short_name.GetLength() == short_name.GetLength() &&
164 FXSYS_memcmp32((FX_LPCWSTR)pNode->short_name, (FX_LPCWSTR)short_name, short_name.GetLength()*sizeof(FX_WCHAR)) == 0) {
165 return pNode;
174 _Node *pNode = (_Node *)ptr_array[i];
175 RemoveNode(pNode);
187 _Node *pNode = &m_Root, *pLast = NULL;
189 pLast = pNode;
191 pNode = _Lookup(pLast, name);
192 if (pNode == NULL) {
193 pNode = AddChild(pLast, name, NULL);
197 if (pNode != &m_Root) {
198 pNode->field_ptr = field_ptr;
210 _Node *pNode = &m_Root, *pLast = NULL;
211 while (nLength > 0 && pNode) {
212 pLast = pNode;
214 pNode = _Lookup(pLast, name);
217 return pNode ? pNode->field_ptr : NULL;
228 _Node *pNode = &m_Root, *pLast = NULL;
229 while (nLength > 0 && pNode) {
230 pLast = pNode;
232 pNode = _Lookup(pLast, name);
235 if (pNode && pNode != &m_Root) {
238 if (pNode == (_Node *)ptr_array[i]) {
243 CPDF_FormField *pField = pNode->field_ptr;
244 RemoveNode(pNode);
258 _Node *pNode = &m_Root, *pLast = NULL;
259 while (nLength > 0 && pNode) {
260 pLast = pNode;
262 pNode = _Lookup(pLast, name);
265 return pNode;
761 CFieldTree::_Node *pNode = m_pFieldTree->FindNode(csFieldName);
762 if (pNode == NULL) {
765 return pNode->CountFields();
772 CFieldTree::_Node *pNode = m_pFieldTree->FindNode(csFieldName);
773 if (pNode == NULL) {
776 return pNode->GetField(index);