Searched defs:return_value (Results 1 - 25 of 38) sorted by relevance

12

/PHP_5_3/ext/intl/dateformat/
H A Ddateformat_parse.c37 static void internal_parse_to_timestamp(IntlDateFormatter_object *dfo, char* text_to_parse, int32_t text_len, int32_t *parse_pos, zval *return_value TSRMLS_DC)
58 ZVAL_DOUBLE(return_value, result<0?ceil(result):floor(result));
60 ZVAL_LONG(return_value, (long)result);
65 static void add_to_localtime_arr( IntlDateFormatter_object *dfo, zval* return_value, UCalendar parsed_calendar, long calendar_field, char* key_name TSRMLS_DC) argument
72 add_assoc_long( return_value, key_name,( calendar_field_val-1900) );
75 add_assoc_long( return_value, key_name,( calendar_field_val-1) );
77 add_assoc_long( return_value, key_name, calendar_field_val );
84 static void internal_parse_to_localtime(IntlDateFormatter_object *dfo, char* text_to_parse, int32_t text_len, int32_t *parse_pos, zval *return_value TSRMLS_DC)
105 array_init( return_value );
107 add_to_localtime_arr( dfo, return_value, parsed_calenda
[all...]
/PHP_5_3/ext/intl/resourcebundle/
H A Dresourcebundle.c27 void resourcebundle_extract_value( zval *return_value, ResourceBundle_object *source TSRMLS_DC ) argument
50 ZVAL_STRINGL( return_value, (char *) bfield, ilen, 1 );
56 ZVAL_LONG( return_value, lfield );
62 array_init( return_value );
64 add_next_index_long( return_value, vfield[i] );
70 object_init_ex( return_value, ResourceBundle_ce_ptr );
71 newrb = (ResourceBundle_object *) zend_object_store_get_object( return_value TSRMLS_CC );
H A Dresourcebundle_class.c89 zval *object = return_value;
99 zval_dtor( return_value );
103 INTL_CHECK_LOCALE_LEN_OBJ(locale_len, return_value);
119 zval_dtor( return_value );
138 return_value = getThis();
148 object_init_ex( return_value, ResourceBundle_ce_ptr );
154 static void resourcebundle_array_fetch(zval *object, zval *offset, zval *return_value, int fallback TSRMLS_DC) argument
205 resourcebundle_extract_value( return_value, rb TSRMLS_CC );
248 resourcebundle_array_fetch(object, offset, return_value, fallback TSRMLS_CC);
335 array_init( return_value );
[all...]
/PHP_5_3/ext/com_dotnet/
H A Dcom_handlers.c34 zval *return_value; local
39 MAKE_STD_ZVAL(return_value);
40 ZVAL_NULL(return_value);
41 Z_SET_REFCOUNT_P(return_value, 0);
42 Z_UNSET_ISREF_P(return_value);
55 php_com_zval_from_variant(return_value, &v, obj->code_page TSRMLS_CC);
58 php_com_saproxy_create(object, return_value, member TSRMLS_CC);
64 return return_value;
89 zval *return_value; local
93 MAKE_STD_ZVAL(return_value);
[all...]
H A Dcom_saproxy.c76 zval *return_value; local
78 MAKE_STD_ZVAL(return_value);
79 ZVAL_NULL(return_value);
83 return return_value;
94 zval *return_value; local
100 MAKE_STD_ZVAL(return_value);
101 ZVAL_NULL(return_value);
125 php_com_zval_from_variant(return_value, &v, proxy->obj->code_page TSRMLS_CC);
129 php_com_saproxy_create(object, return_value, offset TSRMLS_CC);
132 return return_value;
494 zval *return_value, **ptr_ptr; local
[all...]
/PHP_5_3/ext/filter/
H A Dfilter.c694 static void php_filter_array_handler(zval *input, zval **op, zval *return_value, zend_bool add_empty TSRMLS_DC) /* {{{ */ argument
703 zval_dtor(return_value);
704 MAKE_COPY_ZVAL(&input, return_value);
705 php_filter_call(&return_value, FILTER_DEFAULT, NULL, 0, FILTER_REQUIRE_ARRAY TSRMLS_CC);
707 zval_dtor(return_value);
708 MAKE_COPY_ZVAL(&input, return_value);
709 php_filter_call(&return_value, Z_LVAL_PP(op), NULL, 0, FILTER_REQUIRE_ARRAY TSRMLS_CC);
711 array_init(return_value);
720 zval_dtor(return_value);
725 zval_dtor(return_value);
[all...]
/PHP_5_3/ext/ftp/
H A Dftp.c462 ftp_raw(ftpbuf_t *ftp, const char *cmd, zval *return_value) argument
470 array_init(return_value);
472 add_next_index_string(return_value, ftp->inbuf, 1);
/PHP_5_3/ext/gmp/
H A Dgmp.c511 static inline void gmp_zval_binary_ui_op_ex(zval *return_value, zval **a_arg, zval **b_arg, gmp_binary_op_t gmp_op, gmp_binary_ui_op_t gmp_ui_op, int allow_ui_return, int check_b_zero, int use_sign TSRMLS_DC) argument
564 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);
573 static inline void gmp_zval_binary_ui_op2_ex(zval *return_value, zval **a_arg, zval **b_arg, gmp_binary_op2_t gmp_op, gmp_binary_ui_op2_t gmp_ui_op, int allow_ui_return, int check_b_zero TSRMLS_DC) argument
622 array_init(return_value);
624 add_index_resource(return_value, 0, Z_LVAL(r));
627 add_index_long(return_value, 1, long_result);
630 add_index_resource(return_value, 1, Z_LVAL(r));
645 gmp_zval_binary_ui_op(return_value, a_arg, b_arg, gmp_op, gmp_ui_op);
653 static inline void gmp_zval_unary_op(zval *return_value, zval **a_arg, gmp_unary_op_t gmp_op TSRMLS_DC) argument
664 ZEND_REGISTER_RESOURCE(return_value, gmpnum_resul
670 gmp_zval_unary_ui_op(zval *return_value, zval **a_arg, gmp_unary_ui_op_t gmp_op) argument
[all...]
/PHP_5_3/ext/interbase/
H A Dibase_blobs.c98 int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, unsigned long max_len TSRMLS_DC) /* {{{ */ argument
232 ZEND_REGISTER_RESOURCE(return_value, ib_blob, le_blob);
282 ZEND_REGISTER_RESOURCE(return_value, ib_blob, le_blob);
340 if (_php_ibase_blob_get(return_value, ib_blob, Z_LVAL_PP(len_arg) TSRMLS_CC) != SUCCESS) {
455 array_init(return_value);
457 add_index_long(return_value, 0, bl_info.total_length);
458 add_assoc_long(return_value, "length", bl_info.total_length);
460 add_index_long(return_value, 1, bl_info.num_segments);
461 add_assoc_long(return_value, "numseg", bl_info.num_segments);
463 add_index_long(return_value,
[all...]
H A Dibase_events.c213 zval event_name, link_id, return_value, *args[2]; local
239 event->callback, &return_value, 2, args TSRMLS_CC)) {
244 if (Z_TYPE(return_value) == IS_BOOL && !Z_BVAL(return_value)) {
372 ZEND_REGISTER_RESOURCE(return_value, event, le_event);
373 zend_list_addref(Z_LVAL_P(return_value));
H A Dibase_query.c915 ZEND_REGISTER_RESOURCE(return_value, trans, le_trans);
1134 ZEND_REGISTER_RESOURCE(return_value, ib_link, le_link);
1135 zend_list_addref(Z_LVAL_P(return_value));
1136 IBG(default_link) = Z_LVAL_P(return_value);
1189 ZEND_REGISTER_RESOURCE(return_value, result, le_result);
1511 array_init(return_value);
1533 Z_ARRVAL_P(return_value),alias,strlen(alias)+1,&p)) {
1647 add_index_zval(return_value, i, result);
1649 add_assoc_zval(return_value, alias, result);
1653 add_index_null(return_value,
1919 _php_ibase_field_info(zval *return_value, XSQLVAR *var) argument
[all...]
H A Dphp_ibase_udf.c188 zval callback, args[4], *argp[4], return_value; local
292 &callback, &return_value, argc, argp TSRMLS_CC)) {
310 switch (Z_TYPE(return_value)) {
314 *(long*)r->dsc_address = Z_LVAL(return_value);
320 *(double*)r->dsc_address = Z_DVAL(return_value);
329 convert_to_string(&return_value);
333 memcpy(res->vary_string, Z_STRVAL(return_value),
334 (res->vary_length = min(r->dsc_length-2,Z_STRLEN(return_value))));
339 zval_dtor(&return_value);
/PHP_5_3/ext/json/
H A Djson.c489 PHP_JSON_API void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, long depth TSRMLS_DC) /* {{{ */ argument
516 *return_value = *z;
545 if (Z_TYPE_P(return_value) != IS_NULL) {
574 ZVAL_STRINGL(return_value, buf.c, buf.len, 1);
599 php_json_decode(return_value, str, str_len, assoc, depth TSRMLS_CC);
/PHP_5_3/ext/pdo/
H A Dpdo_stmt.c263 static void get_lazy_object(pdo_stmt_t *stmt, zval *return_value TSRMLS_DC) /* {{{ */
271 Z_TYPE_P(return_value) = IS_OBJECT;
272 Z_OBJ_HANDLE_P(return_value) = Z_OBJ_HANDLE(stmt->lazy_object_ref);
273 Z_OBJ_HT_P(return_value) = Z_OBJ_HT(stmt->lazy_object_ref);
274 zend_objects_store_add_ref(return_value TSRMLS_CC);
852 * If return_value is not null, store values into it according to HOW. */
853 static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, argument
882 if (return_value) {
886 get_lazy_object(stmt, return_value TSRMLS_CC);
899 ALLOC_HASHTABLE(return_value
1782 generic_stmt_attr_get(pdo_stmt_t *stmt, zval *return_value, long attr) argument
2606 zval *return_value; local
[all...]
/PHP_5_3/ext/posix/
H A Dposix.c511 array_init(return_value);
514 add_next_index_long(return_value, gidlist[i]);
627 array_init(return_value);
629 add_assoc_string(return_value, "sysname", u.sysname, 1);
630 add_assoc_string(return_value, "nodename", u.nodename, 1);
631 add_assoc_string(return_value, "release", u.release, 1);
632 add_assoc_string(return_value, "version", u.version, 1);
633 add_assoc_string(return_value, "machine", u.machine, 1);
636 add_assoc_string(return_value, "domainname", u.domainname, 1);
659 array_init(return_value);
1105 php_posix_passwd_to_array(struct passwd *pw, zval *return_value) argument
[all...]
/PHP_5_3/ext/soap/
H A Dphp_packet_soap.c25 int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctionPtr fn, char *fn_name, zval *return_value, zval *soap_headers TSRMLS_DC) argument
35 ZVAL_NULL(return_value);
252 array_init(return_value);
335 add_assoc_zval(return_value, param->paramName, tmp);
357 if (zend_hash_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name)+1, (void**)&arr) == SUCCESS) {
365 add_assoc_zval(return_value, (char*)val->name, arr);
367 add_assoc_zval(return_value, (char*)val->name, tmp);
370 add_next_index_zval(return_value, tmp);
380 if (Z_TYPE_P(return_value) == IS_ARRAY) {
382 zval_dtor(return_value);
[all...]
/PHP_5_3/ext/standard/
H A Ddl.c88 php_dl(filename, MODULE_TEMPORARY, return_value, 0 TSRMLS_CC);
89 if (Z_LVAL_P(return_value) == 1) {
263 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now TSRMLS_DC) argument
281 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now TSRMLS_DC) argument
H A Dscanf.c121 static inline void scan_set_error_return(int numVars, zval **return_value);
576 * return_value set with the results of the scan
581 int varStart, zval **return_value TSRMLS_DC)
616 scan_set_error_return( numVars, return_value );
629 scan_set_error_return(numVars, return_value);
643 array_init(*return_value);
648 if (add_next_index_zval(*return_value, tmp) == FAILURE) {
649 scan_set_error_return(0, return_value);
755 add_index_long(*return_value, objIndex++, string - baseString);
879 add_index_stringl( *return_value, objInde
1214 scan_set_error_return(int numVars, zval **return_value) argument
[all...]
/PHP_5_3/ext/wddx/
H A Dwddx.c1124 int php_wddx_deserialize_ex(char *value, int vallen, zval *return_value) argument
1144 *return_value = *(ent->data);
1145 zval_copy_ctor(return_value);
1176 ZVAL_STRINGL(return_value, packet->c, packet->len, 1);
1211 ZVAL_STRINGL(return_value, packet->c, packet->len, 1);
1258 ZEND_REGISTER_RESOURCE(return_value, packet, le_wddx);
1279 ZVAL_STRINGL(return_value, packet->c, packet->len, 1);
1350 php_wddx_deserialize_ex(payload, payload_len, return_value);
/PHP_5_3/main/
H A Doutput.c890 if (php_ob_get_buffer(return_value TSRMLS_CC) == FAILURE) {
896 zval_dtor(return_value);
902 zval_dtor(return_value);
918 if (php_ob_get_buffer(return_value TSRMLS_CC) == FAILURE) {
924 zval_dtor(return_value);
929 zval_dtor(return_value);
945 if (php_ob_get_buffer(return_value TSRMLS_CC) == FAILURE) {
971 if (php_ob_get_length(return_value TSRMLS_CC) == FAILURE) {
985 array_init(return_value);
989 zend_stack_apply_with_argument(&OG(ob_buffers), ZEND_STACK_APPLY_BOTTOMUP, (int (*)(void *element, void *)) php_ob_list_each, return_value);
991 php_ob_list_each(&OG(active_ob_buffer), return_value); local
[all...]
/PHP_5_3/sapi/apache_hooks/
H A Dphp_apache.c47 static void apache_table_to_zval(table *, int safe_mode, zval *return_value);
570 apache_table_to_zval(r->headers_in, 0, return_value);
667 apache_table_to_zval(r->headers_out, 0, return_value);
686 apache_table_to_zval(r->err_headers_out, 0, return_value);
1173 return_value = php_apache_request_new(sub_r);
1199 return_value = php_apache_request_new(sub_r);
1225 return_value = php_apache_request_new(sub_r);
1754 /* {{{ apache_table_to_zval(table *, int safe_mode, zval *return_value)
1756 static void apache_table_to_zval(table *t, int safe_mode, zval *return_value) argument
1762 array_init(return_value);
[all...]
/PHP_5_3/Zend/
H A Dzend_ini.c407 char *return_value; local
409 return_value = zend_ini_string_ex(name, name_length, orig, &exists);
412 } else if (!return_value) {
413 return_value = "";
415 return return_value;
H A Dzend_builtin_functions.c414 *return_value = *arg;
415 zval_copy_ctor(return_value);
416 INIT_PZVAL(return_value);
438 array_init_size(return_value, arg_count);
446 zend_hash_next_index_insert(return_value->value.ht, &element, sizeof(zval *), NULL);
567 array_init(return_value);
579 zend_hash_index_update(return_value->value.ht, 1, &entry, sizeof(zval *), NULL);
581 zend_hash_update(return_value->value.ht, "value", sizeof("value"), &entry, sizeof(zval *), NULL);
587 add_get_index_stringl(return_value, 0, string_key, string_key_len-1, (void **) &inserted_pointer, 0);
590 add_get_index_long(return_value,
2105 zend_fetch_debug_backtrace(zval *return_value, int skip_last, int options TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_net.c66 enum_func_status return_value = PASS; local
75 return_value = FAIL;
83 DBG_RETURN(return_value);
H A Dmysqlnd_result.c1506 MYSQLND_FIELD_OFFSET return_value = 0; local
1508 return_value = result->meta->current_field;
1511 return return_value;
1531 zval *return_value,
1547 mysqlnd_array_init(return_value, mysqlnd_num_fields(result) * 2);
1548 if (FAIL == result->m.fetch_row(result, (void *)return_value, flags, &fetched_anything TSRMLS_CC)) {
1550 zval_dtor(return_value);
1553 zval_dtor(return_value);
1565 return_value is IS_NULL for no more data and an array for data. Thus it's ok
1596 MYSQLND_METHOD(mysqlnd_res, fetch_all)(MYSQLND_RES * result, unsigned int flags, zval *return_value TSRMLS_D
[all...]

Completed in 92 milliseconds

12