Searched defs:attr (Results 1 - 25 of 35) sorted by relevance

12

/PHP_TRUNK/ext/dom/examples/
H A Ddom1.php41 //$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 Dxmlreader_file.php10 $attr = $reader->moveToFirstAttribute(); variable
11 while ($attr) {
14 $attr = $reader->moveToNextAttribute(); variable
H A Dxmlreader_string.php21 $attr = $reader->moveToFirstAttribute(); variable
22 while ($attr) {
25 $attr = $reader->moveToNextAttribute(); variable
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c610 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 Dxml_to_soap.c69 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/pdo_firebird/
H A Dfirebird_statement.c657 static int firebird_stmt_set_attribute(pdo_stmt_t *stmt, zend_long attr, zval *val) /* {{{ */ argument
661 switch (attr) {
678 static int firebird_stmt_get_attribute(pdo_stmt_t *stmt, zend_long attr, zval *val) /* {{{ */ argument
682 switch (attr) {
H A Dfirebird_driver.c471 static int firebird_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ argument
475 switch (attr) {
546 static int firebird_handle_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ argument
550 switch (attr) {
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_stmt.c758 static int odbc_stmt_set_param(pdo_stmt_t *stmt, zend_long attr, zval *val) argument
763 switch (attr) {
785 static int odbc_stmt_get_attr(pdo_stmt_t *stmt, zend_long attr, zval *val) argument
790 switch (attr) {
850 odbc_stmt_get_attr, /* get attr */
H A Dodbc_driver.c339 static int odbc_handle_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) argument
342 switch (attr) {
354 static int odbc_handle_get_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) argument
357 switch (attr) {
387 odbc_handle_get_attr, /* get attr */
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c30 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 Dphp_schema.c988 xmlAttrPtr attr = get_attribute(node->properties, "minOccurs"); local
990 if (attr) {
991 model->min_occurs = atoi((char*)attr->children->content);
996 attr = get_attribute(node->properties, "maxOccurs");
997 if (attr) {
998 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) {
1001 model->max_occurs = atoi((char*)attr->children->content);
1493 xmlAttrPtr attrs, attr, ns, name, type, ref = NULL; local
1594 attr = get_attribute(attrs, "nillable");
1595 if (attr) {
1735 xmlAttrPtr attr, name, ref = NULL, type = NULL; local
2088 schema_attribute_fixup(sdlCtx *ctx, sdlAttributePtr attr) argument
2136 schema_attributegroup_fixup(sdlCtx *ctx, sdlAttributePtr attr, HashTable *ht) argument
2234 sdlAttributePtr attr; local
2287 sdlAttributePtr attr; local
2472 sdlExtraAttributePtr attr = Z_PTR_P(zv); local
2485 sdlExtraAttributePtr attr = Z_PTR_P(zv); local
2498 sdlAttributePtr attr = Z_PTR_P(zv); local
2524 sdlAttributePtr attr = Z_PTR_P(zv); local
[all...]
H A Dphp_xml.c278 xmlAttrPtr attr; local
288 attr = get_attribute_ex(node->properties, attribute, attr_ns);
289 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) {
301 xmlAttrPtr attr = get_attribute_ex(node->properties, attribute, attr_ns); local
302 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) {
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_typeinfo.c333 TYPEATTR *attr; local
336 ITypeInfo_GetTypeAttr(coinfo, &attr);
338 for (i = 0; i < attr->cImplTypes; i++) {
358 ITypeInfo_ReleaseTypeAttr(coinfo, attr);
435 TYPEATTR *attr; local
443 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) {
448 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) {
451 memcpy(guid, &attr->guid, sizeof(GUID));
461 guidstring = php_com_string_from_clsid(&attr->guid, codepage);
473 for (i = 0; i < attr
[all...]
/PHP_TRUNK/ext/dom/
H A Delement.c111 ZEND_ARG_OBJ_INFO(0, attr, DOMAttr, 0)
333 xmlNodePtr attr; local
342 attr = dom_get_dom1_attribute(nodep, (xmlChar *)name);
343 if (attr) {
344 switch (attr->type) {
346 value = xmlNodeListGetString(attr->doc, attr->children, 1);
349 value = xmlStrdup(((xmlNsPtr)attr)->href);
352 value = xmlStrdup(((xmlAttributePtr)attr)->defaultValue);
373 xmlNodePtr attr local
745 xmlAttr *attr; local
1064 xmlNodePtr attr; local
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c2337 /* {{{ proto int mysqli_stmt_attr_set(object stmt, long attr, long mode)
2348 zend_long attr; local
2351 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Oll", &mysql_stmt, mysqli_stmt_class_entry, &attr, &mode_in) == FAILURE) {
2361 switch (attr) {
2374 if (mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) {
2376 if (FAIL == mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) {
2384 /* {{{ proto int mysqli_stmt_attr_get(object stmt, long attr)
2391 zend_long attr; local
2394 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Ol", &mysql_stmt, mysqli_stmt_class_entry, &attr) == FAILURE) {
2399 if ((rc = mysql_stmt_attr_get(stmt->stmt, attr,
[all...]
/PHP_TRUNK/ext/standard/
H A Dlink_win32.c119 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/pdo_dblib/
H A Ddblib_driver.c277 static int dblib_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) argument
279 switch(attr) {
288 static int dblib_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) argument
302 dblib_set_attr, /*set attr */
305 dblib_get_attribute, /* get attr */
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_driver.c371 static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) argument
375 PDO_DBG_INF_FMT("attr=%l", attr);
376 switch (attr) {
422 static int pdo_mysql_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) argument
428 PDO_DBG_INF_FMT("attr=%l", attr);
429 switch (attr) {
/PHP_TRUNK/ext/pdo_oci/
H A Doci_driver.c443 static int oci_handle_set_attribute(pdo_dbh_t *dbh, long attr, zval *val) /* {{{ */ argument
447 if (attr == PDO_ATTR_AUTOCOMMIT) {
470 static int oci_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value) /* {{{ */ argument
474 switch (attr) {
486 if (attr == PDO_ATTR_SERVER_INFO) {
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c380 static int pdo_pgsql_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) argument
384 switch (attr) {
1141 static int pdo_pgsql_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) argument
1145 switch (attr) {
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_driver.c283 static int pdo_sqlite_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) argument
285 switch (attr) {
298 static int pdo_sqlite_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) argument
302 switch (attr) {
/PHP_TRUNK/ext/ldap/
H A Dldap.c637 zval *link, *base_dn, *filter, *attrs = NULL, *attr; local
666 if ((attr = zend_hash_index_find(Z_ARRVAL_P(attrs), i)) == NULL) {
672 SEPARATE_ZVAL(attr);
673 convert_to_string_ex(attr);
674 ldap_attrs[i] = Z_STRVAL_P(attr);
1214 char *attr; local
1219 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrs", &link, &result_entry, &attr, &attr_len) != SUCCESS) {
1231 if ((ldap_value_len = ldap_get_values_len(ld->link, resultentry->data, attr)) == NULL) {
1925 /* {{{ proto bool ldap_compare(resource link, string dn, string attr, string value)
1930 char *dn, *attr, *valu local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c39 static int pdo_dbh_attribute_set(pdo_dbh_t *dbh, zend_long attr, zval *value);
676 static int pdo_dbh_attribute_set(pdo_dbh_t *dbh, zend_long attr, zval *value) /* {{{ */ argument
686 switch (attr) {
815 if (dbh->methods->set_attribute(dbh, attr, value)) {
820 if (attr == PDO_ATTR_AUTOCOMMIT) {
836 zend_long attr; local
839 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "lz", &attr, &value)) {
846 if (pdo_dbh_attribute_set(dbh, attr, value) != FAILURE) {
858 zend_long attr; local
860 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "l", &attr)) {
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ast.h155 zend_ast_attr attr; /* Additional attribute, use depending on node type */ member in struct:_zend_ast
163 zend_ast_attr attr; member in struct:_zend_ast_list
172 zend_ast_attr attr; member in struct:_zend_ast_zval
179 zend_ast_attr attr; /* Unused - for structure compatibility */ member in struct:_zend_ast_decl
192 ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr);
194 ZEND_API zend_ast *zend_ast_create_ex(zend_ast_kind kind, zend_ast_attr attr, ...);
H A Dzend_ast.c54 ast->attr = 0;
60 ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr) { argument
65 ast->attr = attr;
79 ast->attr = 0;
94 static zend_ast *zend_ast_create_from_va_list(zend_ast_kind kind, zend_ast_attr attr, va_list va) { argument
100 ast->attr = attr;
120 ZEND_API zend_ast *zend_ast_create_ex(zend_ast_kind kind, zend_ast_attr attr, ...) { argument
124 va_start(va, attr);
[all...]

Completed in 78 milliseconds

12