Home
last modified time | relevance | path

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

/PHP-5.3/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-5.3/ext/dom/examples/
H A Ddom1.php59 $attrs = $rootnode->attributes; variable
60 print_node_list($attrs);
63 $children = $attrs->item(0)->childNodes;
/PHP-5.3/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.phpt25 function start_element($parser, $name, $attrs) {
26 $attrs = array_map('bin2hex', $attrs);
27 $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-5.3/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.c874 const char **attrs = (const char **) attributes; in _xml_startElementHandler() local
927 attributes = (const XML_Char **) attrs; in _xml_startElementHandler()
/PHP-5.3/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-5.3/ext/dom/tests/
H A Ddom001.phpt64 $attrs = $rootnode->attributes;
65 print_node_list($attrs);
68 $children = $attrs->item(0)->childNodes;
/PHP-5.3/ext/soap/
H A Dphp_schema.c1352 xmlAttrPtr attrs, name, ns; in schema_complexType() local
1354 attrs = compType->properties; in schema_complexType()
1360 name = get_attribute(attrs, "name"); in schema_complexType()
1483 attrs = element->properties; in schema_element()
1489 name = get_attribute(attrs, "name"); in schema_element()
1573 attrs = element->properties; in schema_element()
1574 attr = get_attribute(attrs, "nillable"); in schema_element()
1589 attr = get_attribute(attrs, "fixed"); in schema_element()
1597 attr = get_attribute(attrs, "default"); in schema_element()
1608 attr = get_attribute(attrs, "form"); in schema_element()
[all …]
/PHP-5.3/ext/ldap/
H A Dldap.c590 zval *link, *base_dn, **filter, *attrs, **attr; in php_ldap_do_search() local
599 …if (zend_parse_parameters(argcount TSRMLS_CC, "zzZ|allll", &link, &base_dn, &filter, &attrs, &attr… in php_ldap_do_search()
615 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(attrs)); in php_ldap_do_search()
619 if (zend_hash_index_find(Z_ARRVAL_P(attrs), i, (void **) &attr) != SUCCESS) { in php_ldap_do_search()

Completed in 66 milliseconds