Searched defs:retval (Results 1 - 25 of 135) sorted by relevance

123456

/PHP_TRUNK/sapi/milter/
H A Dphp_milter.h26 sfsistat retval; member in struct:__anon559
/PHP_TRUNK/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dgen_exp.c117 int retval = 0; local
121 retval = 1;
125 retval = 2;
130 retval = 3;
136 retval = 4;
143 retval = 5;
151 retval = 6;
153 buf[retval] = '\0';
155 return retval;
380 int retval local
[all...]
/PHP_TRUNK/sapi/apache/
H A Dsapi_apache.c30 int retval = OK; local
44 retval = NOT_FOUND;
62 return retval;
/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php565 $retval = 0; variable
586 $retval |= !$tests->logTest($path, $test);
595 die($retval);
/PHP_TRUNK/ext/filter/
H A Dcallback_filter.c25 zval retval; local
38 status = call_user_function_ex(EG(function_table), NULL, option_array, &retval, 1, args, 0, NULL TSRMLS_CC);
40 if (status == SUCCESS && !Z_ISUNDEF(retval)) {
42 ZVAL_COPY_VALUE(value, &retval);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_reverse_api.c72 MYSQLND * retval; local
77 retval = elem->conversion_cb(zv TSRMLS_CC);
78 if (retval) {
79 if (retval->data) {
80 *save_client_api_capabilities = retval->data->m->negotiate_client_api_capabilities(retval->data, client_api_capabilities TSRMLS_CC);
82 return retval;
90 retval = api->conversion_cb(zv TSRMLS_CC);
91 if (retval) {
92 if (retval
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitExecAllocator.c99 void* retval; local
102 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANON, -1, 0);
108 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, dev_zero, 0);
111 return (retval != MAP_FAILED) ? retval : NULL;
/PHP_TRUNK/main/streams/
H A Dfilter.c117 php_stream_bucket *retval; local
125 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent);
126 memcpy(retval, bucket, sizeof(*retval));
128 retval->buf = pemalloc(retval->buflen, retval->is_persistent);
129 memcpy(retval->buf, bucket->buf, retval->buflen);
131 retval
[all...]
/PHP_TRUNK/Zend/
H A Dzend_interfaces.c38 zval retval; local
54 fci.retval = retval_ptr ? retval_ptr : &retval;
121 zval_ptr_dtor(&retval);
131 ZEND_API void zend_user_it_new_iterator(zend_class_entry *ce, zval *object, zval *retval TSRMLS_DC)
133 zend_call_method_with_0_params(object, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", retval);
208 zval retval; local
210 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval);
212 if (Z_TYPE(retval) != IS_UNDEF) {
213 ZVAL_ZVAL(key, &retval,
412 zval retval; local
[all...]
H A Dzend_static_allocator.c33 char *retval = block->pos; local
37 return retval;
55 char *retval; local
57 retval = block_allocate(&sa->Blocks[sa->current_block], size);
58 if (retval) {
59 return retval;
64 retval = block_allocate(&sa->Blocks[sa->current_block], size);
65 return retval;
H A Dzend_ts_hash.c104 zval *retval; local
107 retval = _zend_hash_add_or_update(TS_HASH(ht), key, pData, flag ZEND_FILE_LINE_RELAY_CC);
110 return retval;
115 zval *retval; local
118 retval = _zend_hash_index_update_or_next_insert(TS_HASH(ht), h, pData, flag ZEND_FILE_LINE_RELAY_CC);
121 return retval;
126 zval *retval; local
129 retval = zend_hash_add_empty_element(TS_HASH(ht), key);
132 return retval;
181 int retval; local
192 int retval; local
203 zval *retval; local
214 zval *retval; local
225 int retval; local
236 int retval; local
281 int retval; local
292 int retval; local
305 zval *retval; local
316 int retval; local
327 int retval; local
338 zval *retval; local
349 zval *retval; local
360 zval *retval; local
[all...]
/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp239 zend_object *retval = IntlIterator_ce_ptr->create_object(ce TSRMLS_CC); local
240 retval->handlers = &IntlPartsIterator_handlers;
242 return retval;
/PHP_TRUNK/ext/intl/common/
H A Dcommon_date.cpp112 zval retval; local
129 if (call_user_function(NULL, z, &zfuncname, &retval, 0, NULL TSRMLS_CC)
130 != SUCCESS || Z_TYPE(retval) != IS_LONG) {
140 *millis = U_MILLIS_PER_SECOND * (double)Z_LVAL(retval);
/PHP_TRUNK/ext/intl/transliterator/
H A Dtransliterator_class.c221 zval *retval; local
228 retval = NULL; /* fallback to read_property */
232 retval = std_object_handlers.get_property_ptr_ptr( object, member, type, cache_slot TSRMLS_CC );
237 return retval;
244 zval *retval; local
253 retval = &EG( uninitialized_zval );
257 retval = std_object_handlers.read_property( object, member, type, cache_slot, rv TSRMLS_CC );
262 return retval;
/PHP_TRUNK/ext/opcache/
H A Dzend_shared_alloc.c314 void *retval = (void *) (((char *) ZSMMG(shared_segments)[i]->p) + ZSMMG(shared_segments)[i]->pos); local
318 memset(retval, 0, block_size);
319 return retval;
340 void *old_p, *retval; local
346 retval = ZCG(mem);;
348 memcpy(retval, source, size);
352 zend_shared_alloc_register_xlat_entry(source, retval);
353 return retval;
439 void *retval; local
441 if ((retval
[all...]
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_statement.c907 int retval; local
908 retval = mysql_stmt_free_result(S->stmt);
909 PDO_DBG_RETURN(retval ? 0 : 1);
/PHP_TRUNK/ext/session/
H A Dmod_user.c50 static void ps_call_handler(zval *func, int argc, zval *argv, zval *retval TSRMLS_DC)
53 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv TSRMLS_CC) == FAILURE) {
54 zval_ptr_dtor(retval);
55 ZVAL_UNDEF(retval);
56 } else if (Z_ISUNDEF_P(retval)) {
57 ZVAL_NULL(retval);
65 zval retval; \
71 if (Z_TYPE(retval) != IS_UNDEF) { \
72 if (Z_TYPE(retval) == IS_TRUE) { \
74 } else if (Z_TYPE(retval)
204 zval retval; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dquot_print.c62 zend_string *retval; local
99 retval = zend_string_alloc(buf_size, 0);
100 i = length; p1 = str; p2 = (unsigned char*)retval->val;
113 efree(retval);
122 efree(retval);
131 efree(retval);
141 retval->len = decoded_len;
142 return retval;
H A Dassert.c157 zval retval; local
168 if (zend_eval_stringl(myeval, Z_STRLEN_P(assertion), &retval, compiled_string_description TSRMLS_CC) == FAILURE) {
186 convert_to_boolean(&retval);
187 val = Z_TYPE(retval) == IS_TRUE;
203 zval retval; local
212 ZVAL_FALSE(&retval);
216 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 3, args TSRMLS_CC); local
223 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 4, args TSRMLS_CC); local
230 zval_ptr_dtor(&retval);
H A Ddns_win32.c467 zval retval; local
470 php_parserr(pRec, type_to_fetch, store_results, raw, &retval);
471 if (!Z_ISUNDEF(retval) && store_results) {
472 add_next_index_zval(return_value, &retval);
478 php_parserr(pRec, type_to_fetch, 1, raw, &retval);
479 if (!Z_ISUNDEF(retval)) {
480 add_next_index_zval(authns, &retval);
493 php_parserr(pRec, type_to_fetch, 1, raw, &retval);
494 if (!Z_ISUNDEF(retval)) {
495 add_next_index_zval(addtl, &retval);
[all...]
H A Dtype.c386 zend_bool retval; local
399 retval = zend_is_callable_ex(var, NULL, check_flags, &name, NULL, &error TSRMLS_CC);
409 retval = zend_is_callable_ex(var, NULL, check_flags, NULL, NULL, &error TSRMLS_CC);
416 RETURN_BOOL(retval);
/PHP_TRUNK/ext/spl/
H A Dspl_engine.h33 static inline int spl_instantiate_arg_ex1(zend_class_entry *pce, zval *retval, zval *arg1 TSRMLS_DC) argument
36 spl_instantiate(pce, retval TSRMLS_CC);
38 zend_call_method(retval, pce, &func, func->common.function_name->val, func->common.function_name->len, NULL, 1, arg1, NULL TSRMLS_CC);
44 static inline int spl_instantiate_arg_ex2(zend_class_entry *pce, zval *retval, zval *arg1, zval *arg2 TSRMLS_DC) argument
47 spl_instantiate(pce, retval TSRMLS_CC);
49 zend_call_method(retval, pce, &func, func->common.function_name->val, func->common.function_name->len, NULL, 2, arg1, arg2 TSRMLS_CC);
/PHP_TRUNK/ext/date/lib/
H A Dparse_tz.c441 timelib_sll retval; local
450 retval = gmt_offset->offset;
452 return retval;
/PHP_TRUNK/ext/dom/
H A Dxpath.c77 zval retval; local
194 fci.retval = &retval;
205 if (result == SUCCESS && Z_TYPE(retval) != IS_UNDEF) {
206 if (Z_TYPE(retval) == IS_OBJECT && instanceof_function(Z_OBJCE(retval), dom_node_class_entry TSRMLS_CC)) {
213 GC_REFCOUNT(&retval)++;
214 zend_hash_next_index_insert(intern->node_list, &retval);
215 obj = Z_DOMOBJ_P(&retval);
218 } else if (Z_TYPE(retval)
356 zval *id, retval, *context = NULL; local
[all...]
/PHP_TRUNK/ext/gettext/
H A Dgettext.c164 char *domain, *domain_name, *retval; local
179 retval = textdomain(domain_name);
181 RETURN_STRING(retval);
250 char *retval, dir_name[MAXPATHLEN]; local
271 retval = bindtextdomain(domain, dir_name);
273 RETURN_STRING(retval);
362 char *domain, *codeset, *retval = NULL; local
371 retval = bind_textdomain_codeset(domain, codeset); local
373 if (!retval) {
376 RETURN_STRING(retval);
[all...]

Completed in 19 milliseconds

123456