Home
last modified time | relevance | path

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

123456789

/PHP-7.0/ext/intl/dateformat/
H A Ddateformat_parse.c58 ZVAL_DOUBLE(return_value, result<0?ceil(result):floor(result)); in internal_parse_to_timestamp()
60 ZVAL_LONG(return_value, (zend_long)result); in internal_parse_to_timestamp()
72 add_assoc_long( return_value, key_name,( calendar_field_val-1900) ); in add_to_localtime_arr()
75 add_assoc_long( return_value, key_name,( calendar_field_val-1) ); in add_to_localtime_arr()
77 add_assoc_long( return_value, key_name, calendar_field_val ); in add_to_localtime_arr()
105 array_init( return_value ); in internal_parse_to_localtime()
107 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_SECOND, CALENDAR_SEC); in internal_parse_to_localtime()
108 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_MINUTE, CALENDAR_MIN); in internal_parse_to_localtime()
110 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_YEAR, CALENDAR_YEAR); in internal_parse_to_localtime()
114 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_MONTH, CALENDAR_MON); in internal_parse_to_localtime()
[all …]
/PHP-7.0/ext/standard/
H A Ddatetime.c106 array_init(return_value); in PHP_FUNCTION()
107 add_assoc_long(return_value, "tm_sec", parsed_time.tm_sec); in PHP_FUNCTION()
108 add_assoc_long(return_value, "tm_min", parsed_time.tm_min); in PHP_FUNCTION()
109 add_assoc_long(return_value, "tm_hour", parsed_time.tm_hour); in PHP_FUNCTION()
110 add_assoc_long(return_value, "tm_mday", parsed_time.tm_mday); in PHP_FUNCTION()
111 add_assoc_long(return_value, "tm_mon", parsed_time.tm_mon); in PHP_FUNCTION()
112 add_assoc_long(return_value, "tm_year", parsed_time.tm_year); in PHP_FUNCTION()
113 add_assoc_long(return_value, "tm_wday", parsed_time.tm_wday); in PHP_FUNCTION()
114 add_assoc_long(return_value, "tm_yday", parsed_time.tm_yday); in PHP_FUNCTION()
115 add_assoc_string(return_value, "unparsed", unparsed_part); in PHP_FUNCTION()
H A Dmicrotime.c76 array_init(return_value); in _php_gettimeofday()
77 add_assoc_long(return_value, "sec", tp.tv_sec); in _php_gettimeofday()
78 add_assoc_long(return_value, "usec", tp.tv_usec); in _php_gettimeofday()
80 add_assoc_long(return_value, "minuteswest", -offset->offset / SEC_IN_MIN); in _php_gettimeofday()
81 add_assoc_long(return_value, "dsttime", offset->is_dst); in _php_gettimeofday()
132 array_init(return_value); in PHP_FUNCTION()
135 add_assoc_long(return_value, #a, usg.a) in PHP_FUNCTION()
H A Darray.c1988 array_init(return_value);
2850 array_init(return_value);
2864 array_init(return_value);
3249 array_init(return_value);
3343 array_init(return_value);
3447 array_init(return_value);
3698 zval_dtor(return_value);
3814 array_init(return_value);
4237 array_init(return_value);
4977 fast_add_function(return_value, return_value, &entry_n);
[all …]
H A Dscanf.c580 int varStart, zval *return_value) in php_sscanf_internal() argument
615 scan_set_error_return( numVars, return_value ); in php_sscanf_internal()
628 scan_set_error_return(numVars, return_value); in php_sscanf_internal()
642 array_init(return_value); in php_sscanf_internal()
647 scan_set_error_return(0, return_value); in php_sscanf_internal()
1062 add_index_string(return_value, objIndex++, buf); in php_sscanf_internal()
1072 add_index_long(return_value, objIndex++, value); in php_sscanf_internal()
1189 scan_set_error_return( numVars, return_value ); in php_sscanf_internal()
1192 convert_to_long(return_value ); in php_sscanf_internal()
1193 Z_LVAL_P(return_value) = nconversions; in php_sscanf_internal()
[all …]
H A Dfilestat.c1001 array_init(return_value); in php_stat()
1040 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_dev); in php_stat()
1041 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_ino); in php_stat()
1042 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_mode); in php_stat()
1043 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_nlink); in php_stat()
1044 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_uid); in php_stat()
1045 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_gid); in php_stat()
1047 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_rdev); in php_stat()
1048 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_size); in php_stat()
1049 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_atime); in php_stat()
[all …]
/PHP-7.0/ext/intl/resourcebundle/
H A Dresourcebundle.c27 void resourcebundle_extract_value( zval *return_value, ResourceBundle_object *source ) in resourcebundle_extract_value() argument
50 ZVAL_STRINGL( return_value, (char *) bfield, ilen ); in resourcebundle_extract_value()
56 ZVAL_LONG( return_value, lfield ); in resourcebundle_extract_value()
62 array_init( return_value ); in resourcebundle_extract_value()
64 add_next_index_long( return_value, vfield[i] ); in resourcebundle_extract_value()
70 object_init_ex( return_value, ResourceBundle_ce_ptr ); in resourcebundle_extract_value()
71 newrb = Z_INTL_RESOURCEBUNDLE_P(return_value); in resourcebundle_extract_value()
H A Dresourcebundle_class.c85 zval *object = return_value; in resourcebundle_ctor()
106 zval_dtor(return_value); in resourcebundle_ctor()
107 ZVAL_NULL(return_value); in resourcebundle_ctor()
153 return_value = getThis(); in ZEND_END_ARG_INFO()
168 object_init_ex( return_value, ResourceBundle_ce_ptr ); in PHP_FUNCTION()
170 zval_ptr_dtor(return_value); in PHP_FUNCTION()
177 static void resourcebundle_array_fetch(zval *object, zval *offset, zval *return_value, int fallback) in resourcebundle_array_fetch() argument
226 resourcebundle_extract_value( return_value, rb ); in resourcebundle_array_fetch()
265 resourcebundle_array_fetch(object, offset, return_value, fallback); in ZEND_END_ARG_INFO()
357 array_init( return_value ); in ZEND_END_ARG_INFO()
[all …]
/PHP-7.0/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp61 zval_dtor(return_value); in _php_intlgregcal_constructor_body()
74 zval_dtor(return_value); in _php_intlgregcal_constructor_body()
87 zval_dtor(return_value); in _php_intlgregcal_constructor_body()
99 zval_dtor(return_value); in _php_intlgregcal_constructor_body()
117 zval_dtor(return_value); in _php_intlgregcal_constructor_body()
136 zval_dtor(return_value); in _php_intlgregcal_constructor_body()
149 zval_dtor(return_value); in _php_intlgregcal_constructor_body()
174 zval_dtor(return_value); in _php_intlgregcal_constructor_body()
194 zval_dtor(return_value); in _php_intlgregcal_constructor_body()
212 object_init_ex(return_value, GregorianCalendar_ce_ptr); in PHP_FUNCTION()
[all …]
/PHP-7.0/ext/posix/
H A Dposix.c572 array_init(return_value); in PHP_FUNCTION()
688 array_init(return_value); in PHP_FUNCTION()
720 array_init(return_value); in PHP_FUNCTION()
1090 array_init(return_value); in PHP_FUNCTION()
1093 zval_dtor(return_value); in PHP_FUNCTION()
1142 array_init(return_value); in PHP_FUNCTION()
1145 zval_dtor(return_value); in PHP_FUNCTION()
1159 if (NULL == return_value || Z_TYPE_P(return_value) != IS_ARRAY) in php_posix_passwd_to_array()
1209 array_init(return_value); in PHP_FUNCTION()
1212 zval_dtor(return_value); in PHP_FUNCTION()
[all …]
/PHP-7.0/ext/intl/collator/
H A Dcollator_create.c37 object = return_value; in collator_ctor()
66 object_init_ex( return_value, Collator_ce_ptr ); in PHP_FUNCTION()
68 zval_ptr_dtor(return_value); in PHP_FUNCTION()
82 return_value = getThis(); in PHP_METHOD()
/PHP-7.0/ext/soap/
H A Dphp_packet_soap.c35 ZVAL_NULL(return_value); in parse_packet_soap()
252 array_init(return_value); in parse_packet_soap()
332 add_assoc_zval(return_value, param->paramName, &tmp); in parse_packet_soap()
364 add_next_index_zval(return_value, &tmp); in parse_packet_soap()
374 if (Z_TYPE_P(return_value) == IS_ARRAY) { in parse_packet_soap()
376 zval_dtor(return_value); in parse_packet_soap()
377 ZVAL_NULL(return_value); in parse_packet_soap()
383 if (!Z_REFCOUNTED_P(return_value)) { in parse_packet_soap()
384 ZVAL_COPY(return_value, tmp); in parse_packet_soap()
386 zend_refcounted *garbage = Z_COUNTED_P(return_value); in parse_packet_soap()
[all …]
/PHP-7.0/ext/tokenizer/
H A Dtokenizer.c109 static zend_bool tokenize(zval *return_value, zend_string *source) in tokenize() argument
128 array_init(return_value); in tokenize()
147 add_next_index_zval(return_value, &keyword); in tokenize()
149 add_next_index_stringl(return_value, (char *)zendtext, zendleng); in tokenize()
169 add_next_index_zval(return_value, &keyword); in tokenize()
227 static zend_bool tokenize_parse(zval *return_value, zend_string *source) in tokenize_parse() argument
248 ZVAL_COPY_VALUE(return_value, &token_stream); in tokenize_parse()
281 success = tokenize_parse(return_value, source); in PHP_FUNCTION()
283 success = tokenize(return_value, source); in PHP_FUNCTION()
/PHP-7.0/ext/date/
H A Dphp_date.c1749 array_init(return_value); in PHP_FUNCTION()
1795 array_init(return_value); in PHP_FUNCTION()
2648 zval_ptr_dtor(return_value); in PHP_FUNCTION()
2669 zval_ptr_dtor(return_value); in PHP_FUNCTION()
2925 array_init(return_value); in PHP_FUNCTION()
2937 array_init(return_value); in php_date_do_return_parsed_time()
3931 array_init(return_value); in PHP_FUNCTION()
3989 array_init(return_value); in PHP_FUNCTION()
4634 array_init(return_value); in PHP_FUNCTION()
4669 array_init(return_value); in PHP_FUNCTION()
[all …]
/PHP-7.0/ext/readline/
H A Dreadline.c251 array_init(return_value); in PHP_FUNCTION()
252 add_assoc_string(return_value,"line_buffer",SAFE_STRING(rl_line_buffer)); in PHP_FUNCTION()
253 add_assoc_long(return_value,"point",rl_point); in PHP_FUNCTION()
254 add_assoc_long(return_value,"end",rl_end); in PHP_FUNCTION()
256 add_assoc_long(return_value,"mark",rl_mark); in PHP_FUNCTION()
257 add_assoc_long(return_value,"done",rl_done); in PHP_FUNCTION()
258 add_assoc_long(return_value,"pending_input",rl_pending_input); in PHP_FUNCTION()
259 add_assoc_string(return_value,"prompt",SAFE_STRING(rl_prompt)); in PHP_FUNCTION()
263 add_assoc_long(return_value,"erase_empty_line",rl_erase_empty_line); in PHP_FUNCTION()
383 array_init(return_value); in PHP_FUNCTION()
[all …]
/PHP-7.0/ext/intl/msgformat/
H A Dmsgformat_parse.c31 …oid msgfmt_do_parse(MessageFormatter_object *mfo, char *source, size_t src_len, zval *return_value) in msgfmt_do_parse() argument
48 array_init(return_value); in msgfmt_do_parse()
50 add_next_index_zval(return_value, &fargs[i]); in msgfmt_do_parse()
81 msgfmt_do_parse(mfo, source, source_len, return_value); in PHP_FUNCTION()
149 msgfmt_do_parse(mfo, source, src_len, return_value); in PHP_FUNCTION()
/PHP-7.0/ext/interbase/
H A Dibase_blobs.c229 Z_TRY_ADDREF_P(return_value); in PHP_FUNCTION()
280 Z_TRY_ADDREF_P(return_value); in PHP_FUNCTION()
452 array_init(return_value); in PHP_FUNCTION()
454 add_index_long(return_value, 0, bl_info.total_length); in PHP_FUNCTION()
455 add_assoc_long(return_value, "length", bl_info.total_length); in PHP_FUNCTION()
457 add_index_long(return_value, 1, bl_info.num_segments); in PHP_FUNCTION()
458 add_assoc_long(return_value, "numseg", bl_info.num_segments); in PHP_FUNCTION()
460 add_index_long(return_value, 2, bl_info.max_segment); in PHP_FUNCTION()
461 add_assoc_long(return_value, "maxseg", bl_info.max_segment); in PHP_FUNCTION()
463 add_index_bool(return_value, 3, bl_info.bl_stream); in PHP_FUNCTION()
[all …]
/PHP-7.0/ext/pcre/
H A Dphp_pcre.h62 …d php_pcre_match_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
65 …cre_cache_entry *pce, zend_string *subject_str, char *subject, int subject_len, zval *return_value,
68 …d php_pcre_split_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
71 PHPAPI void php_pcre_grep_impl( pcre_cache_entry *pce, zval *input, zval *return_value,
/PHP-7.0/ext/intl/formatter/
H A Dformatter_main.c49 object = return_value; in numfmt_ctor()
81 object_init_ex( return_value, NumberFormatter_ce_ptr ); in PHP_FUNCTION()
83 zval_ptr_dtor(return_value); in PHP_FUNCTION()
97 return_value = getThis(); in PHP_METHOD()
/PHP-7.0/ext/json/
H A Dphp_json_parser.h27 zval *return_value; member
32 void php_json_parser_init(php_json_parser *parser, zval *return_value, char *str, size_t str_len, i…
H A Dphp_json.h96 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long optio…
98 static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, zen… in php_json_decode() argument
100 php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth); in php_json_decode()
/PHP-7.0/ext/pdo_sqlite/
H A Dsqlite_statement.c293 static int pdo_sqlite_stmt_col_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) in pdo_sqlite_stmt_col_meta() argument
308 array_init(return_value); in pdo_sqlite_stmt_col_meta()
313 add_assoc_string(return_value, "native_type", "null"); in pdo_sqlite_stmt_col_meta()
317 add_assoc_string(return_value, "native_type", "double"); in pdo_sqlite_stmt_col_meta()
323 add_assoc_string(return_value, "native_type", "string"); in pdo_sqlite_stmt_col_meta()
327 add_assoc_string(return_value, "native_type", "integer"); in pdo_sqlite_stmt_col_meta()
333 add_assoc_string(return_value, "sqlite:decl_type", (char *)str); in pdo_sqlite_stmt_col_meta()
339 add_assoc_string(return_value, "table", (char *)str); in pdo_sqlite_stmt_col_meta()
343 add_assoc_zval(return_value, "flags", &flags); in pdo_sqlite_stmt_col_meta()
/PHP-7.0/ext/pdo_dblib/
H A Ddblib_stmt.c446 static int pdo_dblib_stmt_get_column_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) argument
457 array_init(return_value);
465 add_assoc_long(return_value, "max_length", dbcollen(H->link, colno+1) );
466 add_assoc_long(return_value, "precision", (int) dbtypeinfo->precision );
467 add_assoc_long(return_value, "scale", (int) dbtypeinfo->scale );
468 add_assoc_string(return_value, "column_source", dbcolsource(H->link, colno+1));
469 add_assoc_string(return_value, "native_type", pdo_dblib_get_field_name(coltype));
470 add_assoc_long(return_value, "native_type_id", coltype);
471 add_assoc_long(return_value, "native_usertype_id", dbcolutype(H->link, colno+1));
478 add_assoc_long(return_value, "pdo_type", PDO_PARAM_INT);
[all …]
/PHP-7.0/ext/sysvmsg/
H A Dsysvmsg.c217 array_init(return_value); in PHP_FUNCTION()
219 add_assoc_long(return_value, "msg_perm.uid", stat.msg_perm.uid); in PHP_FUNCTION()
220 add_assoc_long(return_value, "msg_perm.gid", stat.msg_perm.gid); in PHP_FUNCTION()
222 add_assoc_long(return_value, "msg_stime", stat.msg_stime); in PHP_FUNCTION()
223 add_assoc_long(return_value, "msg_rtime", stat.msg_rtime); in PHP_FUNCTION()
224 add_assoc_long(return_value, "msg_ctime", stat.msg_ctime); in PHP_FUNCTION()
225 add_assoc_long(return_value, "msg_qnum", stat.msg_qnum); in PHP_FUNCTION()
226 add_assoc_long(return_value, "msg_qbytes", stat.msg_qbytes); in PHP_FUNCTION()
227 add_assoc_long(return_value, "msg_lspid", stat.msg_lspid); in PHP_FUNCTION()
228 add_assoc_long(return_value, "msg_lrpid", stat.msg_lrpid); in PHP_FUNCTION()
[all …]
/PHP-7.0/ext/calendar/
H A Dcalendar.c303 array_init(return_value); in PHP_FUNCTION()
307 add_index_zval(return_value, i, &val); in PHP_FUNCTION()
318 _php_cal_info(cal, return_value); in PHP_FUNCTION()
409 array_init(return_value); in PHP_FUNCTION()
414 add_assoc_string(return_value, "date", date); in PHP_FUNCTION()
416 add_assoc_long(return_value, "month", month); in PHP_FUNCTION()
417 add_assoc_long(return_value, "day", day); in PHP_FUNCTION()
418 add_assoc_long(return_value, "year", year); in PHP_FUNCTION()
423 add_assoc_long(return_value, "dow", dow); in PHP_FUNCTION()
427 add_assoc_null(return_value, "dow"); in PHP_FUNCTION()
[all …]

Completed in 142 milliseconds

123456789