Searched defs:rc (Results 1 - 25 of 31) sorted by relevance

12

/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_get.c77 int rc; local
83 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
84 return rc;
87 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMEENTRYSIZE, &entrysize)) != 0)
88 return rc;
89 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMETABLE, &nametable)) != 0)
90 return rc;
93 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
94 return rc;
97 if ((rc
160 int rc; local
[all...]
H A Dpcredemo.c61 int rc, i; local
121 rc = pcre_exec(
133 if (rc < 0)
135 switch(rc)
141 default: printf("Matching error %d\n", rc); break;
160 if (rc == 0)
162 rc = OVECCOUNT/3;
163 printf("ovector only has room for %d captured substrings\n", rc - 1);
169 for (i = 0; i < rc; i++)
313 rc
[all...]
H A Dpcreposix.c323 int rc, so, eo; local
374 rc = pcre_exec((const pcre *)preg->re_pcre, NULL, string + so, (eo - so),
377 if (rc == 0) rc = (int)nmatch; /* All captured slots were filled in */
381 if (rc >= 0)
386 for (i = 0; i < (size_t)rc; i++)
400 switch(rc)
H A Dpcre_study.c832 int rc; local
965 rc = set_start_bits(tcode, start_bits, utf, cd);
966 if (rc == SSB_FAIL || rc == SSB_UNKNOWN) return rc;
967 if (rc == SSB_DONE) try_next = FALSE; else
1012 rc = set_start_bits(++tcode, start_bits, utf, cd);
1013 if (rc == SSB_FAIL || rc == SSB_UNKNOWN) return rc;
1500 int rc; local
[all...]
/PHP_TRUNK/ext/date/lib/
H A Dastro.c220 int rc = 0; /* Return cde from function - usually 0 */ local
264 rc = -1;
269 rc = +1;
290 return rc;
/PHP_TRUNK/ext/hash/
H A Dphp_hash_whirlpool_tables.h26 static const php_hash_uint64 rc[R + 1] = { variable
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_embedded.c43 int index, rc; local
98 rc = mysql_server_init(argc, arguments, groups);
105 if (rc) {
H A Dmysqli_prop.c152 my_ulonglong rc; local
163 rc = mysql_affected_rows(mysql->mysql);
165 if (rc == (my_ulonglong) -1) {
170 if (rc < ZEND_LONG_MAX) {
171 ZVAL_LONG(retval, (zend_long) rc);
173 ZVAL_NEW_STR(retval, strpprintf(0, MYSQLI_LLU_SPEC, rc));
341 my_ulonglong rc; local
350 rc = mysql_stmt_affected_rows(p->stmt);
352 if (rc == (my_ulonglong) -1) {
357 if (rc < ZEND_LONG_MA
[all...]
H A Dmysqli_api.c146 my_ulonglong rc; local
154 rc = mysql_affected_rows(mysql->mysql);
155 if (rc == (my_ulonglong) -1) {
158 MYSQLI_RETURN_LONG_INT(rc);
190 unsigned long rc; local
239 rc = 1;
244 rc = mysql_stmt_bind_param(stmt->stmt, bind);
247 if (rc) {
262 return rc;
330 zend_ulong rc; local
396 zend_ulong rc; local
589 zend_ulong rc; local
617 zend_ulong rc; local
1540 my_ulonglong rc; local
1824 zend_long rc; local
2036 my_ulonglong rc; local
2131 my_ulonglong rc; local
2185 my_ulonglong rc; local
2373 int rc; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_process_title.c35 int rc; local
41 rc = set_ps_title(title);
42 if (rc == PS_TITLE_SUCCESS) {
46 php_error_docref(NULL, E_WARNING, "cli_set_process_title had an error: %s", ps_title_errno(rc));
57 int rc; local
63 rc = get_ps_title(&length, &title);
64 if (rc != PS_TITLE_SUCCESS) {
65 php_error_docref(NULL, E_WARNING, "cli_get_process_title had an error: %s", ps_title_errno(rc));
H A Dps_title.c300 const char* ps_title_errno(int rc) argument
302 switch(rc)
335 int rc = is_ps_title_available(); local
336 if (rc != PS_TITLE_SUCCESS)
337 return rc;
402 int rc = is_ps_title_available(); local
403 if (rc != PS_TITLE_SUCCESS)
404 return rc;
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_driver.c61 SQLRETURN rc; local
92 rc = SQLGetDiagRec(htype, eh, recno++, einfo->last_state, &einfo->last_error,
95 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) {
116 while (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO) {
120 rc = SQLGetDiagRec(htype, eh, recno++, discard_state, &code,
147 RETCODE rc; local
173 rc = SQLAllocHandle(SQL_HANDLE_STMT, H->dbc, &S->stmt);
175 if (rc
226 RETCODE rc; local
275 RETCODE rc; local
290 RETCODE rc; local
316 RETCODE rc; local
394 RETCODE rc; local
[all...]
H A Dodbc_stmt.c164 RETCODE rc; local
173 rc = SQLExecute(S->stmt);
175 while (rc == SQL_NEED_DATA) {
178 rc = SQLParamData(S->stmt, (SQLPOINTER*)&param);
179 if (rc == SQL_NEED_DATA) {
251 switch (rc) {
286 RETCODE rc; local
323 rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nullable);
324 if (rc != SQL_SUCCESS && rc !
529 RETCODE rc; local
568 RETCODE rc; local
640 RETCODE rc; local
759 SQLRETURN rc; local
786 SQLRETURN rc; local
818 SQLRETURN rc; local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_result.c44 enum_func_status rc; local
56 rc = result->m.row_decoder(result->row_buffers[(data_cursor - data_begin) / field_count],
62 if (rc != PASS) {
97 enum_func_status rc; local
114 rc = result->m.row_decoder(result->row_buffers[i], current_row, field_count, meta->fields, int_and_float_native, stats);
116 if (rc != PASS) {
721 enum_func_status rc = result->unbuf->m.row_decoder(result->unbuf->last_row_buffer, local
727 if (PASS != rc) {
840 enum_func_status rc = result->unbuf->m.row_decoder(result->unbuf->last_row_buffer, local
846 if (PASS != rc) {
988 enum_func_status rc = set->m.row_decoder(set->row_buffers[row_num], local
1079 enum_func_status rc = set->m.row_decoder(set->row_buffers[row_num], local
1161 enum_func_status rc; local
[all...]
H A Dmysqlnd_ps.c775 enum_func_status rc = result->stored_data->m.row_decoder(result->stored_data->row_buffers[row_num], local
781 if (PASS != rc) {
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dapptype.c48 APPTYPE rc, type; local
80 rc = DosQueryAppType((unsigned char *)path, &type);
87 if (rc == ERROR_INVALID_EXE_SIGNATURE)
89 else if (rc == ERROR_FILE_NOT_FOUND)
91 else if (rc == ERROR_ACCESS_DENIED)
93 else if (rc != 0)
94 printf("%s: error code = %lu\n", fname, rc);
103 if (rc)
H A Dcompress.c336 int rc; local
373 rc = inflateInit2(&z, -15);
374 if (rc != Z_OK) {
379 rc = inflate(&z, Z_SYNC_FLUSH);
380 if (rc != Z_OK && rc != Z_STREAM_END) {
/PHP_TRUNK/ext/spl/
H A Dspl_dllist.c44 #define SPL_LLIST_DELREF(elem) if(!--(elem)->rc) { \
48 #define SPL_LLIST_CHECK_DELREF(elem) if((elem) && !--(elem)->rc) { \
52 #define SPL_LLIST_ADDREF(elem) (elem)->rc++
53 #define SPL_LLIST_CHECK_ADDREF(elem) if(elem) (elem)->rc++
67 int rc; member in struct:_spl_ptr_llist_element
199 elem->rc = 1;
223 elem->rc = 1;
1271 elem->rc = 1;
/PHP_TRUNK/ext/ldap/
H A Dldap.c352 int rc; local
366 rc = ldap_initialize(&ldap, url);
370 if (rc != LDAP_SUCCESS) {
372 php_error_docref(NULL, E_WARNING, "Could not create session handle: %s", ldap_err2string(rc));
443 int rc; local
471 rc = ldap_sasl_bind_s(ld->link, ldap_bind_dn, LDAP_SASL_SIMPLE, &cred,
475 if ( rc != LDAP_SUCCESS) {
476 php_error_docref(NULL, E_WARNING, "Unable to bind to server: %s", ldap_err2string(rc));
582 size_t rc, dn_len, passwd_len, mech_len, realm_len, authc_id_len, authz_id_len, props_len; local
599 rc
1547 int rc; local
2321 int rc, lerrcode, myargcount = ZEND_NUM_ARGS(); local
2497 int rc; local
2539 int rc, protocol = LDAP_VERSION3; local
2786 int rc, myargcount = ZEND_NUM_ARGS(); local
2878 int rc, lerrcode, myargcount = ZEND_NUM_ARGS(); local
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_sort.c56 int rc = SUCCESS; local
123 rc = compare_function( result, norm1_p, norm2_p );
138 return rc;
147 int rc = SUCCESS; local
164 rc = numeric_compare_function( result, op1, op2);
171 return rc;
181 int rc = SUCCESS; local
201 return rc;
/PHP_TRUNK/ext/mbstring/
H A Dphp_mbregex.c450 php_mb_regex_t *retval = NULL, *rc = NULL; local
454 rc = zend_hash_str_find_ptr(&MBREX(ht_rc), (char *)pattern, patlen);
455 if (!rc || rc->options != options || rc->enc != enc || rc->syntax != syntax) {
463 } else if (rc) {
464 retval = rc;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_out.c1290 int rc = 0; local
1308 rc = phpdbg_xml_vasprintf(&outbuf, format, 0, args);
1311 rc = phpdbg_mixed_write(fd, outbuf, rc);
1320 return rc;
H A Dphpdbg_io.c223 int sock = -1, rc; local
240 rc = inet_pton(AF_INET, addr, &serveraddr);
241 if (1 == rc) {
247 rc = inet_pton(AF_INET6, addr, &serveraddr);
248 if (1 == rc) {
260 rc = getaddrinfo(addr, port_buf, &hints, &res);
262 rc = getaddrinfo(NULL, port_buf, &hints, &res);
265 if (0 != rc) {
267 if (rc == EAI_SYSTEM) {
281 wrote = snprintf(buf, 256, "Host '%s' not found. %s", addr, estrdup(gai_strerror(rc)));
[all...]
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c215 int rc; local
223 rc = rc2 ? rc2 : rc1;
224 if (rc < 0) {
225 php_error_docref(NULL, E_WARNING, "Internal pcre_fullinfo() error %d", rc);
283 int rc; local
494 rc = pcre_fullinfo(re, extra, PCRE_INFO_CAPTURECOUNT, &new_entry.capture_count);
495 if (rc < 0) {
496 php_error_docref(NULL, E_WARNING, "Internal pcre_fullinfo() error %d", rc);
500 rc = pcre_fullinfo(re, extra, PCRE_INFO_NAMECOUNT, &new_entry.name_count);
501 if (rc <
[all...]
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c426 RETCODE rc; local
442 rc = SQLFreeStmt(res->stmt,SQL_DROP);
712 RETCODE rc; local
873 RETCODE rc; local
890 rc = SQLError(henv, conn, stmt, state, &error, errormsg, sizeof(errormsg)-1, &errormsgsize);
891 if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) {
907 } while (SQL_SUCCEEDED(rc));
941 RETCODE rc; local
957 rc
1047 RETCODE rc; local
1186 RETCODE rc; local
1283 RETCODE rc; local
1505 RETCODE rc; local
1561 RETCODE rc = 0; /* assume all is good */ local
1623 RETCODE rc; local
1707 RETCODE rc; local
1859 RETCODE rc; local
1980 RETCODE rc; local
2015 RETCODE rc; local
2073 RETCODE rc; local
2260 RETCODE rc; local
2430 RETCODE rc; local
2789 int rc, i; local
2985 RETCODE rc; local
3101 RETCODE rc; local
3160 RETCODE rc; local
3229 RETCODE rc; local
3301 RETCODE rc; local
3367 RETCODE rc; local
3445 RETCODE rc; local
3507 RETCODE rc; local
3570 RETCODE rc; local
3640 RETCODE rc; local
3709 RETCODE rc; local
3781 RETCODE rc; local
3850 RETCODE rc; local
[all...]

Completed in 38 milliseconds

12