Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 25 of 178) sorted by relevance

12345678

/php-src/ext/dba/
H A Ddba_lmdb.c43 int rc; in DBA_OPEN_FUNC() local
71 if (rc) { in DBA_OPEN_FUNC()
85 if (rc) { in DBA_OPEN_FUNC()
94 if (rc) { in DBA_OPEN_FUNC()
133 int rc; in DBA_FETCH_FUNC() local
174 int rc; in DBA_UPDATE_FUNC() local
209 int rc; in DBA_EXISTS_FUNC() local
245 int rc; in DBA_DELETE_FUNC() local
276 int rc; in DBA_FIRSTKEY_FUNC() local
315 int rc; in DBA_NEXTKEY_FUNC() local
[all …]
/php-src/ext/pdo_odbc/
H A Dodbc_driver.c57 SQLRETURN rc; in pdo_odbc_error() local
91 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in pdo_odbc_error()
141 RETCODE rc; in odbc_handle_preparer() local
168 if (rc == SQL_INVALID_HANDLE || rc == SQL_ERROR) { in odbc_handle_preparer()
211 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_preparer()
220 RETCODE rc; in odbc_handle_doer() local
225 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_doer()
286 RETCODE rc; in odbc_handle_commit() local
312 RETCODE rc; in odbc_handle_rollback() local
381 RETCODE rc; in pdo_odbc_get_info_string() local
[all …]
H A Dodbc_stmt.c244 rc = rc1; in odbc_stmt_execute()
254 switch (rc) { in odbc_stmt_execute()
289 RETCODE rc; in odbc_stmt_param_hook() local
327 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_stmt_param_hook()
399 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO) { in odbc_stmt_param_hook()
526 RETCODE rc; in odbc_stmt_fetch() local
565 RETCODE rc; in odbc_stmt_describe() local
657 RETCODE rc; in odbc_stmt_get_col() local
673 if (rc == SQL_SUCCESS_WITH_INFO || rc == SQL_SUCCESS) { in odbc_stmt_get_col()
836 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_stmt_next_rowset()
[all …]
/php-src/ext/reflection/tests/
H A Dbug45139.phpt22 $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 DReflectionObject_FileInfo_basic.phpt5 $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 Dbug39067.phpt18 $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 DReflectionClass_FileInfo_basic.phpt6 $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 DReflectionClass_hasMethod_basic.phpt9 $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 DReflectionClass_hasProperty_basic.phpt9 $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 DReflectionClass_getProperty_002.phpt12 $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 DReflectionClass_getMethod_002.phpt12 $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 DReflectionClassConstant_getValue_typed.phpt16 $rc = new ReflectionClassConstant(A::class, 'CONST1');
17 var_dump($rc->getValue());
18 echo $rc;
20 $rc = new ReflectionClassConstant(B::class, 'CONST1');
22 $rc->getValue();
28 echo $rc;
H A DReflectionClass_getConstant_error.phpt9 $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 DReflectionClass_modifiers_001.phpt18 $rc = new ReflectionClass($class);
19 var_dump($rc->isFinal());
20 var_dump($rc->isInterface());
21 var_dump($rc->isAbstract());
22 var_dump($rc->isReadOnly());
23 var_dump($rc->getModifiers());
H A DReflectionClass_setStaticPropertyValue_002.phpt12 $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 Dbug53915.phpt11 $rc = new ReflectionClass('Foo');
12 print_r($rc->getConstants());
20 $rc = new ReflectionClass('Foo2');
21 print_r($rc->getConstant('B'));
H A DReflectionClass_hasConstant_002.phpt12 $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 DReflectionClass_hasMethod_002.phpt12 $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 DReflectionClass_hasProperty_002.phpt12 $rc = new ReflectionClass("C");
14 var_dump($rc->hasProperty(1));
15 var_dump($rc->hasProperty(1.5));
16 var_dump($rc->hasProperty(true));
/php-src/sapi/cli/
H A Dphp_cli_process_title.c30 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-src/ext/pcre/pcre2lib/
H A Dpcre2_substitute.c82 int rc = 0; in find_text_end() local
162 return rc; in find_text_end()
225 int rc; in pcre2_substitute() local
349 if (rc != 0) in pcre2_substitute()
386 rc = match_data->rc; in pcre2_substitute()
401 if (rc < 0) in pcre2_substitute()
486 if (rc == 0) rc = ovector_count; in pcre2_substitute()
857 switch(rc) in pcre2_substitute()
984 rc = subs; in pcre2_substitute()
990 else match_data->rc = rc; in pcre2_substitute()
[all …]
H A Dpcre2_jit_match.c118 int rc; in pcre2_jit_match()
171 rc = convert_executable_func.call_executable_func(&arguments); in pcre2_jit_match()
174 rc = jit_machine_stack_exec(&arguments, convert_executable_func.call_executable_func); in pcre2_jit_match()
176 if (rc > (int)oveccount) in pcre2_jit_match()
177 rc = 0; in pcre2_jit_match()
179 match_data->subject = (rc >= 0 || rc == PCRE2_ERROR_PARTIAL)? subject : NULL; in pcre2_jit_match()
181 match_data->rc = rc; in pcre2_jit_match()
190 if (rc > 0) in pcre2_jit_match()
191 __msan_unpoison(match_data->ovector, 2 * rc * sizeof(match_data->ovector[0])); in pcre2_jit_match()
195 return match_data->rc; in pcre2_jit_match()
/php-src/ext/odbc/
H A Dphp_odbc.c502 RETCODE rc; in PHP_MINIT_FUNCTION() local
603 RETCODE rc; in odbc_sql_error() local
668 RETCODE rc; in odbc_bindcols() local
788 RETCODE rc; in odbc_transact() local
900 RETCODE rc; in PHP_FUNCTION() local
1022 RETCODE rc; in PHP_FUNCTION() local
1154 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO || rc == SQL_NO_DATA_FOUND) { in PHP_FUNCTION()
1178 RETCODE rc; in PHP_FUNCTION() local
1292 RETCODE rc; in PHP_FUNCTION() local
1337 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO && rc != SQL_NO_DATA_FOUND) { in PHP_FUNCTION()
[all …]
/php-src/ext/fileinfo/libmagic/
H A Dapptype.c48 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-src/Zend/tests/attributes/
H A D029_reflect_internal_symbols.phpt9 $rc = new ReflectionClass('DateTime');
10 var_dump($rc->getAttributes());
12 $rm = $rc->getMethod('__construct');
15 $rcc = $rc->getReflectionConstant('ATOM');

Completed in 53 milliseconds

12345678