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

12

/PHP_TRUNK/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_TRUNK/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_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxml_element.h152 struct _xml_element* parent; /* element's parent */ member in struct:_xml_element
/PHP_TRUNK/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_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.h101 const phpdbg_command_t *parent; /* Parent Command */ member in struct:_phpdbg_command_t
136 PHPDBG_API const phpdbg_command_t* phpdbg_stack_resolve(const phpdbg_command_t *commands, const phpdbg_command_t *parent, phpdbg_param_t **top, char **why);
158 #define PHPDBG_COMMAND_D_EXP(name, tip, alias, handler, children, args, parent) \
159 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, parent}
H A Dphpdbg_watch.h65 phpdbg_watchpoint_t *parent; member in struct:_phpdbg_watchpoint_t
H A Dphpdbg_cmd.c32 if (command->parent) {
33 memcpy(&buffer[pos], command->parent->name, command->parent->name_len);
34 pos += command->parent->name_len;
642 PHPDBG_API const phpdbg_command_t* phpdbg_stack_resolve(const phpdbg_command_t *commands, const phpdbg_command_t *parent, phpdbg_param_t **top, char **why) { argument
683 if (parent) {
687 parent->name, name->str);
692 } return parent;
H A Dphpdbg_watch.c180 new_watch->parent = watch;
203 new_watch->parent = watch;
239 str_len = asprintf(&str, "%.*s%s%s%s", (int)watch->parent->str_len, watch->parent->str, Z_TYPE_P(watch->parent->addr.zv) == IS_ARRAY?"[":"->", phpdbg_get_property_key(Z_STRVAL(key)), Z_TYPE_P(watch->parent->addr.zv) == IS_ARRAY?"]":"");
241 str_len = asprintf(&str, "%.*s%s%li%s", (int)watch->parent->str_len, watch->parent->str, Z_TYPE_P(watch->parent->addr.zv) == IS_ARRAY?"[":"->", Z_LVAL(key), Z_TYPE_P(watch->parent
290 phpdbg_watchpoint_parse_input(char *input, size_t len, HashTable *parent, size_t i, int (*callback)(phpdbg_watchpoint_t * TSRMLS_DC), zend_bool silent TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c5883 backtrack->prev = parent->top; \
5885 parent->top = backtrack; \
5896 backtrack->prev = parent->top; \
5898 parent->top = backtrack; \
6030 static SLJIT_INLINE pcre_uchar *compile_ref_iterator_matchingpath(compiler_common *common, pcre_uchar *cc, backtrack_common *parent) argument
6237 static SLJIT_INLINE pcre_uchar *compile_recurse_matchingpath(compiler_common *common, pcre_uchar *cc, backtrack_common *parent) argument
6357 static SLJIT_INLINE pcre_uchar *compile_callout_matchingpath(compiler_common *common, pcre_uchar *cc, backtrack_common *parent) argument
6928 static pcre_uchar *compile_bracket_matchingpath(compiler_common *common, pcre_uchar *cc, backtrack_common *parent) argument
6980 parent->top = backtrack->prev;
7434 JUMPTO(SLJIT_JUMP, ((braminzero_backtrack *)parent)
7466 compile_bracketpos_matchingpath(compiler_common *common, pcre_uchar *cc, backtrack_common *parent) argument
7842 compile_iterator_matchingpath(compiler_common *common, pcre_uchar *cc, backtrack_common *parent) argument
8088 compile_fail_accept_matchingpath(compiler_common *common, pcre_uchar *cc, backtrack_common *parent) argument
8151 compile_control_verb_matchingpath(compiler_common *common, pcre_uchar *cc, backtrack_common *parent) argument
8183 compile_then_trap_matchingpath(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend, backtrack_common *parent) argument
8214 compile_matchingpath(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend, backtrack_common *parent) argument
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_conf.c544 struct key_value_s ***parent = (struct key_value_s ***) config; local
583 kv->next = **parent;
584 **parent = kv;
H A Dfpm_main.c122 * Set to non-zero if we are the parent process
124 static int parent = 1; variable
328 !parent &&
838 !parent &&
1836 zlog(ZLOG_DEBUG, "Sending \"0\" (error) to parent via fd=%d", fpm_globals.send_config_pipe[1]);
1845 zlog(ZLOG_DEBUG, "Sending \"1\" (OK) to parent via fd=%d", fpm_globals.send_config_pipe[1]);
1852 parent = 0;
1991 if (parent) {
/PHP_TRUNK/ext/dom/
H A Dphp_dom.c1085 while (base_class->type != ZEND_INTERNAL_CLASS && base_class->parent != NULL) {
1086 base_class = base_class->parent;
1312 /* {{{ int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) */
1313 int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) argument
1317 if (parent == NULL || child == NULL || child->doc != parent->doc) {
1321 nodep = parent;
1327 nodep = nodep->parent;
/PHP_TRUNK/ext/soap/
H A Dphp_schema.c1641 xmlNodePtr parent = element->parent; local
1642 while (parent) {
1643 if (node_is_equal_ex(parent, "schema", SCHEMA_NAMESPACE)) {
1645 def = get_attribute(parent->properties, "elementFormDefault");
1653 parent = parent->parent;
1655 if (parent == NULL) {
1869 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAS
1895 xmlNodePtr parent = attrType->parent; local
[all...]
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
378 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 Dspl_fixedarray.c220 zend_class_entry *parent = class_type; local
223 intern = ecalloc(1, sizeof(spl_fixedarray_object) + (sizeof(zval) * parent->default_properties_count - 1));
244 while (parent) {
245 if (parent == spl_ce_SplFixedArray) {
251 parent = parent->parent;
255 if (!parent) { /* this must never happen */
267 if (class_type->iterator_funcs.zf_rewind->common.scope != parent) {
270 if (class_type->iterator_funcs.zf_valid->common.scope != parent) {
[all...]
H A Dspl_heap.c386 zend_class_entry *parent = class_type; local
389 intern = ecalloc(1, sizeof(spl_heap_object) + sizeof(zval) * (parent->default_properties_count - 1));
421 while (parent) {
422 if (parent == spl_ce_SplPriorityQueue) {
429 if (parent == spl_ce_SplMinHeap) {
434 if (parent == spl_ce_SplMaxHeap) {
439 if (parent == spl_ce_SplHeap) {
443 parent = parent->parent;
[all...]
H A Dspl_array.c181 zend_class_entry *parent = class_type; local
184 intern = ecalloc(1, sizeof(spl_array_object) + sizeof(zval) * (parent->default_properties_count - 1));
217 while (parent) {
218 if (parent == spl_ce_ArrayIterator || parent == spl_ce_RecursiveArrayIterator) {
222 } else if (parent == spl_ce_ArrayObject) {
226 parent = parent->parent;
229 if (!parent) { /* thi
[all...]
H A Dspl_dllist.c375 zend_class_entry *parent = class_type; local
378 intern = ecalloc(1, sizeof(spl_dllist_object) + sizeof(zval) * (parent->default_properties_count - 1));
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;
427 if (!parent) { /* thi
[all...]
H A Dspl_observer.c257 zend_class_entry *parent = class_type; local
259 intern = emalloc(sizeof(spl_SplObjectStorage) + sizeof(zval) * (parent->default_properties_count - 1));
275 while (parent) {
276 if (parent == spl_ce_SplObjectStorage) {
286 parent = parent->parent;
/PHP_TRUNK/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 */
342 !parent &&
920 !parent &&
1443 if (parent && parent_waiting) {
2030 while (parent) {
2042 parent = 0;
2058 } while (parent && (running < children));
2060 if (parent) {
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c290 if (!member && node && node->parent &&
291 node->parent->type == XML_DOCUMENT_NODE) {
352 node = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, NULL);
509 if (!member && node && node->parent &&
510 node->parent->type == XML_DOCUMENT_NODE) {
640 newnode = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, value ? (xmlChar *)Z_STRVAL_P(value) : NULL);
649 newnode = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, value ? (xmlChar *)Z_STRVAL_P(value) : NULL);
1118 if ( !node->children || !node->parent || !node->next || node->children->next || node->children->children || node->parent->children == node->parent
2065 zend_class_entry *parent = ce; local
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dblock_pass.c209 int parent = op_array->brk_cont_array[i].parent; local
211 while (parent >= 0 &&
212 op_array->brk_cont_array[parent].start < 0 &&
213 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_FREE &&
214 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_SWITCH_FREE) {
215 parent = op_array->brk_cont_array[parent].parent;
217 op_array->brk_cont_array[i].parent
[all...]
/PHP_TRUNK/Zend/
H A Dzend_compile.c520 int parent; local
522 parent = CG(context).current_brk_cont;
526 brk_cont_element->parent = parent;
540 CG(context).current_brk_cont = CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].parent;
753 /* Ensure that \self, \parent and \static are not used */
845 current = op_array->brk_cont_array[current].parent;
942 if (!ce->parent) {
947 ce->create_object = ce->parent->create_object;
951 ce->get_iterator = ce->parent
1456 do_inherit_method_check(HashTable *child_function_table, zend_function *parent, zend_string *key, zend_class_entry *child_ce) argument
[all...]
H A Dzend.h475 struct _zend_class_entry *parent; member in struct:_zend_class_entry
H A Dzend_compile.h131 int parent; member in struct:_zend_brk_cont_element
189 /* shadow of parent's private method/property */

Completed in 68 milliseconds

12