Home
last modified time | relevance | path

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

/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c192 xml_element_attr* attrs = Q_Head(&root->attrs); in xml_elem_free_non_recurse() local
193 while(attrs) { in xml_elem_free_non_recurse()
194 my_free(attrs->key); in xml_elem_free_non_recurse()
195 my_free(attrs->val); in xml_elem_free_non_recurse()
196 my_free(attrs); in xml_elem_free_non_recurse()
197 attrs = Q_Next(&root->attrs); in xml_elem_free_non_recurse()
201 Q_Destroy(&root->attrs); in xml_elem_free_non_recurse()
262 Q_Init(&elem->attrs); in xml_elem_new()
414 if(Q_Size(&el->attrs)) { in xml_element_serialize()
424 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.c248 xml_element_attr* attr_iter = Q_Head(&el->attrs); in xml_element_to_SOAP_REQUEST_worker()
281 attr_iter = Q_Next(&el->attrs); in xml_element_to_SOAP_REQUEST_worker()
457 Q_PushTail(&elem_val->attrs, attr_array_type); in SOAP_to_xml_element_worker()
544 Q_PushTail(&elem_val->attrs, new_attr(TOKEN_TYPE, pAttrType)); in SOAP_to_xml_element_worker()
586 Q_PushTail(&root->attrs, new_attr("xmlns:SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/")); in SOAP_REQUEST_to_xml_element()
587 Q_PushTail(&root->attrs, new_attr("xmlns:xsi", "http://www.w3.org/1999/XMLSchema-instance")); in SOAP_REQUEST_to_xml_element()
588 Q_PushTail(&root->attrs, new_attr("xmlns:xsd", "http://www.w3.org/1999/XMLSchema")); in SOAP_REQUEST_to_xml_element()
589 Q_PushTail(&root->attrs, new_attr("xmlns:SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/")); in SOAP_REQUEST_to_xml_element()
590 Q_PushTail(&root->attrs, new_attr("xmlns:si", "http://soapinterop.org/xsd")); in SOAP_REQUEST_to_xml_element()
591 Q_PushTail(&root->attrs, new_attr("xmlns:ns6", "http://testuri.org")); in SOAP_REQUEST_to_xml_element()
[all …]
H A Dxml_to_dandarpc.c70 xml_element_attr* attr_iter = Q_Head(&el->attrs); in xml_element_to_DANDARPC_REQUEST_worker()
79 attr_iter = Q_Next(&el->attrs); in xml_element_to_DANDARPC_REQUEST_worker()
185 Q_PushTail(&elem_val->attrs, attr_type); in DANDARPC_to_xml_element_worker()
195 Q_PushTail(&elem_val->attrs, attr_id); in DANDARPC_to_xml_element_worker()
300 Q_PushTail(&root->attrs, version); in DANDARPC_REQUEST_to_xml_element()
H A Dxmlrpc_introspection.c316 xml_element_attr* attr_iter = Q_Head(&el->attrs); in xml_element_to_method_description()
340 attr_iter = Q_Next(&el->attrs); in xml_element_to_method_description()
/PHP-7.4/ext/ldap/tests/
H A Dldap_mod_ext.phpt28 ['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
29 ['oid' => LDAP_CONTROL_POST_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
42 ['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
43 ['oid' => LDAP_CONTROL_POST_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
H A Dldap_rename_ext.phpt23 ['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['cn']]],
24 ['oid' => LDAP_CONTROL_POST_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['cn']]]
H A Dldap_delete_ext.phpt28 [['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['dc', 'o']]]]
H A Dldap_add_ext.phpt24 ), [['oid' => LDAP_CONTROL_POST_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['o']]]]),
/PHP-7.4/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.4/ext/dom/tests/
H A DtoString_exceptions.phpt26 $attrs = $node->attributes;
27 $attr = $attrs[0];
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.4/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.c736 const char **attrs = (const char **) attributes; in _xml_startElementHandler() local
785 attributes = (const XML_Char **) attrs; in _xml_startElementHandler()
/PHP-7.4/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.4/ext/pdo_mysql/tests/
H A Dbug68371.phpt15 $attrs = array(
44 foreach ($attrs as $a => $vals) {
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug68371.phpt17 $attrs = array(
45 foreach ($attrs as $a => $vals) {
/PHP-7.4/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.4/ext/soap/
H A Dphp_schema.c1361 xmlAttrPtr attrs, name, ns; in schema_complexType() local
1363 attrs = compType->properties; in schema_complexType()
1369 name = get_attribute(attrs, "name"); in schema_complexType()
1492 attrs = element->properties; in schema_element()
1498 name = get_attribute(attrs, "name"); in schema_element()
1590 attrs = element->properties; in schema_element()
1591 attr = get_attribute(attrs, "nillable"); in schema_element()
1606 attr = get_attribute(attrs, "fixed"); in schema_element()
1614 attr = get_attribute(attrs, "default"); in schema_element()
1623 attr = get_attribute(attrs, "form"); in schema_element()
[all …]
/PHP-7.4/Zend/
H A Dzend_virtual_cwd.c839 DWORD attrs; in tsrm_realpath_r() local
846 attrs = GetFileAttributesW(pathw); in tsrm_realpath_r()
847 if (!isVolume && attrs != INVALID_FILE_ATTRIBUTES && (attrs & FILE_ATTRIBUTE_REPARSE_POINT)) { in tsrm_realpath_r()
/PHP-7.4/ext/ldap/
H A Dldap.c1444 zval *link, *base_dn, *filter, *attrs = NULL, *attr, *serverctrls = NULL; in php_ldap_do_search() local
1455 if (zend_parse_parameters(argcount, "zzz|a/lllla/", &link, &base_dn, &filter, &attrs, &attrsonly, in php_ldap_do_search()
1472 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(attrs)); in php_ldap_do_search()
1476 if ((attr = zend_hash_index_find(Z_ARRVAL_P(attrs), i)) == NULL) { in php_ldap_do_search()

Completed in 79 milliseconds