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

123

/PHP_TRUNK/Zend/
H A Dzend_dtrace.c89 ZEND_API void dtrace_execute_internal(zend_execute_data *execute_data, zval *return_value) argument
102 execute_internal(execute_data, return_value);
H A Dzend_generators.c220 ZEND_API void zend_generator_create_zval(zend_execute_data *call, zend_op_array *op_array, zval *return_value) /* {{{ */ argument
255 execute_data = zend_create_generator_execute_data(call, op_array, return_value);
258 object_init_ex(return_value, zend_ce_generator);
265 generator = (zend_generator *) Z_OBJ_P(return_value);
274 /* EX(return_value) keeps pointer to zend_object (not a real zval) */
275 execute_data->return_value = (zval*)generator;
/PHP_TRUNK/ext/curl/
H A Dmulti.c67 ZEND_REGISTER_RESOURCE(return_value, mh, le_curl_multi_handle);
279 array_init(return_value);
280 add_assoc_long(return_value, "msg", tmp_msg->msg);
281 add_assoc_long(return_value, "result", tmp_msg->data.result);
308 add_assoc_zval(return_value, "handle", pz_ch);
380 static int _php_curl_multi_setopt(php_curlm *mh, zend_long option, zval *zvalue, zval *return_value) /* {{{ */ argument
423 if (!_php_curl_multi_setopt(mh, options, zvalue, return_value)) {
H A Dshare.c49 ZEND_REGISTER_RESOURCE(return_value, sh, le_curl_share_handle);
69 static int _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_value) /* {{{ */ argument
108 if (!_php_curl_share_setopt(sh, options, zvalue, return_value)) {
/PHP_TRUNK/ext/interbase/
H A Dibase_blobs.c96 int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, unsigned long max_len) /* {{{ */ 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)) != 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_events.c212 zval return_value, args[2]; local
235 &event->callback, &return_value, 2, args)) {
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 Dphp_ibase_udf.c186 zval callback, args[4], return_value; local
289 &callback, &return_value, argc, args)) {
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);
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_format.c35 static void internal_format(IntlDateFormatter_object *dfo, UDate timestamp, zval *return_value) argument
186 internal_format( dfo, timestamp, return_value);
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) argument
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) 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) argument
105 array_init( return_value );
107 add_to_localtime_arr( dfo, return_value, parsed_calenda
[all...]
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_format.c35 static void msgfmt_do_format(MessageFormatter_object *mfo, zval *args, zval *return_value) argument
89 msgfmt_do_format(mfo, args, return_value);
154 msgfmt_do_format(mfo, args, return_value);
H A Dmsgformat_parse.c31 static void msgfmt_do_parse(MessageFormatter_object *mfo, char *source, size_t src_len, zval *return_value) argument
48 array_init(return_value);
50 add_next_index_zval(return_value, &fargs[i]);
81 msgfmt_do_parse(mfo, source, source_len, return_value);
147 msgfmt_do_parse(mfo, source, src_len, return_value);
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle.c27 void resourcebundle_extract_value( zval *return_value, ResourceBundle_object *source ) 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) argument
[all...]
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_methods.cpp70 timezone_object_construct(tz, return_value, 1);
101 timezone_object_construct(tz, return_value, 1);
115 timezone_object_construct(tz, return_value, 1);
128 timezone_object_construct(TimeZone::getGMT(), return_value, 0); local
142 timezone_object_construct(&TimeZone::getUnknown(), return_value, 0); local
201 IntlIterator_from_StringEnumeration(se, return_value);
287 IntlIterator_from_StringEnumeration(se, return_value);
/PHP_TRUNK/ext/json/
H A Djson.c673 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth) /* {{{ */ argument
697 if (!parse_JSON_ex(jp, return_value, utf16, utf16_len, options)) {
704 zval_dtor(return_value);
764 if (Z_TYPE_P(return_value) != IS_NULL) {
795 ZVAL_FALSE(return_value);
798 ZVAL_NEW_STR(return_value, buf.s);
830 php_json_decode_ex(return_value, str, str_len, options, depth);
H A Dphp_json.h56 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth);
80 static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, zend_long depth) argument
82 php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth);
/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);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_module.c462 static int accelerator_get_scripts(zval *return_value) argument
475 array_init(return_value);
502 zend_hash_str_update(Z_ARRVAL_P(return_value), cache_entry->key, cache_entry->key_length, &persistent_script_report);
530 array_init(return_value);
533 add_assoc_bool(return_value, "opcache_enabled", ZCG(enabled) && (ZCG(counted) || ZCSG(accelerator_enabled)));
534 add_assoc_bool(return_value, "cache_full", ZSMMG(memory_exhausted));
535 add_assoc_bool(return_value, "restart_pending", ZCSG(restart_pending));
536 add_assoc_bool(return_value, "restart_in_progress", ZCSG(restart_in_progress));
544 add_assoc_zval(return_value, "memory_usage", &memory_usage);
554 add_assoc_zval(return_value, "interned_strings_usag
583 add_blacklist_path(zend_blacklist_entry *p, zval *return_value) argument
[all...]
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_driver.c288 static int dblib_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) argument
H A Ddblib_stmt.c283 static int pdo_dblib_stmt_get_column_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) argument
293 array_init(return_value);
299 add_assoc_long(return_value, "max_length", dbcollen(H->link, colno+1) );
300 add_assoc_long(return_value, "precision", (int) dbtypeinfo->precision );
301 add_assoc_long(return_value, "scale", (int) dbtypeinfo->scale );
302 add_assoc_string(return_value, "column_source", dbcolsource(H->link, colno+1));
303 add_assoc_string(return_value, "native_type", pdo_dblib_get_field_name(dbcoltype(H->link, colno+1)));
304 add_assoc_long(return_value, "native_type_id", dbcoltype(H->link, colno+1));
305 add_assoc_long(return_value, "native_usertype_id", dbcolutype(H->link, colno+1));
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_statement.c291 static int pdo_sqlite_stmt_col_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) argument
306 array_init(return_value);
311 add_assoc_string(return_value, "native_type", "null");
315 add_assoc_string(return_value, "native_type", "double");
321 add_assoc_string(return_value, "native_type", "string");
325 add_assoc_string(return_value, "native_type", "integer");
331 add_assoc_string(return_value, "sqlite:decl_type", (char *)str);
337 add_assoc_string(return_value, "table", (char *)str);
341 add_assoc_zval(return_value, "flags", &flags);
/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) 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/standard/
H A Ddl.c85 php_dl(filename, MODULE_TEMPORARY, return_value, 0);
86 if (Z_LVAL_P(return_value) == 1) {
265 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now) argument
283 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now) argument
H A Dexec.c60 PHPAPI int php_exec(int type, char *cmd, zval *array, zval *return_value) argument
194 ret = php_exec(mode, cmd, NULL, return_value);
200 ret = php_exec(2, cmd, ret_array, return_value);
209 /* {{{ proto string exec(string command [, array &output [, int &return_value]])
217 /* {{{ proto int system(string command [, int &return_value])
225 /* {{{ proto void passthru(string command [, int &return_value])
/PHP_TRUNK/ext/tokenizer/
H A Dtokenizer.c104 static void tokenize(zval *return_value) argument
113 array_init(return_value);
143 add_next_index_zval(return_value, &keyword);
145 add_next_index_stringl(return_value, (char *)zendtext, zendleng);
164 add_next_index_zval(return_value, &keyword);
198 tokenize(return_value);

Completed in 63 milliseconds

123