/PHP-8.0/ext/dba/ |
H A D | dba_lmdb.c | 60 if (rc) { in DBA_OPEN_FUNC() 74 if (rc) { in DBA_OPEN_FUNC() 81 if (rc) { in DBA_OPEN_FUNC() 95 if (rc) { in DBA_OPEN_FUNC() 120 int rc; in DBA_FETCH_FUNC() local 162 int rc; in DBA_UPDATE_FUNC() local 197 int rc; in DBA_EXISTS_FUNC() local 233 int rc; in DBA_DELETE_FUNC() local 264 int rc; in DBA_FIRSTKEY_FUNC() local 304 int rc; in DBA_NEXTKEY_FUNC() local [all …]
|
/PHP-8.0/ext/pdo_odbc/ |
H A D | odbc_driver.c | 57 SQLRETURN rc; in pdo_odbc_error() local 91 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in pdo_odbc_error() 143 RETCODE rc; in odbc_handle_preparer() local 171 if (rc == SQL_INVALID_HANDLE || rc == SQL_ERROR) { in odbc_handle_preparer() 214 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_preparer() 223 RETCODE rc; in odbc_handle_doer() local 243 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_doer() 249 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_doer() 289 RETCODE rc; in odbc_handle_commit() local 315 RETCODE rc; in odbc_handle_rollback() local [all …]
|
H A D | odbc_stmt.c | 161 RETCODE rc; in odbc_stmt_execute() local 248 switch (rc) { in odbc_stmt_execute() 283 RETCODE rc; in odbc_stmt_param_hook() local 321 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_stmt_param_hook() 393 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO) { in odbc_stmt_param_hook() 530 RETCODE rc; in odbc_stmt_fetch() local 569 RETCODE rc; in odbc_stmt_describe() local 660 RETCODE rc; in odbc_stmt_get_col() local 676 if (rc == SQL_SUCCESS_WITH_INFO || rc == SQL_SUCCESS) { in odbc_stmt_get_col() 856 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_stmt_next_rowset() [all …]
|
/PHP-8.0/ext/reflection/tests/ |
H A D | bug45139.phpt | 22 $rc = new ReflectionClass('C'); 23 $rp = $rc->getProperty('foo'); 26 $rc = new ReflectionClass('A'); 27 $rp = $rc->getProperty('foo'); 30 $rc = new ReflectionClass('B'); 31 $rp = $rc->getProperty('bar'); 34 $rc = new ReflectionClass('C'); 35 $rp = $rc->getProperty('bar'); 38 $rc = new ReflectionClass('C'); 39 $rp = $rc->getProperty('baz'); [all …]
|
H A D | ReflectionObject_FileInfo_basic.phpt | 5 $rc = new ReflectionObject(new C); 6 var_dump($rc->getFileName()); 7 var_dump($rc->getStartLine()); 8 var_dump($rc->getEndLine()); 10 $rc = new ReflectionObject(new stdclass); 11 var_dump($rc->getFileName()); 12 var_dump($rc->getStartLine()); 13 var_dump($rc->getEndLine());
|
H A D | bug39067.phpt | 18 $rc = new ReflectionClass('C'); 19 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 21 $rc = new ReflectionClass('B'); 22 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 24 $rc = new ReflectionClass('A'); 25 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 35 $rc = new ReflectionClass('Test2'); 36 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
|
H A D | ReflectionClass_FileInfo_basic.phpt | 6 $rc = new ReflectionClass("C"); 9 var_dump($rc->getFileName()); 12 var_dump($rc->getStartLine()); 15 var_dump($rc->getEndLine()); 18 $rc = new ReflectionClass("stdClass"); 19 var_dump($rc->getFileName()); 20 var_dump($rc->getStartLine()); 21 var_dump($rc->getEndLine());
|
H A D | ReflectionClass_getConstant_error.phpt | 9 $rc = new ReflectionClass("C"); 11 var_dump($rc->getConstant(null)); 12 var_dump($rc->getConstant(1)); 13 var_dump($rc->getConstant(1.5)); 14 var_dump($rc->getConstant(true));
|
H A D | ReflectionClass_hasConstant_002.phpt | 12 $rc = new ReflectionClass("C"); 14 var_dump($rc->hasConstant(null)); 15 var_dump($rc->hasConstant(1)); 16 var_dump($rc->hasConstant(1.5)); 17 var_dump($rc->hasConstant(true));
|
H A D | ReflectionClass_hasMethod_002.phpt | 12 $rc = new ReflectionClass("C"); 14 var_dump($rc->hasMethod(null)); 15 var_dump($rc->hasMethod(1)); 16 var_dump($rc->hasMethod(1.5)); 17 var_dump($rc->hasMethod(true));
|
H A D | ReflectionClass_hasProperty_002.phpt | 12 $rc = new ReflectionClass("C"); 14 var_dump($rc->hasProperty(null)); 15 var_dump($rc->hasProperty(1)); 16 var_dump($rc->hasProperty(1.5)); 17 var_dump($rc->hasProperty(true));
|
H A D | ReflectionClass_hasMethod_basic.phpt | 9 $rc = new ReflectionClass("C"); 12 var_dump($rc->hasMethod('publicFoo')); 15 var_dump($rc->hasMethod('protectedFoo')); 18 var_dump($rc->hasMethod('privateFoo')); 21 var_dump($rc->hasMethod('staticFoo')); 24 var_dump($rc->hasMethod('bar')); 27 var_dump($rc->hasMethod('PUBLICfOO'));
|
H A D | ReflectionClass_getMethod_002.phpt | 12 $rc = new ReflectionClass("C"); 15 var_dump($rc->getMethod()); 20 var_dump($rc->getMethod("f", "f")); 25 var_dump($rc->getMethod(null)); 30 var_dump($rc->getMethod(1)); 35 var_dump($rc->getMethod(1.5)); 40 var_dump($rc->getMethod(true)); 45 var_dump($rc->getMethod(array(1,2,3))); 50 var_dump($rc->getMethod(new C));
|
H A D | ReflectionClass_getProperty_002.phpt | 12 $rc = new ReflectionClass("C"); 15 var_dump($rc->getProperty()); 20 var_dump($rc->getProperty("a", "a")); 25 var_dump($rc->getProperty(null)); 30 var_dump($rc->getProperty(1)); 35 var_dump($rc->getProperty(1.5)); 40 var_dump($rc->getProperty(true)); 45 var_dump($rc->getProperty(array(1,2,3))); 50 var_dump($rc->getProperty(new C));
|
H A D | ReflectionClass_hasProperty_basic.phpt | 9 $rc = new ReflectionClass("C"); 12 var_dump($rc->hasProperty('publicFoo')); 15 var_dump($rc->hasProperty('protectedFoo')); 18 var_dump($rc->hasProperty('privateFoo')); 21 var_dump($rc->hasProperty('staticFoo')); 24 var_dump($rc->hasProperty('bar'));
|
H A D | ReflectionClass_setStaticPropertyValue_002.phpt | 12 $rc = new ReflectionClass('C'); 14 var_dump($rc->setStaticPropertyValue("x", "default value", 'blah')); 19 var_dump($rc->setStaticPropertyValue()); 24 var_dump($rc->setStaticPropertyValue(null)); 29 var_dump($rc->setStaticPropertyValue(null,null)); 34 var_dump($rc->setStaticPropertyValue(1.5, 'def')); 39 var_dump($rc->setStaticPropertyValue(array(1,2,3), 'blah'));
|
H A D | ReflectionClass_isSubclassOf_002.phpt | 9 $rc = new ReflectionClass('A'); 13 $rc->isSubclassOf(); 18 $rc->isSubclassOf('C', 'C'); 23 $rc->isSubclassOf(null); 28 $rc->isSubclassOf('ThisClassDoesNotExist'); 33 $rc->isSubclassOf(2);
|
H A D | bug53915.phpt | 11 $rc = new ReflectionClass('Foo'); 12 print_r($rc->getConstants()); 20 $rc = new ReflectionClass('Foo2'); 21 print_r($rc->getConstant('B'));
|
H A D | ReflectionClass_getStaticPropertyValue_002.phpt | 12 $rc = new ReflectionClass('C'); 14 var_dump($rc->getStaticPropertyValue("x", "default value", 'blah')); 19 var_dump($rc->getStaticPropertyValue()); 24 var_dump($rc->getStaticPropertyValue(null)); 29 var_dump($rc->getStaticPropertyValue(1.5, 'def')); 34 var_dump($rc->getStaticPropertyValue(array(1,2,3)));
|
/PHP-8.0/sapi/cli/ |
H A D | php_cli_process_title.c | 30 int rc; in PHP_FUNCTION() local 36 rc = set_ps_title(title); in PHP_FUNCTION() 37 if (rc == PS_TITLE_SUCCESS) { in PHP_FUNCTION() 41 php_error_docref(NULL, E_WARNING, "cli_set_process_title had an error: %s", ps_title_errno(rc)); in PHP_FUNCTION() 51 int rc; in PHP_FUNCTION() local 57 rc = get_ps_title(&length, &title); in PHP_FUNCTION() 58 if (rc != PS_TITLE_SUCCESS) { in PHP_FUNCTION() 59 … php_error_docref(NULL, E_WARNING, "cli_get_process_title had an error: %s", ps_title_errno(rc)); in PHP_FUNCTION()
|
/PHP-8.0/ext/pcre/pcre2lib/ |
H A D | pcre2_substitute.c | 82 int rc = 0; in find_text_end() local 162 return rc; in find_text_end() 225 int rc; in pcre2_substitute() local 327 if (rc != 0) in pcre2_substitute() 364 rc = match_data->rc; in pcre2_substitute() 379 if (rc < 0) in pcre2_substitute() 464 if (rc == 0) rc = ovector_count; in pcre2_substitute() 835 switch(rc) in pcre2_substitute() 962 rc = subs; in pcre2_substitute() 968 else match_data->rc = rc; in pcre2_substitute() [all …]
|
H A D | pcre2_jit_match.c | 112 int rc; in pcre2_jit_match() 165 rc = convert_executable_func.call_executable_func(&arguments); in pcre2_jit_match() 168 rc = jit_machine_stack_exec(&arguments, convert_executable_func.call_executable_func); in pcre2_jit_match() 170 if (rc > (int)oveccount) in pcre2_jit_match() 171 rc = 0; in pcre2_jit_match() 173 match_data->subject = (rc >= 0 || rc == PCRE2_ERROR_PARTIAL)? subject : NULL; in pcre2_jit_match() 174 match_data->rc = rc; in pcre2_jit_match() 181 return match_data->rc; in pcre2_jit_match()
|
/PHP-8.0/ext/odbc/ |
H A D | php_odbc.c | 387 RETCODE rc; in PHP_MINIT_FUNCTION() local 546 RETCODE rc; in odbc_sql_error() local 612 RETCODE rc; in odbc_bindcols() local 732 RETCODE rc; in odbc_transact() local 867 RETCODE rc; in PHP_FUNCTION() local 992 RETCODE rc; in PHP_FUNCTION() local 1125 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO || rc == SQL_NO_DATA_FOUND) { in PHP_FUNCTION() 1152 RETCODE rc; in PHP_FUNCTION() local 1270 RETCODE rc; in PHP_FUNCTION() local 1315 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO && rc != SQL_NO_DATA_FOUND) { in PHP_FUNCTION() [all …]
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | apptype.c | 48 APPTYPE rc, type; in file_os2_apptype() local 80 rc = DosQueryAppType((unsigned char *)path, &type); in file_os2_apptype() 87 if (rc == ERROR_INVALID_EXE_SIGNATURE) in file_os2_apptype() 89 else if (rc == ERROR_FILE_NOT_FOUND) in file_os2_apptype() 91 else if (rc == ERROR_ACCESS_DENIED) in file_os2_apptype() 93 else if (rc != 0) in file_os2_apptype() 94 printf("%s: error code = %lu\n", fname, rc); in file_os2_apptype() 103 if (rc) in file_os2_apptype()
|
/PHP-8.0/Zend/tests/attributes/ |
H A D | 029_reflect_internal_symbols.phpt | 9 $rc = new ReflectionClass('DateTime'); 10 var_dump($rc->getAttributes()); 12 $rm = $rc->getMethod('__construct'); 15 $rcc = $rc->getReflectionConstant('ATOM');
|