Home
last modified time | relevance | path

Searched refs:zend_uchar (Results 1 – 25 of 60) sorted by relevance

123

/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_portability.h216 *((zend_uchar *)(T))= (zend_uchar)((A));\
217 *(((zend_uchar *)(T))+1)=(zend_uchar) (((A) >> 8));\
218 *(((zend_uchar *)(T))+2)=(zend_uchar) (((A) >> 16));\
219 *(((zend_uchar *)(T))+3)=(zend_uchar) (((A) >> 24)); \
220 *(((zend_uchar *)(T))+4)=(zend_uchar) (((A) >> 32)); }
224 *(((zend_uchar *)(T)))= (zend_uchar)((A));\
225 *(((zend_uchar *)(T))+1))=(zend_uchar) (((A) >> 8));\
226 *(((zend_uchar *)(T))+2))=(zend_uchar) (((A) >> 16));\
227 *(((zend_uchar *)(T))+3))=(zend_uchar) (((A) >> 24)); \
228 *(((zend_uchar *)(T))+4))=(zend_uchar) (((A) >> 32)); \
[all …]
H A Dconfig-win.h69 (((uint32_t) (zend_uchar) (A)[2]) << 16) |\
70 (((uint32_t) (zend_uchar) (A)[1]) << 8) | \
71 ((uint32_t) (zend_uchar) (A)[0])) : \
74 ((uint32_t) (zend_uchar) (A)[0])))
83 (((uint64_t) ((zend_uchar) (A)[4])) << 32))
89 *(T+2)=(zend_uchar) (((A) >> 16)); }
91 #define int5store(T,A) { *(T)= (zend_uchar)((A));\
92 *((T)+1)=(zend_uchar) (((A) >> 8));\
93 *((T)+2)=(zend_uchar) (((A) >> 16));\
94 *((T)+3)=(zend_uchar) (((A) >> 24)); \
[all …]
H A Dmysqlnd_auth.h34 const zend_uchar * const auth_plugin_data,
38 zend_uchar ** switch_to_auth_protocol_data,
54 const zend_uchar * const auth_plugin_data,
58 zend_uchar ** switch_to_auth_protocol_data,
73 zend_uchar * auth_plugin_data,
77 zend_uchar ** switch_to_auth_protocol_data,
115 PHPAPI void php_mysqlnd_scramble(zend_uchar * const buffer, const zend_uchar * const scramble, cons…
H A Dmysqlnd_charset.c30 zend_uchar c; in check_mb_utf8mb3_sequence()
36 c = (zend_uchar) start[0]; in check_mb_utf8mb3_sequence()
57 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40 && ((zend_uchar)start[2] ^ 0x80) < 0x40 && in check_mb_utf8mb3_sequence()
69 zend_uchar c; in check_mb_utf8_sequence()
75 c = (zend_uchar) start[0]; in check_mb_utf8_sequence()
232 #define valid_euckr(c) ((0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE))
295 #define valid_gb2312_head(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xF7)
296 #define valid_gb2312_tail(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE)
314 #define valid_gbk_head(c) (0x81<=(zend_uchar)(c) && (zend_uchar)(c)<=0xFE)
315 #define valid_gbk_tail(c) ((0x40<=(zend_uchar)(c) && (zend_uchar)(c)<=0x7E) || (0x80<=(zend_uchar)(…
[all …]
H A Dmysqlnd_auth.c60 zend_uchar * plugin_data; in mysqlnd_run_authentication()
524 php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2, size_t len) in php_mysqlnd_crypt()
535 void php_mysqlnd_scramble(zend_uchar * const buffer, const zend_uchar * const scramble, const zend_… in php_mysqlnd_scramble()
538 zend_uchar sha1[SHA1_MAX_LENGTH]; in php_mysqlnd_scramble()
564 static zend_uchar *
574 zend_uchar * ret = NULL; in mysqlnd_native_auth_get_auth_data()
591 php_mysqlnd_scramble((zend_uchar*)ret, auth_plugin_data, (zend_uchar*)passwd, passwd_len); in mysqlnd_native_auth_get_auth_data()
624 static zend_uchar *
634 zend_uchar * ret = NULL; in mysqlnd_pam_auth_get_auth_data()
774 static zend_uchar *
[all …]
H A Dmysqlnd_protocol_frame_codec.c69 zend_uchar safe_buf[((MYSQLND_HEADER_SIZE) + (sizeof(zend_uchar)) - 1) / (sizeof(zend_uchar))]; in MYSQLND_METHOD()
70 zend_uchar * safe_storage = safe_buf; in MYSQLND_METHOD()
73 zend_uchar * p = (zend_uchar *) buffer; in MYSQLND_METHOD()
74 zend_uchar * compress_buf = NULL; in MYSQLND_METHOD()
97 zend_uchar * uncompressed_payload = p; /* should include the header */ in MYSQLND_METHOD()
122 zend_uchar * decompressed_data = mnd_malloc(decompressed_size); in MYSQLND_METHOD()
196 zend_uchar * compressed_data = NULL; in MYSQLND_METHOD()
197 zend_uchar comp_header[COMPRESSED_HEADER_SIZE]; in MYSQLND_METHOD()
295 zend_uchar * p = buffer; in MYSQLND_METHOD()
315 zend_uchar net_header[MYSQLND_HEADER_SIZE]; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_wireprotocol.h57 zend_uchar packet_no;
97 const zend_uchar *auth_data;
129 zend_uchar *new_auth_protocol_data;
137 const zend_uchar *auth_data;
279 zend_uchar *new_auth_protocol_data;
291 zend_uchar *public_key;
296 zend_ulong php_mysqlnd_net_field_length(const zend_uchar **packet);
297 zend_uchar * php_mysqlnd_net_store_length(zend_uchar *packet, const uint64_t length);
H A Dmysqlnd_ps_codec.c57 const zend_uchar ** row, unsigned int byte_count) in ps_fetch_from_1_to_8_bytes()
221 const zend_uchar * to = *row; in ps_fetch_time()
264 const zend_uchar * to = *row; in ps_fetch_date()
301 const zend_uchar * to = *row; in ps_fetch_datetime()
547 mysqlnd_stmt_execute_check_n_enlarge_buffer(zend_uchar **buf, zend_uchar **p, size_t * buf_len, zen… in mysqlnd_stmt_execute_check_n_enlarge_buffer()
554 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer()
767 …e_store_param_values(MYSQLND_STMT_DATA * stmt, zval * copies, zend_uchar * buf, zend_uchar ** p, s… in mysqlnd_stmt_execute_store_param_values()
832 mysqlnd_stmt_execute_store_params(MYSQLND_STMT * s, zend_uchar **buf, zend_uchar **p, size_t *buf_l… in mysqlnd_stmt_execute_store_params()
835 zend_uchar * provided_buffer = *buf; in mysqlnd_stmt_execute_store_params()
911 zend_uchar *p = stmt->execute_cmd_buffer.buffer, in mysqlnd_stmt_execute_generate_request()
[all …]
H A Dmysqlnd_ps.h24 …val * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend_uchar ** row);
43 … const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend_uchar ** row, unsigned…
H A Dmysqlnd_wireprotocol.c97 register const zend_uchar *p= (const zend_uchar *)*packet; in php_mysqlnd_net_field_length()
127 register const zend_uchar *p = (zend_uchar *)*packet; in php_mysqlnd_net_field_length_ll()
153 zend_uchar *
942 zend_uchar * buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_eof_read()
1102 zend_uchar * buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_rset_header_read()
1247 zend_uchar * buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_rset_field_read()
1550 zend_uchar bit; in php_mysqlnd_rowp_read_binary_protocol()
1822 zend_uchar *p; in php_mysqlnd_rowp_read()
1950 zend_uchar *buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_stats_read()
2000 zend_uchar *buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_prepare_read()
[all …]
H A Dmysqlnd_net.c92 zend_uchar * p = buffer; in MYSQLND_METHOD()
365 zend_uchar safe_buf[((MYSQLND_HEADER_SIZE) + (sizeof(zend_uchar)) - 1) / (sizeof(zend_uchar))]; in MYSQLND_METHOD()
366 zend_uchar * safe_storage = safe_buf; in MYSQLND_METHOD()
369 zend_uchar * p = (zend_uchar *) buffer; in MYSQLND_METHOD()
370 zend_uchar * compress_buf = NULL; in MYSQLND_METHOD()
419 zend_uchar * decompressed_data = mnd_malloc(decompressed_size); in MYSQLND_METHOD()
556 zend_uchar * compressed_data = NULL; in MYSQLND_METHOD()
557 zend_uchar comp_header[COMPRESSED_HEADER_SIZE]; in MYSQLND_METHOD()
655 zend_uchar * p = buffer; in MYSQLND_METHOD()
675 zend_uchar net_header[MYSQLND_HEADER_SIZE]; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_structs.h60 zend_uchar *arena;
72 zend_uchar *ptr;
80 zend_uchar *buffer;
826 zend_uchar last_command;
828 zend_uchar unused_pad1;
993 const zend_uchar * const arg, const size_t arg_len,
1062 zend_uchar * data;
1119 zend_uchar packet_no;
1120 zend_uchar compressed_envelope_packet_no;
1203 zend_uchar *initialized; /* every row is a single bit */
[all …]
H A Dmysqlnd_block_alloc.c63 zend_uchar *new_ptr; in mysqlnd_mempool_resize_chunk()
82 zend_uchar *new_ptr; in mysqlnd_mempool_resize_chunk()
94 zend_uchar *new_ptr = mnd_erealloc(chunk->ptr, size); in mysqlnd_mempool_resize_chunk()
H A Dmysqlnd_loaddata.c67 int mysqlnd_local_infile_read(void * ptr, zend_uchar * buf, unsigned int buf_len) in mysqlnd_local_infile_read()
144 zend_uchar *buf = NULL; in mysqlnd_handle_local_infile()
145 zend_uchar empty_packet[MYSQLND_HEADER_SIZE]; in mysqlnd_handle_local_infile()
167 buf = (zend_uchar *) mnd_ecalloc(1, buflen); in mysqlnd_handle_local_infile()
H A Dmysqlnd_read_buffer.c37 mysqlnd_read_buffer_read(MYSQLND_READ_BUFFER * buffer, const size_t count, zend_uchar * dest) in mysqlnd_read_buffer_read()
H A Dmysqlnd_commands.c67 zend_uchar buffer[2]; in mysqlnd_com_set_option_run()
187 …ret = send_command(conn->payload_decoder_factory, COM_INIT_DB, (zend_uchar*) command->context.db.s… in mysqlnd_com_init_db_run()
384 zend_uchar buff[4]; in mysqlnd_com_process_kill_run()
459 zend_uchar bits[1]; in mysqlnd_com_refresh_run()
522 zend_uchar bits[1]; in mysqlnd_com_shutdown_run()
644 …ret = send_command(conn->payload_decoder_factory, COM_QUERY, (zend_uchar*) command->context.query.… in mysqlnd_com_query_run()
813 …ret = send_command(conn->payload_decoder_factory, COM_STMT_PREPARE, (zend_uchar*) command->context… in mysqlnd_com_stmt_prepare_run()
869 …ret = send_command(conn->payload_decoder_factory, COM_STMT_EXECUTE, (zend_uchar*) command->context… in mysqlnd_com_stmt_execute_run()
925 …ret = send_command(conn->payload_decoder_factory, COM_STMT_FETCH, (zend_uchar*) command->context.p… in mysqlnd_com_stmt_fetch_run()
974 zend_uchar cmd_buf[MYSQLND_STMT_ID_LENGTH /* statement id */]; in mysqlnd_com_stmt_reset_run()
[all …]
/PHP-7.1/Zend/
H A Dzend_generators.h93 zend_uchar flags;
99 static const zend_uchar ZEND_GENERATOR_CURRENTLY_RUNNING = 0x1;
100 static const zend_uchar ZEND_GENERATOR_FORCED_CLOSE = 0x2;
101 static const zend_uchar ZEND_GENERATOR_AT_FIRST_YIELD = 0x4;
102 static const zend_uchar ZEND_GENERATOR_DO_INIT = 0x8;
H A Dzend_vm_opcodes.c404 ZEND_API const char* zend_get_opcode_name(zend_uchar opcode) { in zend_get_opcode_name()
407 ZEND_API uint32_t zend_get_opcode_flags(zend_uchar opcode) { in zend_get_opcode_flags()
H A Dzend_compile.h87 zend_uchar op_type;
88 zend_uchar flag;
148 zend_uchar opcode;
149 zend_uchar op1_type;
150 zend_uchar op2_type;
151 zend_uchar result_type;
323 zend_uchar type_hint;
333 zend_uchar type_hint;
347 zend_uchar type_hint;
355 zend_uchar type;
[all …]
H A Dzend_vm_opcodes.h65 ZEND_API const char *zend_get_opcode_name(zend_uchar opcode);
66 ZEND_API uint32_t zend_get_opcode_flags(zend_uchar opcode);
H A Dzend_types.h47 typedef unsigned char zend_uchar; typedef
126 zend_uchar type, /* active type */
127 zend_uchar type_flags,
128 zend_uchar const_flags,
129 zend_uchar reserved) /* call info for EX(This) */
151 zend_uchar type,
152 zend_uchar flags, /* used for strings & objects */
183 zend_uchar flags,
184 zend_uchar nApplyCount,
185 zend_uchar nIteratorsCount,
[all …]
/PHP-7.1/ext/intl/collator/
H A Dcollator_is_numeric.h24 zend_uchar collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, int allo…
/PHP-7.1/ext/opcache/Optimizer/
H A Dzend_dump.h39 void zend_dump_var(const zend_op_array *op_array, zend_uchar var_type, int var_num);
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_php_trace.c133 zend_uchar *type; in fpm_php_trace_dump()
145 type = (zend_uchar *)&l; in fpm_php_trace_dump()
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_sigio_win32.c32 zend_uchar sig; in ZEND_EXTERN_MODULE_GLOBALS()

Completed in 125 milliseconds

123