/PHP-5.5/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 249 static int pdo_sqlite_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *len, int… in pdo_sqlite_stmt_get_col() argument 262 *ptr = NULL; in pdo_sqlite_stmt_get_col() 267 *ptr = (char*)sqlite3_column_blob(S->stmt, colno); in pdo_sqlite_stmt_get_col() 272 *ptr = (char*)sqlite3_column_text(S->stmt, colno); in pdo_sqlite_stmt_get_col()
|
/PHP-5.5/ext/pdo_odbc/ |
H A D | odbc_stmt.c | 405 char *ptr = P->outbuf; in odbc_stmt_param_hook() local 410 amount = end - ptr; in odbc_stmt_param_hook() 420 ptr += len; in odbc_stmt_param_hook() 684 *ptr = buf; in odbc_stmt_get_col() 694 *ptr = NULL; in odbc_stmt_get_col() 703 *ptr = NULL; in odbc_stmt_get_col() 708 *ptr = C->data; in odbc_stmt_get_col() 716 *ptr = NULL; in odbc_stmt_get_col() 731 efree(*ptr); in odbc_stmt_get_col() 733 *ptr = emalloc(ulen + 1); in odbc_stmt_get_col() [all …]
|
/PHP-5.5/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 505 *ptr = NULL; in pgsql_stmt_get_col() 508 *ptr = PQgetvalue(S->result, S->current_row - 1, colno); in pgsql_stmt_get_col() 514 S->cols[colno].intval = atol(*ptr); in pgsql_stmt_get_col() 515 *ptr = (char *) &(S->cols[colno].intval); in pgsql_stmt_get_col() 520 S->cols[colno].boolval = **ptr == 't' ? 1: 0; in pgsql_stmt_get_col() 521 *ptr = (char *) &(S->cols[colno].boolval); in pgsql_stmt_get_col() 529 Oid oid = (Oid)strtoul(*ptr, &end_ptr, 10); in pgsql_stmt_get_col() 534 return *ptr ? 1 : 0; in pgsql_stmt_get_col() 536 *ptr = NULL; in pgsql_stmt_get_col() 548 *ptr = (char *)php_stream_memory_open(TEMP_STREAM_READONLY, "", 0); in pgsql_stmt_get_col() [all …]
|
/PHP-5.5/ext/pdo_oci/ |
H A D | oci_statement.c | 721 static int oci_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *len, int *calle… in oci_stmt_get_col() argument 729 *ptr = NULL; in oci_stmt_get_col() 737 *ptr = (char*)oci_create_lob_stream(stmt, (OCILobLocator*)C->data TSRMLS_CC); in oci_stmt_get_col() 741 return *ptr ? 1 : 0; in oci_stmt_get_col() 744 *ptr = C->data; in oci_stmt_get_col() 751 *ptr = C->data; in oci_stmt_get_col()
|
/PHP-5.5/ext/pdo_firebird/ |
H A D | firebird_statement.c | 270 *ptr = S->fetch_buf[colno] = erealloc(*ptr, *len+1); in firebird_fetch_blob() 280 (*ptr)[*len++] = '\0'; in firebird_fetch_blob() 306 *ptr = NULL; in firebird_stmt_get_col() 340 *ptr = FETCH_BUF(S->fetch_buf[colno], char, CHAR_BUF_LEN, NULL); in firebird_stmt_get_col() 357 *ptr = &var->sqldata[2]; in firebird_stmt_get_col() 361 *ptr = var->sqldata; in firebird_stmt_get_col() 369 *ptr = FETCH_BUF(S->fetch_buf[colno], char, CHAR_BUF_LEN, NULL); in firebird_stmt_get_col() 373 *ptr = FETCH_BUF(S->fetch_buf[colno], char, CHAR_BUF_LEN, NULL); in firebird_stmt_get_col() 398 *ptr = FETCH_BUF(S->fetch_buf[colno], char, *len, NULL); in firebird_stmt_get_col() 399 *len = strftime(*ptr, *len, fmt, &t); in firebird_stmt_get_col() [all …]
|
/PHP-5.5/ext/pdo_mysql/ |
H A D | mysql_statement.c | 705 static int pdo_mysql_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *len, int … argument 729 *ptr = (char*)&S->stmt->data->result_bind[colno].zv; 736 *ptr = NULL; 740 *ptr = S->bound_result[colno].buffer; 752 *ptr = S->current_data[colno];
|
/PHP-5.5/ext/pdo_dblib/ |
H A D | dblib_stmt.c | 215 static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, in pdo_dblib_stmt_get_col() argument 229 *ptr = dbdata(H->link, colno+1); in pdo_dblib_stmt_get_col() 231 if (*len == 0 && *ptr == NULL) { in pdo_dblib_stmt_get_col() 244 memcpy(tmp_ptr, *ptr, *len); in pdo_dblib_stmt_get_col() 246 *ptr = tmp_ptr; in pdo_dblib_stmt_get_col() 254 *ptr = tmp_ptr; in pdo_dblib_stmt_get_col() 262 *len = dbconvert(NULL, SQLUNIQUE, *ptr, *len, SQLCHAR, tmp_ptr, *len); in pdo_dblib_stmt_get_col() 264 *ptr = tmp_ptr; in pdo_dblib_stmt_get_col() 271 *len = dbconvert(NULL, coltype, *ptr, *len, SQLCHAR, tmp_ptr, -1); in pdo_dblib_stmt_get_col() 272 *ptr = tmp_ptr; in pdo_dblib_stmt_get_col() [all …]
|
/PHP-5.5/ext/pdo/ |
H A D | pdo_dbh.c | 304 pdbh = (pdo_dbh_t*)le->ptr; in PHP_METHOD() 394 le.ptr = dbh; in PHP_METHOD() 1608 if (rsrc->ptr) { in ZEND_RSRC_DTOR_FUNC() 1609 pdo_dbh_t *dbh = (pdo_dbh_t*)rsrc->ptr; in ZEND_RSRC_DTOR_FUNC() 1611 rsrc->ptr = NULL; in ZEND_RSRC_DTOR_FUNC()
|
H A D | pdo_sql_parser.c | 38 #define YYMARKER s->ptr 42 char *ptr, *cur, *tok, *end; member 441 char *ptr, *newbuffer; in pdo_parse_params() local 451 ptr = *outquery; in pdo_parse_params() 637 ptr = inquery; in pdo_parse_params() 640 t = plc->pos - ptr; in pdo_parse_params() 751 char *ptr; 784 ptr = *outquery; 815 ptr += quotedstrlen; 851 ptr += quotedstrlen; [all …]
|
H A D | pdo_sql_parser.re | 36 #define YYMARKER s->ptr 83 char *ptr, *newbuffer; 93 ptr = *outquery; 279 ptr = inquery; 282 t = plc->pos - ptr; 393 char *ptr; 426 ptr = *outquery; 431 ptr += (s.cur - s.tok); 457 ptr += quotedstrlen; 493 ptr += quotedstrlen; [all …]
|
H A D | php_pdo_driver.h | 342 typedef int (*pdo_stmt_get_col_data_func)(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *l…
|
/PHP-5.5/ext/pcre/pcrelib/sljit/ |
H A D | sljitNativeMIPS_common.c | 208 sljit_ins *ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst() local 209 FAIL_IF(!ptr); in push_inst() 210 *ptr = ins; in push_inst()
|
H A D | sljitNativePPC_common.c | 241 sljit_ins *ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst() local 242 FAIL_IF(!ptr); in push_inst() 243 *ptr = ins; in push_inst()
|
H A D | sljitNativeSPARC_common.c | 186 sljit_ins *ptr; in push_inst() local 190 ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst() 191 FAIL_IF(!ptr); in push_inst() 192 *ptr = ins; in push_inst()
|
H A D | sljitNativeTILEGX_64.c | 332 sljit_ins *ptr = (sljit_ins *)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst_debug() local 333 FAIL_IF(!ptr); in push_inst_debug() 334 *ptr = ins; in push_inst_debug() 337 print_insn_tilegx(ptr); in push_inst_debug() 343 sljit_ins *ptr = (sljit_ins *)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst_nodebug() local 344 FAIL_IF(!ptr); in push_inst_nodebug() 345 *ptr = ins; in push_inst_nodebug() 354 sljit_ins *ptr = (sljit_ins *)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst() local 355 FAIL_IF(!ptr); in push_inst() 356 *ptr = ins; in push_inst()
|
H A D | sljitUtils.c | 207 void *ptr; in sljit_allocate_stack() member 241 base.ptr = VirtualAlloc(NULL, max_limit, MEM_RESERVE, PAGE_READWRITE); in sljit_allocate_stack() 242 if (!base.ptr) { in sljit_allocate_stack() 255 base.ptr = mmap(NULL, max_limit, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in sljit_allocate_stack() 263 base.ptr = mmap(NULL, max_limit, PROT_READ | PROT_WRITE, MAP_PRIVATE, dev_zero, 0); in sljit_allocate_stack() 265 if (base.ptr == MAP_FAILED) { in sljit_allocate_stack()
|
H A D | sljitConfigInternal.h | 210 #define SLJIT_FREE(ptr, allocator_data) free(ptr) argument 533 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_exec(void* ptr); 536 #define SLJIT_FREE_EXEC(ptr) sljit_free_exec(ptr) argument
|
H A D | sljitExecAllocator.c | 246 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_exec(void* ptr) in sljit_free_exec() argument 252 header = AS_BLOCK_HEADER(ptr, -(sljit_sw)sizeof(struct block_header)); in sljit_free_exec()
|
H A D | sljitLir.c | 53 #define FAIL_IF_NULL(ptr) \ argument 55 if (SLJIT_UNLIKELY(!(ptr))) { \ 61 #define PTR_FAIL_IF_NULL(ptr) \ argument 63 if (SLJIT_UNLIKELY(!(ptr))) { \ 69 #define PTR_FAIL_WITH_EXEC_IF(ptr) \ argument 71 if (SLJIT_UNLIKELY(!(ptr))) { \
|
H A D | sljitNativeARM_32.c | 169 sljit_uw* ptr; in push_inst() local 175 FAIL_IF(!ptr); in push_inst() 177 *ptr = inst; in push_inst() 183 sljit_uw* ptr; in push_inst_with_literal() local 220 FAIL_IF(!ptr); in push_inst_with_literal() 233 sljit_uw* ptr; in push_inst_with_unique_literal() local 239 FAIL_IF(!ptr); in push_inst_with_unique_literal() 375 sljit_uw* ptr; in push_inst() local 378 FAIL_IF(!ptr); in push_inst() 380 *ptr = inst; in push_inst() [all …]
|
H A D | sljitNativeARM_64.c | 129 sljit_ins *ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst() local 130 FAIL_IF(!ptr); in push_inst() 131 *ptr = ins; in push_inst()
|
H A D | sljitNativeARM_T2_32.c | 186 sljit_uh *ptr; in push_inst16() local 189 ptr = (sljit_uh*)ensure_buf(compiler, sizeof(sljit_uh)); in push_inst16() 190 FAIL_IF(!ptr); in push_inst16() 191 *ptr = inst; in push_inst16() 198 sljit_uh *ptr = (sljit_uh*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst32() local 199 FAIL_IF(!ptr); in push_inst32() 200 *ptr++ = inst >> 16; in push_inst32() 201 *ptr = inst; in push_inst32()
|
/PHP-5.5/ext/pcre/pcrelib/ |
H A D | pcre_jit_compile.c | 56 #define SLJIT_FREE(ptr, allocator_data) (PUBL(free))(ptr) argument
|
H A D | pcre_newline.c | 76 PRIV(is_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR endptr, int *lenptr, in PRIV() 84 GETCHAR(c, ptr); in PRIV() 88 c = *ptr; in PRIV() 95 case CHAR_CR: *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1; in PRIV() 112 *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1; in PRIV() 156 ptr--; in PRIV() 160 BACKCHAR(ptr); in PRIV() 161 GETCHAR(c, ptr); in PRIV() 165 c = *ptr; in PRIV() 172 *lenptr = (ptr > startptr && ptr[-1] == CHAR_CR)? 2 : 1; in PRIV() [all …]
|
H A D | pcre_study.c | 1601 pcre_uint8 *ptr = start_bits; in pcre_study() local 1606 printf("%3d: %02x%s", i * 8, *ptr++, ((i + 1) & 0x7) != 0? " " : "\n"); in pcre_study()
|