Home
last modified time | relevance | path

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

12

/PHP-8.3/ext/mysqlnd/
H A Dconfig-win.h42 (((uint32_t) (zend_uchar) (A)[2]) << 16) |\
43 (((uint32_t) (zend_uchar) (A)[1]) << 8) | \
44 ((uint32_t) (zend_uchar) (A)[0])) : \
45 (((uint32_t) (zend_uchar) (A)[2]) << 16) |\
47 ((uint32_t) (zend_uchar) (A)[0])))
62 *(T+2)=(zend_uchar) (((A) >> 16)); }
64 #define int5store(T,A) { *(T)= (zend_uchar)((A));\
65 *((T)+1)=(zend_uchar) (((A) >> 8));\
66 *((T)+2)=(zend_uchar) (((A) >> 16));\
67 *((T)+3)=(zend_uchar) (((A) >> 24)); \
[all …]
H A Dmysqlnd_portability.h120 ((uint32_t) (zend_uchar) (A)[0])))
135 *(T)= (zend_uchar) ((A));\
140 *((zend_uchar *)(T))= (zend_uchar)((A));\
141 *(((zend_uchar *)(T))+1)=(zend_uchar) (((A) >> 8));\
142 *(((zend_uchar *)(T))+2)=(zend_uchar) (((A) >> 16));\
143 *(((zend_uchar *)(T))+3)=(zend_uchar) (((A) >> 24)); \
144 *(((zend_uchar *)(T))+4)=(zend_uchar) (((A) >> 32)); }
173 ((uint32_t) (zend_uchar) (A)[0])))
191 (((uint32_t) ((zend_uchar) (A)[1])) << 8) +\
201 *((zend_uchar*) (T)) = (zend_uchar)(def_temp); \
[all …]
H A Dmysqlnd_auth.h33 const zend_uchar * const orig_auth_plugin_data,
35 const zend_uchar * const auth_plugin_data,
39 zend_uchar ** switch_to_auth_protocol_data,
55 const zend_uchar * const orig_auth_plugin_data,
57 const zend_uchar * auth_plugin_data,
61 zend_uchar ** switch_to_auth_protocol_data,
99 PHPAPI void php_mysqlnd_scramble(zend_uchar * const buffer, const zend_uchar * const scramble, cons…
H A Dmysqlnd_charset.c28 zend_uchar c; in check_mb_utf8mb3_sequence()
34 c = (zend_uchar) start[0]; in check_mb_utf8mb3_sequence()
67 zend_uchar c; in check_mb_utf8_sequence()
73 c = (zend_uchar) start[0]; in check_mb_utf8_sequence()
191 #define valid_big5head(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xF9)
193 (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE))
230 #define valid_euckr(c) ((0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE))
293 #define valid_gb2312_head(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xF7)
312 #define valid_gbk_head(c) (0x81<=(zend_uchar)(c) && (zend_uchar)(c)<=0xFE)
313 #define valid_gbk_tail(c) ((0x40<=(zend_uchar)(c) && (zend_uchar)(c)<=0x7E) || (0x80<=(zend_uchar)(…
[all …]
H A Dmysqlnd_auth.c58 zend_uchar * plugin_data; in mysqlnd_run_authentication()
518 php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2, size_t len) in php_mysqlnd_crypt()
558 static zend_uchar *
568 zend_uchar * ret = NULL; in mysqlnd_native_auth_get_auth_data()
619 static zend_uchar *
629 zend_uchar * ret = NULL; in mysqlnd_pam_auth_get_auth_data()
701 static zend_uchar *
704 zend_uchar * ret = NULL; in mysqlnd_sha256_public_encrypt()
781 static zend_uchar *
896 static zend_uchar *
[all …]
H A Dmysqlnd_wireprotocol.h54 zend_uchar packet_no;
85 const zend_uchar *auth_data;
117 zend_uchar *new_auth_protocol_data;
125 const zend_uchar *auth_data;
264 zend_uchar *new_auth_protocol_data;
276 zend_uchar *public_key;
285 zend_uchar * password;
290 zend_uchar *new_auth_protocol_data;
300 zend_ulong php_mysqlnd_net_field_length(const zend_uchar **packet);
301 zend_uchar * php_mysqlnd_net_store_length(zend_uchar *packet, const uint64_t length);
H A Dmysqlnd_protocol_frame_codec.c55 zend_uchar *uncompressed_payload, size_t to_be_sent, zend_uchar *compress_buf) { in write_compressed_packet()
80 zend_uchar * decompressed_data = mnd_emalloc(decompressed_size); in write_compressed_packet()
118 zend_uchar safe_buf[((MYSQLND_HEADER_SIZE) + (sizeof(zend_uchar)) - 1) / (sizeof(zend_uchar))]; in MYSQLND_METHOD()
119 zend_uchar * safe_storage = safe_buf; in MYSQLND_METHOD()
122 zend_uchar * p = (zend_uchar *) buffer; in MYSQLND_METHOD()
123 zend_uchar * compress_buf = NULL; in MYSQLND_METHOD()
221 zend_uchar * compressed_data = NULL; in MYSQLND_METHOD()
222 zend_uchar comp_header[COMPRESSED_HEADER_SIZE]; in MYSQLND_METHOD()
320 zend_uchar * p = buffer; in MYSQLND_METHOD()
340 zend_uchar net_header[MYSQLND_HEADER_SIZE]; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_ps_codec.c56 const zend_uchar ** row, unsigned int byte_count) in ps_fetch_from_1_to_8_bytes()
217 const zend_uchar * to = *row; in ps_fetch_time()
262 const zend_uchar * to = *row; in ps_fetch_date()
294 const zend_uchar * to = *row; in ps_fetch_datetime()
509 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()
516 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer()
728 …e_store_param_values(MYSQLND_STMT_DATA * stmt, zval * copies, zend_uchar * buf, zend_uchar ** p, s… in mysqlnd_stmt_execute_store_param_values()
800 mysqlnd_stmt_execute_store_params(MYSQLND_STMT * s, zend_uchar **buf, zend_uchar **p, size_t *buf_l… in mysqlnd_stmt_execute_store_params()
803 zend_uchar * provided_buffer = *buf; in mysqlnd_stmt_execute_store_params()
879 zend_uchar *p = stmt->execute_cmd_buffer.buffer, in mysqlnd_stmt_execute_generate_request()
[all …]
H A Dmysqlnd_wireprotocol.c96 const zend_uchar *p= (const zend_uchar *)*packet; in php_mysqlnd_net_field_length()
126 const zend_uchar *p = (zend_uchar *)*packet; in php_mysqlnd_net_field_length_ll()
152 zend_uchar *
334 zend_uchar * const buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_greet_read()
649 zend_uchar * const buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_auth_response_read()
802 zend_uchar * const buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_ok_read()
1419 zend_uchar bit; in php_mysqlnd_rowp_read_binary_protocol()
1655 zend_uchar *p; in php_mysqlnd_rowp_read()
1730 zend_uchar *buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_stats_read()
1774 zend_uchar *buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_prepare_read()
[all …]
H A Dmysqlnd_ps.h22 …val * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend_uchar ** row);
38 … const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend_uchar ** row, unsigned…
H A Dmysqlnd_structs.h71 zend_uchar *buffer;
846 zend_uchar last_command;
848 zend_uchar unused_pad1;
1005 const zend_uchar * const arg, const size_t arg_len,
1073 zend_uchar * data;
1078 void (*read)(struct st_mysqlnd_read_buffer *, size_t count, zend_uchar * dest);
1130 zend_uchar packet_no;
1131 zend_uchar compressed_envelope_packet_no;
1238 zend_uchar type;
1337 const zend_uchar * auth_plugin_data, size_t auth_plugin_data_len,
[all …]
H A Dmysqlnd_loaddata.c65 int mysqlnd_local_infile_read(void * ptr, zend_uchar * buf, unsigned int buf_len) in mysqlnd_local_infile_read()
142 zend_uchar *buf = NULL; in mysqlnd_handle_local_infile()
143 zend_uchar empty_packet[MYSQLND_HEADER_SIZE]; in mysqlnd_handle_local_infile()
205 buf = (zend_uchar *) mnd_ecalloc(1, buflen); in mysqlnd_handle_local_infile()
H A Dmysqlnd_commands.c34 zend_uchar buffer[2]; in MYSQLND_METHOD()
93 …ret = send_command(conn->payload_decoder_factory, COM_INIT_DB, (const zend_uchar*) db.s, db.l, FAL… in MYSQLND_METHOD()
191 zend_uchar buff[4]; in MYSQLND_METHOD()
231 zend_uchar bits[1]; in MYSQLND_METHOD()
285 …ret = send_command(conn->payload_decoder_factory, COM_QUERY, (const zend_uchar*) query.s, query.l,… in MYSQLND_METHOD()
311 …ret = send_command(conn->payload_decoder_factory, COM_CHANGE_USER, (const zend_uchar*) payload.s, … in MYSQLND_METHOD()
353 …ret = send_command(conn->payload_decoder_factory, COM_STMT_PREPARE, (const zend_uchar*) query.s, q… in MYSQLND_METHOD()
398 …ret = send_command(conn->payload_decoder_factory, COM_STMT_FETCH, (const zend_uchar*) payload.s, p… in MYSQLND_METHOD()
417 zend_uchar cmd_buf[MYSQLND_STMT_ID_LENGTH /* statement id */]; in MYSQLND_METHOD()
449 …ret = send_command(conn->payload_decoder_factory, COM_STMT_SEND_LONG_DATA, (const zend_uchar*) pay… in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_read_buffer.c35 mysqlnd_read_buffer_read(MYSQLND_READ_BUFFER * buffer, const size_t count, zend_uchar * dest) in mysqlnd_read_buffer_read()
H A Dmysqlnd_ps.c35 enum_func_status mysqlnd_stmt_execute_generate_request(MYSQLND_STMT * const s, zend_uchar ** reques…
36 enum_func_status mysqlnd_stmt_execute_batch_generate_request(MYSQLND_STMT * const s, zend_uchar ** …
44 zend_uchar buf[MYSQLND_STMT_ID_LENGTH /* statement id */ + 4 /* number of rows to fetch */]; in mysqlnd_stmt_send_cursor_fetch_command()
635 zend_uchar *request = NULL; in MYSQLND_METHOD()
1001 zend_uchar * cmd_buf; in MYSQLND_METHOD()
1172 zval * const zv, zend_uchar type) in MYSQLND_METHOD()
1537 zend_uchar bval = *(zend_uchar *) value; in MYSQLND_METHOD()
H A Dmysqlnd_vio.c75 MYSQLND_METHOD(mysqlnd_vio, network_read)(MYSQLND_VIO * const vio, zend_uchar * const buffer, const… in MYSQLND_METHOD()
81 zend_uchar * p = buffer; in MYSQLND_METHOD()
104 MYSQLND_METHOD(mysqlnd_vio, network_write)(MYSQLND_VIO * const vio, const zend_uchar * const buffer… in MYSQLND_METHOD()
/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_php_trace.c127 zend_uchar *type; in fpm_php_trace_dump()
139 type = (zend_uchar *)&l; in fpm_php_trace_dump()
/PHP-8.3/Zend/
H A Dzend_operators.c1604 zend_uchar not = (zend_uchar) ~*Z_STRVAL_P(op1); in bitwise_not_function()
1649 zend_uchar or = (zend_uchar) (*Z_STRVAL_P(op1) | *Z_STRVAL_P(op2)); in bitwise_or_function()
1731 zend_uchar and = (zend_uchar) (*Z_STRVAL_P(op1) & *Z_STRVAL_P(op2)); in bitwise_and_function()
1813 zend_uchar xor = (zend_uchar) (*Z_STRVAL_P(op1) ^ *Z_STRVAL_P(op2)); in bitwise_xor_function()
3409 return ZSTR_CHAR((zend_uchar)'0' + (zend_uchar)num);
3423 return ZSTR_CHAR((zend_uchar)'0' + (zend_uchar)num);
3467 return ZSTR_CHAR((zend_uchar)'0' + (zend_uchar)num);
3480 return ZSTR_CHAR((zend_uchar)'0' + (zend_uchar)num);
H A Dzend_language_scanner.l909 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext))); \
923 zend_uchar c = (zend_uchar)*str; in zend_scan_escape_string()
2152 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext)));
2307 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*yytext));
2490 zend_uchar c = (zend_uchar)*(yytext+bprefix+1);
H A Dzend_string.h210 return ZSTR_CHAR((zend_uchar) *str); in zend_string_init_fast()
H A Dzend_execute.h182 …line zval* zend_assign_to_variable_ex(zval *variable_ptr, zval *value, zend_uchar value_type, bool… in zend_assign_to_variable_ex()
H A Dzend_execute.c1742 zend_uchar c; in zend_assign_to_string_offset()
1824 c = (zend_uchar)ZSTR_VAL(tmp)[0]; in zend_assign_to_string_offset()
1828 c = (zend_uchar)Z_STRVAL_P(value)[0]; in zend_assign_to_string_offset()
2826 zend_uchar c; in zend_fetch_dimension_address_read()
2831 c = (zend_uchar)ZSTR_VAL(str)[real_offset]; in zend_fetch_dimension_address_read()
5485 ZEND_API zend_result zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler) in zend_set_user_opcode_handler()
5500 ZEND_API user_opcode_handler_t zend_get_user_opcode_handler(zend_uchar opcode) in zend_get_user_opcode_handler()
/PHP-8.3/ext/zend_test/
H A Dobject_handlers.c81 static zend_result donc_do_operation(zend_uchar opcode, zval *result, zval *op1, zval *op2) in donc_do_operation()
/PHP-8.3/ext/standard/
H A Dscanf.c92 #define UCHAR(x) (zend_uchar)(x)
/PHP-8.3/ext/dom/
H A Dparentnode.c261 zend_uchar type = Z_TYPE(nodes[i]); in dom_sanity_check_node_list_for_insertion()

Completed in 107 milliseconds

12