Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 120) sorted by last modified time

12345

/PHP-7.4/ext/zip/
H A Dphp_zip.c2107 zend_long flags=0, opsys, attr; local
2139 zend_long index, flags=0, opsys, attr; local
2168 zip_uint32_t attr; local
2187 (zip_flags_t)flags, &opsys, &attr) < 0) {
2191 ZEND_TRY_ASSIGN_REF_LONG(z_attr, attr);
2204 zip_uint32_t attr; local
2220 ZEND_TRY_ASSIGN_REF_LONG(z_attr, attr);
2929 ZEND_ARG_INFO(0, attr)
2936 ZEND_ARG_INFO(0, attr)
2943 ZEND_ARG_INFO(1, attr)
[all …]
/PHP-7.4/ext/ffi/
H A Dffi.g167 {dcl->attr |= ZEND_FFI_ATTR_CONST;}
398 {uint32_t attr = 0;}
406 {attr |= ZEND_FFI_ATTR_INCOMPLETE_ARRAY;}
408 {attr |= ZEND_FFI_ATTR_VLA;}
412 {attr |= ZEND_FFI_ATTR_INCOMPLETE_ARRAY;}
414 {attr |= ZEND_FFI_ATTR_VLA;}
420 {dcl->attr |= attr;}
431 {attr |= ZEND_FFI_ATTR_VARIADIC;}
434 {attr |= ZEND_FFI_ATTR_VARIADIC;}
438 {dcl->attr |= attr;}
H A Dffi_parser.c2214 dcl->attr |= ZEND_FFI_ATTR_CONST; in parse_type_qualifier()
2681 uint32_t attr = 0; in parse_array_or_function_declarators() local
2767 attr |= ZEND_FFI_ATTR_INCOMPLETE_ARRAY; in parse_array_or_function_declarators()
2770 attr |= ZEND_FFI_ATTR_VLA; in parse_array_or_function_declarators()
2778 attr |= ZEND_FFI_ATTR_INCOMPLETE_ARRAY; in parse_array_or_function_declarators()
2781 attr |= ZEND_FFI_ATTR_VLA; in parse_array_or_function_declarators()
2795 dcl->attr |= attr; in parse_array_or_function_declarators()
2843 attr |= ZEND_FFI_ATTR_VARIADIC; in parse_array_or_function_declarators()
2847 attr |= ZEND_FFI_ATTR_VARIADIC; in parse_array_or_function_declarators()
2857 dcl->attr |= attr; in parse_array_or_function_declarators()
H A Dffi.c101 uint32_t attr; member
1723 new_type->attr = 0; in zend_ffi_add()
2389 new_type->attr = 0; in zend_ffi_read_var()
2960 || old->attr != type->attr) { in zend_ffi_same_types()
4112 new_type->attr = 0; in ZEND_METHOD()
4155 new_type->attr = 0; in ZEND_METHOD()
5525 type->attr = FFI_G(default_type_attr) | (dcl->attr & ZEND_FFI_ENUM_ATTRS);
5655 type->attr = FFI_G(default_type_attr) | (dcl->attr & ZEND_FFI_STRUCT_ATTRS);
5936 type->attr = FFI_G(default_type_attr) | (dcl->attr & ZEND_FFI_POINTER_ATTRS);
6000 type->attr = FFI_G(default_type_attr) | (dcl->attr & ZEND_FFI_ARRAY_ATTRS);
[all …]
/PHP-7.4/ext/dom/
H A Delement.c325 xmlNodePtr attr; in PHP_FUNCTION() local
336 if (attr) { in PHP_FUNCTION()
337 switch (attr->type) { in PHP_FUNCTION()
339 value = xmlNodeListGetString(attr->doc, attr->children, 1); in PHP_FUNCTION()
396 if (attr != NULL) { in PHP_FUNCTION()
397 switch (attr->type) { in PHP_FUNCTION()
416 if (!attr) { in PHP_FUNCTION()
745 xmlAttr *attr; in PHP_FUNCTION() local
844 if (attr != NULL && attr->type != XML_ATTRIBUTE_DECL) { in PHP_FUNCTION()
1093 xmlNodePtr attr; in PHP_FUNCTION() local
[all …]
H A Dphp_dom.c1379 xmlAttrPtr attr; in dom_normalize() local
1410 attr = child->properties; in dom_normalize()
1411 while (attr != NULL) { in dom_normalize()
1412 dom_normalize((xmlNodePtr) attr); in dom_normalize()
1413 attr = attr->next; in dom_normalize()
/PHP-7.4/ext/dom/tests/
H A Dbug81433.phpt2 Bug #81433 (DOMElement::setIdAttribute(attr, true) called twice removes ID)
/PHP-7.4/ext/mysqli/
H A Dmysqli_api.c2334 zend_long attr; local
2337 …ZEND_NUM_ARGS(), getThis(), "Oll", &mysql_stmt, mysqli_stmt_class_entry, &attr, &mode_in) == FAILU…
2347 switch (attr) {
2360 if (mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) {
2362 if (FAIL == mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) {
2378 zend_long attr; local
2381 …meters(ZEND_NUM_ARGS(), getThis(), "Ol", &mysql_stmt, mysqli_stmt_class_entry, &attr) == FAILURE) {
2386 if ((rc = mysql_stmt_attr_get(stmt->stmt, attr, &value))) {
2391 if (attr == STMT_ATTR_UPDATE_MAX_LENGTH)
/PHP-7.4/ext/pdo_odbc/
H A Dodbc_stmt.c788 static int odbc_stmt_set_param(pdo_stmt_t *stmt, zend_long attr, zval *val) in odbc_stmt_set_param() argument
793 switch (attr) { in odbc_stmt_set_param()
815 static int odbc_stmt_get_attr(pdo_stmt_t *stmt, zend_long attr, zval *val) in odbc_stmt_get_attr() argument
820 switch (attr) { in odbc_stmt_get_attr()
/PHP-7.4/Zend/
H A Dzend_compile.c2613 has_refs |= elem_ast->attr; in zend_propagate_list_refs()
2689 if (elem_ast->attr) { in zend_compile_list_assign()
2693 } else if (elem_ast->attr) { in zend_compile_list_assign()
2919 uint32_t opcode = ast->attr; in zend_compile_compound_assign()
5336 ast->attr = orig_ast_attr; in zend_compile_typename()
6678 uint32_t type = ast->attr; in zend_compile_use()
6767 inline_use->attr = ast->attr ? ast->attr : use->attr; in zend_compile_group_use()
6915 switch (ast->attr) { in zend_try_ct_eval_magic_const()
7481 if (ast->attr == IS_NULL) { in zend_compile_cast()
7958 by_ref = elem_ast->attr; in zend_compile_array()
[all …]
H A Dzend_execute_API.c564 ZEND_API ZEND_COLD int zend_use_undefined_constant(zend_string *name, zend_ast_attr attr, zval *res… in zend_use_undefined_constant() argument
573 } else if ((attr & IS_CONSTANT_UNQUALIFIED) == 0) { in zend_use_undefined_constant()
606 zval *zv = zend_get_constant_ex(name, scope, ast->attr); in zval_update_constant_ex()
609 return zend_use_undefined_constant(name, ast->attr, p); in zval_update_constant_ex()
/PHP-7.4/ext/pdo_firebird/
H A Dfirebird_statement.c791 static int firebird_stmt_set_attribute(pdo_stmt_t *stmt, zend_long attr, zval *val) /* {{{ */ in firebird_stmt_set_attribute() argument
795 switch (attr) { in firebird_stmt_set_attribute()
814 static int firebird_stmt_get_attribute(pdo_stmt_t *stmt, zend_long attr, zval *val) /* {{{ */ in firebird_stmt_get_attribute() argument
818 switch (attr) { in firebird_stmt_get_attribute()
H A Dfirebird_driver.c441 static int firebird_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in firebird_handle_set_attribute() argument
445 switch (attr) { in firebird_handle_set_attribute()
536 static int firebird_handle_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in firebird_handle_get_attribute() argument
540 switch (attr) { in firebird_handle_get_attribute()
/PHP-7.4/ext/pdo_mysql/
H A Dmysql_driver.c394 static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_mysql_set_attribute() argument
400 PDO_DBG_INF_FMT("attr=%l", attr); in pdo_mysql_set_attribute()
401 switch (attr) { in pdo_mysql_set_attribute()
451 static int pdo_mysql_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) argument
457 PDO_DBG_INF_FMT("attr=%l", attr);
458 switch (attr) {
/PHP-7.4/ext/simplexml/
H A Dsimplexml.c306 attr = attr->next; in sxe_prop_dim_read()
314 attr = attr->next; in sxe_prop_dim_read()
554 attr = attr->next; in sxe_prop_dim_write()
563 attr = attr->next; in sxe_prop_dim_write()
771 attr = attr->next; in sxe_prop_dim_exists()
780 attr = attr->next; in sxe_prop_dim_exists()
784 …(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->ch… in sxe_prop_dim_exists()
895 attr = attr->next; in sxe_prop_dim_delete()
1056 attr = attr->next; in sxe_prop_is_empty()
1172 attr = attr->next; in sxe_get_prop_hash()
[all …]
/PHP-7.4/ext/soap/
H A Dphp_encoding.c301 attr = get_attribute(attr, "id"); in soap_check_zval_ref()
302 if (attr == NULL || attr->ns == NULL) { in soap_check_zval_ref()
305 attr = attr->next; in soap_check_zval_ref()
307 if (attr) { in soap_check_zval_ref()
323 attr = get_attribute_ex(attr, "id", SOAP_1_2_ENC_NAMESPACE); in soap_check_zval_ref()
324 if (attr) { in soap_check_zval_ref()
1506 if (attr->fixed && strcmp(attr->fixed, str_val) != 0) { in to_zval_object_ex()
2450 attr->children && attr->children->content) { in to_zval_array()
2484 attr->children && attr->children->content) { in to_zval_array()
2493 attr->children && attr->children->content) { in to_zval_array()
[all …]
H A Dphp_sdl.c216 xmlAttrPtr attr; in is_wsdl_element() local
218 attr->children && attr->children->content && in is_wsdl_element()
1239 attr->ref = sdl_deserialize_string(in); in sdl_deserialize_attribute()
1245 attr->encode = encoders[i]; in sdl_deserialize_attribute()
1845 sdl_serialize_string(attr->name, out); in sdl_serialize_attribute()
1847 sdl_serialize_string(attr->ref, out); in sdl_serialize_attribute()
1848 sdl_serialize_string(attr->def, out); in sdl_serialize_attribute()
1850 WSDL_CACHE_PUT_1(attr->form, out); in sdl_serialize_attribute()
1851 WSDL_CACHE_PUT_1(attr->use, out); in sdl_serialize_attribute()
1853 if (attr->extraAttributes) { in sdl_serialize_attribute()
[all …]
H A Dphp_xml.c273 xmlAttrPtr attr; in get_node_with_attribute_ex() local
283 attr = get_attribute_ex(node->properties, attribute, attr_ns); in get_node_with_attribute_ex()
284 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_ex()
296 xmlAttrPtr attr = get_attribute_ex(node->properties, attribute, attr_ns); in get_node_with_attribute_recursive_ex() local
297 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_recursive_ex()
H A Dsoap.c3447 xmlAttrPtr attr; local
3458 attr = env->properties;
3459 while (attr != NULL) {
3469 attr = attr->next;
3499 while (attr != NULL) {
3511 attr = attr->next;
3566 while (attr != NULL) {
3576 attr = attr->next;
3590 if (attr != NULL) {
3611 if (attr) {
[all …]
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug71145.phpt14 $attr = array(
18 putenv('PDOTEST_ATTR=' . serialize($attr));
H A Dbug_74376.phpt14 $attr = getenv('PDOTEST_ATTR');
15 $attr = $attr ? unserialize($attr) : [];
16 $attr[PDO::ATTR_PERSISTENT] = true;
17 $attr[PDO::ATTR_EMULATE_PREPARES] = false;
19 putenv('PDOTEST_ATTR=' . serialize($attr));
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_stmt_attr_get.phpt46 foreach ($valid_attr as $k => $attr) {
47 if (false === ($tmp = mysqli_stmt_attr_get($stmt, $attr))) {
49 gettype($tmp), $tmp, $k, $attr);
55 foreach ($valid_attr as $k => $attr) {
56 if (false !== ($tmp = @mysqli_stmt_attr_get($stmt, $attr))) {
58 gettype($tmp), $tmp, $k, $attr);
H A Dmysqli_stmt_attr_get_prefetch.phpt18 gettype($tmp), $tmp, $k, $attr);
/PHP-7.4/ext/pdo/
H A Dpdo_dbh.c38 static int pdo_dbh_attribute_set(pdo_dbh_t *dbh, zend_long attr, zval *value);
689 static int pdo_dbh_attribute_set(pdo_dbh_t *dbh, zend_long attr, zval *value) /* {{{ */ in pdo_dbh_attribute_set() argument
700 switch (attr) { in pdo_dbh_attribute_set()
827 if (dbh->methods->set_attribute(dbh, attr, value)) { in pdo_dbh_attribute_set()
846 zend_long attr; in PHP_METHOD() local
850 Z_PARAM_LONG(attr) in PHP_METHOD()
857 if (pdo_dbh_attribute_set(dbh, attr, value) != FAILURE) { in PHP_METHOD()
869 zend_long attr; in PHP_METHOD() local
872 Z_PARAM_LONG(attr) in PHP_METHOD()
879 switch (attr) { in PHP_METHOD()
[all …]
/PHP-7.4/ext/com_dotnet/
H A Dcom_typeinfo.c378 TYPEATTR *attr; in php_com_locate_typeinfo() local
381 ITypeInfo_GetTypeAttr(coinfo, &attr); in php_com_locate_typeinfo()
383 for (i = 0; i < attr->cImplTypes; i++) { in php_com_locate_typeinfo()
403 ITypeInfo_ReleaseTypeAttr(coinfo, attr); in php_com_locate_typeinfo()
480 TYPEATTR *attr; in php_com_process_typeinfo() local
489 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) { in php_com_process_typeinfo()
494 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) { in php_com_process_typeinfo()
497 memcpy(guid, &attr->guid, sizeof(GUID)); in php_com_process_typeinfo()
507 guidstring = php_com_string_from_clsid(&attr->guid, codepage); in php_com_process_typeinfo()
519 for (i = 0; i < attr->cFuncs; i++) { in php_com_process_typeinfo()
[all …]

Completed in 185 milliseconds

12345