/PHP-8.1/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.1/ext/pdo_odbc/ |
H A D | odbc_driver.c | 55 SQLRETURN rc; in pdo_odbc_error() local 89 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in pdo_odbc_error() 139 RETCODE rc; in odbc_handle_preparer() local 166 if (rc == SQL_INVALID_HANDLE || rc == SQL_ERROR) { in odbc_handle_preparer() 209 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_preparer() 218 RETCODE rc; in odbc_handle_doer() local 223 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_doer() 284 RETCODE rc; in odbc_handle_commit() local 310 RETCODE rc; in odbc_handle_rollback() local 355 RETCODE rc; in pdo_odbc_get_info_string() local [all …]
|
H A D | odbc_stmt.c | 158 RETCODE rc; in odbc_stmt_execute() local 245 switch (rc) { in odbc_stmt_execute() 280 RETCODE rc; in odbc_stmt_param_hook() local 318 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_stmt_param_hook() 390 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO) { in odbc_stmt_param_hook() 517 RETCODE rc; in odbc_stmt_fetch() local 556 RETCODE rc; in odbc_stmt_describe() local 648 RETCODE rc; in odbc_stmt_get_col() local 664 if (rc == SQL_SUCCESS_WITH_INFO || rc == SQL_SUCCESS) { in odbc_stmt_get_col() 826 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_stmt_next_rowset() [all …]
|
/PHP-8.1/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_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_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_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_getConstant_error.phpt | 9 $rc = new ReflectionClass("C"); 11 var_dump($rc->getConstant(1)); 12 var_dump($rc->getConstant(1.5)); 13 var_dump($rc->getConstant(true));
|
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 | 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_hasConstant_002.phpt | 12 $rc = new ReflectionClass("C"); 14 var_dump($rc->hasConstant(1)); 15 var_dump($rc->hasConstant(1.5)); 16 var_dump($rc->hasConstant(true));
|
H A D | ReflectionClass_hasMethod_002.phpt | 12 $rc = new ReflectionClass("C"); 14 var_dump($rc->hasMethod(1)); 15 var_dump($rc->hasMethod(1.5)); 16 var_dump($rc->hasMethod(true));
|
H A D | ReflectionClass_hasProperty_002.phpt | 12 $rc = new ReflectionClass("C"); 14 var_dump($rc->hasProperty(1)); 15 var_dump($rc->hasProperty(1.5)); 16 var_dump($rc->hasProperty(true));
|
H A D | ReflectionClass_modifiers_001.phpt | 17 $rc = new ReflectionClass($class); 18 var_dump($rc->isFinal()); 19 var_dump($rc->isInterface()); 20 var_dump($rc->isAbstract()); 21 var_dump($rc->getModifiers());
|
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);
|
/PHP-8.1/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.1/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.1/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 734 RETCODE rc; in odbc_transact() local 871 RETCODE rc; in PHP_FUNCTION() local 997 RETCODE rc; in PHP_FUNCTION() local 1130 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO || rc == SQL_NO_DATA_FOUND) { in PHP_FUNCTION() 1157 RETCODE rc; in PHP_FUNCTION() local 1275 RETCODE rc; in PHP_FUNCTION() local 1320 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO && rc != SQL_NO_DATA_FOUND) { in PHP_FUNCTION() [all …]
|
/PHP-8.1/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.1/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');
|