/php-src/ext/dom/ |
H A D | dom_properties.h | 22 zend_result dom_attr_name_read(dom_object *obj, zval *retval); 23 zend_result dom_attr_specified_read(dom_object *obj, zval *retval); 24 zend_result dom_attr_value_read(dom_object *obj, zval *retval); 26 zend_result dom_attr_owner_element_read(dom_object *obj, zval *retval); 35 zend_result dom_document_doctype_read(dom_object *obj, zval *retval); 44 zend_result dom_document_version_read(dom_object *obj, zval *retval); 50 zend_result dom_document_config_read(dom_object *obj, zval *retval); 84 zend_result dom_element_id_read(dom_object *obj, zval *retval); 101 zend_result dom_entity_version_read(dom_object *obj, zval *retval); 134 zend_result dom_node_prefix_read(dom_object *obj, zval *retval); [all …]
|
H A D | entity.c | 40 zend_result dom_entity_public_id_read(dom_object *obj, zval *retval) in dom_entity_public_id_read() argument 45 ZVAL_NULL(retval); in dom_entity_public_id_read() 47 ZVAL_STRING(retval, (const char *) nodep->ExternalID); in dom_entity_public_id_read() 65 ZVAL_NULL(retval); in dom_entity_system_id_read() 67 ZVAL_STRING(retval, (const char *) nodep->SystemID); in dom_entity_system_id_read() 85 ZVAL_NULL(retval); in dom_entity_notation_name_read() 89 ZVAL_EMPTY_STRING(retval); in dom_entity_notation_name_read() 91 ZVAL_STRING(retval, (const char *) nodep->content); in dom_entity_notation_name_read() 109 ZVAL_NULL(retval); in dom_entity_actual_encoding_read() 124 ZVAL_NULL(retval); in dom_entity_encoding_read() [all …]
|
H A D | documenttype.c | 32 zend_result dom_documenttype_name_read(dom_object *obj, zval *retval) in dom_documenttype_name_read() argument 35 ZVAL_STRING(retval, dtdptr->name ? (char *) (dtdptr->name) : ""); in dom_documenttype_name_read() 46 zend_result dom_documenttype_entities_read(dom_object *obj, zval *retval) in dom_documenttype_entities_read() argument 54 dom_object *intern = Z_DOMOBJ_P(retval); in dom_documenttype_entities_read() 75 dom_object *intern = Z_DOMOBJ_P(retval); in dom_documenttype_notations_read() 93 ZVAL_STRING(retval, (char *) (dtdptr->ExternalID)); in dom_documenttype_public_id_read() 95 ZVAL_EMPTY_STRING(retval); in dom_documenttype_public_id_read() 113 ZVAL_STRING(retval, (char *) (dtdptr->SystemID)); in dom_documenttype_system_id_read() 115 ZVAL_EMPTY_STRING(retval); in dom_documenttype_system_id_read() 153 ZVAL_NEW_STR(retval, smart_str_extract(&ret_buf)); in dom_documenttype_internal_subset_read() [all …]
|
H A D | notation.c | 41 zend_result dom_notation_public_id_read(dom_object *obj, zval *retval) in dom_notation_public_id_read() argument 46 ZVAL_STRING(retval, (char *) (nodep->ExternalID)); in dom_notation_public_id_read() 48 ZVAL_EMPTY_STRING(retval); in dom_notation_public_id_read() 61 zend_result dom_notation_system_id_read(dom_object *obj, zval *retval) in dom_notation_system_id_read() argument 66 ZVAL_STRING(retval, (char *) (nodep->SystemID)); in dom_notation_system_id_read() 68 ZVAL_EMPTY_STRING(retval); in dom_notation_system_id_read()
|
H A D | attr.c | 80 zend_result dom_attr_name_read(dom_object *obj, zval *retval) in dom_attr_name_read() argument 86 ZVAL_NEW_STR(retval, str); in dom_attr_name_read() 88 ZVAL_STRING(retval, (char *) attrp->name); in dom_attr_name_read() 101 zend_result dom_attr_specified_read(dom_object *obj, zval *retval) in dom_attr_specified_read() argument 104 ZVAL_TRUE(retval); in dom_attr_specified_read() 125 zend_result dom_attr_value_read(dom_object *obj, zval *retval) in dom_attr_value_read() argument 128 php_dom_get_content_into_zval(attrp, retval, false); in dom_attr_value_read() 161 zend_result dom_attr_owner_element_read(dom_object *obj, zval *retval) in dom_attr_owner_element_read() argument 167 php_dom_create_nullable_object(nodeparent, retval, obj); in dom_attr_owner_element_read() 178 zend_result dom_attr_schema_type_info_read(dom_object *obj, zval *retval) in dom_attr_schema_type_info_read() argument [all …]
|
H A D | entityreference.c | 83 zend_result dom_entity_reference_child_read(dom_object *obj, zval *retval) in dom_entity_reference_child_read() argument 89 php_dom_create_nullable_object((xmlNodePtr) entity, retval, obj); in dom_entity_reference_child_read() 93 zend_result dom_entity_reference_text_content_read(dom_object *obj, zval *retval) in dom_entity_reference_text_content_read() argument 98 return dom_node_text_content_read(obj, retval); in dom_entity_reference_text_content_read() 101 zend_result dom_entity_reference_child_nodes_read(dom_object *obj, zval *retval) in dom_entity_reference_child_nodes_read() argument 106 return dom_node_child_nodes_read(obj, retval); in dom_entity_reference_child_nodes_read()
|
/php-src/ext/session/ |
H A D | mod_user.c | 31 ZVAL_UNDEF(retval); in ps_call_handler() 40 ZVAL_NULL(retval); in ps_call_handler() 85 zval retval; in PS_OPEN_FUNC() local 113 zval retval; in PS_CLOSE_FUNC() local 146 zval retval; in PS_READ_FUNC() local 169 zval retval; in PS_WRITE_FUNC() local 187 zval retval; in PS_DESTROY_FUNC() local 204 zval retval; in PS_GC_FUNC() local 229 zval retval; in PS_CREATE_SID_FUNC() local 260 zval retval; in PS_VALIDATE_SID_FUNC() local [all …]
|
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/ |
H A D | sljitProtExecAllocatorNetBSD.c | 40 struct sljit_chunk_header *retval; in alloc_chunk() local 42 retval = (struct sljit_chunk_header *)mmap(NULL, size, in alloc_chunk() 46 if (retval == MAP_FAILED) in alloc_chunk() 49 retval->executable = mremap(retval, size, NULL, size, MAP_REMAPDUP); in alloc_chunk() 50 if (retval->executable == MAP_FAILED) { in alloc_chunk() 51 munmap((void *)retval, size); in alloc_chunk() 55 if (mprotect(retval->executable, size, PROT_READ | PROT_EXEC) == -1) { in alloc_chunk() 56 munmap(retval->executable, size); in alloc_chunk() 57 munmap((void *)retval, size); in alloc_chunk() 61 return retval; in alloc_chunk()
|
H A D | sljitExecAllocatorFreeBSD.c | 48 void *retval; in alloc_chunk() local 67 retval = mmap(NULL, size, prot, flags, fd, 0); in alloc_chunk() 68 if (retval == MAP_FAILED) { in alloc_chunk() 76 if (mprotect(retval, size, PROT_READ | PROT_WRITE | PROT_EXEC) < 0) { in alloc_chunk() 77 munmap(retval, size); in alloc_chunk() 81 return retval; in alloc_chunk()
|
H A D | sljitExecAllocatorApple.c | 116 void *retval; in alloc_chunk() local 123 retval = mmap(NULL, size, prot, flags, fd, 0); in alloc_chunk() 124 if (retval == MAP_FAILED) in alloc_chunk() 127 SLJIT_UPDATE_WX_FLAGS(retval, (uint8_t *)retval + size, 0); in alloc_chunk() 129 return retval; in alloc_chunk()
|
H A D | sljitExecAllocatorPosix.c | 32 void *retval; in alloc_chunk() local 50 retval = mmap(NULL, size, prot, flags, fd, 0); in alloc_chunk() 51 if (retval == MAP_FAILED) in alloc_chunk() 54 return retval; in alloc_chunk()
|
H A D | sljitProtExecAllocatorPosix.c | 133 struct sljit_chunk_header *retval; in alloc_chunk() local 145 retval = (struct sljit_chunk_header *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in alloc_chunk() 147 if (retval == MAP_FAILED) { in alloc_chunk() 152 retval->executable = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_SHARED, fd, 0); in alloc_chunk() 154 if (retval->executable == MAP_FAILED) { in alloc_chunk() 155 munmap((void *)retval, size); in alloc_chunk() 161 return retval; in alloc_chunk()
|
/php-src/ext/readline/ |
H A D | readline_cli.c | 449 if (retval) { in cli_completion_generator_var() 455 return retval; in cli_completion_generator_var() 463 if (retval) { in cli_completion_generator_ini() 469 return retval; in cli_completion_generator_ini() 476 if (retval) { in cli_completion_generator_func() 481 return retval; in cli_completion_generator_func() 488 if (retval) { in cli_completion_generator_class() 493 return retval; in cli_completion_generator_class() 500 if (retval) { in cli_completion_generator_define() 502 retval = strdup(retval); in cli_completion_generator_define() [all …]
|
/php-src/ext/mysqli/ |
H A D | mysqli_prop.c | 107 ZVAL_STRING(retval, c);\ 109 ZVAL_NULL(retval);\ 122 ZVAL_STRING(retval, c);\ 159 ZVAL_NULL(retval); in link_connect_error_read() 180 ZVAL_LONG(retval, -1); in link_affected_rows_read() 204 array_init(retval); in link_error_list_read() 219 ZVAL_EMPTY_ARRAY(retval); in link_error_list_read() 268 ZVAL_NULL(retval); in result_lengths_read() 272 array_init(retval); in result_lengths_read() 319 ZVAL_LONG(retval, -1); in stmt_affected_rows_read() [all …]
|
H A D | mysqli_driver.c | 29 static zend_result driver_report_read(mysqli_object *obj, zval *retval, bool quiet) in driver_report_read() argument 31 ZVAL_LONG(retval, MyG(report_mode)); in driver_report_read() 46 static zend_result driver_client_version_read(mysqli_object *obj, zval *retval, bool quiet) in driver_client_version_read() argument 48 ZVAL_LONG(retval, mysql_get_client_version()); in driver_client_version_read() 54 static zend_result driver_client_info_read(mysqli_object *obj, zval *retval, bool quiet) in driver_client_info_read() argument 56 ZVAL_STRING(retval, (char *)mysql_get_client_info()); in driver_client_info_read() 62 static zend_result driver_driver_version_read(mysqli_object *obj, zval *retval, bool quiet) in driver_driver_version_read() argument 68 ZVAL_LONG(retval, MYSQLI_VERSION_ID); in driver_driver_version_read()
|
/php-src/ext/xmlwriter/ |
H A D | php_xmlwriter.c | 229 int retval; in ZEND_GET_MODULE() local 249 int retval; in php_xmlwriter_end() local 266 int retval; in PHP_FUNCTION() local 308 int retval; in PHP_FUNCTION() local 331 int retval; in PHP_FUNCTION() local 354 int retval; in PHP_FUNCTION() local 384 int retval; in PHP_FUNCTION() local 421 int retval; in PHP_FUNCTION() local 452 int retval; in PHP_FUNCTION() local 497 int retval; in PHP_FUNCTION() local [all …]
|
/php-src/main/streams/ |
H A D | userspace.c | 566 zval retval; in php_userstreamop_write() local 615 zval retval; in php_userstreamop_read() local 693 zval retval; in php_userstreamop_close() local 716 zval retval; in php_userstreamop_flush() local 740 zval retval; in php_userstreamop_seek() local 840 zval retval; in php_userstreamop_stat() local 868 zval retval; in php_userstreamop_set_option() local 1313 zval retval; in php_userstreamop_readdir() local 1347 zval retval; in php_userstreamop_closedir() local 1369 zval retval; in php_userstreamop_rewinddir() local [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_reverse_api.c | 72 MYSQLND *retval = api->conversion_cb(zv); in zval_to_mysqlnd() local 73 if (retval) { in zval_to_mysqlnd() 74 if (retval->data) { in zval_to_mysqlnd() 75 …*save_client_api_capabilities = retval->data->m->negotiate_client_api_capabilities(retval->data, c… in zval_to_mysqlnd() 77 return retval; in zval_to_mysqlnd()
|
/php-src/ext/filter/ |
H A D | callback_filter.c | 21 zval retval; in php_filter_callback() local 33 status = call_user_function(NULL, NULL, option_array, &retval, 1, args); in php_filter_callback() 35 if (status == SUCCESS && !Z_ISUNDEF(retval)) { in php_filter_callback() 37 ZVAL_COPY_VALUE(value, &retval); in php_filter_callback()
|
/php-src/ext/standard/tests/streams/ |
H A D | bug54946.phpt | 7 $retval = stream_get_contents($stream, 1, 1); 9 var_dump($retval); 17 $retval = stream_get_contents($stream, 1, 1); 18 var_dump($retval); 28 $retval = stream_get_contents($stream, 1); 29 var_dump($retval);
|
/php-src/ext/random/ |
H A D | engine_user.c | 29 zval retval; in generate() local 31 zend_call_known_instance_method_with_0_params(s->generate_method, s->object, &retval); in generate() 40 size = Z_STRLEN(retval); in generate() 50 result += ((uint64_t) (unsigned char) Z_STRVAL(retval)[i]) << (8 * i); in generate() 60 zval_ptr_dtor(&retval); in generate()
|
H A D | randomizer.c | 280 zend_string *retval; in PHP_METHOD() local 300 zend_string_free(retval); in PHP_METHOD() 329 zend_string_free(retval); in PHP_METHOD() 344 ZSTR_VAL(retval)[length] = '\0'; in PHP_METHOD() local 345 RETURN_STR(retval); in PHP_METHOD() 425 zend_string *source, *retval; in PHP_METHOD() local 454 zend_string_free(retval); in PHP_METHOD() 476 zend_string_free(retval); in PHP_METHOD() 487 zend_string_free(retval); in PHP_METHOD() 505 ZSTR_VAL(retval)[length] = '\0'; in PHP_METHOD() local [all …]
|
/php-src/ext/dl_test/ |
H A D | dl_test.c | 42 zend_string *retval; in PHP_FUNCTION() local 49 retval = strpprintf(0, "Hello %s", var); in PHP_FUNCTION() 51 RETURN_STR(retval); in PHP_FUNCTION() 83 zend_string *retval; in PHP_INI_END() local 90 retval = strpprintf(0, "Hello %s", var); in PHP_INI_END() 92 RETURN_STR(retval); in PHP_INI_END()
|
/php-src/Zend/ |
H A D | zend_interfaces.h | 41 …n **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_co… 44 zend_function **fn_proxy, const char *function_name, zval *retval) in zend_call_method_with_0_params() argument 46 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 0,… in zend_call_method_with_0_params() 50 zend_function **fn_proxy, const char *function_name, zval *retval, zval* arg1) in zend_call_method_with_1_params() argument 52 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 1,… in zend_call_method_with_1_params() 56 zend_function **fn_proxy, const char *function_name, zval *retval, zval* arg1, zval* arg2) in zend_call_method_with_2_params() argument 58 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 2,… in zend_call_method_with_2_params()
|
/php-src/ext/xmlreader/ |
H A D | php_xmlreader.c | 122 return retval; in xmlreader_get_property_ptr_ptr() 186 retval = rv; in xmlreader_read_property() 192 return retval; in xmlreader_read_property() 469 int retval; in php_xmlreader_no_arg() local 521 int retval = -1; in php_xmlreader_set_relaxng_schema() local 710 int retval; in PHP_METHOD() local 743 int retval; in PHP_METHOD() local 770 int retval; in PHP_METHOD() local 827 int retval; in PHP_METHOD() local 854 int retval; in PHP_METHOD() local [all …]
|