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

123

/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, size_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, size_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/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.c87 zval *object = return_value;
148 return_value = getThis();
163 object_init_ex( return_value, ResourceBundle_ce_ptr );
165 zval_ptr_dtor(return_value);
172 static void resourcebundle_array_fetch(zval *object, zval *offset, zval *return_value, int fallback) argument
221 resourcebundle_extract_value( return_value, rb );
260 resourcebundle_array_fetch(object, offset, return_value, fallback);
347 array_init( return_value );
349 add_next_index_stringl( return_value, (char *) entry, entry_len);
/PHP_TRUNK/ext/interbase/
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);
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) {
360 Z_TRY_ADDREF_P(return_value);
/PHP_TRUNK/ext/standard/
H A Dscanf.c121 static inline void scan_set_error_return(int numVars, zval *return_value);
575 * return_value set with the results of the scan
580 int varStart, zval *return_value)
615 scan_set_error_return( numVars, return_value );
628 scan_set_error_return(numVars, return_value);
642 array_init(return_value);
646 if (add_next_index_zval(return_value, &tmp) == FAILURE) {
647 scan_set_error_return(0, return_value);
748 add_index_long(return_value, objIndex++, string - baseString);
867 add_index_stringl(return_value, objInde
578 php_sscanf_internal( char *string, char *format, int argCount, zval *args, int varStart, zval *return_value) argument
1202 scan_set_error_return(int numVars, zval *return_value) argument
[all...]
H A Ddl.c73 php_dl(filename, MODULE_TEMPORARY, return_value, 0);
74 if (Z_LVAL_P(return_value) == 1) {
219 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now) argument
237 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
198 ret = php_exec(mode, cmd, NULL, return_value);
204 ret = php_exec(2, cmd, ret_array, return_value);
213 /* {{{ proto string exec(string command [, array &output [, int &return_value]])
221 /* {{{ proto int system(string command [, int &return_value])
229 /* {{{ proto void passthru(string command [, int &return_value])
/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.c284 static int pdo_dblib_stmt_get_column_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) argument
294 array_init(return_value);
300 add_assoc_long(return_value, "max_length", dbcollen(H->link, colno+1) );
301 add_assoc_long(return_value, "precision", (int) dbtypeinfo->precision );
302 add_assoc_long(return_value, "scale", (int) dbtypeinfo->scale );
303 add_assoc_string(return_value, "column_source", dbcolsource(H->link, colno+1));
304 add_assoc_string(return_value, "native_type", pdo_dblib_get_field_name(dbcoltype(H->link, colno+1)));
305 add_assoc_long(return_value, "native_type_id", dbcoltype(H->link, colno+1));
306 add_assoc_long(return_value, "native_usertype_id", dbcolutype(H->link, colno+1));
/PHP_TRUNK/ext/json/
H A Dphp_json_parser.h27 zval *return_value; member in struct:_php_json_parser
32 void php_json_parser_init(php_json_parser *parser, zval *return_value, char *str, size_t str_len, int options, int max_depth);
H A Djson.c192 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth) /* {{{ */ argument
196 php_json_parser_init(&parser, return_value, str, str_len, (int)options, (int)depth);
226 ZVAL_FALSE(return_value);
229 ZVAL_NEW_STR(return_value, buf.s);
262 php_json_decode_ex(return_value, str, str_len, options, depth);
/PHP_TRUNK/ext/curl/
H A Dshare.c72 static int _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_value) /* {{{ */ argument
112 if (!_php_curl_share_setopt(sh, options, zvalue, return_value)) {
H A Dmulti.c301 array_init(return_value);
302 add_assoc_long(return_value, "msg", tmp_msg->msg);
303 add_assoc_long(return_value, "result", tmp_msg->data.result);
332 add_assoc_zval(return_value, "handle", pz_ch);
409 static int _php_curl_multi_setopt(php_curlm *mh, zend_long option, zval *zvalue, zval *return_value) /* {{{ */ argument
453 if (!_php_curl_multi_setopt(mh, options, zvalue, return_value)) {
/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.c518 static int accelerator_get_scripts(zval *return_value) argument
531 array_init(return_value);
558 zend_hash_str_update(Z_ARRVAL_P(return_value), cache_entry->key, cache_entry->key_length, &persistent_script_report);
586 array_init(return_value);
589 add_assoc_bool(return_value, "opcache_enabled", ZCG(enabled) && (ZCG(counted) || ZCSG(accelerator_enabled)));
593 add_assoc_string(return_value, "file_cache", ZCG(accel_directives).file_cache);
596 add_assoc_bool(return_value, "file_cache_only", 1);
601 add_assoc_bool(return_value, "cache_full", ZSMMG(memory_exhausted));
602 add_assoc_bool(return_value, "restart_pending", ZCSG(restart_pending));
603 add_assoc_bool(return_value, "restart_in_progres
650 add_blacklist_path(zend_blacklist_entry *p, zval *return_value) argument
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_statement.c576 static int pgsql_stmt_get_column_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) argument
591 array_init(return_value);
592 add_assoc_long(return_value, "pgsql:oid", S->cols[colno].pgsql_type);
613 add_assoc_string(return_value, "native_type", PQgetvalue(res, 0, 0));
/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/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);
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_methods.cpp69 timezone_object_construct(tz, return_value, 1);
100 timezone_object_construct(tz, return_value, 1);
114 timezone_object_construct(tz, return_value, 1);
127 timezone_object_construct(TimeZone::getGMT(), return_value, 0); local
141 timezone_object_construct(&TimeZone::getUnknown(), return_value, 0); local
200 IntlIterator_from_StringEnumeration(se, return_value);
277 IntlIterator_from_StringEnumeration(se, return_value);
603 ZVAL_COPY_VALUE(return_value, ret);
/PHP_TRUNK/ext/tokenizer/
H A Dtokenizer.c109 static zend_bool tokenize(zval *return_value, zend_string *source) argument
128 array_init(return_value);
147 add_next_index_zval(return_value, &keyword);
149 add_next_index_stringl(return_value, (char *)zendtext, zendleng);
169 add_next_index_zval(return_value, &keyword);
227 static zend_bool tokenize_parse(zval *return_value, zend_string *source) argument
248 ZVAL_COPY_VALUE(return_value, &token_stream);
281 success = tokenize_parse(return_value, source);
283 success = tokenize(return_value, source);
/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);
155 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);
148 msgfmt_do_parse(mfo, source, src_len, return_value);
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_statement.c292 static int pdo_sqlite_stmt_col_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) argument
307 array_init(return_value);
312 add_assoc_string(return_value, "native_type", "null");
316 add_assoc_string(return_value, "native_type", "double");
322 add_assoc_string(return_value, "native_type", "string");
326 add_assoc_string(return_value, "native_type", "integer");
332 add_assoc_string(return_value, "sqlite:decl_type", (char *)str);
338 add_assoc_string(return_value, "table", (char *)str);
342 add_assoc_zval(return_value, "flags", &flags);

Completed in 29 milliseconds

123