/PHP-7.2/ext/dba/ |
H A D | dba_lmdb.c | 57 if (rc) { in DBA_OPEN_FUNC() 63 if (rc) { in DBA_OPEN_FUNC() 69 if (rc) { in DBA_OPEN_FUNC() 83 if (rc) { in DBA_OPEN_FUNC() 108 int rc; in DBA_FETCH_FUNC() local 150 int rc; in DBA_UPDATE_FUNC() local 185 int rc; in DBA_EXISTS_FUNC() local 221 int rc; in DBA_DELETE_FUNC() local 251 int rc; in DBA_FIRSTKEY_FUNC() local 291 int rc; in DBA_NEXTKEY_FUNC() local [all …]
|
/PHP-7.2/ext/pdo_odbc/ |
H A D | odbc_driver.c | 61 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 D | odbc_stmt.c | 164 RETCODE rc; in odbc_stmt_execute() local 251 switch (rc) { in odbc_stmt_execute() 286 RETCODE rc; in odbc_stmt_param_hook() local 324 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_stmt_param_hook() 389 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO) { in odbc_stmt_param_hook() 529 RETCODE rc; in odbc_stmt_fetch() local 568 RETCODE rc; in odbc_stmt_describe() local 658 RETCODE rc; in odbc_stmt_get_col() local 777 SQLRETURN rc; in odbc_stmt_set_param() local 785 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO) { in odbc_stmt_set_param() [all …]
|
/PHP-7.2/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 | ReflectionObject_getConstant_error.phpt | 9 $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 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_getConstant_error.phpt | 9 $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 D | ReflectionClass_hasConstant_002.phpt | 12 $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 D | ReflectionClass_hasProperty_002.phpt | 12 $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 D | ReflectionClass_hasMethod_002.phpt | 12 $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 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_isInstance_error.phpt | 7 $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 D | ReflectionClass_getDefaultProperties_002.phpt | 10 $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 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_getConstants_error.phpt | 8 $rc = new reflectionClass('X'); 11 $rc->getConstants('X'); 12 $rc->getConstants(true); 13 $rc->getConstants(null); 14 $rc->getConstants('A', 'B');
|
/PHP-7.2/sapi/cli/ |
H A D | php_cli_process_title.c | 35 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 php_error_docref(NULL, 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 … php_error_docref(NULL, E_WARNING, "cli_get_process_title had an error: %s", ps_title_errno(rc)); in PHP_FUNCTION()
|
/PHP-7.2/ext/pcre/pcrelib/ |
H A D | pcredemo.c | 61 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 D | pcre_get.c | 79 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-7.2/ext/odbc/ |
H A D | php_odbc.c | 426 RETCODE rc; in ZEND_GET_MODULE() local 722 RETCODE rc; in PHP_MINIT_FUNCTION() local 881 RETCODE rc; in odbc_sql_error() local 947 RETCODE rc; in odbc_bindcols() local 1060 RETCODE rc; in odbc_transact() local 1199 RETCODE rc; in PHP_FUNCTION() local 1310 RETCODE rc; in PHP_FUNCTION() local 1492 if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO || rc == SQL_NO_DATA_FOUND) { in PHP_FUNCTION() 1520 RETCODE rc; in PHP_FUNCTION() local 1685 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO && rc != SQL_NO_DATA_FOUND) { in PHP_FUNCTION() [all …]
|
/PHP-7.2/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 73981 rc = p->rc; 91149 p->rc = rc; 91204 p->rc = rc; 189840 p->rc = rc; 190884 p->rc = rc; 191295 p->rc = rc; 192874 p->rc = rc; 192876 rc = p->rc; 192888 p->rc = rc; 207122 if( rc || (rc = sCtx.rc) ){ [all …]
|
/PHP-7.2/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()
|