Home
last modified time | relevance | path

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

123456789

/PHP-5.5/ext/pdo_odbc/
H A Dodbc_driver.c61 SQLRETURN rc; in pdo_odbc_error() local
95 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in pdo_odbc_error()
147 RETCODE rc; in odbc_handle_preparer() local
175 if (rc == SQL_INVALID_HANDLE || rc == SQL_ERROR) { in odbc_handle_preparer()
217 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_preparer()
226 RETCODE rc; in odbc_handle_doer() local
246 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_doer()
252 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_doer()
290 RETCODE rc; in odbc_handle_commit() local
316 RETCODE rc; in odbc_handle_rollback() local
[all …]
H A Dodbc_stmt.c164 RETCODE rc; in odbc_stmt_execute() local
245 switch (rc) { in odbc_stmt_execute()
280 RETCODE rc; in odbc_stmt_param_hook() local
317 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_stmt_param_hook()
382 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO) { in odbc_stmt_param_hook()
513 RETCODE rc; in odbc_stmt_fetch() local
552 RETCODE rc; in odbc_stmt_describe() local
625 RETCODE rc; in odbc_stmt_get_col() local
744 SQLRETURN rc; in odbc_stmt_set_param() local
752 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO) { in odbc_stmt_set_param()
[all …]
/PHP-5.5/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 DReflectionObject_getConstant_error.phpt9 $rc = new ReflectionObject(new C);
10 var_dump($rc->getConstant());
11 var_dump($rc->getConstant("myConst", "myConst"));
12 var_dump($rc->getConstant(null));
13 var_dump($rc->getConstant(1));
14 var_dump($rc->getConstant(1.5));
15 var_dump($rc->getConstant(true));
16 var_dump($rc->getConstant(array(1,2,3)));
17 var_dump($rc->getConstant(new C));
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_getConstant_error.phpt9 $rc = new ReflectionClass("C");
11 var_dump($rc->getConstant());
12 var_dump($rc->getConstant("myConst", "myConst"));
13 var_dump($rc->getConstant(null));
14 var_dump($rc->getConstant(1));
15 var_dump($rc->getConstant(1.5));
16 var_dump($rc->getConstant(true));
17 var_dump($rc->getConstant(array(1,2,3)));
18 var_dump($rc->getConstant(new C));
H A DReflectionClass_hasConstant_002.phpt12 $rc = new ReflectionClass("C");
14 var_dump($rc->hasConstant());
15 var_dump($rc->hasConstant("myConst", "myConst"));
16 var_dump($rc->hasConstant(null));
17 var_dump($rc->hasConstant(1));
18 var_dump($rc->hasConstant(1.5));
19 var_dump($rc->hasConstant(true));
20 var_dump($rc->hasConstant(array(1,2,3)));
21 var_dump($rc->hasConstant(new C));
H A DReflectionClass_hasMethod_002.phpt12 $rc = new ReflectionClass("C");
14 var_dump($rc->hasMethod());
15 var_dump($rc->hasMethod("f", "f"));
16 var_dump($rc->hasMethod(null));
17 var_dump($rc->hasMethod(1));
18 var_dump($rc->hasMethod(1.5));
19 var_dump($rc->hasMethod(true));
20 var_dump($rc->hasMethod(array(1,2,3)));
21 var_dump($rc->hasMethod(new C));
H A DReflectionClass_hasProperty_002.phpt12 $rc = new ReflectionClass("C");
14 var_dump($rc->hasProperty());
15 var_dump($rc->hasProperty("a", "a"));
16 var_dump($rc->hasProperty(null));
17 var_dump($rc->hasProperty(1));
18 var_dump($rc->hasProperty(1.5));
19 var_dump($rc->hasProperty(true));
20 var_dump($rc->hasProperty(array(1,2,3)));
21 var_dump($rc->hasProperty(new C));
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_isInstance_error.phpt7 $rc = new ReflectionClass("X");
10 var_dump($rc->isInstance());
11 var_dump($rc->isInstance($instance, $instance));
12 var_dump($rc->isInstance(1));
13 var_dump($rc->isInstance(1.5));
14 var_dump($rc->isInstance(true));
15 var_dump($rc->isInstance('X'));
16 var_dump($rc->isInstance(null));
H A DReflectionClass_getDefaultProperties_002.phpt10 $rc = new ReflectionClass('C');
11 var_dump($rc->getDefaultProperties(null));
12 var_dump($rc->getDefaultProperties('X'));
13 var_dump($rc->getDefaultProperties(true));
14 var_dump($rc->getDefaultProperties(array(1,2,3)));
15 var_dump($rc->getStaticProperties(null));
16 var_dump($rc->getStaticProperties('X'));
17 var_dump($rc->getStaticProperties(true));
18 var_dump($rc->getStaticProperties(array(1,2,3)));
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_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 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_getConstants_error.phpt8 $rc = new reflectionClass('X');
11 $rc->getConstants('X');
12 $rc->getConstants(true);
13 $rc->getConstants(null);
14 $rc->getConstants('A', 'B');
/PHP-5.5/sapi/cli/
H A Dphp_cli_process_title.c35 int rc; in PHP_FUNCTION() local
41 rc = set_ps_title(title); in PHP_FUNCTION()
42 if (rc == PS_TITLE_SUCCESS) { in PHP_FUNCTION()
46 …or_docref(NULL TSRMLS_CC, E_WARNING, "cli_set_process_title had an error: %s", ps_title_errno(rc)); in PHP_FUNCTION()
57 int rc; in PHP_FUNCTION() local
63 rc = get_ps_title(&length, &title); in PHP_FUNCTION()
64 if (rc != PS_TITLE_SUCCESS) { in PHP_FUNCTION()
65 …or_docref(NULL TSRMLS_CC, E_WARNING, "cli_get_process_title had an error: %s", ps_title_errno(rc)); in PHP_FUNCTION()
/PHP-5.5/sapi/continuity/
H A Dcapi.c133 capi_request_context *rc; in sapi_capi_ub_write() local
192 httpFstart_response(rc->t); in sapi_capi_send_headers()
203 if (rc->read_post_bytes == -1) { in sapi_capi_read_post()
206 if (rc->read_post_bytes == 0) in sapi_capi_read_post()
216 rc->read_post_bytes = total_read; in sapi_capi_read_post()
241 value = lstFset_get(rc->t->vars, "uri"); in sapi_capi_register_server_variables()
248 value = lstFset_get(rc->t->vars, "ccode"); in sapi_capi_register_server_variables()
253 value = lstFset_get(rc->t->vars, "query"); in sapi_capi_register_server_variables()
278 value = lstFset_get(rc->t->vars, "method"); in sapi_capi_register_server_variables()
283 value = lstFset_get(rc->t->vars, "query"); in sapi_capi_register_server_variables()
[all …]
/PHP-5.5/ext/pcre/pcrelib/
H A Dpcredemo.c61 int rc, i; in main() local
121 rc = pcre_exec( in main()
133 if (rc < 0) in main()
135 switch(rc) in main()
160 if (rc == 0) in main()
162 rc = OVECCOUNT/3; in main()
169 for (i = 0; i < rc; i++) in main()
313 rc = pcre_exec( in main()
358 if (rc < 0) in main()
371 if (rc == 0) in main()
[all …]
H A Dpcre_get.c79 int rc; in pcre_get_stringnumber() local
86 return rc; in pcre_get_stringnumber()
90 return rc; in pcre_get_stringnumber()
92 return rc; in pcre_get_stringnumber()
96 return rc; in pcre_get_stringnumber()
100 return rc; in pcre_get_stringnumber()
102 return rc; in pcre_get_stringnumber()
106 return rc; in pcre_get_stringnumber()
110 return rc; in pcre_get_stringnumber()
112 return rc; in pcre_get_stringnumber()
[all …]
/PHP-5.5/sapi/nsapi/
H A Dnsapi.c475 if (!rc) { in sapi_nsapi_flush()
581 protocol_status(rc->sn, rc->rq, SG(sapi_headers).http_response_code, NULL); in sapi_nsapi_send_headers()
582 retval = protocol_start_response(rc->sn, rc->rq); in sapi_nsapi_send_headers()
597 netbuf *nbuf = rc->sn->inbuf; in sapi_nsapi_read_post()
721 value = http_uri2url_dynamic("", "", rc->sn, rc->rq); in sapi_nsapi_register_server_variables()
739 if (rc->path_info) { in sapi_nsapi_register_server_variables()
740 if (value = request_translate_uri(rc->path_info, rc->sn)) { in sapi_nsapi_register_server_variables()
761 if (rc->path_info) { in sapi_nsapi_register_server_variables()
772 if (rc->http_error) { in sapi_nsapi_register_server_variables()
782 if (rc) { in nsapi_log_message()
[all …]
/PHP-5.5/ext/odbc/
H A Dphp_odbc.c423 RETCODE rc; in ZEND_GET_MODULE() local
717 RETCODE rc; in PHP_MINIT_FUNCTION() local
874 RETCODE rc; in odbc_sql_error() local
947 RETCODE rc; in odbc_bindcols() local
1041 RETCODE rc; in odbc_transact() local
1185 RETCODE rc; in PHP_FUNCTION() local
1280 RETCODE rc; in PHP_FUNCTION() local
1472 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO || rc == SQL_NO_DATA_FOUND) { in PHP_FUNCTION()
1500 RETCODE rc; in PHP_FUNCTION() local
1658 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO && rc != SQL_NO_DATA_FOUND) { in PHP_FUNCTION()
[all …]
/PHP-5.5/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()

Completed in 60 milliseconds

123456789