Home
last modified time | relevance | path

Searched refs:rc (Results 126 – 150 of 155) sorted by path

1234567

/PHP-7.4/ext/reflection/tests/
H A Dbug77772.phpt11 $rc = new ReflectionClass(Test::class);
12 foreach ($rc->getMethods(null) as $method) {
15 foreach ($rc->getProperties(null) as $prop) {
H A Dbug78774.phpt10 $rc = new ReflectionClass(Test::class);
11 $rp = $rc->getProperty('prop');
H A Dbug79487.phpt10 $rc = new ReflectionClass('Foo');
11 var_dump($rc->getStaticProperties());
20 $rc = new ReflectionClass(B::class);
22 var_dump($rc->getStaticProperties());
/PHP-7.4/ext/spl/
H A Dspl_dllist.c42 #define SPL_LLIST_DELREF(elem) if(!--(elem)->rc) { \
46 #define SPL_LLIST_CHECK_DELREF(elem) if((elem) && !--(elem)->rc) { \
50 #define SPL_LLIST_ADDREF(elem) (elem)->rc++
51 #define SPL_LLIST_CHECK_ADDREF(elem) if(elem) (elem)->rc++
65 int rc; member
197 elem->rc = 1; in spl_ptr_llist_unshift()
221 elem->rc = 1; in spl_ptr_llist_push()
1325 elem->rc = 1; in SPL_METHOD()
H A Dspl_iterators.c2007 int rc; in SPL_METHOD() local
2042rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(subject), ZSTR_LEN(subject), 0, 0, match_data, php_pcre_… in SPL_METHOD()
2043 RETVAL_BOOL(rc >= 0); in SPL_METHOD()
/PHP-7.4/ext/sqlite3/
H A Dsqlite3.c107 int rc; in PHP_METHOD() local
137 rc = sqlite3_open_v2(fullpath, &(db_obj->db), flags, NULL); in PHP_METHOD()
138 if (rc != SQLITE_OK) { in PHP_METHOD()
1361 int rc; // Return code in PHP_METHOD() local
1378 rc = sqlite3_backup_step(dbBackup, -1); in PHP_METHOD()
1379 } while (rc == SQLITE_OK); in PHP_METHOD()
1382 rc = sqlite3_backup_finish(dbBackup); in PHP_METHOD()
1385 rc = sqlite3_errcode(source_obj->db); in PHP_METHOD()
1388 if (rc != SQLITE_OK) { in PHP_METHOD()
1389 if (rc == SQLITE_BUSY) { in PHP_METHOD()
[all …]
/PHP-7.4/ext/standard/
H A Dbrowscap.c559 int rc; in browser_reg_compare() local
614rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(agent_name), ZSTR_LEN(agent_name), 0, 0, match_data, php… in browser_reg_compare()
616 if (PCRE2_ERROR_NOMATCH != rc) { in browser_reg_compare()
H A Dvar_unserializer.re1012 * rc>1 array. This is okay, since the array is, ostensibly, only visible to
/PHP-7.4/ext/standard/tests/array/
H A Darray_merge_replace_recursive_refs.phpt2 array_merge/replace_recursive() should unwrap references with rc=1
H A Dbug79930.phpt11 // Create rc=1 reference.
/PHP-7.4/ext/standard/tests/assert/
H A Dassert_variation.phpt52 var_dump($rc=assert_options(ASSERT_CALLBACK, "c1"));
59 var_dump($rc = assert_options(ASSERT_CALLBACK,array("c1","assert")));
67 var_dump($rc=assert_options(ASSERT_CALLBACK,array(&$o,"assert")));
/PHP-7.4/ext/standard/tests/directory/
H A DDirectoryClass_basic_001.phpt12 $rc = new ReflectionClass("Directory");
13 echo $rc;
/PHP-7.4/ext/standard/tests/strings/
H A Dbug72434.phpt12 // Increment the reference counter by 1 -> rc is 0
14 // Increment the reference counter by 1 again -> rc is 1
/PHP-7.4/ext/zip/
H A Dphp_zip.c654 int rc; in php_zip_pcre() local
689rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, match_data, m… in php_zip_pcre()
692 if (rc < 0) { in php_zip_pcre()
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c536 int rc; in cgi_getenv_win32() local
543 rc = _wgetenv_s(&size, NULL, 0, keyw); in cgi_getenv_win32()
544 if (rc || 0 == size) { in cgi_getenv_win32()
551 rc = _wgetenv_s(&size, valw, size, keyw); in cgi_getenv_win32()
552 if (!rc) { in cgi_getenv_win32()
/PHP-7.4/sapi/cli/
H A Dphp_cli_process_title.c33 int rc; in PHP_FUNCTION() local
39 rc = set_ps_title(title); in PHP_FUNCTION()
40 if (rc == PS_TITLE_SUCCESS) { in PHP_FUNCTION()
44 php_error_docref(NULL, E_WARNING, "cli_set_process_title had an error: %s", ps_title_errno(rc)); in PHP_FUNCTION()
55 int rc; in PHP_FUNCTION() local
61 rc = get_ps_title(&length, &title); in PHP_FUNCTION()
62 if (rc != PS_TITLE_SUCCESS) { in PHP_FUNCTION()
63 … php_error_docref(NULL, E_WARNING, "cli_get_process_title had an error: %s", ps_title_errno(rc)); in PHP_FUNCTION()
H A Dps_title.c302 const char* ps_title_errno(int rc) in ps_title_errno() argument
304 switch(rc) in ps_title_errno()
337 int rc = is_ps_title_available(); in set_ps_title() local
338 if (rc != PS_TITLE_SUCCESS) in set_ps_title()
339 return rc; in set_ps_title()
395 int rc = is_ps_title_available(); in get_ps_title() local
396 if (rc != PS_TITLE_SUCCESS) in get_ps_title()
397 return rc; in get_ps_title()
H A Dps_title.h34 extern const char* ps_title_errno(int rc);
/PHP-7.4/sapi/cli/tests/
H A D005.phpt12 var_dump(`"$php" -n --rc unknown`);
13 var_dump(`"$php" -n --rc stdclass`);
14 var_dump(`"$php" -n --rc exception`);
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c930 int rc = SUCCESS; in lsapi_activate_user_ini_basic_checks() local
947 rc = (*fn_next)(ctx, fn_next + 1); in lsapi_activate_user_ini_basic_checks()
950 return rc; in lsapi_activate_user_ini_basic_checks()
957 int rc = SUCCESS; in lsapi_activate_user_ini_mk_path() local
970 return rc; in lsapi_activate_user_ini_mk_path()
977 int rc = SUCCESS; in lsapi_activate_user_ini_mk_realpath() local
997 return rc; in lsapi_activate_user_ini_mk_realpath()
1041 int rc = SUCCESS; in lsapi_activate_user_ini_walk_down_the_path() local
1069 return rc; in lsapi_activate_user_ini_walk_down_the_path()
1075 int rc = SUCCESS; in lsapi_activate_user_ini_finally() local
[all …]
H A Dlsapilib.c819 int rc; in init_lve_ex() local
831 rc = (*fp_lve_instance_init)(NULL); in init_lve_ex()
832 s_lve = malloc(rc); in init_lve_ex()
834 rc = (*fp_lve_instance_init)(s_lve); in init_lve_ex()
835 if (rc != 0) in init_lve_ex()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg.init.d26 . /etc/rc.d/init.d/functions
H A Dphpdbg_io.c258 int sock = -1, rc; local
275 rc = inet_pton(AF_INET, addr, &serveraddr);
276 if (1 == rc) {
282 rc = inet_pton(AF_INET6, addr, &serveraddr);
283 if (1 == rc) {
295 rc = getaddrinfo(addr, port_buf, &hints, &res);
297 rc = getaddrinfo(NULL, port_buf, &hints, &res);
300 if (0 != rc) {
302 if (rc == EAI_SYSTEM) {
314 snprintf(buf, sizeof(buf), "Host '%s' not found. %s", addr, estrdup(gai_strerror(rc)));
H A Dphpdbg_out.c1269 int rc = 0; in phpdbg_rlog_internal() local
1287 rc = phpdbg_xml_vasprintf(&outbuf, format, 0, args); in phpdbg_rlog_internal()
1290 rc = phpdbg_mixed_write(fd, outbuf, rc); in phpdbg_rlog_internal()
1299 return rc; in phpdbg_rlog_internal()
/PHP-7.4/tests/classes/
H A Dautoload_016.phpt10 $rc = new ReflectionClass("stdClass");
13 $rc->getProperty("UndefC::p");

Completed in 98 milliseconds

1234567