Home
last modified time | relevance | path

Searched refs:ret (Results 126 – 150 of 442) sorted by relevance

12345678910>>...18

/php-src/ext/zlib/tests/
H A Dbug75273.phpt8 $ret = '';
19 $ret .= chr($j);
23 return substr($ret, 0, $len);
/php-src/ext/dba/
H A Ddba_lmdb.c135 zend_string *ret = NULL; in DBA_FETCH_FUNC() local
160 ret = zend_string_init(v.mv_data, v.mv_size, /* persistent */ false); in DBA_FETCH_FUNC()
169 return ret; in DBA_FETCH_FUNC()
278 zend_string *ret = NULL; in DBA_FIRSTKEY_FUNC() local
305 ret = zend_string_init(k.mv_data, k.mv_size, /* persistent */ false); in DBA_FIRSTKEY_FUNC()
310 return ret; in DBA_FIRSTKEY_FUNC()
317 zend_string *ret = NULL; in DBA_NEXTKEY_FUNC() local
337 ret = zend_string_init(k.mv_data, k.mv_size, /* persistent */ false); in DBA_NEXTKEY_FUNC()
342 return ret; in DBA_NEXTKEY_FUNC()
/php-src/ext/intl/converter/
H A Dconverter.c336 bool ret = 1; in php_converter_set_callbacks() local
350 ret = 0; in php_converter_set_callbacks()
358 ret = 0; in php_converter_set_callbacks()
360 return ret; in php_converter_set_callbacks()
554 int ret = 1; in PHP_METHOD() local
566 ret = 0; in PHP_METHOD()
570 ret = 0; in PHP_METHOD()
578 ret = 0; in PHP_METHOD()
582 ret = 0; in PHP_METHOD()
672 return ret; in php_converter_do_convert()
[all …]
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec_ddl.phpt15 $ret = @$db->exec($sql);
17 $ret = $db->exec($sql);
19 if ($ret !== $exp) {
21 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
/php-src/ext/pdo_pgsql/
H A Dpgsql_driver.c251 int ret; in pgsql_handle_preparer() local
341 return ret; in pgsql_handle_doer()
557 return ret; in pdo_pgsql_transaction_cmd()
571 if (ret) { in pgsql_handle_commit()
577 return ret; in pgsql_handle_commit()
584 if (ret) { in pgsql_handle_rollback()
588 return ret; in pgsql_handle_rollback()
1282 int ret = 0; in pdo_pgsql_handle_factory() local
1353 ret = 1; in pdo_pgsql_handle_factory()
1357 if (!ret) { in pdo_pgsql_handle_factory()
[all …]
/php-src/ext/dom/tests/delayed_freeing/
H A Delement_uaf_crash.phpt10 $ret = $d->appendChild($xml->createElement("xxx"));
14 echo $ret->textContent, "Done\n";
/php-src/ext/soap/tests/interop/Round4/GroupI/
H A Dround4_groupI_xsd.inc108 $ret = array("outputInteger" => $input->inputComplexType->varInt,
111 $ret["outputString"] = $input->inputComplexType->varString;
113 return $ret;
121 $ret = array("varInt" => $input->inputInteger,
124 $ret["varString"] = $input->inputString;
126 return array("return"=>$ret);
/php-src/ext/ftp/
H A Dphp_ftp.c435 zend_long size, ret; in PHP_FUNCTION() local
449 if (!ret) { in PHP_FUNCTION()
651 RETURN_LONG(ret); in PHP_FUNCTION()
654 RETURN_LONG(ret); in PHP_FUNCTION()
750 int ret; in PHP_FUNCTION() local
808 RETURN_LONG(ret); in PHP_FUNCTION()
817 zend_long ret; in PHP_FUNCTION() local
844 RETURN_LONG(ret); in PHP_FUNCTION()
940 RETURN_LONG(ret); in PHP_FUNCTION()
943 RETURN_LONG(ret); in PHP_FUNCTION()
[all …]
/php-src/ext/standard/tests/general_functions/
H A Dbug52138.phpt11 $ret = parse_ini_file($ini_file, true);
12 var_dump($ret);
/php-src/Zend/tests/
H A Dbug38779_1.phpt16 $ret = substr($this->data, $this->position, $count);
17 $this->position += strlen($ret);
18 return $ret;
H A Dcall_to_abstract_method_args.phpt16 $ret = new stdClass;
18 $ret = Test::method(new stdClass);
/php-src/ext/calendar/
H A Dcalendar.c125 static void _php_cal_info(int cal, zval *ret) in _php_cal_info() argument
132 array_init(ret); in _php_cal_info()
142 add_assoc_zval(ret, "months", &months); in _php_cal_info()
143 add_assoc_zval(ret, "abbrevmonths", &smonths); in _php_cal_info()
144 add_assoc_long(ret, "maxdaysinmonth", calendar->max_days_in_month); in _php_cal_info()
145 add_assoc_string(ret, "calname", calendar->name); in _php_cal_info()
146 add_assoc_string(ret, "calsymbol", calendar->symbol); in _php_cal_info()
361 static char *heb_number_to_chars(int n, int fl, char **ret) in heb_number_to_chars() argument
371 *ret = NULL; in heb_number_to_chars()
445 *ret = estrndup(old, (p - old) + 1); in heb_number_to_chars()
[all …]
/php-src/win32/
H A Dregistry.c51 LONG ret; in OpenPhpRegistryKey() local
57 ret = RegOpenKeyEx(HKEY_LOCAL_MACHINE, reg_key, 0, KEY_READ, hKey); in OpenPhpRegistryKey()
60 if (ret == ERROR_SUCCESS) { in OpenPhpRegistryKey()
79 int ret = 0; in LoadDirectory() local
104 return ret; in LoadDirectory()
124 ret = 1; in LoadDirectory()
158 ret = 1; in LoadDirectory()
168 return ret; in LoadDirectory()
/php-src/ext/opcache/tests/jit/
H A Dassign_055.phpt13 $ret = new stdClass;
15 $ret = $y;
H A Djmpz_001.phpt17 $ret = false ||
19 return $ret;
/php-src/ext/standard/
H A Dstreamsfuncs.c500 int ret; in PHP_FUNCTION() local
667 int ret = 0; in stream_array_from_fd_set() local
698 ret++; in stream_array_from_fd_set()
708 return ret; in stream_array_from_fd_set()
744 ret++; in stream_array_emulate_read_fd_set()
757 return ret; in stream_array_emulate_read_fd_set()
1244 int ret; in apply_filter_to_stream() local
1465 int ret; in PHP_FUNCTION() local
1493 int ret; in PHP_FUNCTION() local
1528 int ret; in PHP_FUNCTION() local
[all …]
H A Dexec.c211 int ret; in php_exec_ex() local
232 ret = php_exec(mode, cmd, NULL, return_value); in php_exec_ex()
244 ret = php_exec(2, cmd, ret_array, return_value); in php_exec_ex()
247 ZEND_TRY_ASSIGN_REF_LONG(ret_code, ret); in php_exec_ex()
518 zend_string *ret; local
544 ret = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0);
547 if (ret && ZSTR_LEN(ret) > 0) {
548 RETVAL_STR(ret);
H A Dcrc32.c35 unsigned long ret = 0; in getauxval() local
36 if (elf_aux_info(key, &ret, sizeof(ret)) != 0) in getauxval()
38 return ret; in getauxval()
/php-src/ext/mysqlnd/
H A Dmysqlnd_result_meta.c287 MYSQLND_RES_METADATA *ret; in mysqlnd_result_meta_init() local
290 ret = result->memory_pool->get_chunk(result->memory_pool, alloc_size); in mysqlnd_result_meta_init()
291 memset(ret, 0, alloc_size); in mysqlnd_result_meta_init()
292 ret->m = & mysqlnd_mysqlnd_res_meta_methods; in mysqlnd_result_meta_init()
294 ret->field_count = field_count; in mysqlnd_result_meta_init()
297 ret->fields = result->memory_pool->get_chunk(result->memory_pool, alloc_size); in mysqlnd_result_meta_init()
298 memset(ret->fields, 0, alloc_size); in mysqlnd_result_meta_init()
299 DBG_INF_FMT("meta=%p", ret); in mysqlnd_result_meta_init()
300 DBG_RETURN(ret); in mysqlnd_result_meta_init()
H A Dmysqlnd_debug.c50 enum_func_status ret; in MYSQLND_METHOD() local
133 return ret; in MYSQLND_METHOD()
147 enum_func_status ret; in MYSQLND_METHOD() local
235 return ret; in MYSQLND_METHOD()
711 MYSQLND_DEBUG *ret = calloc(1, sizeof(MYSQLND_DEBUG)); in mysqlnd_debug_init() local
713 ret->nest_level_limit = 0; in mysqlnd_debug_init()
714 ret->pid = getpid(); in mysqlnd_debug_init()
715 zend_stack_init(&ret->call_stack, sizeof(char *)); in mysqlnd_debug_init()
720 ret->m = & mysqlnd_mysqlnd_debug_methods; in mysqlnd_debug_init()
721 ret->skip_functions = skip_functions; in mysqlnd_debug_init()
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_events.c65 int res, ret; in fpm_got_signal() local
118 ret = fpm_log_open(1); in fpm_got_signal()
119 if (ret == 0) { in fpm_got_signal()
121 } else if (ret == -1) { in fpm_got_signal()
396 int ret; in fpm_event_loop() local
427 ret = module->wait(fpm_event_queue_fd, timeout); in fpm_event_loop()
430 if (ret == -2) { in fpm_event_loop()
434 if (ret > 0) { in fpm_event_loop()
435 zlog(ZLOG_DEBUG, "event module triggered %d events", ret); in fpm_event_loop()
/php-src/ext/opcache/jit/ir/
H A Dir_perf.c104 int fd, ret; in ir_perf_jitdump_open() local
142 ret = read(fd, &elf_hdr, sizeof(elf_hdr)); in ir_perf_jitdump_open()
145 if (ret != sizeof(elf_hdr) || in ir_perf_jitdump_open()
185 int ret = 1; in ir_perf_jitdump_close() local
194 ret = 0; in ir_perf_jitdump_close()
202 return ret; in ir_perf_jitdump_close()
/php-src/ext/date/tests/
H A Dmktime-3.phpt17 $ret = @mktime(1, 1, 1, 1, 1, $year);
18 if ($ret == FALSE) {
21 echo date("F ".DATE_ISO8601, $ret), "\n";
/php-src/ext/exif/tests/
H A Dgh10834.phpt58 $ret = substr($this->data, $this->position, $count);
59 $this->position += strlen($ret);
60 return $ret;
/php-src/sapi/fpm/fpm/events/
H A Dport.c114 int ret; in fpm_event_port_wait() local
126 ret = port_getn(pfd, events, nevents, &nget, &t); in fpm_event_port_wait()
127 if (ret < 0) { in fpm_event_port_wait()

Completed in 68 milliseconds

12345678910>>...18