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

12

/PHP_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c47 static void apache_table_to_zval(table *, zval *return_value);
568 apache_table_to_zval(r->headers_in, return_value);
665 apache_table_to_zval(r->headers_out, return_value);
684 apache_table_to_zval(r->err_headers_out, return_value);
1171 return_value = php_apache_request_new(sub_r TSRMLS_CC);
1197 return_value = php_apache_request_new(sub_r TSRMLS_CC);
1223 return_value = php_apache_request_new(sub_r TSRMLS_CC);
1752 /* {{{ apache_table_to_zval(table *, zval *return_value)
1754 static void apache_table_to_zval(table *t, zval *return_value) argument
1760 array_init(return_value);
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ini.c419 char *return_value; local
421 return_value = zend_ini_string_ex(name, name_length, orig, &exists);
424 } else if (!return_value) {
425 return_value = "";
427 return return_value;
/PHP_TRUNK/ext/ftp/
H A Dftp.c472 ftp_raw(ftpbuf_t *ftp, const char *cmd, zval *return_value) argument
480 array_init(return_value);
482 add_next_index_string(return_value, ftp->inbuf);
/PHP_TRUNK/ext/interbase/
H A Dphp_ibase_udf.c186 zval callback, args[4], return_value; local
289 &callback, &return_value, argc, args TSRMLS_CC)) {
308 switch (Z_TYPE(return_value)) {
312 *(long*)r->dsc_address = Z_LVAL(return_value);
318 *(double*)r->dsc_address = Z_DVAL(return_value);
327 convert_to_string(&return_value);
331 memcpy(res->vary_string, Z_STRVAL(return_value),
332 (res->vary_length = min(r->dsc_length-2,Z_STRLEN(return_value))));
337 zval_dtor(&return_value);
H A Dibase_events.c212 zval return_value, args[2]; local
235 &event->callback, &return_value, 2, args TSRMLS_CC)) {
240 if (Z_TYPE(return_value) == IS_FALSE) {
359 ZEND_REGISTER_RESOURCE(return_value, event, le_event);
360 Z_ADDREF_P(return_value);
H A Dibase_blobs.c96 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);
233 Z_ADDREF_P(return_value);
283 ZEND_REGISTER_RESOURCE(return_value, ib_blob, le_blob);
284 Z_ADDREF_P(return_value);
342 if (_php_ibase_blob_get(return_value, ib_blob, Z_LVAL_P(len_arg) TSRMLS_CC) != SUCCESS) {
461 array_init(return_value);
463 add_index_long(return_value, 0, bl_info.total_length);
464 add_assoc_long(return_value, "length", bl_info.total_length);
466 add_index_long(return_value,
[all...]
H A Dibase_query.c913 ZEND_REGISTER_RESOURCE(return_value, trans, le_trans);
914 Z_ADDREF_P(return_value);
1134 ZEND_REGISTER_RESOURCE(return_value, ib_link, le_link);
1135 Z_ADDREF_P(return_value);
1136 IBG(default_link) = Z_RES_P(return_value)->handle;
1189 ZEND_REGISTER_RESOURCE(return_value, result, le_result);
1190 Z_ADDREF_P(return_value);
1503 array_init(return_value);
1525 Z_ARRVAL_P(return_value), alias, strlen(alias))) != NULL) {
1642 add_index_zval(return_value,
1914 _php_ibase_field_info(zval *return_value, XSQLVAR *var) argument
[all...]
/PHP_TRUNK/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 );
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 = Z_INTL_RESOURCEBUNDLE_P(return_value);
H A Dresourcebundle_class.c85 zval *object = return_value;
95 Z_OBJ_P(return_value) = NULL;
99 INTL_CHECK_LOCALE_LEN_OBJ(locale_len, return_value);
124 Z_OBJ_P(return_value) = NULL;
144 return_value = getThis();
147 if (Z_TYPE_P(return_value) == IS_OBJECT && Z_OBJ_P(return_value) == NULL) {
160 object_init_ex( return_value, ResourceBundle_ce_ptr );
162 if (Z_TYPE_P(return_value) == IS_OBJECT && Z_OBJ_P(return_value)
169 resourcebundle_array_fetch(zval *object, zval *offset, zval *return_value, int fallback TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_result_meta.c332 MYSQLND_FIELD_OFFSET return_value = 0; local
334 return_value = meta->current_field;
336 DBG_RETURN(return_value);
H A Dmysqlnd_net.c69 enum_func_status return_value = PASS; local
82 return_value = FAIL;
90 DBG_RETURN(return_value);
/PHP_TRUNK/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);
332 add_assoc_zval(return_value, param->paramName, &tmp);
352 if ((arr = zend_hash_str_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name))) != NULL) {
359 add_assoc_zval(return_value, (char*)val->name, &arr);
361 add_assoc_zval(return_value, (char*)val->name, &tmp);
364 add_next_index_zval(return_value, &tmp);
374 if (Z_TYPE_P(return_value) == IS_ARRAY) {
376 zval_dtor(return_value);
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c257 static void get_lazy_object(pdo_stmt_t *stmt, zval *return_value TSRMLS_DC) /* {{{ */
267 ZVAL_COPY(return_value, &stmt->lazy_object_ref);
834 * If return_value is not null, store values into it according to HOW. */
835 static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, enum pdo_fetch_type how, enum pdo_fetch_orientation ori, zend_long offset, zval *return_all TSRMLS_DC) /* {{{ */ argument
863 if (return_value) {
867 get_lazy_object(stmt, return_value TSRMLS_CC);
880 ZVAL_NEW_ARR(return_value);
881 zend_hash_init(Z_ARRVAL_P(return_value), stmt->column_count, NULL, ZVAL_PTR_DTOR, 0);;
883 array_init(return_value);
893 array_init(return_value);
1736 generic_stmt_attr_get(pdo_stmt_t *stmt, zval *return_value, zend_long attr) argument
[all...]
/PHP_TRUNK/ext/standard/
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);
647 if (add_next_index_zval(return_value, &tmp) == FAILURE) {
648 scan_set_error_return(0, return_value);
749 add_index_long(return_value, objIndex++, string - baseString);
868 add_index_stringl(return_value, objInde
1203 scan_set_error_return(int numVars, zval *return_value) argument
[all...]
H A Ddl.c85 php_dl(filename, MODULE_TEMPORARY, return_value, 0 TSRMLS_CC);
86 if (Z_LVAL_P(return_value) == 1) {
265 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now TSRMLS_DC) argument
283 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now TSRMLS_DC) argument
/PHP_TRUNK/ext/filter/
H A Dfilter.c662 static void php_filter_array_handler(zval *input, zval *op, zval *return_value, zend_bool add_empty TSRMLS_DC) /* {{{ */ argument
669 zval_ptr_dtor(return_value);
670 ZVAL_DUP(return_value, input);
671 php_filter_call(return_value, FILTER_DEFAULT, NULL, 0, FILTER_REQUIRE_ARRAY TSRMLS_CC);
673 zval_ptr_dtor(return_value);
674 ZVAL_DUP(return_value, input);
675 php_filter_call(return_value, Z_LVAL_P(op), NULL, 0, FILTER_REQUIRE_ARRAY TSRMLS_CC);
677 array_init(return_value);
682 zval_ptr_dtor(return_value);
687 zval_ptr_dtor(return_value);
[all...]
/PHP_TRUNK/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, (zend_long)result);
65 static void add_to_localtime_arr( IntlDateFormatter_object *dfo, zval* return_value, const UCalendar *parsed_calendar, zend_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_TRUNK/ext/intl/locale/
H A Dlocale_methods.c719 array_init( return_value );
738 zval_dtor(return_value);
743 add_assoc_stringl( return_value, (char *)kw_key, kw_value , kw_value_len);
1120 array_init( return_value );
1124 add_assoc_string( return_value , LOC_GRANDFATHERED_LANG_TAG, (char *)loc_name);
1128 add_array_entry( loc_name , return_value , LOC_LANG_TAG TSRMLS_CC);
1129 add_array_entry( loc_name , return_value , LOC_SCRIPT_TAG TSRMLS_CC);
1130 add_array_entry( loc_name , return_value , LOC_REGION_TAG TSRMLS_CC);
1131 add_array_entry( loc_name , return_value , LOC_VARIANT_TAG TSRMLS_CC);
1132 add_array_entry( loc_name , return_value , LOC_PRIVATE_TA
1432 char* return_value = NULL; local
[all...]
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_methods.cpp70 timezone_object_construct(tz, return_value, 1 TSRMLS_CC);
101 timezone_object_construct(tz, return_value, 1 TSRMLS_CC);
115 timezone_object_construct(tz, return_value, 1 TSRMLS_CC);
128 timezone_object_construct(TimeZone::getGMT(), return_value, 0 TSRMLS_CC); local
142 timezone_object_construct(&TimeZone::getUnknown(), return_value, 0 TSRMLS_CC); local
201 IntlIterator_from_StringEnumeration(se, return_value TSRMLS_CC);
287 IntlIterator_from_StringEnumeration(se, return_value TSRMLS_CC);
/PHP_TRUNK/ext/json/
H A Djson.c667 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth TSRMLS_DC) /* {{{ */ argument
691 if (!parse_JSON_ex(jp, return_value, utf16, utf16_len, options TSRMLS_CC)) {
698 zval_dtor(return_value);
758 if (Z_TYPE_P(return_value) != IS_NULL) {
789 ZVAL_FALSE(return_value);
792 ZVAL_STR(return_value, buf.s);
824 php_json_decode_ex(return_value, str, str_len, options, depth TSRMLS_CC);
H A Dphp_json.h53 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth TSRMLS_DC);
77 static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, zend_long depth TSRMLS_DC) argument
79 php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth TSRMLS_CC);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli.c1152 void php_mysqli_fetch_into_hash_aux(zval *return_value, MYSQL_RES * result, zend_long fetchtype TSRMLS_DC) argument
1168 array_init(return_value);
1212 add_index_zval(return_value, i, &res);
1218 add_assoc_zval(return_value, fields[i].name, &res);
1222 add_index_null(return_value, i);
1225 add_assoc_null(return_value, fields[i].name);
1230 mysqlnd_fetch_into(result, ((fetchtype & MYSQLI_NUM)? MYSQLND_FETCH_NUM:0) | ((fetchtype & MYSQLI_ASSOC)? MYSQLND_FETCH_ASSOC:0), return_value, MYSQLND_MYSQLI);
1281 php_mysqli_fetch_into_hash_aux(return_value, result, fetchtype TSRMLS_CC);
1283 if (into_object && Z_TYPE_P(return_value) == IS_ARRAY) {
1288 ZVAL_COPY_VALUE(&dataset, return_value);
[all...]
/PHP_TRUNK/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);
630 add_assoc_string(return_value, "nodename", u.nodename);
631 add_assoc_string(return_value, "release", u.release);
632 add_assoc_string(return_value, "version", u.version);
633 add_assoc_string(return_value, "machine", u.machine);
636 add_assoc_string(return_value, "domainname", u.domainname);
659 array_init(return_value);
1090 php_posix_passwd_to_array(struct passwd *pw, zval *return_value) argument
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c1048 int php_wddx_deserialize_ex(char *value, int vallen, zval *return_value) argument
1068 ZVAL_COPY(return_value, &ent->data);
1184 ZEND_REGISTER_RESOURCE(return_value, packet, le_wddx);
1278 php_wddx_deserialize_ex(payload->val, payload->len, return_value);
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c65 static void php_converter_default_callback(zval *return_value, zval *zobj, zend_long reason, zval *error TSRMLS_DC) { argument
128 php_converter_default_callback(return_value, getThis(), reason, error TSRMLS_CC);
150 php_converter_default_callback(return_value, getThis(), reason, error TSRMLS_CC);
915 array_init(return_value);
918 add_next_index_string(return_value, name);
946 array_init(return_value);
954 zval_dtor(return_value);
957 add_next_index_string(return_value, alias);
975 array_init(return_value);
982 zval_dtor(return_value);
[all...]

Completed in 37 milliseconds

12