| /PHP_5_5/ext/dom/examples/ |
| H A D | dom1.php | 41 //$attr = $dom->createAttribute("src", "picture.gif"); 42 //print_r($attr); 44 //$rootnode->set_attributeNode($attr); 45 $attr = $rootnode->setAttribute("src", "picture.gif"); variable 46 $attr = $rootnode->getAttribute("src"); variable 47 print_r($attr); 51 $attr = $rootnode->getAttributeNode("src"); variable 52 print_node($attr); 55 $attr = $rootnode->removeAttribute("src"); variable 56 print "Removed " . $attr [all...] |
| /PHP_5_5/ext/oci8/tests/ |
| H A D | conn_attr.inc | 53 function get_attr($conn,$attr) 55 $sel_stmt="select " .$attr. " from v\$session where sid = 61 echo "The value of ".$attr ." is ".oci_result($s2,1)."\n"; 90 function set_attr($conn,$attr,$sufix) 92 if (!strcmp($attr,'MODULE')) 94 else if (!strcmp($attr,'ACTION')) 96 else if (!strcmp($attr,'CLIENT_INFO')) 98 else if (!strcmp($attr,'CLIENT_IDENTIFIER')) 103 echo "Value of $attr has been set successfully\n"; 129 function get_sys_attr($conn,$attr) [all...] |
| /PHP_5_5/ext/pdo/tests/ |
| H A D | pdo_test.inc | 25 $attr = getenv('PDOTEST_ATTR'); 26 if (is_string($attr) && strlen($attr)) { 27 $attr = unserialize($attr); 29 $attr = null; 35 $db = new $classname($dsn, $user, $pass, $attr);
|
| /PHP_5_5/ext/pdo_mysql/tests/ |
| H A D | mysql_pdo_test.inc | 12 $attr = getenv('PDOTEST_ATTR'); 14 if (is_string($attr) && strlen($attr)) { 15 $attr = unserialize($attr); 17 $attr = null; 24 $db = new $classname($dsn, $user, $pass, $attr);
|
| /PHP_5_5/ext/xmlreader/examples/ |
| H A D | xmlreader_file.php | 10 $attr = $reader->moveToFirstAttribute(); variable 11 while ($attr) { 14 $attr = $reader->moveToNextAttribute(); variable
|
| H A D | xmlreader_string.php | 21 $attr = $reader->moveToFirstAttribute(); variable 22 while ($attr) { 25 $attr = $reader->moveToNextAttribute(); variable
|
| /PHP_5_5/ext/xmlrpc/libxmlrpc/ |
| H A D | xml_element.c | 610 xml_element_attr* attr = malloc(sizeof(xml_element_attr)); local 611 if(attr) { 612 attr->key = strdup(*p); 613 attr->val = strdup(*(p+1)); 614 Q_PushTail(&mydata->current->attrs, attr);
|
| H A D | xml_to_soap.c | 69 xml_element_attr* attr = malloc(sizeof(xml_element_attr)); local 70 if (attr) { 71 attr->key = key ? strdup(key) : NULL; 72 attr->val = val ? strdup(val) : NULL; 74 return attr;
|
| /PHP_5_5/ext/intl/doc/ |
| H A D | collator_api.php | 188 * @param int $attr Attribute to get value for. 192 public function getAttribute( $attr ) {} 199 * @param int $attr Attribute. 204 public function setAttribute( $attr, $val ) {} 343 * @param int $attr Attribute to get value for. 347 function collator_get_attribute( $coll, $attr ) {} 372 * @param int $attr Attribute. 377 function collator_set_attribute( $coll, $attr, $val ) {}
|
| H A D | formatter_api.php | 230 * @param integer $attr One of UNumberFormatAttribute constants 234 public function setAttribute($attr, $value) {} 242 * @param integer $attr One of UNumberFormatTextAttribute constants 246 public function setTextAttribute($attr, $value) {} 254 * @param integer|array $attr One of UNumberFormatSymbol constants or array of symbols, indexed by 258 public function setSymbol($attr, $value) {} 273 * @param integer $attr One of UNumberFormatAttribute constants 276 public function getAttribute($attr) {} 280 * @param integer $attr One of UNumberFormatTextAttribute constants 283 public function getTextAttribute($attr) {} [all...] |
| /PHP_5_5/ext/intl/formatter/ |
| H A D | formatter_class.c | 128 ZEND_ARG_INFO(0, attr) 132 ZEND_ARG_INFO(0, attr) 137 ZEND_ARG_INFO(0, attr)
|
| /PHP_5_5/ext/com_dotnet/ |
| H A D | com_typeinfo.c | 334 TYPEATTR *attr; local 337 ITypeInfo_GetTypeAttr(coinfo, &attr); 339 for (i = 0; i < attr->cImplTypes; i++) { 359 ITypeInfo_ReleaseTypeAttr(coinfo, attr); 436 TYPEATTR *attr; local 444 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) { 449 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) { 452 memcpy(guid, &attr->guid, sizeof(GUID)); 462 guidstring = php_com_string_from_clsid(&attr->guid, codepage TSRMLS_CC); 474 for (i = 0; i < attr [all...] |
| /PHP_5_5/ext/dom/ |
| H A D | element.c | 111 ZEND_ARG_OBJ_INFO(0, attr, DOMAttr, 0) 336 xmlNodePtr attr; local 345 attr = dom_get_dom1_attribute(nodep, (xmlChar *)name); 346 if (attr) { 347 switch (attr->type) { 349 value = xmlNodeListGetString(attr->doc, attr->children, 1); 352 value = xmlStrdup(((xmlNsPtr)attr)->href); 355 value = xmlStrdup(((xmlAttributePtr)attr)->defaultValue); 376 xmlNodePtr attr local 746 xmlAttr *attr; local 1064 xmlNodePtr attr; local [all...] |
| /PHP_5_5/ext/pdo/ |
| H A D | pdo_dbh.c | 39 static int pdo_dbh_attribute_set(pdo_dbh_t *dbh, long attr, zval *value TSRMLS_DC); 707 static int pdo_dbh_attribute_set(pdo_dbh_t *dbh, long attr, zval *value TSRMLS_DC) /* {{{ */ argument 717 switch (attr) { 847 if (dbh->methods->set_attribute(dbh, attr, value TSRMLS_CC)) { 852 if (attr == PDO_ATTR_AUTOCOMMIT) { 868 long attr; local 871 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz", &attr, &value)) { 878 if (pdo_dbh_attribute_set(dbh, attr, value TSRMLS_CC) != FAILURE) { 890 long attr; local 892 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &attr)) { [all...] |
| H A D | php_pdo_driver.h | 257 typedef int (*pdo_dbh_set_attr_func)(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC); 272 typedef int (*pdo_dbh_get_attr_func)(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC); 358 typedef int (*pdo_stmt_set_attr_func)(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC); 361 typedef int (*pdo_stmt_get_attr_func)(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC);
|
| /PHP_5_5/ext/pdo_odbc/ |
| H A D | odbc_driver.c | 339 static int odbc_handle_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument 342 switch (attr) { 354 static int odbc_handle_get_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument 357 switch (attr) { 387 odbc_handle_get_attr, /* get attr */
|
| /PHP_5_5/ext/soap/ |
| H A D | php_packet_soap.c | 30 xmlAttrPtr attr; local 82 attr = env->properties; 83 while (attr != NULL) { 84 if (attr->ns == NULL) { 88 } else if (attr_is_equal_ex(attr,"encodingStyle",SOAP_1_2_ENV_NAMESPACE)) { 93 } else if (strcmp((char*)attr->children->content, SOAP_1_1_ENC_NAMESPACE) != 0) { 99 attr = attr->next; 130 attr = body->properties; 131 while (attr ! [all...] |
| H A D | php_schema.c | 984 xmlAttrPtr attr = get_attribute(node->properties, "minOccurs"); local 986 if (attr) { 987 model->min_occurs = atoi((char*)attr->children->content); 992 attr = get_attribute(node->properties, "maxOccurs"); 993 if (attr) { 994 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) { 997 model->max_occurs = atoi((char*)attr->children->content); 1481 xmlAttrPtr attrs, attr, ns, name, type, ref = NULL; local 1574 attr = get_attribute(attrs, "nillable"); 1575 if (attr) { 1715 xmlAttrPtr attr, name, ref = NULL, type = NULL; local 2025 sdlExtraAttributePtr *attr = (sdlExtraAttributePtr*)attribute; local 2039 schema_attribute_fixup(sdlCtx *ctx, sdlAttributePtr attr) argument 2088 schema_attributegroup_fixup(sdlCtx *ctx, sdlAttributePtr attr, HashTable *ht) argument 2192 sdlAttributePtr *attr; local 2248 sdlAttributePtr *attr; local 2437 sdlExtraAttributePtr attr = *((sdlExtraAttributePtr*)attribute); local 2450 sdlExtraAttributePtr attr = *((sdlExtraAttributePtr*)attribute); local 2463 sdlAttributePtr attr = *((sdlAttributePtr*)attribute); local 2489 sdlAttributePtr attr = *((sdlAttributePtr*)attribute); local [all...] |
| H A D | php_sdl.c | 217 xmlAttrPtr attr; local 218 if ((attr = get_attribute_ex(node->properties, "required", WSDL_NAMESPACE)) != NULL && 219 attr->children && attr->children->content && 220 (strcmp((char*)attr->children->content, "1") == 0 || 221 strcmp((char*)attr->children->content, "true") == 0)) { 1227 static void sdl_deserialize_attribute(sdlAttributePtr attr, encodePtr *encoders, char **in) argument 1231 attr->name = sdl_deserialize_string(in); 1232 attr->namens = sdl_deserialize_string(in); 1233 attr 1389 sdlAttributePtr attr = emalloc(sizeof(sdlAttribute)); local 1840 sdl_serialize_attribute(sdlAttributePtr attr, HashTable *tmp_encoders, smart_str *out) argument 2606 make_persistent_sdl_attribute(sdlAttributePtr attr, HashTable *ptr_map, HashTable *bp_types, HashTable *bp_encoders) argument [all...] |
| H A D | php_xml.h | 28 #define get_node_with_attribute(node, name, attr, val) get_node_with_attribute_ex(node, name, NULL, attr, val, NULL) 29 #define get_node_with_attribute_recursive(node, name, attr, val) get_node_with_attribute_recursive_ex(node, name, NULL, attr, val, NULL)
|
| H A D | php_xml.c | 276 xmlAttrPtr attr; local 286 attr = get_attribute_ex(node->properties, attribute, attr_ns); 287 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { 299 xmlAttrPtr attr = get_attribute_ex(node->properties, attribute, attr_ns); local 300 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) {
|
| H A D | php_encoding.c | 302 xmlAttrPtr attr = (*node_ptr)->properties; local 313 attr = get_attribute(attr, "id"); 314 if (attr == NULL || attr->ns == NULL) { 317 attr = attr->next; 319 if (attr) { 320 id = (char*)attr->children->content; 335 attr 1598 sdlAttributePtr *attr; local 2001 sdlAttributePtr *attr; local 2565 xmlAttrPtr attr; local [all...] |
| H A D | soap.c | 3414 xmlAttrPtr attr; local 3444 attr = env->properties; 3445 while (attr != NULL) { 3446 if (attr->ns == NULL) { 3448 } else if (attr_is_equal_ex(attr,"encodingStyle",SOAP_1_2_ENV_NAMESPACE)) { 3451 } else if (strcmp((char*)attr->children->content,SOAP_1_1_ENC_NAMESPACE) != 0) { 3455 attr = attr->next; 3484 attr = body->properties; 3485 while (attr ! 4692 sdlAttributePtr *attr; local 4776 sdlAttributePtr *attr; local [all...] |
| /PHP_5_5/ext/standard/ |
| H A D | link_win32.c | 119 DWORD attr; local 169 if ((attr = GetFileAttributes(topath)) == INVALID_FILE_ATTRIBUTES) { 177 ret = pCreateSymbolicLinkA(source_p, topath, (attr & FILE_ATTRIBUTE_DIRECTORY ? 1 : 0));
|
| /PHP_5_5/ext/simplexml/ |
| H A D | simplexml.c | 254 xmlAttrPtr attr = NULL; local 287 attr = (xmlAttrPtr)node; 291 attr = node ? node->properties : NULL; 308 while (attr && nodendx <= Z_LVAL_P(member)) { 309 if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->iter.nsprefix, sxe->iter.isprefix)) { 311 _node_as_zval(sxe, (xmlNodePtr) attr, return_value, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); 316 attr = attr->next; 319 while (attr) { 459 xmlAttrPtr attr = NULL; local 740 xmlAttrPtr attr = NULL; local 870 xmlAttrPtr attr = NULL; local 1069 xmlAttrPtr attr; local 1450 xmlAttrPtr attr; local [all...] |