Home
last modified time | relevance | path

Searched refs:rc (Results 26 – 50 of 155) sorted by last modified time

1234567

/PHP-7.4/ext/mysqli/tests/
H A D002.phpt19 $rc = mysqli_query($link,"CREATE TABLE test_fetch_null(col1 tinyint, col2 smallint,
27 if (!$rc)
30 …$rc = mysqli_query($link, "INSERT INTO test_fetch_null(col1,col10, col11) VALUES(1,'foo1', 1000),(…
31 if (!$rc)
H A D003.phpt19 $rc = @mysqli_query($link,"CREATE TABLE test_bind_result(
38 if (!$rc)
39 $rc = @mysqli_query($link,"CREATE TABLE test_bind_result(
48 if (!$rc)
51 $rc = mysqli_query($link, "INSERT INTO test_bind_result VALUES(
58 if (!$rc)
/PHP-7.4/ext/pdo_odbc/
H A Dodbc_driver.c59 SQLRETURN rc; in pdo_odbc_error() local
93 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in pdo_odbc_error()
145 RETCODE rc; in odbc_handle_preparer() local
173 if (rc == SQL_INVALID_HANDLE || rc == SQL_ERROR) { in odbc_handle_preparer()
216 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_preparer()
225 RETCODE rc; in odbc_handle_doer() local
245 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { in odbc_handle_doer()
251 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 …]
/PHP-7.4/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
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 Dpcre2_match.c268 int rc; in do_callout() local
326 return rc; in do_callout()
6106 int rc; in pcre2_match() local
6358 return rc; in pcre2_match()
6477 if (!allow_invalid || match_data->rc > 0) return match_data->rc; in pcre2_match()
7061 switch(rc) in pcre2_match()
7116 rc = MATCH_NOMATCH; in pcre2_match()
7182 (rc == MATCH_NOMATCH || rc == PCRE2_ERROR_PARTIAL)) in pcre2_match()
7212 if (rc == 0) in pcre2_match()
7222 else if (rc < 0) in pcre2_match()
[all …]
H A Dpcre2_study.c978 int rc; in set_start_bits() local
1124 rc = set_start_bits(re, tcode, utf, ucp, depthptr); in set_start_bits()
1125 if (rc == SSB_DONE) in set_start_bits()
1129 else if (rc == SSB_CONTINUE) in set_start_bits()
1134 else return rc; /* FAIL, UNKNOWN, or TOODEEP */ in set_start_bits()
1180 rc = set_start_bits(re, ++tcode, utf, ucp, depthptr); in set_start_bits()
1181 if (rc == SSB_FAIL || rc == SSB_UNKNOWN || rc == SSB_TOODEEP) return rc; in set_start_bits()
1691 int rc = set_start_bits(re, code, utf, ucp, &depth); in PRIV() local
1692 if (rc == SSB_UNKNOWN) return 1; in PRIV()
1702 if (rc == SSB_DONE) in PRIV()
H A Dpcre2_dfa_match.c2700 if (rc != 0) return rc; in internal_dfa_match()
2724 if (rc < 0 && rc != PCRE2_ERROR_NOMATCH) return rc; in internal_dfa_match()
2799 if (rc != 0) return rc; in internal_dfa_match()
2823 if (rc < 0 && rc != PCRE2_ERROR_NOMATCH) return rc; in internal_dfa_match()
2848 if (rc != 0) return rc; in internal_dfa_match()
2897 for (rc = rc*2 - 2; rc >= 0; rc -= 2) in internal_dfa_match()
2941 if (rc != 0) return rc; in internal_dfa_match()
3040 if (rc != 0) return rc; in internal_dfa_match()
3244 int rc; in pcre2_dfa_match() local
3922 match_data->rc = rc; in pcre2_dfa_match()
[all …]
H A Dpcre2_compile.c4909 int rc; in add_to_class_internal() local
4915 while ((rc = get_othercase_range(&c, end, &oc, &od)) >= 0) in add_to_class_internal()
4919 if (rc > 0) n8 += add_list_to_class_internal(classbits, uchardptr, options, cb, in add_to_class_internal()
4920 PRIV(ucd_caseless_sets) + rc, oc); in add_to_class_internal()
10242 recurse_cache rc[RSCAN_CACHE_SIZE]; in pcre2_compile() local
10257 if (groupnumber == rc[p].groupnumber) in pcre2_compile()
10259 rgroup = rc[p].group; in pcre2_compile()
10267 if (groupnumber > rc[p].groupnumber) search_from = rc[p].group; in pcre2_compile()
10279 rc[start].groupnumber = groupnumber; in pcre2_compile()
10280 rc[start].group = rgroup; in pcre2_compile()
H A Dpcre2_jit_match.c112 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()
H A Dpcre2_intmodedep.h663 int rc; /* The return code from the match */ member
/PHP-7.4/ext/sqlite3/
H A Dsqlite3.c107 int rc; in PHP_METHOD() local
137 rc = sqlite3_open_v2(fullpath, &(db_obj->db), flags, NULL); in PHP_METHOD()
138 if (rc != SQLITE_OK) { in PHP_METHOD()
1361 int rc; // Return code in PHP_METHOD() local
1378 rc = sqlite3_backup_step(dbBackup, -1); in PHP_METHOD()
1379 } while (rc == SQLITE_OK); in PHP_METHOD()
1382 rc = sqlite3_backup_finish(dbBackup); in PHP_METHOD()
1385 rc = sqlite3_errcode(source_obj->db); in PHP_METHOD()
1388 if (rc != SQLITE_OK) { in PHP_METHOD()
1389 if (rc == SQLITE_BUSY) { in PHP_METHOD()
[all …]
/PHP-7.4/ext/spl/
H A Dspl_iterators.c2007 int rc; in SPL_METHOD() local
2042rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(subject), ZSTR_LEN(subject), 0, 0, match_data, php_pcre_… in SPL_METHOD()
2043 RETVAL_BOOL(rc >= 0); in SPL_METHOD()
H A Dspl_dllist.c42 #define SPL_LLIST_DELREF(elem) if(!--(elem)->rc) { \
46 #define SPL_LLIST_CHECK_DELREF(elem) if((elem) && !--(elem)->rc) { \
50 #define SPL_LLIST_ADDREF(elem) (elem)->rc++
51 #define SPL_LLIST_CHECK_ADDREF(elem) if(elem) (elem)->rc++
65 int rc; member
197 elem->rc = 1; in spl_ptr_llist_unshift()
221 elem->rc = 1; in spl_ptr_llist_push()
1325 elem->rc = 1; in SPL_METHOD()
/PHP-7.4/ext/standard/tests/array/
H A Dbug79930.phpt11 // Create rc=1 reference.
/PHP-7.4/ext/ldap/
H A Dldap.c177 rc = -1; in _php_ldap_control_to_array()
239 rc = -1; in _php_ldap_control_to_array()
260 rc = -1; in _php_ldap_control_to_array()
318 rc = -1; in _php_ldap_control_from_array()
349 rc = -1; in _php_ldap_control_from_array()
372 rc = -1; in _php_ldap_control_from_array()
570 rc = -1; in _php_ldap_control_from_array()
1131 int rc; in PHP_FUNCTION() local
1188 int rc; in PHP_FUNCTION() local
4372 int rc; in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/reflection/tests/
H A Dbug79487.phpt10 $rc = new ReflectionClass('Foo');
11 var_dump($rc->getStaticProperties());
20 $rc = new ReflectionClass(B::class);
22 var_dump($rc->getStaticProperties());
/PHP-7.4/ext/mbstring/
H A Dphp_mbregex.c457 php_mb_regex_t *retval = NULL, *rc = NULL; in php_mbregex_compile_pattern() local
467 rc = zend_hash_str_find_ptr(&MBREX(ht_rc), (char *)pattern, patlen); in php_mbregex_compile_pattern()
468 …if (!rc || onig_get_options(rc) != options || onig_get_encoding(rc) != enc || onig_get_syntax(rc) … in php_mbregex_compile_pattern()
474 if (rc == MBREX(search_re)) { in php_mbregex_compile_pattern()
480 retval = rc; in php_mbregex_compile_pattern()
/PHP-7.4/docs/
H A Drelease-process.md161 Example: When rolling an RC, set the `rc` with appropriate information for
/PHP-7.4/ext/mysqli/
H A Dmysqli_prop.c161 my_ulonglong rc; in link_affected_rows_read() local
172 rc = mysql_affected_rows(mysql->mysql); in link_affected_rows_read()
174 if (rc == (my_ulonglong) -1) { in link_affected_rows_read()
179 if (rc < ZEND_LONG_MAX) { in link_affected_rows_read()
180 ZVAL_LONG(retval, (zend_long) rc); in link_affected_rows_read()
182 ZVAL_NEW_STR(retval, strpprintf(0, MYSQLI_LLU_SPEC, rc)); in link_affected_rows_read()
328 my_ulonglong rc; in stmt_affected_rows_read() local
337 rc = mysql_stmt_affected_rows(p->stmt); in stmt_affected_rows_read()
339 if (rc == (my_ulonglong) -1) { in stmt_affected_rows_read()
344 if (rc < ZEND_LONG_MAX) { in stmt_affected_rows_read()
[all …]
/PHP-7.4/ext/dba/
H A Ddba_lmdb.c62 if (rc) { in DBA_OPEN_FUNC()
76 if (rc) { in DBA_OPEN_FUNC()
82 if (rc) { in DBA_OPEN_FUNC()
96 if (rc) { in DBA_OPEN_FUNC()
121 int rc; in DBA_FETCH_FUNC() local
163 int rc; in DBA_UPDATE_FUNC() local
198 int rc; in DBA_EXISTS_FUNC() local
234 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-7.4/Zend/
H A Dzend_types.h498 #define GC_SET_REFCOUNT(p, rc) zend_gc_set_refcount(&(p)->gc, rc) argument
501 #define GC_ADDREF_EX(p, rc) zend_gc_addref_ex(&(p)->gc, rc) argument
502 #define GC_DELREF_EX(p, rc) zend_gc_delref_ex(&(p)->gc, rc) argument
978 #define Z_SET_REFCOUNT_P(pz, rc) zval_set_refcount_p(pz, rc) argument
983 #define Z_SET_REFCOUNT(z, rc) Z_SET_REFCOUNT_P(&(z), rc) argument
1029 p->refcount = rc; in zend_gc_set_refcount()
1044 static zend_always_inline uint32_t zend_gc_addref_ex(zend_refcounted_h *p, uint32_t rc) { in zend_gc_addref_ex() argument
1046 p->refcount += rc; in zend_gc_addref_ex()
1052 p->refcount -= rc; in zend_gc_delref_ex()
1063 static zend_always_inline uint32_t zval_set_refcount_p(zval* pz, uint32_t rc) { in zval_set_refcount_p() argument
[all …]
/PHP-7.4/win32/build/
H A DMakefile41 MCFILE=$(BUILD_DIR)\wsyslog.rc
129 $(PHPDLL_RES): win32\build\template.rc
133 win32\build\template.rc
176 …_DIR)\*.ilk $(BUILD_DIR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.manif…
247 @copy win32\build\template.rc $(BUILD_DIR_DEV)\build\ /y >nul
/PHP-7.4/tests/classes/
H A Dinheritance_007.phpt11 $rc = new ReflectionClass('B');
12 var_dump($rc->getMethods());
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_io.c258 int sock = -1, rc; local
275 rc = inet_pton(AF_INET, addr, &serveraddr);
276 if (1 == rc) {
282 rc = inet_pton(AF_INET6, addr, &serveraddr);
283 if (1 == rc) {
295 rc = getaddrinfo(addr, port_buf, &hints, &res);
297 rc = getaddrinfo(NULL, port_buf, &hints, &res);
300 if (0 != rc) {
302 if (rc == EAI_SYSTEM) {
314 snprintf(buf, sizeof(buf), "Host '%s' not found. %s", addr, estrdup(gai_strerror(rc)));
H A Dphpdbg_out.c1269 int rc = 0; in phpdbg_rlog_internal() local
1287 rc = phpdbg_xml_vasprintf(&outbuf, format, 0, args); in phpdbg_rlog_internal()
1290 rc = phpdbg_mixed_write(fd, outbuf, rc); in phpdbg_rlog_internal()
1299 return rc; in phpdbg_rlog_internal()

Completed in 138 milliseconds

1234567