Searched defs:parent (Results 1 - 25 of 30) 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/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/sapi/fpm/fpm/
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 &&
1847 zlog(ZLOG_DEBUG, "Sending \"0\" (error) to parent via fd=%d", fpm_globals.send_config_pipe[1]);
1856 zlog(ZLOG_DEBUG, "Sending \"1\" (OK) to parent via fd=%d", fpm_globals.send_config_pipe[1]);
1863 parent = 0;
2002 if (parent) {
H A Dfpm_conf.c544 struct key_value_s ***parent = (struct key_value_s ***) config; local
583 kv->next = **parent;
584 **parent = kv;
/PHP_TRUNK/ext/spl/
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.c373 zend_class_entry *parent = class_type; local
376 intern = ecalloc(1, sizeof(spl_dllist_object) + sizeof(zval) * (parent->default_properties_count - 1));
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;
425 if (!parent) { /* thi
[all...]
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_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/ext/dom/
H A Dphp_dom.c1087 while (base_class->type != ZEND_INTERNAL_CLASS && base_class->parent != NULL) {
1088 base_class = base_class->parent;
1314 /* {{{ int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) */
1315 int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) argument
1319 if (parent == NULL || child == NULL || child->doc != parent->doc) {
1323 nodep = parent;
1329 nodep = nodep->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 &&
925 !parent &&
1448 if (parent && parent_waiting) {
2036 while (parent) {
2048 parent = 0;
2064 } while (parent && (running < children));
2066 if (parent) {
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dblock_pass.c208 int parent = op_array->brk_cont_array[i].parent; local
210 while (parent >= 0 &&
211 op_array->brk_cont_array[parent].start < 0 &&
212 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_FREE) {
213 parent = op_array->brk_cont_array[parent].parent;
215 op_array->brk_cont_array[i].parent = parent;
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c288 if (!member && node && node->parent &&
289 node->parent->type == XML_DOCUMENT_NODE) {
350 node = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, NULL);
505 if (!member && node && node->parent &&
506 node->parent->type == XML_DOCUMENT_NODE) {
636 newnode = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, value ? (xmlChar *)Z_STRVAL_P(value) : NULL);
645 newnode = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, value ? (xmlChar *)Z_STRVAL_P(value) : NULL);
1110 if ( !node->children || !node->parent || !node->next || node->children->next || node->children->children || node->parent->children == node->parent
2056 zend_class_entry *parent = ce; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend.h115 struct _zend_class_entry *parent; member in struct:_zend_class_entry
H A Dzend_inheritance.c59 if (!ce->parent) {
64 ce->create_object = ce->parent->create_object;
68 ce->get_iterator = ce->parent->get_iterator;
71 ce->iterator_funcs.funcs = ce->parent->iterator_funcs.funcs;
74 ce->__get = ce->parent->__get;
77 ce->__set = ce->parent->__set;
80 ce->__unset = ce->parent->__unset;
83 ce->__isset = ce->parent->__isset;
86 ce->__call = ce->parent->__call;
89 ce->__callstatic = ce->parent
550 do_inherit_method_check(HashTable *child_function_table, zend_function *parent, zend_string *key, zend_class_entry *child_ce) argument
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c397 static int phpdbg_parse_variable_arg_wrapper(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv, phpdbg_parse_var_func callback TSRMLS_DC) { argument
398 return callback(name, len, keyname, keylen, parent, zv TSRMLS_CC);
401 PHPDBG_API int phpdbg_parse_variable(char *input, size_t len, HashTable *parent, size_t i, phpdbg_parse_var_func callback, zend_bool silent TSRMLS_DC) { argument
402 return phpdbg_parse_variable_with_arg(input, len, parent, i, (phpdbg_parse_var_with_arg_func) phpdbg_parse_variable_arg_wrapper, silent, callback TSRMLS_CC);
405 PHPDBG_API int phpdbg_parse_variable_with_arg(char *input, size_t len, HashTable *parent, size_t i, phpdbg_parse_var_with_arg_func callback, zend_bool silent, void *arg TSRMLS_DC) { argument
448 ZEND_HASH_FOREACH_KEY_PTR(parent, numkey, strkey, zv) {
471 ret = callback(name, namelen, keyname, index_len, parent, zv, arg TSRMLS_CC) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE;
484 if (!(zv = zend_symtable_str_find(parent, last_index, index_len))) {
499 ret = callback(name, len, keyname, index_len, parent, zv, arg TSRMLS_CC) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE;
501 parent
[all...]
H A Dphpdbg_watch.c118 static phpdbg_watchpoint_t *phpdbg_create_refcounted_watchpoint(phpdbg_watchpoint_t *parent, zend_refcounted *ref) { argument
120 watch->flags = parent->flags;
121 watch->parent = parent;
146 zend_hash_str_add_ptr(&cur->watches, watch->parent->str, watch->parent->str_len, watch->parent);
152 phpdbg_watchpoint_t *watch = cur->watch.parent;
177 if (watch->parent && watch->parent
382 phpdbg_watchpoint_parse_wrapper(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv, int (*callback)(phpdbg_watchpoint_t * TSRMLS_DC) TSRMLS_DC) argument
404 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...]
H A Dphpdbg_watch.h68 phpdbg_watchpoint_t *parent; member in struct:_phpdbg_watchpoint_t
H A Dzend_mm_structs.h49 struct _zend_mm_free_block **parent; member in struct:_zend_mm_free_block
H A Dphpdbg_cmd.c33 if (command->parent) {
34 memcpy(&buffer[pos], command->parent->name, command->parent->name_len);
35 pos += command->parent->name_len;
547 PHPDBG_API const phpdbg_command_t *phpdbg_stack_resolve(const phpdbg_command_t *commands, const phpdbg_command_t *parent, phpdbg_param_t **top TSRMLS_DC) { argument
587 if (parent) {
588 phpdbg_error("command", "type=\"notfound\" command=\"%s\" subcommand=\"%s\"", "The command \"%s %s\" could not be found", parent->name, name->str);
592 return parent;
H A Dphpdbg_cmd.h103 const phpdbg_command_t *parent; /* Parent Command */ member in struct:_phpdbg_command_t
140 PHPDBG_API const phpdbg_command_t *phpdbg_stack_resolve(const phpdbg_command_t *commands, const phpdbg_command_t *parent, phpdbg_param_t **top TSRMLS_DC);
161 #define PHPDBG_COMMAND_D_EXP(name, tip, alias, handler, children, args, parent, flags) \
162 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, parent, flags}
H A Dphpdbg_prompt.c680 int phpdbg_output_ev_variable(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv TSRMLS_DC) { argument

Completed in 47 milliseconds

12