Home
last modified time | relevance | path

Searched refs:attr (Results 101 – 125 of 208) sorted by relevance

123456789

/php-src/ext/simplexml/tests/
H A D028.phpt15 foreach($xml->attributes() as $attr => $value)
17 echo " $attr=\"$value\"";
H A D018.phpt33 foreach($node->attributes() as $attr => $value) {
34 echo " $attr=\"$value\"";
/php-src/ext/dom/
H A Dhtml5_parser.c170 for (lxb_dom_attr_t *attr = element->first_attr; attr != NULL; attr = attr->next) { in lexbor_libxml2_bridge_convert() local
173 const lxb_char_t *local_name = lxb_dom_attr_local_name(attr, &local_name_length); in lexbor_libxml2_bridge_convert()
174 const lxb_char_t *value = lxb_dom_attr_value(attr, &value_length); in lexbor_libxml2_bridge_convert()
202 if (attr->node.ns == LXB_NS_XMLNS) { in lexbor_libxml2_bridge_convert()
212 } else if (attr->node.ns == LXB_NS_XLINK) { in lexbor_libxml2_bridge_convert()
229 …if (local_name_length == 2 && local_name[0] == 'i' && local_name[1] == 'd' && attr->node.ns == LXB… in lexbor_libxml2_bridge_convert()
/php-src/ext/pdo_firebird/tests/
H A Dtransaction_isolation_level_attr.phpt23 echo "========== Set attr in construct ==========\n";
62 echo "========== Set attr in setAttribute ==========\n";
92 ========== Set attr in construct ==========
99 ========== Set attr in setAttribute ==========
H A Dtransaction_access_mode.phpt24 echo "========== Set attr in construct ==========\n";
46 echo "========== Set attr in setAttribute and behavior check ==========\n";
85 echo "========== Set attr in setAttribute while transaction ==========\n";
139 ========== Set attr in construct ==========
143 ========== Set attr in setAttribute and behavior check ==========
171 ========== Set attr in setAttribute while transaction ==========
/php-src/ext/xml/tests/
H A Dxml007.phpt14 function startHandler($parser,$tag,$attr)
16 var_dump($tag,$attr);
/php-src/ext/dom/tests/
H A Dbug78577.phpt11 $attr = $doc->documentElement->getAttributeNode('xmlns');
12 var_dump($attr);
H A Dbug44648.phpt14 $attr = new DOMAttr('@acb', '123');
15 $root->setAttributeNode($attr);
H A Ddom_set_attr_node.phpt21 $attr = $root->getAttributeNode('a');
27 $root2->setAttributeNode($attr);
/php-src/Zend/tests/attributes/
H A D001_placement.phpt44 $attr = $r->getAttributes();
45 var_dump(get_class($r), count($attr));
47 foreach ($attr as $a) {
/php-src/ext/com_dotnet/
H A Dcom_typeinfo.c379 TYPEATTR *attr; in php_com_locate_typeinfo() local
382 ITypeInfo_GetTypeAttr(coinfo, &attr); in php_com_locate_typeinfo()
384 for (i = 0; i < attr->cImplTypes; i++) { in php_com_locate_typeinfo()
404 ITypeInfo_ReleaseTypeAttr(coinfo, attr); in php_com_locate_typeinfo()
481 TYPEATTR *attr; in php_com_process_typeinfo() local
488 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) { in php_com_process_typeinfo()
493 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) { in php_com_process_typeinfo()
496 memcpy(guid, &attr->guid, sizeof(GUID)); in php_com_process_typeinfo()
506 guid_str = php_com_string_from_clsid(&attr->guid, codepage); in php_com_process_typeinfo()
517 for (i = 0; i < attr->cFuncs; i++) { in php_com_process_typeinfo()
[all …]
/php-src/Zend/
H A Dzend_attributes.h67 void (*validator)(zend_attribute *attr, uint32_t target, zend_class_entry *scope);
76 ZEND_API zend_result zend_get_attribute_value(zval *ret, zend_attribute *attr, uint32_t i, zend_cla…
79 ZEND_API bool zend_is_attribute_repeated(HashTable *attributes, zend_attribute *attr);
89 uint32_t zend_attribute_attribute_get_flags(zend_attribute *attr, zend_class_entry *scope);
H A Dzend_language_parser.y351 T_STRING { $$ = $1; $$->attr = ZEND_NAME_NOT_FQ; }
352 | T_NAME_QUALIFIED { $$ = $1; $$->attr = ZEND_NAME_NOT_FQ; }
353 | T_NAME_FULLY_QUALIFIED { $$ = $1; $$->attr = ZEND_NAME_FQ; }
455 | use_type unprefixed_use_declaration { $$ = $2; $$->attr = $1; }
822 | '?' type { $$ = $2; $$->attr |= ZEND_TYPE_NULLABLE; }
941 $$->attr = $1; }
944 $$->attr = $1; }
947 $$->attr = $1; }
1312 | ampersand T_VARIABLE { $$ = $2; $$->attr = ZEND_BIND_REF; }
1530 { $5->attr = ZEND_ARRAY_SYNTAX_LIST;
[all …]
/php-src/ext/dom/tests/modern/spec/
H A DNode_appendChild_invalid_parent.phpt13 $attr = $dom->createAttribute('Hello');
34 $attr->appendChild($dom->createElement('br'));
H A Dclone_conflicting_namespace_prefix.phpt28 foreach ($clone->attributes as $attr) {
29 var_dump($attr->name, $attr->namespaceURI);
H A DElement_removeAttributeNS.phpt56 $body->setAttributeNode($attr = $body->ownerDocument->createAttribute("prefix:local"));
57 $attr->value = "A";
67 $body->setAttributeNode($attr = $body->ownerDocument->createAttributeNS("urn:a", "prefix:local2"));
68 $attr->value = "B";
/php-src/ext/xmlwriter/tests/
H A D010.phpt13 var_dump(xmlwriter_start_attribute($xw, "attr"));
53 string(14) "<tag attr=""/>"
/php-src/ext/intl/collator/
H A Dcollator_functions_arginfo.h15 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0)
20 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0)
/php-src/ext/xsl/
H A Dxsltprocessor.c148 for (const xmlAttr *attr = cur->properties; attr != NULL; attr = attr->next) { in xsl_build_ns_map() local
149 …if (attr->ns != NULL && attr->ns->prefix != NULL && php_dom_ns_is_fast_ex(attr->ns, php_dom_ns_is_… in xsl_build_ns_map()
150 && attr->children != NULL && attr->children->content != NULL) { in xsl_build_ns_map()
153 const xmlChar *prefix = attr->name; in xsl_build_ns_map()
154 …_ns_raw_strings_nullsafe(ns_mapper, (const char *) prefix, (const char *) attr->children->content); in xsl_build_ns_map()
/php-src/ext/dom/lexbor/lexbor/html/
H A Dtree.h31 lxb_dom_attr_t *attr, void *ctx);
137 lxb_dom_attr_t *attr, void *ctx);
141 lxb_dom_attr_t *attr, void *ctx);
145 lxb_dom_attr_t *attr, void *ctx);
221 lxb_dom_attr_t *attr, void *ctx);
225 lxb_dom_attr_t *attr, void *ctx);
H A Dtoken.h65 lxb_html_token_attr_t *attr);
69 lxb_html_token_attr_t *attr, lexbor_dobject_t *dobj);
/php-src/ext/soap/
H A Dphp_encoding.c307 attr = get_attribute(attr, "id"); in soap_check_zval_ref()
308 if (attr == NULL || attr->ns == NULL) { in soap_check_zval_ref()
311 attr = attr->next; in soap_check_zval_ref()
313 if (attr) { in soap_check_zval_ref()
329 attr = get_attribute_ex(attr, "id", SOAP_1_2_ENC_NAMESPACE); in soap_check_zval_ref()
330 if (attr) { in soap_check_zval_ref()
1513 if (attr->fixed && strcmp(attr->fixed, str_val) != 0) { in to_zval_object_ex()
2468 attr->children && attr->children->content) { in to_zval_array()
2502 attr->children && attr->children->content) { in to_zval_array()
2511 attr->children && attr->children->content) { in to_zval_array()
[all …]
/php-src/ext/dom/lexbor/lexbor/core/
H A Dstr.h19 #define lexbor_str_get(str, attr) str->attr argument
20 #define lexbor_str_set(str, attr) lexbor_str_get(str, attr) argument
/php-src/ext/zip/
H A Dphp_zip.stub.php764 …public function setExternalAttributesName(string $name, int $opsys, int $attr, int $flags = 0): bo…
767 …public function setExternalAttributesIndex(int $index, int $opsys, int $attr, int $flags = 0): boo…
771 * @param int $attr
774 … public function getExternalAttributesName(string $name, &$opsys, &$attr, int $flags = 0): bool {}
778 * @param int $attr
781 public function getExternalAttributesIndex(int $index, &$opsys, &$attr, int $flags = 0): bool {}
/php-src/ext/opcache/
H A Dzend_persist_calc.c161 zend_attribute *attr; in zend_persist_attributes_calc() local
168 ZEND_HASH_PACKED_FOREACH_PTR(attributes, attr) { in zend_persist_attributes_calc()
169 ADD_SIZE(ZEND_ATTRIBUTE_SIZE(attr->argc)); in zend_persist_attributes_calc()
170 ADD_INTERNED_STRING(attr->name); in zend_persist_attributes_calc()
171 ADD_INTERNED_STRING(attr->lcname); in zend_persist_attributes_calc()
173 for (i = 0; i < attr->argc; i++) { in zend_persist_attributes_calc()
174 if (attr->args[i].name) { in zend_persist_attributes_calc()
175 ADD_INTERNED_STRING(attr->args[i].name); in zend_persist_attributes_calc()
177 zend_persist_zval_calc(&attr->args[i].value); in zend_persist_attributes_calc()

Completed in 63 milliseconds

123456789