Home
last modified time | relevance | path

Searched refs:ret (Results 76 – 100 of 384) sorted by relevance

12345678910>>...16

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_more_results.phpt32 if (mysqli_get_server_version($link) > 41000 && !($ret = mysqli_more_results($link)))
33 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($ret), $ret);
45 if (mysqli_get_server_version($link) > 41000 && !($ret = mysqli_more_results($link)))
46 printf("[011] Expecting boolean/true, got %s/%s\n", gettype($ret), $ret);
/PHP-7.4/main/
H A Dfastcgi.c48 DWORD ret; \
312 char *ret; in fcgi_hash_strndup() local
327 return ret; in fcgi_hash_strndup()
922 int ret; in safe_write() local
949 n += ret; in safe_write()
959 int ret; in safe_read() local
986 n += ret; in safe_read()
1250 n += ret; in fcgi_read()
1435 int ret; local
1659 return ret;
[all …]
/PHP-7.4/ext/standard/
H A Dquot_print.c151 zend_string *ret; in php_quot_print_encode() local
153 ret = zend_string_safe_alloc(3, (length + (((3 * length)/(PHP_QPRINT_MAXL-9)) + 1)), 0, 0); in php_quot_print_encode()
154 d = (unsigned char*)ZSTR_VAL(ret); in php_quot_print_encode()
188 ret = zend_string_truncate(ret, d - (unsigned char*)ZSTR_VAL(ret), 0); in php_quot_print_encode()
189 return ret; in php_quot_print_encode()
H A Dpassword.c83 ret[pos] = '.'; in php_password_salt_to64()
88 ret[pos] = ZSTR_VAL(buffer)[pos]; in php_password_salt_to64()
98 zend_string *ret, *buffer; in php_password_make_salt() local
116 zend_string_release_ex(ret, 0); in php_password_make_salt()
120 ZSTR_VAL(ret)[length] = 0; in php_password_make_salt() local
121 return ret; in php_password_make_salt()
235 if (!ret) { in php_password_bcrypt_verify()
240 zend_string_free(ret); in php_password_bcrypt_verify()
252 zend_string_free(ret); in php_password_bcrypt_verify()
580 return ret; in php_password_algo_find_zval_ex()
[all …]
/PHP-7.4/main/streams/
H A Dstreams.c286 ret->readfilters.stream = ret; in _php_stream_alloc()
287 ret->writefilters.stream = ret; in _php_stream_alloc()
315 strlcpy(ret->mode, mode, sizeof(ret->mode)); in _php_stream_alloc()
326 return ret; in _php_stream_alloc()
367 int ret = 1; in _php_stream_free() local
534 return ret; in _php_stream_free()
1243 return ret; in _php_stream_flush()
1330 int ret; in _php_stream_seek() local
1408 return ret; in _php_stream_set_option()
1768 int ret; in php_register_url_stream_wrapper() local
[all …]
/PHP-7.4/ext/skeleton/tests/
H A D002.phpt11 $ret = %EXTNAME%_test1();
13 var_dump($ret);
/PHP-7.4/sapi/fpm/fpm/events/
H A Ddevpoll.c148 int ret, i; in fpm_event_devpoll_wait() local
158 ret = ioctl(dpfd, DP_POLL, &dopoll); in fpm_event_devpoll_wait()
160 if (ret < 0) { in fpm_event_devpoll_wait()
170 for (i = 0; i < ret; i++) { in fpm_event_devpoll_wait()
192 return ret; in fpm_event_devpoll_wait()
/PHP-7.4/ext/pdo_dblib/
H A Ddblib_stmt.c124 RETCODE ret; in pdo_dblib_stmt_next_rowset_no_cancel() local
128 ret = dbresults(H->link); in pdo_dblib_stmt_next_rowset_no_cancel()
133 if (FAIL == ret) { in pdo_dblib_stmt_next_rowset_no_cancel()
138 if (NO_MORE_RESULTS == ret) { in pdo_dblib_stmt_next_rowset_no_cancel()
156 RETCODE ret = SUCCESS; in pdo_dblib_stmt_next_rowset() local
162 ret = dbnextrow(H->link); in pdo_dblib_stmt_next_rowset()
164 if (FAIL == ret) { in pdo_dblib_stmt_next_rowset()
202 RETCODE ret; in pdo_dblib_stmt_fetch() local
207 ret = dbnextrow(H->link); in pdo_dblib_stmt_fetch()
209 if (FAIL == ret) { in pdo_dblib_stmt_fetch()
[all …]
H A Ddblib_driver.c117 RETCODE ret, resret; in dblib_handle_doer() local
135 ret = dbnextrow(H->link); in dblib_handle_doer()
136 if (ret == FAIL) { in dblib_handle_doer()
234 RETCODE ret; in dblib_handle_last_id() local
249 ret = dbresults(H->link); in dblib_handle_last_id()
250 if (ret == FAIL || ret == NO_MORE_RESULTS) { in dblib_handle_last_id()
255 ret = dbnextrow(H->link); in dblib_handle_last_id()
257 if (ret == FAIL || ret == NO_MORE_ROWS) { in dblib_handle_last_id()
586 ret = 1; in pdo_dblib_handle_factory()
600 if (!ret) { in pdo_dblib_handle_factory()
[all …]
/PHP-7.4/ext/pcre/tests/
H A Dbug52732.phpt7 $ret = preg_match('/(?:\D+|<\d+>)*[!?]/', 'foobar foobar foobar');
9 var_dump($ret);
H A Dbug73483.phpt9 $ret = preg_replace($regex, "okey", $matches[0]);
11 return $ret;
/PHP-7.4/ext/standard/tests/network/
H A Dbug73594.phpt8 $ret = 0;
9 exec("dig -tmx php.net +noall +additional 2>/dev/null", $out, $ret);
11 if ($ret != 0) die("skip dig command is not present or failed to run");
H A Dbug73594a.phpt8 $ret = 0;
9 exec("dig -tmx php.net +noall +authority 2>/dev/null", $out, $ret);
11 if ($ret != 0) die("skip dig command is not present or failed to run");
/PHP-7.4/ext/openssl/
H A Dconfig.w326 var ret = SETUP_OPENSSL("openssl", PHP_OPENSSL);
8 if (ret > 0) {
/PHP-7.4/ext/phar/
H A Dutil.c54 return ret; in phar_get_link_location()
313 if (ret && ZSTR_LEN(ret) > 8 && !strncmp(ZSTR_VAL(ret), "phar://", 7)) { in phar_find_in_include_path()
329 return ret; in phar_find_in_include_path()
350 if (!ret) { in phar_get_entry_data()
354 *ret = NULL; in phar_get_entry_data()
528 return ret; in phar_get_or_create_entry_data()
558 efree(ret); in phar_get_or_create_entry_data()
593 efree(ret); in phar_get_or_create_entry_data()
608 ret->position = ret->zero = 0; in phar_get_or_create_entry_data()
614 return ret; in phar_get_or_create_entry_data()
[all …]
/PHP-7.4/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp95 HashTable *ret; in umsg_get_numeric_types() local
112 ALLOC_HASHTABLE(ret); in umsg_get_numeric_types()
121 zend_hash_destroy(ret); in umsg_get_numeric_types()
122 efree(ret); in umsg_get_numeric_types()
127 mfo->mf_data.arg_types = ret; in umsg_get_numeric_types()
129 return ret; in umsg_get_numeric_types()
136 HashTable *ret; in umsg_parse_format() local
154 ALLOC_HASHTABLE(ret); in umsg_parse_format()
276 zend_hash_destroy(ret); in umsg_parse_format()
277 efree(ret); in umsg_parse_format()
[all …]
/PHP-7.4/ext/intl/uchar/
H A Duchar.c278 UChar32 ret; in ZEND_END_ARG_INFO() local
287 RETURN_LONG(ret); in ZEND_END_ARG_INFO()
354 const char *ret; in IC_METHOD() local
361 if (ret) { in IC_METHOD()
395 const char *ret; in IC_METHOD() local
402 if (ret) { in IC_METHOD()
436 UChar32 cp, ret; in IC_METHOD() local
453 RETURN_LONG(ret); in IC_METHOD()
467 int ret; in IC_METHOD() local
475 if (ret < 0) { in IC_METHOD()
[all …]
/PHP-7.4/sapi/litespeed/
H A Dlsapilib.c418 int ret; in lsapi_close() local
444 ssize_t ret; in lsapi_read() local
480 int ret; in lsapi_writev() local
975 return ret; in lsapi_jailLVE()
1960 return ret; in gsendfile()
2118 int ret; in LSAPI_Write_Stderr_r() local
2266 int ret; in LSAPI_ForeachOrgHeader_r() local
2342 int ret; in LSAPI_ForeachHeader_r() local
2408 int ret; in EnvForeach() local
2573 int ret; in LSAPI_CreateListenSock2() local
[all …]
/PHP-7.4/Zend/tests/
H A Dbug38779.phpt15 $ret = substr($this->data, $this->position, $count);
16 $this->position += strlen($ret);
17 return $ret;
/PHP-7.4/scripts/dev/
H A Dcheck_parameters.php107 $ret = array();
113 $ret[$x[4]] = array($x[1] . $x[2] . $x[3], $x[5]);
119 $ret[$z[2]] = array($x[1] . $z[1], $z[3]);
125 return $ret;
159 $ret = array();
172 $ret[][] = '**dummy**';
175 $ret[] = array($name, $vars[$name][0] . ($x[1] ? '*' : ''), $vars[$name][1]);
185 return $ret;
/PHP-7.4/ext/xml/
H A Dcompat.c372 xmlEntityPtr ret = NULL; in _get_entity() local
375 ret = xmlGetPredefinedEntity(name); in _get_entity()
376 if (ret == NULL) in _get_entity()
377 ret = xmlGetDocEntity(parser->parser->myDoc, name); in _get_entity()
380 …if (ret == NULL || ret->etype == XML_INTERNAL_GENERAL_ENTITY || ret->etype == XML_INTERNAL_PARAMET… in _get_entity()
382 …if (parser->h_default && ! (ret && ret->etype == XML_INTERNAL_PREDEFINED_ENTITY && parser->h_cdata… in _get_entity()
392 if (parser->h_cdata && ret) { in _get_entity()
393 parser->h_cdata(parser->user, ret->content, xmlStrlen(ret->content)); in _get_entity()
397 if (ret->etype == XML_EXTERNAL_GENERAL_PARSED_ENTITY) { in _get_entity()
398 … _external_entity_ref_handler(user, ret->name, ret->etype, ret->SystemID, ret->ExternalID, NULL); in _get_entity()
[all …]
/PHP-7.4/ext/pdo_sqlite/
H A Dsqlite_driver.c326 int ret; in do_callback() local
451 return ret; in do_callback()
481 int ret; in php_sqlite3_collation_callback() local
503 ret = 0; in php_sqlite3_collation_callback()
505 ret = 1; in php_sqlite3_collation_callback()
507 ret = -1; in php_sqlite3_collation_callback()
515 return ret; in php_sqlite3_collation_callback()
530 int ret; in PHP_METHOD() local
602 int ret; in PHP_METHOD() local
665 int ret; in PHP_METHOD() local
[all …]
/PHP-7.4/ext/soap/tests/bugs/
H A Dbug36999.phpt40 $ret = $soap->echoLong($num);
41 printf("%s %0.0f\n", gettype($ret), $ret);
H A Dbug42086.phpt19 $ret = new firstFunctionWithoutParamResponse();
20 $ret->param = "firstFunctionWithoutParam";
21 return $ret;
/PHP-7.4/ext/ftp/
H A Dconfig.w329 var ret = SETUP_OPENSSL("ftp", PHP_FTP);
11 if (ret > 0) {

Completed in 93 milliseconds

12345678910>>...16