Searched defs:parent (Results 1 - 22 of 22) sorted by relevance

/PHP_5_5/ext/dom/examples/
H A Ddom1.php29 // The parent of this last node is the root again
30 echo "--------- parent\n";
31 $parent = $last->parentNode; variable
32 print_node($parent);
34 // The children of this parent are the same children as one above
35 echo "--------- children of parent\n";
36 $children = $parent->childNodes;
/PHP_5_5/ext/spl/examples/
H A Dclass_tree.php41 $parent = get_parent_class($cname); variable
42 if (strcasecmp($parent, $base) == 0)
48 if ($parent)
50 $parent_imp = class_implements($parent);
56 if (!$parent || !in_array($iname, $parent_imp))
84 $result = parent::key();
85 $parent = get_parent_class($result); variable
86 if ($parent)
88 $interfaces = array_diff(class_implements($result), class_implements($parent));
/PHP_5_5/ext/xmlrpc/libxmlrpc/
H A Dxml_element.h152 struct _xml_element* parent; /* element's parent */ member in struct:_xml_element
/PHP_5_5/ext/mbstring/oniguruma/
H A Dregexec.c98 history_tree_add_child(OnigCaptureTreeNode* parent, OnigCaptureTreeNode* child) argument
102 if (parent->num_childs >= parent->allocated) {
105 if (IS_NULL(parent->childs)) {
107 parent->childs =
111 n = parent->allocated * 2;
112 parent->childs =
113 (OnigCaptureTreeNode** )xrealloc(parent->childs,
116 CHECK_NULL_RETURN_MEMERR(parent->childs);
117 for (i = parent
[all...]
/PHP_5_5/ext/soap/
H A Dphp_encoding.c43 static xmlNodePtr to_xml_long(encodeTypePtr type, zval *data, int style, xmlNodePtr parent TSRMLS_DC);
44 static xmlNodePtr to_xml_double(encodeTypePtr type, zval *data, int style, xmlNodePtr parent TSRMLS_DC);
45 static xmlNodePtr to_xml_bool(encodeTypePtr type, zval *data, int style, xmlNodePtr parent TSRMLS_DC);
48 static xmlNodePtr to_xml_string(encodeTypePtr type, zval *data, int style, xmlNodePtr parent TSRMLS_DC);
49 static xmlNodePtr to_xml_base64(encodeTypePtr type, zval *data, int style, xmlNodePtr parent TSRMLS_DC);
50 static xmlNodePtr to_xml_hexbin(encodeTypePtr type, zval *data, int style, xmlNodePtr parent TSRMLS_DC);
53 static xmlNodePtr to_xml_null(encodeTypePtr type, zval *data, int style, xmlNodePtr parent TSRMLS_DC);
56 static xmlNodePtr guess_array_map(encodeTypePtr type, zval *data, int style, xmlNodePtr parent TSRMLS_DC);
57 static xmlNodePtr to_xml_map(encodeTypePtr type, zval *data, int style, xmlNodePtr parent TSRMLS_DC);
59 static xmlNodePtr to_xml_list(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent TSRMLS_D
394 master_to_xml_int(encodePtr encode, zval *data, int style, xmlNodePtr parent, int check_class_map TSRMLS_DC) argument
[all...]
H A Dphp_schema.c1637 xmlNodePtr parent = element->parent; local
1638 while (parent) {
1639 if (node_is_equal_ex(parent, "schema", SCHEMA_NAMESPACE)) {
1641 def = get_attribute(parent->properties, "elementFormDefault");
1649 parent = parent->parent;
1651 if (parent == NULL) {
1865 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAS
1891 xmlNodePtr parent = attrType->parent; local
[all...]
/PHP_5_5/ext/spl/
H A Dspl_heap.c388 zend_class_entry *parent = class_type; local
425 while (parent) {
426 if (parent == spl_ce_SplPriorityQueue) {
433 if (parent == spl_ce_SplMinHeap) {
438 if (parent == spl_ce_SplMaxHeap) {
443 if (parent == spl_ce_SplHeap) {
447 parent = parent->parent;
453 if (!parent) { /* thi
[all...]
H A Dspl_fixedarray.c227 zend_class_entry *parent = class_type; local
253 while (parent) {
254 if (parent == spl_ce_SplFixedArray) {
260 parent = parent->parent;
266 if (!parent) { /* this must never happen */
277 if (class_type->iterator_funcs.zf_rewind->common.scope != parent) {
280 if (class_type->iterator_funcs.zf_valid->common.scope != parent) {
283 if (class_type->iterator_funcs.zf_key->common.scope != parent) {
[all...]
H A Dspl_observer.c257 zend_class_entry *parent = class_type; local
276 while (parent) {
277 if (parent == spl_ce_SplObjectStorage) {
287 parent = parent->parent;
H A Dspl_array.c172 zend_class_entry * parent = class_type; local
214 while (parent) {
215 if (parent == spl_ce_ArrayIterator || parent == spl_ce_RecursiveArrayIterator) {
219 } else if (parent == spl_ce_ArrayObject) {
223 parent = parent->parent;
226 if (!parent) { /* this must never happen */
231 if (intern->fptr_offset_get->common.scope == parent) {
[all...]
H A Dspl_dllist.c371 zend_class_entry *parent = class_type; local
407 while (parent) {
408 if (parent == spl_ce_SplStack) {
411 } else if (parent == spl_ce_SplQueue) {
416 if (parent == spl_ce_SplDoublyLinkedList) {
421 parent = parent->parent;
427 if (!parent) { /* this must never happen */
432 if (intern->fptr_offset_get->common.scope == parent) {
[all...]
/PHP_5_5/Zend/
H A Dzend.h480 struct _zend_class_entry *parent; member in struct:_zend_class_entry
H A Dzend_alloc.c402 struct _zend_mm_free_block **parent; member in struct:_zend_mm_free_block
651 if (UNEXPECTED(*((block)->parent) != (block))) { \
743 mm_block->parent = p;
756 mm_block->parent = p;
766 mm_block->parent = NULL;
810 *mm_block->parent = NULL;
811 if (mm_block->parent == &heap->large_free_buckets[index]) {
823 *mm_block->parent = prev;
824 prev->parent = mm_block->parent;
[all...]
H A Dzend_compile.c803 void fetch_array_dim(znode *result, const znode *parent, const znode *dim TSRMLS_DC) /* {{{ */ argument
810 if (zend_is_function_or_method_call(parent)) {
813 SET_NODE(opline.op1, parent);
824 SET_NODE(opline.op1, parent);
845 void fetch_string_offset(znode *result, const znode *parent, const znode *offset TSRMLS_DC) /* {{{ */ argument
847 fetch_array_dim(result, parent, offset TSRMLS_CC);
1068 int parent; local
1070 parent = CG(context).current_brk_cont;
1074 brk_cont_element->parent = parent;
3472 do_inherit_method_check(HashTable *child_function_table, zend_function *parent, const zend_hash_key *hash_key, zend_class_entry *child_ce) argument
[all...]
H A Dzend_compile.h127 int parent; member in struct:_zend_brk_cont_element
184 /* shadow of parent's private method/property */
463 void fetch_array_dim(znode *result, const znode *parent, const znode *dim TSRMLS_DC);
464 void fetch_string_offset(znode *result, const znode *parent, const znode *offset TSRMLS_DC);
/PHP_5_5/ext/dom/
H A Dphp_dom.c1154 while(base_class->type != ZEND_INTERNAL_CLASS && base_class->parent != NULL) {
1155 base_class = base_class->parent;
1444 /* {{{ int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) */
1445 int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) argument
1449 if (parent == NULL || child == NULL || child->doc != parent->doc) {
1453 nodep = parent;
1459 nodep = nodep->parent;
/PHP_5_5/sapi/cgi/
H A Dcgi_main.c111 * Set to non-zero if we are the parent process
113 static int parent = 1; variable
115 /* Did parent received exit signals SIG_TERM/SIG_INT/SIG_QUIT */
340 !parent &&
922 !parent &&
1445 if (parent && parent_waiting) {
2032 while (parent) {
2044 parent = 0;
2060 } while (parent && (running < children));
2062 if (parent) {
[all...]
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_main.c122 * Set to non-zero if we are the parent process
124 static int parent = 1; variable
325 !parent &&
845 !parent &&
1831 zlog(ZLOG_DEBUG, "Sending \"0\" (error) to parent via fd=%d", fpm_globals.send_config_pipe[1]);
1840 zlog(ZLOG_DEBUG, "Sending \"1\" (OK) to parent via fd=%d", fpm_globals.send_config_pipe[1]);
1847 parent = 0;
1985 if (parent) {
H A Dfpm_conf.c541 struct key_value_s ***parent = (struct key_value_s ***) config; local
580 kv->next = **parent;
581 **parent = kv;
/PHP_5_5/ext/opcache/Optimizer/
H A Dblock_pass.c193 int parent = op_array->brk_cont_array[i].parent; local
195 while (parent >= 0 &&
196 op_array->brk_cont_array[parent].start < 0 &&
197 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_FREE &&
198 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_SWITCH_FREE) {
199 parent = op_array->brk_cont_array[parent].parent;
201 op_array->brk_cont_array[i].parent
[all...]
/PHP_5_5/ext/sqlite3/libsqlite/
H A Dsqlite3.c10893 ** to-table == parent-table
10906 FKey *pNextFrom; /* Next FKey with the same in pFrom. Next parent of pFrom */
11507 ** NameContext in the parent query. Thus the process of scanning the
13790 ** cell in the parent (calling) frame. When the memory cell is deleted or
13804 VdbeFrame *pParent; /* Parent of this frame, or NULL if parent is main */
13805 Op *aOp; /* Program instructions for parent frame */
13806 Mem *aMem; /* Array of memory cells for parent frame */
13807 u8 *aOnceFlag; /* Array of OP_Once flags for parent frame */
13808 VdbeCursor **apCsr; /* Array of Vdbe cursors for parent frame */
13812 int pc; /* Program Counter in parent (callin
51619 ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC) argument
[all...]
/PHP_5_5/ext/simplexml/
H A Dsimplexml.c293 if (!member && node && node->parent &&
294 node->parent->type == XML_DOCUMENT_NODE) {
356 node = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, NULL);
515 if (!member && node && node->parent &&
516 node->parent->type == XML_DOCUMENT_NODE) {
644 newnode = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, value ? (xmlChar *)Z_STRVAL_P(value) : NULL);
653 newnode = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, value ? (xmlChar *)Z_STRVAL_P(value) : NULL);
1132 if ( !node->children || !node->parent || !node->next || node->children->next || node->children->children || node->parent->children == node->parent
2093 zend_class_entry *parent = ce; local
[all...]

Completed in 174 milliseconds