/php-src/sapi/fuzzer/ |
H A D | fuzzer-execute-common.h | 55 int ret; in fuzzer_execute_ex() local 57 if ((ret = ((opcode_handler_t) EX(opline)->handler)(execute_data)) != 0) { in fuzzer_execute_ex() 58 if (ret > 0) { in fuzzer_execute_ex()
|
/php-src/ext/soap/tests/ |
H A D | typemap011.phpt | 42 $ret = $client->dotest2("???"); 44 $ret = "SoapFault = " . $e->faultcode . " - " . $e->faultstring; 46 var_dump($ret);
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_exec_select.phpt | 14 $ret = $db->exec($sql); 15 if ($ret !== $exp) { 17 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
|
/php-src/ext/soap/ |
H A D | php_encoding.h | 191 zval *(*to_zval)(zval *ret, encodeTypePtr type, xmlNodePtr data); 197 zval *master_to_zval(zval *ret, encodePtr encode, xmlNodePtr data); 201 zval *to_zval_user(zval *ret, encodeTypePtr type, xmlNodePtr node); 207 zval *sdl_guess_convert_zval(zval *ret, encodeTypePtr enc, xmlNodePtr data);
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_loaddata.c | 148 size_t ret; in mysqlnd_handle_local_infile() local 198 ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info); in mysqlnd_handle_local_infile() 218 ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info); in mysqlnd_handle_local_infile() 224 if ((ret = net->data->m.send(net, vio, buf, bufsize, conn->stats, conn->error_info)) == 0) { in mysqlnd_handle_local_infile() 232 if ((ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info)) == 0) { in mysqlnd_handle_local_infile()
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_set_charset.phpt | 41 if (false !== ($ret = mysqli_set_charset($link, "this is not a valid character set"))) 42 …[011] Expecting boolean/false because of invalid character set, got %s/%s\n", gettype($ret), $ret); 49 if (true !== ($ret = mysqli_set_charset($link, $new_charset))) 50 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($ret), $ret);
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_list.c | 231 zend_op_array *ret; in phpdbg_compile_file() local 250 ret = PHPDBG_G(compile_file)(file, type); in phpdbg_compile_file() 251 if (ret == NULL) { in phpdbg_compile_file() 253 return ret; in phpdbg_compile_file() 270 zend_hash_del(&PHPDBG_G(file_sources), ret->filename); in phpdbg_compile_file() 271 zend_hash_add_ptr(&PHPDBG_G(file_sources), ret->filename, dataptr); in phpdbg_compile_file() 272 phpdbg_resolve_pending_file_break(ZSTR_VAL(ret->filename)); in phpdbg_compile_file() 274 return ret; in phpdbg_compile_file()
|
/php-src/Zend/ |
H A D | zend_constants.c | 368 zend_result ret; in zend_get_class_constant_ex() local 377 ret = zend_update_class_constant(c, constant_name, c->ce); in zend_get_class_constant_ex() 380 if (UNEXPECTED(ret != SUCCESS)) { in zend_get_class_constant_ex() 538 void *ret; in zend_hash_add_constant() local 542 ret = zend_hash_add_ptr(ht, key, copy); in zend_hash_add_constant() 543 if (!ret) { in zend_hash_add_constant() 546 return ret; in zend_hash_add_constant() 553 zend_result ret = SUCCESS; in zend_register_constant() local 580 ret = FAILURE; in zend_register_constant() 585 return ret; in zend_register_constant()
|
/php-src/TSRM/ |
H A D | TSRM.c | 782 size_t ret; in tsrm_get_ls_cache_tcb_offset() 785 : "=r" (ret)); in tsrm_get_ls_cache_tcb_offset() 786 return ret; in tsrm_get_ls_cache_tcb_offset() 790 size_t ret; in tsrm_get_ls_cache_tcb_offset() 794 return ret; in tsrm_get_ls_cache_tcb_offset() 796 size_t ret; in tsrm_get_ls_cache_tcb_offset() 802 : "=r" (ret)); in tsrm_get_ls_cache_tcb_offset() 805 ret = 0; in tsrm_get_ls_cache_tcb_offset() 809 : "=r" (ret)); in tsrm_get_ls_cache_tcb_offset() 814 : "=r" (ret)); in tsrm_get_ls_cache_tcb_offset() [all …]
|
/php-src/ext/ffi/tests/ |
H A D | 200.phpt | 31 $ret = $orig_zend_write($str, $len); 33 return $ret;
|
/php-src/ext/standard/tests/streams/ |
H A D | bug64770.phpt | 42 $ret = proc_close($p); 43 var_dump($ret);
|
H A D | bug60602.phpt | 42 $ret = proc_close($p); 43 var_dump($ret);
|
H A D | bug74090.phpt | 32 $ret = stream_get_contents($fd, 65565); 33 var_dump(strlen($ret) > 0);
|
/php-src/main/streams/ |
H A D | memory.c | 398 int ret; in php_stream_temp_close() local 405 ret = 0; in php_stream_temp_close() 416 return ret; in php_stream_temp_close() 436 int ret; in php_stream_temp_seek() local 444 ret = php_stream_seek(ts->innerstream, offset, whence); in php_stream_temp_seek() 448 return ret; in php_stream_temp_seek() 453 static int php_stream_temp_cast(php_stream *stream, int castas, void **ret) in php_stream_temp_cast() argument 466 return php_stream_cast(ts->innerstream, castas, ret, 0); in php_stream_temp_cast() 474 if (ret == NULL && castas == PHP_STREAM_AS_STDIO) { in php_stream_temp_cast() 479 if (ret == NULL) { in php_stream_temp_cast() [all …]
|
/php-src/ext/com_dotnet/ |
H A D | com_persist.c | 90 ULONG ret; in stm_release() local 93 ret = InterlockedDecrement(&stm->refcount); in stm_release() 94 if (ret == 0) { in stm_release() 99 return ret; in stm_release() 139 int ret; in stm_seek() local 157 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek() 160 plibNewPosition->QuadPart = (ULONGLONG)(ret >= 0 ? ret : 0); in stm_seek() 163 return ret >= 0 ? S_OK : STG_E_INVALIDFUNCTION; in stm_seek() 175 int ret = php_stream_truncate_set_size(stm->stream, (size_t)libNewSize.QuadPart); in stm_set_size() local 177 if (ret == 0) { in stm_set_size()
|
/php-src/main/ |
H A D | network.c | 308 int ret = 0; local 357 ret = -1; 361 ret = -1; 375 ret = -1; 380 return ret; 544 ret = SUCCESS; 552 ret = SUCCESS; 589 return ret; 1056 return ret; 1113 ret = FAILURE; [all …]
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 325 int ret; local 330 ret = glob(filename, 0, NULL, &globbuf); 332 if (ret == GLOB_NOMATCH || !globbuf.gl_pathc) { 351 int ret = 0; local 366 ret = 1; 373 return ret;
|
/php-src/ext/session/tests/user_session_module/ |
H A D | session_set_save_handler_type_error2.phpt | 15 …$ret = session_set_save_handler($nullCallback, $validCallback, $validCallback, $validCallback, $va… 21 …$ret = session_set_save_handler($oneCallback, $validCallback, $validCallback, $validCallback, $val…
|
/php-src/ext/standard/tests/file/ |
H A D | bug38450.phpt | 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 27 $this->position += strlen($ret); 28 return $ret;
|
H A D | bug38450_1.phpt | 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 27 $this->position += strlen($ret); 28 return $ret;
|
H A D | bug38450_2.phpt | 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 27 $this->position += strlen($ret); 28 return $ret;
|
/php-src/ext/standard/ |
H A D | file.c | 995 ssize_t ret; in PHP_FUNCTION() local 1035 int ret; in PHP_FUNCTION() local 1045 if (ret) { in PHP_FUNCTION() 1117 int ret; in php_mkdir_ex() local 1127 return ret; in php_mkdir_ex() 1565 return ret; in php_copy_file_ctx() 1600 return ret; in php_copy_file_ctx() 1612 return ret; in php_copy_file_ctx() 1694 ssize_t ret; in PHP_FUNCTION() local 1756 size_t ret; in php_fputcsv() local [all …]
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_children.c | 43 struct fpm_child_s *ret; in fpm_child_alloc() local 45 ret = malloc(sizeof(struct fpm_child_s)); in fpm_child_alloc() 47 if (!ret) { in fpm_child_alloc() 51 memset(ret, 0, sizeof(*ret)); in fpm_child_alloc() 52 ret->scoreboard_i = -1; in fpm_child_alloc() 53 return ret; in fpm_child_alloc()
|
/php-src/sapi/cli/ |
H A D | php_cli.c | 228 int ret; in sapi_cli_select() local 239 return ret != -1; in sapi_cli_select() 244 ssize_t ret; in sapi_cli_single_write() local 252 ret = write(STDOUT_FILENO, str, str_length); in sapi_cli_single_write() 256 if (ret == 0 && ferror(stdout)) { in sapi_cli_single_write() 260 return ret; in sapi_cli_single_write() 268 ssize_t ret; in sapi_cli_ub_write() local 284 ret = sapi_cli_single_write(ptr, remaining); in sapi_cli_ub_write() 285 if (ret < 0) { in sapi_cli_ub_write() 292 ptr += ret; in sapi_cli_ub_write() [all …]
|
/php-src/ext/posix/ |
H A D | posix.c | 702 size_t filename_len, ret; in PHP_FUNCTION() local 723 ret = access(path, mode); in PHP_FUNCTION() 726 if (ret) { in PHP_FUNCTION() 738 size_t filename_len, ret; in PHP_FUNCTION() local 759 ret = eaccess(path, mode); in PHP_FUNCTION() 762 if (ret) { in PHP_FUNCTION() 1278 zend_long name, ret; in PHP_FUNCTION() local 1295 ret = pathconf(path, name); in PHP_FUNCTION() 1302 RETURN_LONG(ret); in PHP_FUNCTION() 1329 ret = fpathconf(fd, name); in PHP_FUNCTION() [all …]
|