Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 20 of 20) sorted by relevance

/PHP-7.0/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c199 xml_element_attr* attrs = Q_Head(&root->attrs); in xml_elem_free_non_recurse() local
200 while(attrs) { in xml_elem_free_non_recurse()
201 my_free(attrs->key); in xml_elem_free_non_recurse()
202 my_free(attrs->val); in xml_elem_free_non_recurse()
203 my_free(attrs); in xml_elem_free_non_recurse()
204 attrs = Q_Next(&root->attrs); in xml_elem_free_non_recurse()
208 Q_Destroy(&root->attrs); in xml_elem_free_non_recurse()
269 Q_Init(&elem->attrs); in xml_elem_new()
421 if(Q_Size(&el->attrs)) { in xml_element_serialize()
431 iter = Q_Next(&el->attrs); in xml_element_serialize()
[all …]
H A Dxml_element.h154 queue attrs; /* attribute list */ member
187 #define xml_elem_next_attr(el) ((el) ? (xml_element_attr *)Q_Next(&el->attrs) : NULL)
188 #define xml_elem_head_attr(el) ((el) ? (xml_element_attr *)Q_Head(&el->attrs) : NULL)
H A Dxml_to_soap.c253 xml_element_attr* attr_iter = Q_Head(&el->attrs); in xml_element_to_SOAP_REQUEST_worker()
286 attr_iter = Q_Next(&el->attrs); in xml_element_to_SOAP_REQUEST_worker()
462 Q_PushTail(&elem_val->attrs, attr_array_type); in SOAP_to_xml_element_worker()
549 Q_PushTail(&elem_val->attrs, new_attr(TOKEN_TYPE, pAttrType)); in SOAP_to_xml_element_worker()
591 Q_PushTail(&root->attrs, new_attr("xmlns:SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/")); in SOAP_REQUEST_to_xml_element()
592 Q_PushTail(&root->attrs, new_attr("xmlns:xsi", "http://www.w3.org/1999/XMLSchema-instance")); in SOAP_REQUEST_to_xml_element()
593 Q_PushTail(&root->attrs, new_attr("xmlns:xsd", "http://www.w3.org/1999/XMLSchema")); in SOAP_REQUEST_to_xml_element()
594 Q_PushTail(&root->attrs, new_attr("xmlns:SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/")); in SOAP_REQUEST_to_xml_element()
595 Q_PushTail(&root->attrs, new_attr("xmlns:si", "http://soapinterop.org/xsd")); in SOAP_REQUEST_to_xml_element()
596 Q_PushTail(&root->attrs, new_attr("xmlns:ns6", "http://testuri.org")); in SOAP_REQUEST_to_xml_element()
[all …]
H A Dxml_to_dandarpc.c73 xml_element_attr* attr_iter = Q_Head(&el->attrs); in xml_element_to_DANDARPC_REQUEST_worker()
82 attr_iter = Q_Next(&el->attrs); in xml_element_to_DANDARPC_REQUEST_worker()
188 Q_PushTail(&elem_val->attrs, attr_type); in DANDARPC_to_xml_element_worker()
198 Q_PushTail(&elem_val->attrs, attr_id); in DANDARPC_to_xml_element_worker()
303 Q_PushTail(&root->attrs, version); in DANDARPC_REQUEST_to_xml_element()
H A Dxmlrpc_introspection.c319 xml_element_attr* attr_iter = Q_Head(&el->attrs); in xml_element_to_method_description()
343 attr_iter = Q_Next(&el->attrs); in xml_element_to_method_description()
/PHP-7.0/ext/dom/examples/
H A Ddom1.php59 $attrs = $rootnode->attributes; variable
60 print_node_list($attrs);
63 $children = $attrs->item(0)->childNodes;
/PHP-7.0/ext/xml/tests/
H A Dbug32001b.phpt28 function start_element($parser, $name, $attrs) {
29 $attrs = array_map('bin2hex', $attrs);
30 $this->tags[] = bin2hex($name).": ".implode(', ', $attrs);
H A Dbug32001.phpt27 function start_element($parser, $name, $attrs) {
28 $attrs = array_map('bin2hex', $attrs);
29 $this->tags[] = bin2hex($name).": ".implode(', ', $attrs);
H A Dbug26614.phpt56 function startElement($parser, $name, $attrs) {
H A Dbug26614_libxml.phpt56 function startElement($parser, $name, $attrs) {
/PHP-7.0/ext/xml/
H A Dcompat.c94 xmlChar **attrs = NULL; in _start_element_handler_ns() local
173 attrs = safe_emalloc((nb_attributes * 2) + 1, sizeof(int *), 0); in _start_element_handler_ns()
182 attrs[z] = qualified_name_attr; in _start_element_handler_ns()
183 attrs[z + 1] = xmlStrndup(attributes[y + 3] , (int) (attributes[y + 4] - attributes[y + 3])); in _start_element_handler_ns()
188 attrs[z] = NULL; in _start_element_handler_ns()
190 …parser->h_start_element(parser->user, (const XML_Char *) qualified_name, (const XML_Char **) attrs in _start_element_handler_ns()
191 if (attrs) { in _start_element_handler_ns()
193 xmlFree(attrs[i]); in _start_element_handler_ns()
195 efree(attrs); in _start_element_handler_ns()
H A Dxml.c725 const char **attrs = (const char **) attributes; in _xml_startElementHandler() local
774 attributes = (const XML_Char **) attrs; in _xml_startElementHandler()
/PHP-7.0/ext/pdo/tests/
H A Dbug_44159.phpt16 $attrs = array(PDO::ATTR_STATEMENT_CLASS, PDO::ATTR_STRINGIFY_FETCHES, PDO::NULL_TO_STRING);
18 foreach ($attrs as $attr) {
/PHP-7.0/ext/pdo_mysql/tests/
H A Dbug68371.phpt15 $attrs = array(
44 foreach ($attrs as $a => $vals) {
/PHP-7.0/ext/pdo_pgsql/tests/
H A Dbug68371.phpt17 $attrs = array(
45 foreach ($attrs as $a => $vals) {
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg_info.c123 #define VARIABLEINFO(attrs, msg, ...) \ in PHPDBG_INFO() argument
125 "address=\"%p\" refcount=\"%d\" type=\"%s\" name=\"%.*s\" " attrs, \ in PHPDBG_INFO()
233 #define VARIABLEINFO(attrs, msg, ...) \ in phpdbg_print_symbols() argument
235 "address=\"%p\" refcount=\"%d\" type=\"%s\" refstatus=\"%s\" name=\"%.*s\" " attrs, \ in phpdbg_print_symbols()
/PHP-7.0/ext/dom/tests/
H A Dbug67081.phpt41 <!ENTITY % attrs "%coreattrs;">
H A Ddom001.phpt64 $attrs = $rootnode->attributes;
65 print_node_list($attrs);
68 $children = $attrs->item(0)->childNodes;
/PHP-7.0/ext/soap/
H A Dphp_schema.c1362 xmlAttrPtr attrs, name, ns; in schema_complexType() local
1364 attrs = compType->properties; in schema_complexType()
1370 name = get_attribute(attrs, "name"); in schema_complexType()
1493 attrs = element->properties; in schema_element()
1499 name = get_attribute(attrs, "name"); in schema_element()
1591 attrs = element->properties; in schema_element()
1592 attr = get_attribute(attrs, "nillable"); in schema_element()
1607 attr = get_attribute(attrs, "fixed"); in schema_element()
1615 attr = get_attribute(attrs, "default"); in schema_element()
1626 attr = get_attribute(attrs, "form"); in schema_element()
[all …]
/PHP-7.0/ext/ldap/
H A Dldap.c709 zval *link, *base_dn, *filter, *attrs = NULL, *attr; in php_ldap_do_search() local
718 if (zend_parse_parameters(argcount, "zzz|allll", &link, &base_dn, &filter, &attrs, &attrsonly, in php_ldap_do_search()
734 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(attrs)); in php_ldap_do_search()
738 if ((attr = zend_hash_index_find(Z_ARRVAL_P(attrs), i)) == NULL) { in php_ldap_do_search()

Completed in 51 milliseconds