| /PHP_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/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...] |
| H A D | php_dom.c | 1507 xmlAttrPtr attr; local 1531 attr = child->properties; 1532 while (attr != NULL) { 1533 dom_normalize((xmlNodePtr) attr TSRMLS_CC); 1534 attr = attr->next;
|
| /PHP_TRUNK/ext/ldap/ |
| H A D | ldap.c | 590 zval *link, *base_dn, **filter, *attrs = NULL, **attr; local 619 if (zend_hash_index_find(Z_ARRVAL_P(attrs), i, (void **) &attr) != SUCCESS) { 625 SEPARATE_ZVAL(attr); 626 convert_to_string_ex(attr); 627 ldap_attrs[i] = Z_STRVAL_PP(attr); 1138 char *attr; local 1142 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrs", &link, &result_entry, &attr, &attr_len) != SUCCESS) { 1149 if ((ldap_value_len = ldap_get_values_len(ld->link, resultentry->data, attr)) == NULL) { 1486 /* {{{ proto bool ldap_compare(resource link, string dn, string attr, string value) 1491 char *dn, *attr, *valu local [all...] |
| /PHP_TRUNK/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 | pdo_stmt.c | 1743 long attr; local 1747 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz!", &attr, &value)) { 1756 if (stmt->methods->set_attribute(stmt, attr, value TSRMLS_CC)) { 1773 static int generic_stmt_attr_get(pdo_stmt_t *stmt, zval *return_value, long attr) argument 1775 switch (attr) { 1785 long attr; local 1788 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &attr)) { 1793 if (!generic_stmt_attr_get(stmt, return_value, attr)) { 1802 switch (stmt->methods->get_attribute(stmt, attr, return_value TSRMLS_CC)) { 1808 if (!generic_stmt_attr_get(stmt, return_value, attr)) { [all...] |
| /PHP_TRUNK/ext/pdo_firebird/ |
| H A D | firebird_driver.c | 474 static int firebird_handle_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) /* {{{ */ argument 478 switch (attr) { 549 static int firebird_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) /* {{{ */ argument 553 switch (attr) {
|
| H A D | firebird_statement.c | 632 static int firebird_stmt_set_attribute(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) /* {{{ */ argument 636 switch (attr) { 653 static int firebird_stmt_get_attribute(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) /* {{{ */ argument 657 switch (attr) {
|
| /PHP_TRUNK/ext/pdo_mysql/ |
| H A D | mysql_driver.c | 371 static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument 375 PDO_DBG_INF_FMT("attr=%l", attr); 376 switch (attr) { 417 static int pdo_mysql_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) argument 423 PDO_DBG_INF_FMT("attr=%l", attr); 424 switch (attr) {
|
| /PHP_TRUNK/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 */
|
| H A D | odbc_stmt.c | 737 static int odbc_stmt_set_param(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) argument 742 switch (attr) { 764 static int odbc_stmt_get_attr(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) argument 769 switch (attr) { 829 odbc_stmt_get_attr, /* get attr */
|
| /PHP_TRUNK/ext/pdo_pgsql/ |
| H A D | pgsql_driver.c | 377 static int pdo_pgsql_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) argument 381 switch (attr) { 1000 static int pdo_pgsql_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument 1004 switch (attr) {
|
| /PHP_TRUNK/ext/pdo_sqlite/ |
| H A D | sqlite_driver.c | 283 static int pdo_sqlite_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) argument 285 switch (attr) { 298 static int pdo_sqlite_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument 302 switch (attr) {
|
| /PHP_TRUNK/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_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) {
|
| /PHP_TRUNK/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_TRUNK/ext/xmlrpc/ |
| H A D | xmlrpc-epi-php.c | 1439 zval** attr; local 1442 if (zend_hash_find(Z_OBJPROP_P(value), OBJECT_TYPE_ATTR, sizeof(OBJECT_TYPE_ATTR), (void**) &attr) == SUCCESS) { 1443 if (Z_TYPE_PP(attr) == IS_STRING) { 1444 type = xmlrpc_str_as_type(Z_STRVAL_PP(attr));
|
| /PHP_TRUNK/ext/pdo_oci/ |
| H A D | oci_driver.c | 443 static int oci_handle_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) /* {{{ */ argument 447 if (attr == PDO_ATTR_AUTOCOMMIT) { 470 static int oci_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) /* {{{ */ argument 474 switch (attr) { 486 if (attr == PDO_ATTR_SERVER_INFO) {
|
| /PHP_TRUNK/ext/mysqli/ |
| H A D | mysqli_api.c | 2285 /* {{{ proto int mysqli_stmt_attr_set(object stmt, long attr, long mode) 2296 ulong attr; local 2299 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oll", &mysql_stmt, mysqli_stmt_class_entry, &attr, &mode_in) == FAILURE) { 2309 switch (attr) { 2322 if (mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) { 2324 if (FAIL == mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) { 2332 /* {{{ proto int mysqli_stmt_attr_get(object stmt, long attr) 2339 ulong attr; local 2342 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &mysql_stmt, mysqli_stmt_class_entry, &attr) == FAILURE) { 2347 if ((rc = mysql_stmt_attr_get(stmt->stmt, attr, [all...] |