Searched defs:packet (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c35 #define PACKET_READ_HEADER_AND_BODY(packet, conn, buf, buf_size, packet_type_as_text, packet_type) \
38 if (FAIL == mysqlnd_read_header((conn)->net, &((packet)->header), (conn)->stats, ((conn)->error_info) TSRMLS_CC)) {\
45 if ((buf_size) < (packet)->header.size) { \
47 (buf_size), (packet)->header.size, (packet)->header.size - (buf_size)); \
50 if (FAIL == conn->net->data->m.receive_ex((conn)->net, (buf), (packet)->header.size, (conn)->stats, ((conn)->error_info) TSRMLS_CC)) { \
54 DBG_ERR_FMT("Empty '%s' packet body", (packet_type_as_text)); \
58 MYSQLND_HEADER_SIZE + (packet)->header.size, \
65 if ((size_t)(p - begin) > packet->header.size) { \
130 php_mysqlnd_net_field_length(zend_uchar **packet) argument
160 php_mysqlnd_net_field_length_ll(zend_uchar **packet) argument
189 php_mysqlnd_net_store_length(zend_uchar *packet, uint64_t length) argument
327 MYSQLND_PACKET_GREET *packet= (MYSQLND_PACKET_GREET *) _packet; local
488 MYSQLND_PACKET_AUTH * packet= (MYSQLND_PACKET_AUTH *) _packet; local
689 register MYSQLND_PACKET_AUTH_RESPONSE * packet= (MYSQLND_PACKET_AUTH_RESPONSE *) _packet; local
803 MYSQLND_PACKET_CHANGE_AUTH_RESPONSE *packet= (MYSQLND_PACKET_CHANGE_AUTH_RESPONSE *) _packet; local
852 register MYSQLND_PACKET_OK *packet= (MYSQLND_PACKET_OK *) _packet; local
938 MYSQLND_PACKET_EOF *packet= (MYSQLND_PACKET_EOF *) _packet; local
1010 MYSQLND_PACKET_COMMAND * packet= (MYSQLND_PACKET_COMMAND *) _packet; local
1093 MYSQLND_PACKET_RSET_HEADER *packet= (MYSQLND_PACKET_RSET_HEADER *) _packet; local
1227 MYSQLND_PACKET_RES_FIELD *packet = (MYSQLND_PACKET_RES_FIELD *) _packet; local
1793 MYSQLND_PACKET_ROW *packet= (MYSQLND_PACKET_ROW *) _packet; local
1911 MYSQLND_PACKET_STATS *packet= (MYSQLND_PACKET_STATS *) _packet; local
1959 MYSQLND_PACKET_PREPARE_RESPONSE *packet= (MYSQLND_PACKET_PREPARE_RESPONSE *) _packet; local
2046 MYSQLND_PACKET_CHG_USER_RESPONSE *packet= (MYSQLND_PACKET_CHG_USER_RESPONSE *) _packet; local
2163 MYSQLND_PACKET_SHA256_PK_REQUEST_RESPONSE * packet= (MYSQLND_PACKET_SHA256_PK_REQUEST_RESPONSE *) _packet; local
2310 struct st_mysqlnd_packet_greet * packet = mnd_pecalloc(1, packet_methods[PROT_GREET_PACKET].struct_size, persistent); local
2325 struct st_mysqlnd_packet_auth * packet = mnd_pecalloc(1, packet_methods[PROT_AUTH_PACKET].struct_size, persistent); local
2340 struct st_mysqlnd_packet_auth_response * packet = mnd_pecalloc(1, packet_methods[PROT_AUTH_RESP_PACKET].struct_size, persistent); local
2355 struct st_mysqlnd_packet_change_auth_response * packet = mnd_pecalloc(1, packet_methods[PROT_CHANGE_AUTH_RESP_PACKET].struct_size, persistent); local
2370 struct st_mysqlnd_packet_ok * packet = mnd_pecalloc(1, packet_methods[PROT_OK_PACKET].struct_size, persistent); local
2385 struct st_mysqlnd_packet_eof * packet = mnd_pecalloc(1, packet_methods[PROT_EOF_PACKET].struct_size, persistent); local
2400 struct st_mysqlnd_packet_command * packet = mnd_pecalloc(1, packet_methods[PROT_CMD_PACKET].struct_size, persistent); local
2415 struct st_mysqlnd_packet_rset_header * packet = mnd_pecalloc(1, packet_methods[PROT_RSET_HEADER_PACKET].struct_size, persistent); local
2430 struct st_mysqlnd_packet_res_field * packet = mnd_pecalloc(1, packet_methods[PROT_RSET_FLD_PACKET].struct_size, persistent); local
2445 struct st_mysqlnd_packet_row * packet = mnd_pecalloc(1, packet_methods[PROT_ROW_PACKET].struct_size, persistent); local
2460 struct st_mysqlnd_packet_stats * packet = mnd_pecalloc(1, packet_methods[PROT_STATS_PACKET].struct_size, persistent); local
2475 struct st_mysqlnd_packet_prepare_response * packet = mnd_pecalloc(1, packet_methods[PROT_PREPARE_RESP_PACKET].struct_size, persistent); local
2490 struct st_mysqlnd_packet_chg_user_resp * packet = mnd_pecalloc(1, packet_methods[PROT_CHG_USER_RESP_PACKET].struct_size, persistent); local
2505 struct st_mysqlnd_packet_sha256_pk_request * packet = mnd_pecalloc(1, packet_methods[PROT_SHA256_PK_REQUEST_PACKET].struct_size, persistent); local
2520 struct st_mysqlnd_packet_sha256_pk_request_response * packet = mnd_pecalloc(1, packet_methods[PROT_SHA256_PK_REQUEST_RESPONSE_PACKET].struct_size, persistent); local
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c129 ZEND_ARG_INFO(0, packet)
262 wddx_packet *packet; local
266 packet = php_wddx_constructor();
268 php_wddx_packet_start(packet, NULL, 0);
269 php_wddx_add_chunk_static(packet, WDDX_STRUCT_S);
272 php_wddx_serialize_var(packet, struc, key TSRMLS_CC);
275 php_wddx_add_chunk_static(packet, WDDX_STRUCT_E);
276 php_wddx_packet_end(packet);
277 smart_str_0(packet);
278 str = zend_string_copy(packet
355 php_wddx_packet_start(wddx_packet *packet, char *comment, size_t comment_len) argument
373 php_wddx_packet_end(wddx_packet *packet) argument
388 php_wddx_serialize_string(wddx_packet *packet, zval *var TSRMLS_DC) argument
407 php_wddx_serialize_number(wddx_packet *packet, zval *var) argument
423 php_wddx_serialize_boolean(wddx_packet *packet, zval *var) argument
431 php_wddx_serialize_unset(wddx_packet *packet) argument
439 php_wddx_serialize_object(wddx_packet *packet, zval *obj) argument
530 php_wddx_serialize_array(wddx_packet *packet, zval *arr) argument
590 php_wddx_serialize_var(wddx_packet *packet, zval *var, zend_string *name TSRMLS_DC) argument
664 php_wddx_add_var(wddx_packet *packet, zval *name_var) argument
1087 wddx_packet *packet; local
1110 wddx_packet *packet; local
1148 smart_str *packet; local
1158 php_wddx_destructor(wddx_packet *packet) argument
1171 wddx_packet *packet; local
1193 wddx_packet *packet = NULL; local
1219 wddx_packet *packet = NULL; local
1254 zval *packet; local
[all...]

Completed in 5 milliseconds