/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_param.phpt | 165 function func_mysqli_stmt_bind_make_string($len) { 168 for ($i = 0; $i < $len; $i++)
|
H A D | mysqli_stmt_bind_result.phpt | 154 function func_mysqli_stmt_bind_make_string($len) { 157 for ($i = 0; $i < $len; $i++)
|
H A D | mysqli_stmt_get_result_types.phpt | 112 function func_mysqli_stmt_bind_make_string($len) { 115 for ($i = 0; $i < $len; $i++)
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd.c | 2668 if (str->len) { 2673 if (str->len) { 2680 if (str->len) { 2685 if (str->len) { 2794 if (tmp_str.len) { 2806 if (tmp_str.len) { 2811 if (tmp_str.len) {
|
H A D | mysqlnd_alloc.c | 600 …ret = (persistent) ? __zend_malloc(tmp_str.len + sizeof(size_t)) : _emalloc(REAL_SIZE(tmp_str.len … in _mysqlnd_pestrdup() 601 memcpy(FAKE_PTR(ret), tmp_str.c, tmp_str.len); in _mysqlnd_pestrdup() 604 *(size_t *) ret = tmp_str.len; in _mysqlnd_pestrdup() 617 int len; in _mysqlnd_sprintf() local 620 len = vspprintf(pbuf, max_len, format, ap); in _mysqlnd_sprintf() 622 return len; in _mysqlnd_sprintf()
|
H A D | mysqlnd_auth.c | 317 php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2, size_t len) in php_mysqlnd_crypt() argument 319 const zend_uchar *s1_end = s1 + len; in php_mysqlnd_crypt() 488 int len; in mysqlnd_sha256_get_rsa_key() local 551 if ((len = php_stream_copy_to_mem(stream, &key_str, PHP_STREAM_COPY_ALL, 0)) >= 0 ) { in mysqlnd_sha256_get_rsa_key() 552 BIO * bio = BIO_new_mem_buf(key_str, len); in mysqlnd_sha256_get_rsa_key() 558 DBG_INF_FMT("Public key:%*.s", len, key_str); in mysqlnd_sha256_get_rsa_key()
|
H A D | mysqlnd_bt.c | 31 (*str)[(*len)++] = chr 56 int *len; in mysqlnd_build_trace_args() local 59 len = va_arg(args, int*); in mysqlnd_build_trace_args() 85 if ((*str)[*len - l_added] < 32) { in mysqlnd_build_trace_args() 86 (*str)[*len - l_added] = '?'; in mysqlnd_build_trace_args() 153 int *len, *num; in mysqlnd_build_trace_string() local 161 len = va_arg(args, int*); in mysqlnd_build_trace_string() 191 int last_len = *len; in mysqlnd_build_trace_string() 193 if (last_len != *len) { in mysqlnd_build_trace_string() 194 *len -= 2; /* remove last ', ' */ in mysqlnd_build_trace_string() [all …]
|
H A D | mysqlnd_charset.c | 141 unsigned int len = check_mb_utf8mb3_sequence(start, end); in check_mb_utf8mb3_valid() local 142 return (len > 1)? len:0; in check_mb_utf8mb3_valid() 147 unsigned int len = check_mb_utf8_sequence(start, end); in check_mb_utf8_valid() local 148 return (len > 1)? len:0; in check_mb_utf8_valid() 698 unsigned int len = 0; in mysqlnd_cset_escape_quotes() local 701 if (cset->char_maxlen > 1 && (len = cset->mb_valid(escapestr, end))) { in mysqlnd_cset_escape_quotes() 704 if ((newstr + len) > newstr_e) { in mysqlnd_cset_escape_quotes() 709 while (len--) { in mysqlnd_cset_escape_quotes() 754 unsigned int len = 0; in mysqlnd_cset_escape_slashes() local 759 if ((newstr + len) > newstr_e) { in mysqlnd_cset_escape_slashes() [all …]
|
H A D | mysqlnd_net.c | 461 return buffer->len? FALSE:TRUE; in php_mysqlnd_read_buffer_is_empty() 470 if (buffer->len >= count) { in php_mysqlnd_read_buffer_read() 473 buffer->len -= count; in php_mysqlnd_read_buffer_read() 483 return buffer->len; in php_mysqlnd_read_buffer_bytes_left() 514 ret->size = ret->len = count; in mysqlnd_create_read_buffer()
|
H A D | mysqlnd_priv.h | 90 #define SET_NEW_MESSAGE(buf, buf_len, message, len, persistent) \ argument 96 (buf) = mnd_pestrndup((message), (len), (persistent)); \ 100 (buf_len) = (len); \
|
H A D | mysqlnd_ps.c | 754 unsigned long len = Z_STRLEN_P(current_row[i]); in mysqlnd_stmt_fetch_row_buffered() local 755 if (meta->fields[i].max_length < len) { in mysqlnd_stmt_fetch_row_buffered() 756 meta->fields[i].max_length = len; in mysqlnd_stmt_fetch_row_buffered()
|
H A D | mysqlnd_ps_codec.c | 831 unsigned int len = Z_STRLEN_P(data); in mysqlnd_stmt_execute_store_params() local 833 *p = php_mysqlnd_net_store_length(*p, len); in mysqlnd_stmt_execute_store_params() 834 memcpy(*p, Z_STRVAL_P(data), len); in mysqlnd_stmt_execute_store_params() 835 (*p) += len; in mysqlnd_stmt_execute_store_params()
|
H A D | mysqlnd_result.c | 673 unsigned int len; in mysqlnd_fetch_row_unbuffered_c() local 678 len = Z_STRLEN_P(data); in mysqlnd_fetch_row_unbuffered_c() 681 len = 0; in mysqlnd_fetch_row_unbuffered_c() 685 lengths[i] = len; in mysqlnd_fetch_row_unbuffered_c() 688 if (field->max_length < len) { in mysqlnd_fetch_row_unbuffered_c() 689 field->max_length = len; in mysqlnd_fetch_row_unbuffered_c() 788 lengths[i] = len; in mysqlnd_fetch_row_unbuffered() 816 if (field->max_length < len) { in mysqlnd_fetch_row_unbuffered() 817 field->max_length = len; in mysqlnd_fetch_row_unbuffered() 951 field->max_length = len; in mysqlnd_fetch_row_buffered_c() [all …]
|
H A D | mysqlnd_result_meta.c | 242 size_t len = meta->field_count * sizeof(struct mysqlnd_field_hash_key); in MYSQLND_METHOD() local 259 new_meta->zend_hash_keys = mnd_pemalloc(len, persistent); in MYSQLND_METHOD() 263 memcpy(new_meta->zend_hash_keys, meta->zend_hash_keys, len); in MYSQLND_METHOD()
|
H A D | mysqlnd_structs.h | 271 size_t len; member
|
H A D | mysqlnd_wireprotocol.c | 489 int len; in php_mysqlnd_auth_write() local 511 p+= len; in php_mysqlnd_auth_write() 559 p+= len; in php_mysqlnd_auth_write() 1054 size_t len; in php_mysqlnd_rset_header_read() local 1195 unsigned long len; in php_mysqlnd_rset_field_read() local 1230 switch ((len)) { in php_mysqlnd_rset_field_read() 1240 p += len; in php_mysqlnd_rset_field_read() 1308 p += len; in php_mysqlnd_rset_field_read() 1674 *(p + len) = '\0'; in php_mysqlnd_rowp_read_text_protocol() 1733 p -= len; in php_mysqlnd_rowp_read_text_protocol() [all …]
|
H A D | php_mysqlnd.c | 96 if (buffer->len) { in mysqlnd_minfo_dump_loaded_plugins() 115 if (buffer->len) { in mysqlnd_minfo_dump_api_plugins()
|
/PHP-5.5/ext/oci8/ |
H A D | oci8.c | 1886 php_strtolower(hashed_details.c, hashed_details.len); in php_oci_do_connect_ex() 1968 … if (tmp != NULL && rsrc_type == le_pconnection && strlen(tmp->hash_key) == hashed_details.len && in php_oci_do_connect_ex() 2015 zend_hash_del(&EG(persistent_list), hashed_details.c, hashed_details.len+1); in php_oci_do_connect_ex() 2020 zend_hash_del(&EG(regular_list), hashed_details.c, hashed_details.len+1); in php_oci_do_connect_ex() 2027 zend_hash_del(&EG(persistent_list), hashed_details.c, hashed_details.len+1); in php_oci_do_connect_ex() 2029 zend_hash_del(&EG(regular_list), hashed_details.c, hashed_details.len+1); in php_oci_do_connect_ex() 2053 connection->hash_key = estrndup(hashed_details.c, hashed_details.len); in php_oci_do_connect_ex() 2060 connection->hash_key = zend_strndup(hashed_details.c, hashed_details.len); in php_oci_do_connect_ex() 2069 connection->hash_key = estrndup(hashed_details.c, hashed_details.len); in php_oci_do_connect_ex() 2870 php_strtolower(spool_hashed_details.c, spool_hashed_details.len); in php_oci_get_spool() [all …]
|
H A D | oci8_lob.c | 161 sb4 php_oci_lob_callback (dvoid *ctxp, CONST dvoid *bufxp, oraub8 len, ub1 piece, dvoid **changed_b… in php_oci_lob_callback() argument 163 sb4 php_oci_lob_callback (dvoid *ctxp, CONST dvoid *bufxp, ub4 len, ub1 piece) in php_oci_lob_callback() 166 ub4 lenp = (ub4) len; in php_oci_lob_callback()
|
H A D | php_oci8_int.h | 417 sb4 php_oci_lob_callback (dvoid *ctxp, CONST dvoid *bufxp, oraub8 len, ub1 piece, dvoid **changed_b… 419 sb4 php_oci_lob_callback (dvoid *ctxp, CONST dvoid *bufxp, ub4 len, ub1 piece);
|
/PHP-5.5/ext/oci8/tests/ |
H A D | lob_008.phpt | 38 $len = 0; 40 $len += strlen($row[0]->read(1024)); 42 var_dump($len);
|
/PHP-5.5/ext/odbc/ |
H A D | php_odbc.c | 1082 SDWORD len; in odbc_column_lengths() local 1084 SQLLEN len; in odbc_column_lengths() local 1112 RETURN_LONG(len); in odbc_column_lengths() 1497 SQLSMALLINT len; in PHP_FUNCTION() local 2632 SQLSMALLINT len; in odbc_do_connect() local 2636 d_name, sizeof(d_name), &len); in odbc_do_connect() 3003 int len; in php_odbc_lasterror() local 3010 len = 6; in php_odbc_lasterror() 3012 len = SQL_MAX_MESSAGE_LENGTH; in php_odbc_lasterror() 3017 ptr = ecalloc(len + 1, 1); in php_odbc_lasterror() [all …]
|
/PHP-5.5/ext/opcache/Optimizer/ |
H A D | block_pass.c | 399 from_block->len += to->len; in del_source() 568 if (block->len == 1) { in strip_nop() 577 block->len--; in strip_nop() 586 int len = 0; in strip_nop() local 596 len = opline - src; in strip_nop() 601 new_end += len; in strip_nop() 625 block->len--; in zend_optimize_block() 1213 cur_block->len--; in assemble_code_blocks() 1324 if (!block->len) { in zend_jmp_optimization() 1343 block->len--; in zend_jmp_optimization() [all …]
|
H A D | pass1_5.c | 157 final_length += ZEND_OP2_LITERAL(next_op).value.str.len; 165 final_length += (requires_conversion? 1 : ZEND_OP2_LITERAL(opline).value.str.len); 184 ZEND_OP2_LITERAL(opline).value.str.len = final_length; 188 memcpy(ptr, ZEND_OP2_LITERAL(next_op).value.str.val, ZEND_OP2_LITERAL(next_op).value.str.len); 189 ptr += ZEND_OP2_LITERAL(next_op).value.str.len;
|
H A D | zend_optimizer_internal.h | 62 int len; member
|