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

12

/PHP_TRUNK/ext/pcre/pcrelib/
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 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 Dpcre_study.c796 int rc; local
905 rc = set_start_bits(tcode, start_bits, utf, cd);
906 if (rc == SSB_FAIL || rc == SSB_UNKNOWN) return rc;
907 if (rc == SSB_DONE) try_next = FALSE; else
952 rc = set_start_bits(++tcode, start_bits, utf, cd);
953 if (rc == SSB_FAIL || rc == SSB_UNKNOWN) return rc;
1447 int rc; local
[all...]
H A Dpcreposix.c322 int rc, so, eo; local
373 rc = pcre_exec((const pcre *)preg->re_pcre, NULL, string + so, (eo - so),
376 if (rc == 0) rc = (int)nmatch; /* All captured slots were filled in */
380 if (rc >= 0)
385 for (i = 0; i < (size_t)rc; i++)
399 switch(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.c325 int rc; local
362 rc = inflateInit2(&z, -15);
363 if (rc != Z_OK) {
368 rc = inflate(&z, Z_SYNC_FLUSH);
369 if (rc != Z_OK && rc != Z_STREAM_END) {
/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/ereg/
H A Dereg.c143 reg_cache *rc = NULL; local
156 rc = zend_hash_str_find_ptr(&EREG(ht_rc), pattern, patlen);
157 if (rc
158 && rc->cflags == cflags) {
164 if (rc->preg.re_magic != reg_magic) {
168 memcpy(preg, &rc->preg, sizeof(*preg));
190 memcpy(preg, &rc->preg, sizeof(*preg));
210 reg_cache *rc = Z_PTR_P(zv); local
211 regfree(&rc->preg);
212 free(rc);
[all...]
/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.c145 my_ulonglong rc; local
153 rc = mysql_affected_rows(mysql->mysql);
154 if (rc == (my_ulonglong) -1) {
157 MYSQLI_RETURN_LONG_INT(rc);
189 unsigned long rc; local
238 rc = 1;
243 rc = mysql_stmt_bind_param(stmt->stmt, bind);
246 if (rc) {
261 return rc;
329 zend_ulong rc; local
395 zend_ulong rc; local
581 zend_ulong rc; local
627 zend_ulong rc; local
1535 my_ulonglong rc; local
1819 zend_long rc; local
2031 my_ulonglong rc; local
2126 my_ulonglong rc; local
2180 my_ulonglong rc; local
2368 int rc; local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps.c761 enum_func_status rc = result->stored_data->m.row_decoder(result->stored_data->row_buffers[row_num], local
767 if (PASS != rc) {
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 TSRMLS_CC);
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...]
/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
641 RETCODE rc; local
760 SQLRETURN rc; local
787 SQLRETURN rc; local
819 SQLRETURN 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 TSRMLS_CC, 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 TSRMLS_CC, E_WARNING, "cli_get_process_title had an error: %s", ps_title_errno(rc));
H A Dps_title.c296 const char* ps_title_errno(int rc) argument
298 switch(rc)
331 int rc = is_ps_title_available(); local
332 if (rc != PS_TITLE_SUCCESS)
333 return rc;
384 int rc = is_ps_title_available(); local
385 if (rc != PS_TITLE_SUCCESS)
386 return rc;
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c133 capi_request_context *rc; local
135 rc = (capi_request_context *) SG(server_context);
136 retval = httpFwrite(rc->t, (char *) str, str_length);
149 capi_request_context *rc = (capi_request_context *) SG(server_context); local
151 lstFset_delete_key(rc->t->res_hdrs, "Content-Type");
163 lstFset_add(rc->t->res_hdrs, header_name, header_content);
180 capi_request_context *rc = (capi_request_context *) SG(server_context); local
188 /* lstFset_delete_key(rc->t->res_hdrs, "Content-Type"); */
189 lstFset_update(rc->t->res_hdrs, "Content-Type", "text/html");
191 httpFset_status(rc
201 capi_request_context *rc = (capi_request_context *) SG(server_context); local
227 capi_request_context *rc = (capi_request_context *) SG(server_context); local
235 capi_request_context *rc = (capi_request_context *) SG(server_context); local
348 capi_request_context *rc = (capi_request_context *) SG(server_context); 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 TSRMLS_CC );
138 return rc;
147 int rc = SUCCESS; local
164 rc = numeric_compare_function( result, op1, op2 TSRMLS_CC);
171 return rc;
181 int rc = SUCCESS; local
201 return rc;
/PHP_TRUNK/sapi/isapi/stresstest/
H A Dstresstest.cpp639 DWORD rc; local
697 rc = IsapiHttpExtensionProc(&ECB);
698 if (rc == HSE_STATUS_PENDING) {
730 DWORD rc; local
736 rc = value.GetLength();
739 rc = value.GetLength();
742 rc = GetEnvironmentVariable(lpszVariableName, (char *)lpBuffer, *lpdwSize) ;
744 if (!rc) { // return of 0 indicates the variable was not found
749 if (rc > *lpdwSize) {
754 *lpdwSize =rc
[all...]
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c337 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context); local
362 if (value = pblock_findval("host", rc->rq->headers)) {
369 rv = (*nsapi_servact_uri2path)(rc->sn, rq);
374 rv = (*nsapi_servact_pathchecks)(rc->sn, rq);
379 rv = (*nsapi_servact_fileinfo)(rc->sn, rq);
384 rv = (*nsapi_servact_service)(rc->sn, rq);
406 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context); local
414 for (i=0; i < rc->rq->headers->hsize; i++) {
415 entry=rc->rq->headers->ht[i];
430 nsapi_request_context *rc local
456 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context); local
472 nsapi_request_context *rc = (nsapi_request_context *)server_context; local
495 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context); local
520 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context); local
570 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context); local
592 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context); local
651 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context); local
659 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context); local
779 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context); local
[all...]
/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_io.c169 int sock = -1, rc; local
186 rc = inet_pton(AF_INET, addr, &serveraddr);
187 if (1 == rc) {
193 rc = inet_pton(AF_INET6, addr, &serveraddr);
194 if (1 == rc) {
206 rc = getaddrinfo(addr, port_buf, &hints, &res);
208 rc = getaddrinfo(NULL, port_buf, &hints, &res);
211 if (0 != rc) {
213 if (rc == EAI_SYSTEM) {
227 wrote = snprintf(buf, 256, "Host '%s' not found. %s", addr, estrdup(gai_strerror(rc)));
[all...]
H A Dphpdbg_out.c1275 int rc = 0; local
1293 rc = phpdbg_xml_vasprintf(&outbuf, format, 0, args TSRMLS_CC);
1296 rc = phpdbg_mixed_write(fd, outbuf, rc TSRMLS_CC);
1305 return rc;

Completed in 41 milliseconds

12