| /PHP_TRUNK/ext/dom/examples/ |
| H A D | dom1.php | 29 // 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_TRUNK/ext/spl/examples/ |
| H A D | class_tree.php | 41 $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_TRUNK/ext/xmlrpc/libxmlrpc/ |
| H A D | xml_element.h | 152 struct _xml_element* parent; /* element's parent */ member in struct:_xml_element
|
| /PHP_TRUNK/ext/mbstring/oniguruma/ |
| H A D | regexec.c | 98 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_TRUNK/ext/soap/ |
| H A D | php_schema.c | 1621 xmlNodePtr parent = element->parent; local 1622 while (parent) { 1623 if (node_is_equal_ex(parent, "schema", SCHEMA_NAMESPACE)) { 1625 def = get_attribute(parent->properties, "elementFormDefault"); 1633 parent = parent->parent; 1635 if (parent == NULL) { 1841 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAS 1867 xmlNodePtr parent = attrType->parent; local [all...] |
| H A D | php_encoding.c | 43 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...] |
| /PHP_TRUNK/ext/spl/ |
| H A D | spl_observer.c | 257 zend_class_entry *parent = class_type; local 276 while (parent) { 277 if (parent == spl_ce_SplObjectStorage) { 287 parent = parent->parent;
|
| H A D | spl_array.c | 172 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 D | spl_fixedarray.c | 227 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 D | spl_heap.c | 388 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 D | spl_dllist.c | 373 zend_class_entry *parent = class_type; local 409 while (parent) { 410 if (parent == spl_ce_SplStack) { 413 } else if (parent == spl_ce_SplQueue) { 418 if (parent == spl_ce_SplDoublyLinkedList) { 423 parent = parent->parent; 429 if (!parent) { /* this must never happen */ 434 if (intern->fptr_offset_get->common.scope == parent) { [all...] |
| /PHP_TRUNK/ext/dom/ |
| H A D | php_dom.c | 1150 while(base_class->type != ZEND_INTERNAL_CLASS && base_class->parent != NULL) { 1151 base_class = base_class->parent; 1440 /* {{{ int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) */ 1441 int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) argument 1445 if (parent == NULL || child == NULL || child->doc != parent->doc) { 1449 nodep = parent; 1455 nodep = nodep->parent;
|
| /PHP_TRUNK/Zend/ |
| H A D | zend.h | 480 struct _zend_class_entry *parent; member in struct:_zend_class_entry
|
| H A D | zend_compile.h | 127 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);
|
| H A D | zend_alloc.c | 402 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 D | zend_compile.c | 803 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); 1067 int parent; local 1069 parent = CG(context).current_brk_cont; 1073 brk_cont_element->parent = parent; 3479 do_inherit_method_check(HashTable *child_function_table, zend_function *parent, const zend_hash_key *hash_key, zend_class_entry *child_ce) argument [all...] |
| /PHP_TRUNK/ext/simplexml/ |
| H A D | simplexml.c | 293 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->children->next || node->children->children || node->parent->children == node->parent 2087 zend_class_entry *parent = ce; local [all...] |
| /PHP_TRUNK/sapi/cgi/ |
| H A D | cgi_main.c | 111 * 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) { 2028 while (parent) { 2040 parent = 0; 2056 } while (parent && (running < children)); 2058 if (parent) { [all...] |
| /PHP_TRUNK/ext/opcache/Optimizer/ |
| H A D | block_pass.c | 193 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_TRUNK/sapi/fpm/fpm/ |
| H A D | fpm_main.c | 122 * 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 D | fpm_conf.c | 540 struct key_value_s ***parent = (struct key_value_s ***) config; local 579 kv->next = **parent; 580 **parent = kv;
|
| /PHP_TRUNK/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 10605 ** NameContext in the parent query. Thus the process of scanning the 12584 ** cell in the parent (calling) frame. When the memory cell is deleted or 12598 int pc; /* Program Counter in parent (calling) frame */ 12599 Op *aOp; /* Program instructions for parent frame */ 12601 Mem *aMem; /* Array of memory cells for parent frame */ 12603 VdbeCursor **apCsr; /* Array of Vdbe cursors for parent frame */ 12610 VdbeFrame *pParent; /* Parent of this frame, or NULL if parent is main */ 48277 ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC) argument [all...] |