Home
last modified time | relevance | path

Searched refs:return_value (Results 1 – 25 of 248) sorted by relevance

12345678910

/php-src/ext/standard/
H A Ddatetime.c92 array_init(return_value); in PHP_FUNCTION()
93 add_assoc_long(return_value, "tm_sec", parsed_time.tm_sec); in PHP_FUNCTION()
94 add_assoc_long(return_value, "tm_min", parsed_time.tm_min); in PHP_FUNCTION()
95 add_assoc_long(return_value, "tm_hour", parsed_time.tm_hour); in PHP_FUNCTION()
96 add_assoc_long(return_value, "tm_mday", parsed_time.tm_mday); in PHP_FUNCTION()
97 add_assoc_long(return_value, "tm_mon", parsed_time.tm_mon); in PHP_FUNCTION()
98 add_assoc_long(return_value, "tm_year", parsed_time.tm_year); in PHP_FUNCTION()
99 add_assoc_long(return_value, "tm_wday", parsed_time.tm_wday); in PHP_FUNCTION()
100 add_assoc_long(return_value, "tm_yday", parsed_time.tm_yday); in PHP_FUNCTION()
101 add_assoc_string(return_value, "unparsed", unparsed_part); in PHP_FUNCTION()
H A Dmicrotime.c69 array_init(return_value); in _php_gettimeofday()
70 add_assoc_long(return_value, "sec", tp.tv_sec); in _php_gettimeofday()
71 add_assoc_long(return_value, "usec", tp.tv_usec); in _php_gettimeofday()
73 add_assoc_long(return_value, "minuteswest", -offset->offset / SEC_IN_MIN); in _php_gettimeofday()
74 add_assoc_long(return_value, "dsttime", offset->is_dst); in _php_gettimeofday()
120 array_init(return_value); in PHP_FUNCTION()
123 add_assoc_long(return_value, #a, usg.a) in PHP_FUNCTION()
H A Duser_filters.c359 …zend_update_property(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("bucket"), &zbucket… in PHP_FUNCTION()
362 …zend_update_property_stringl(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("data"), bu… in PHP_FUNCTION()
363 …zend_update_property_long(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("datalen"), bu… in PHP_FUNCTION()
364 …zend_update_property_long(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("dataLength"),… in PHP_FUNCTION()
366 ZVAL_NULL(return_value); in PHP_FUNCTION()
462 object_init_ex(return_value, stream_bucket_class_entry); in PHP_FUNCTION()
463 …zend_update_property(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("bucket"), &zbucket… in PHP_FUNCTION()
466 …zend_update_property_stringl(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("data"), bu… in PHP_FUNCTION()
467 …zend_update_property_long(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("datalen"), bu… in PHP_FUNCTION()
468 …zend_update_property_long(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("dataLength"),… in PHP_FUNCTION()
[all …]
H A Dhrtime.c61 array_init_size(return_value, 2); in PHP_FUNCTION()
62 zend_hash_real_init_packed(Z_ARRVAL_P(return_value)); in PHP_FUNCTION()
63 add_next_index_long(return_value, (zend_long)(t / (zend_hrtime_t)ZEND_NANO_IN_SEC)); in PHP_FUNCTION()
64 add_next_index_long(return_value, (zend_long)(t % (zend_hrtime_t)ZEND_NANO_IN_SEC)); in PHP_FUNCTION()
H A Dscanf.c576 int varStart, zval *return_value) in php_sscanf_internal() argument
607 scan_set_error_return( numVars, return_value ); in php_sscanf_internal()
630 array_init(return_value); in php_sscanf_internal()
635 scan_set_error_return(0, return_value); in php_sscanf_internal()
1046 add_index_string(return_value, objIndex++, buf); in php_sscanf_internal()
1055 add_index_long(return_value, objIndex++, value); in php_sscanf_internal()
1159 add_index_double(return_value, objIndex++, dvalue ); in php_sscanf_internal()
1171 scan_set_error_return( numVars, return_value ); in php_sscanf_internal()
1174 zval_ptr_dtor(return_value ); in php_sscanf_internal()
1175 ZVAL_LONG(return_value, nconversions); in php_sscanf_internal()
[all …]
H A Darray.c4428 array_init(return_value);
4555 array_init(return_value);
5099 array_init(return_value);
5495 array_init(return_value);
6361 return_value,
6396 op(return_value, return_value, &dst);
6400 zend_result status = op(return_value, return_value, entry);
6408 op(return_value, return_value, &tmp);
6414 op(return_value, return_value, &tmp);
6459 ZVAL_NULL(return_value);
[all …]
/php-src/ext/intl/dateformat/
H A Ddateformat_parse.c64 ZVAL_DOUBLE(return_value, result<0?ceil(result):floor(result)); in internal_parse_to_timestamp()
66 ZVAL_LONG(return_value, (zend_long)result); in internal_parse_to_timestamp()
78 add_assoc_long( return_value, key_name,( calendar_field_val-1900) ); in add_to_localtime_arr()
81 add_assoc_long( return_value, key_name,( calendar_field_val-1) ); in add_to_localtime_arr()
83 add_assoc_long( return_value, key_name, calendar_field_val ); in add_to_localtime_arr()
109 array_init( return_value ); in internal_parse_to_localtime()
111 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_SECOND, CALENDAR_SEC); in internal_parse_to_localtime()
112 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_MINUTE, CALENDAR_MIN); in internal_parse_to_localtime()
114 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_YEAR, CALENDAR_YEAR); in internal_parse_to_localtime()
118 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_MONTH, CALENDAR_MON); in internal_parse_to_localtime()
[all …]
/php-src/ext/intl/resourcebundle/
H A Dresourcebundle.c25 void resourcebundle_extract_value( zval *return_value, ResourceBundle_object *source ) in resourcebundle_extract_value() argument
48 ZVAL_STRINGL( return_value, (char *) bfield, ilen ); in resourcebundle_extract_value()
54 ZVAL_LONG( return_value, lfield ); in resourcebundle_extract_value()
60 array_init( return_value ); in resourcebundle_extract_value()
62 add_next_index_long( return_value, vfield[i] ); in resourcebundle_extract_value()
68 object_init_ex( return_value, ResourceBundle_ce_ptr ); in resourcebundle_extract_value()
69 newrb = Z_INTL_RESOURCEBUNDLE_P(return_value); in resourcebundle_extract_value()
H A Dresourcebundle_class.c83 zval *object = return_value; in resourcebundle_ctor()
148 return_value = ZEND_THIS; in PHP_METHOD()
163 object_init_ex( return_value, ResourceBundle_ce_ptr ); in PHP_FUNCTION()
165 zval_ptr_dtor(return_value); in PHP_FUNCTION()
174 zval *return_value, bool fallback, uint32_t offset_arg_num) in resource_bundle_array_fetch() argument
220 return return_value; in resource_bundle_array_fetch()
234 return return_value; in resource_bundle_array_fetch()
237 resourcebundle_extract_value( return_value, rb ); in resource_bundle_array_fetch()
238 return return_value; in resource_bundle_array_fetch()
368 array_init( return_value ); in PHP_FUNCTION()
[all …]
/php-src/ext/posix/
H A Dposix.c238 array_init(return_value); in PHP_FUNCTION()
351 array_init(return_value); in PHP_FUNCTION()
382 array_init(return_value); in PHP_FUNCTION()
827 array_init(return_value); in PHP_FUNCTION()
830 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
889 array_init(return_value); in PHP_FUNCTION()
906 if (NULL == return_value || Z_TYPE_P(return_value) != IS_ARRAY) in php_posix_passwd_to_array()
967 array_init(return_value); in PHP_FUNCTION()
1027 array_init(return_value); in PHP_FUNCTION()
1156 array_init(return_value); in PHP_FUNCTION()
[all …]
/php-src/ext/readline/
H A Dreadline.c156 array_init(return_value); in PHP_FUNCTION()
158 add_assoc_long(return_value,"point",rl_point); in PHP_FUNCTION()
160 add_assoc_long(return_value,"end",rl_end); in PHP_FUNCTION()
163 add_assoc_long(return_value,"mark",rl_mark); in PHP_FUNCTION()
164 add_assoc_long(return_value,"done",rl_done); in PHP_FUNCTION()
165 add_assoc_long(return_value,"pending_input",rl_pending_input); in PHP_FUNCTION()
168 add_assoc_str(return_value, "completion_append_character", in PHP_FUNCTION()
334 array_init(return_value); in PHP_FUNCTION()
342 add_next_index_string(return_value, history[i]->line); in PHP_FUNCTION()
357 add_next_index_string(return_value, history[i]->line); in PHP_FUNCTION()
[all …]
/php-src/ext/intl/collator/
H A Dcollator_create.c33 object = return_value; in collator_ctor()
60 object_init_ex( return_value, Collator_ce_ptr ); in PHP_FUNCTION()
62 zval_ptr_dtor(return_value); in PHP_FUNCTION()
74 return_value = ZEND_THIS; in PHP_METHOD()
/php-src/ext/pdo_dblib/
H A Ddblib_driver.c319 ZVAL_STRING(return_value, "2.0"); in dblib_get_tds_version()
323 ZVAL_STRING(return_value, "3.4"); in dblib_get_tds_version()
327 ZVAL_STRING(return_value, "4.0"); in dblib_get_tds_version()
331 ZVAL_STRING(return_value, "4.2"); in dblib_get_tds_version()
335 ZVAL_STRING(return_value, "4.6"); in dblib_get_tds_version()
343 ZVAL_STRING(return_value, "5.0"); in dblib_get_tds_version()
348 ZVAL_STRING(return_value, "7.0"); in dblib_get_tds_version()
354 ZVAL_STRING(return_value, "7.1"); in dblib_get_tds_version()
360 ZVAL_STRING(return_value, "7.2"); in dblib_get_tds_version()
377 ZVAL_FALSE(return_value); in dblib_get_tds_version()
[all …]
H A Ddblib_stmt.c464 static int pdo_dblib_stmt_get_column_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) in pdo_dblib_stmt_get_column_meta() argument
475 array_init(return_value); in pdo_dblib_stmt_get_column_meta()
483 add_assoc_long(return_value, "max_length", dbcollen(H->link, colno+1) ); in pdo_dblib_stmt_get_column_meta()
484 add_assoc_long(return_value, "precision", (int) dbtypeinfo->precision ); in pdo_dblib_stmt_get_column_meta()
485 add_assoc_long(return_value, "scale", (int) dbtypeinfo->scale ); in pdo_dblib_stmt_get_column_meta()
486 add_assoc_string(return_value, "column_source", dbcolsource(H->link, colno+1)); in pdo_dblib_stmt_get_column_meta()
487 add_assoc_string(return_value, "native_type", pdo_dblib_get_field_name(coltype)); in pdo_dblib_stmt_get_column_meta()
488 add_assoc_long(return_value, "native_type_id", coltype); in pdo_dblib_stmt_get_column_meta()
489 add_assoc_long(return_value, "native_usertype_id", dbcolutype(H->link, colno+1)); in pdo_dblib_stmt_get_column_meta()
496 add_assoc_long(return_value, "pdo_type", PDO_PARAM_INT); in pdo_dblib_stmt_get_column_meta()
[all …]
/php-src/Zend/
H A Dzend_frameless_function.h31 #define ZEND_FRAMELESS_FUNCTION_PARAMETERS_0 zval *return_value
32 #define ZEND_FRAMELESS_FUNCTION_PARAMETERS_1 zval *return_value, zval *arg1
33 #define ZEND_FRAMELESS_FUNCTION_PARAMETERS_2 zval *return_value, zval *arg1, zval *arg2
34 #define ZEND_FRAMELESS_FUNCTION_PARAMETERS_3 zval *return_value, zval *arg1, zval *arg2, zval *arg3
110 typedef void (*zend_frameless_function_0)(zval *return_value);
111 typedef void (*zend_frameless_function_1)(zval *return_value, zval *op1);
112 typedef void (*zend_frameless_function_2)(zval *return_value, zval *op1, zval *op2);
113 typedef void (*zend_frameless_function_3)(zval *return_value, zval *op1, zval *op2, zval *op3);
H A Dzend_builtin_functions.c773 array_init(return_value); in ZEND_FUNCTION()
914 array_init(return_value); in ZEND_FUNCTION()
1224 array_init(return_value); in ZEND_FUNCTION()
1380 array_init(return_value); in get_declared_class_impl()
1442 array_init(return_value); in ZEND_FUNCTION()
1533 array_init(return_value); in ZEND_FUNCTION()
1541 array_init(return_value); in ZEND_FUNCTION()
1556 array_init(return_value); in ZEND_FUNCTION()
1583 array_init(return_value); in ZEND_FUNCTION()
1606 array_init(return_value); in ZEND_FUNCTION()
[all …]
/php-src/ext/calendar/
H A Dcalendar.c163 array_init(return_value); in PHP_FUNCTION()
167 add_index_zval(return_value, i, &val); in PHP_FUNCTION()
177 _php_cal_info(cal, return_value); in PHP_FUNCTION()
263 array_init(return_value); in PHP_FUNCTION()
267 add_assoc_str(return_value, "date", in PHP_FUNCTION()
270 add_assoc_long(return_value, "month", month); in PHP_FUNCTION()
271 add_assoc_long(return_value, "day", day); in PHP_FUNCTION()
272 add_assoc_long(return_value, "year", year); in PHP_FUNCTION()
277 add_assoc_long(return_value, "dow", dow); in PHP_FUNCTION()
281 add_assoc_null(return_value, "dow"); in PHP_FUNCTION()
[all …]
/php-src/ext/soap/
H A Dphp_packet_soap.c32 ZVAL_NULL(return_value); in parse_packet_soap()
249 array_init(return_value); in parse_packet_soap()
329 add_assoc_zval(return_value, param->paramName, &tmp); in parse_packet_soap()
361 add_next_index_zval(return_value, &tmp); in parse_packet_soap()
371 if (Z_TYPE_P(return_value) == IS_ARRAY) { in parse_packet_soap()
373 zend_array_destroy(Z_ARR_P(return_value)); in parse_packet_soap()
374 ZVAL_NULL(return_value); in parse_packet_soap()
380 if (!Z_REFCOUNTED_P(return_value)) { in parse_packet_soap()
381 ZVAL_COPY(return_value, tmp); in parse_packet_soap()
383 zend_refcounted *garbage = Z_COUNTED_P(return_value); in parse_packet_soap()
[all …]
/php-src/ext/pdo_sqlite/
H A Dsqlite_statement.c317 array_init(return_value); in pdo_sqlite_stmt_col_meta()
323 add_assoc_long(return_value, "pdo_type", PDO_PARAM_NULL); in pdo_sqlite_stmt_col_meta()
327 add_assoc_str(return_value, "native_type", ZSTR_KNOWN(ZEND_STR_DOUBLE)); in pdo_sqlite_stmt_col_meta()
328 add_assoc_long(return_value, "pdo_type", PDO_PARAM_STR); in pdo_sqlite_stmt_col_meta()
336 add_assoc_str(return_value, "native_type", ZSTR_KNOWN(ZEND_STR_STRING)); in pdo_sqlite_stmt_col_meta()
337 add_assoc_long(return_value, "pdo_type", PDO_PARAM_STR); in pdo_sqlite_stmt_col_meta()
341 add_assoc_str(return_value, "native_type", ZSTR_KNOWN(ZEND_STR_INTEGER)); in pdo_sqlite_stmt_col_meta()
342 add_assoc_long(return_value, "pdo_type", PDO_PARAM_INT); in pdo_sqlite_stmt_col_meta()
348 add_assoc_string(return_value, "sqlite:decl_type", (char *)str); in pdo_sqlite_stmt_col_meta()
354 add_assoc_string(return_value, "table", (char *)str); in pdo_sqlite_stmt_col_meta()
[all …]
/php-src/ext/sysvmsg/
H A Dsysvmsg.c181 array_init(return_value); in PHP_FUNCTION()
186 add_assoc_long(return_value, "msg_stime", stat.msg_stime); in PHP_FUNCTION()
187 add_assoc_long(return_value, "msg_rtime", stat.msg_rtime); in PHP_FUNCTION()
188 add_assoc_long(return_value, "msg_ctime", stat.msg_ctime); in PHP_FUNCTION()
189 add_assoc_long(return_value, "msg_qnum", stat.msg_qnum); in PHP_FUNCTION()
190 add_assoc_long(return_value, "msg_qbytes", stat.msg_qbytes); in PHP_FUNCTION()
191 add_assoc_long(return_value, "msg_lspid", stat.msg_lspid); in PHP_FUNCTION()
192 add_assoc_long(return_value, "msg_lrpid", stat.msg_lrpid); in PHP_FUNCTION()
225 object_init_ex(return_value, sysvmsg_queue_ce); in PHP_FUNCTION()
226 mq = Z_SYSVMSG_QUEUE_P(return_value); in PHP_FUNCTION()
[all …]
/php-src/ext/intl/msgformat/
H A Dmsgformat_parse.c28 …oid msgfmt_do_parse(MessageFormatter_object *mfo, char *source, size_t src_len, zval *return_value) in msgfmt_do_parse() argument
45 array_init(return_value); in msgfmt_do_parse()
47 add_next_index_zval(return_value, &fargs[i]); in msgfmt_do_parse()
71 msgfmt_do_parse(mfo, source, source_len, return_value); in PHP_FUNCTION()
131 msgfmt_do_parse(mfo, source, src_len, return_value); in PHP_FUNCTION()
/php-src/ext/odbc/
H A Dphp_odbc.c923 zval_ptr_dtor(return_value); in PHP_FUNCTION()
929 zval_ptr_dtor(return_value); in PHP_FUNCTION()
958 zval_ptr_dtor(return_value); in PHP_FUNCTION()
981 zval_ptr_dtor(return_value); in PHP_FUNCTION()
1276 array_init(return_value); in PHP_FUNCTION()
1311 zval_ptr_dtor(return_value); in PHP_FUNCTION()
1317 zval_ptr_dtor(return_value); in PHP_FUNCTION()
1344 zval_ptr_dtor(return_value); in PHP_FUNCTION()
1425 array_init(return_value); in php_odbc_fetch_hash()
2844 zval_ptr_dtor(return_value);
[all …]
/php-src/ext/date/
H A Dphp_date.c1411 array_init(return_value); in PHP_FUNCTION()
1465 array_init(return_value); in PHP_FUNCTION()
2923 array_init(return_value); in PHP_METHOD()
2943 array_init(return_value); in PHP_METHOD()
3103 array_init(return_value); in php_date_do_return_parsed_time()
4145 array_init(return_value); in PHP_METHOD()
4329 array_init(return_value); in PHP_FUNCTION()
4422 array_init(return_value); in PHP_FUNCTION()
4771 array_init(return_value); in PHP_METHOD()
5342 array_init(return_value); in PHP_FUNCTION()
[all …]
/php-src/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp136 Calendar_object *co = Z_INTL_CALENDAR_P(return_value); in _php_intlgregcal_constructor_body()
153 zval_ptr_dtor(return_value); in _php_intlgregcal_constructor_body()
173 zval_ptr_dtor(return_value); in _php_intlgregcal_constructor_body()
201 zval_ptr_dtor(return_value); in _php_intlgregcal_constructor_body()
215 object_init_ex(return_value, GregorianCalendar_ce_ptr); in PHP_FUNCTION()
224 return_value = ZEND_THIS; in PHP_METHOD()
259 object_init_ex(return_value, GregorianCalendar_ce_ptr); in PHP_METHOD()
260 co = Z_INTL_CALENDAR_P(return_value); in PHP_METHOD()
307 object_init_ex(return_value, GregorianCalendar_ce_ptr); in PHP_METHOD()
308 co = Z_INTL_CALENDAR_P(return_value); in PHP_METHOD()
/php-src/ext/intl/formatter/
H A Dformatter_main.c50 object = return_value; in numfmt_ctor()
87 object_init_ex( return_value, NumberFormatter_ce_ptr ); in PHP_FUNCTION()
89 zval_ptr_dtor(return_value); in PHP_FUNCTION()
101 return_value = ZEND_THIS; in PHP_METHOD()

Completed in 133 milliseconds

12345678910