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

/PHP_5_4/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->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) { \
132 php_mysqlnd_net_field_length(zend_uchar **packet) argument
162 php_mysqlnd_net_field_length_ll(zend_uchar **packet) argument
191 php_mysqlnd_net_store_length(zend_uchar *packet, uint64_t length) argument
311 MYSQLND_PACKET_GREET *packet= (MYSQLND_PACKET_GREET *) _packet; local
472 MYSQLND_PACKET_AUTH * packet= (MYSQLND_PACKET_AUTH *) _packet; local
587 register MYSQLND_PACKET_AUTH_RESPONSE * packet= (MYSQLND_PACKET_AUTH_RESPONSE *) _packet; local
701 MYSQLND_PACKET_CHANGE_AUTH_RESPONSE *packet= (MYSQLND_PACKET_CHANGE_AUTH_RESPONSE *) _packet; local
750 register MYSQLND_PACKET_OK *packet= (MYSQLND_PACKET_OK *) _packet; local
836 MYSQLND_PACKET_EOF *packet= (MYSQLND_PACKET_EOF *) _packet; local
908 MYSQLND_PACKET_COMMAND * packet= (MYSQLND_PACKET_COMMAND *) _packet; local
991 MYSQLND_PACKET_RSET_HEADER *packet= (MYSQLND_PACKET_RSET_HEADER *) _packet; local
1125 MYSQLND_PACKET_RES_FIELD *packet= (MYSQLND_PACKET_RES_FIELD *) _packet; local
1754 MYSQLND_PACKET_ROW *packet= (MYSQLND_PACKET_ROW *) _packet; local
1873 MYSQLND_PACKET_STATS *packet= (MYSQLND_PACKET_STATS *) _packet; local
1921 MYSQLND_PACKET_PREPARE_RESPONSE *packet= (MYSQLND_PACKET_PREPARE_RESPONSE *) _packet; local
2008 MYSQLND_PACKET_CHG_USER_RESPONSE *packet= (MYSQLND_PACKET_CHG_USER_RESPONSE *) _packet; local
2177 struct st_mysqlnd_packet_greet * packet = mnd_pecalloc(1, packet_methods[PROT_GREET_PACKET].struct_size, persistent); local
2192 struct st_mysqlnd_packet_auth * packet = mnd_pecalloc(1, packet_methods[PROT_AUTH_PACKET].struct_size, persistent); local
2207 struct st_mysqlnd_packet_auth_response * packet = mnd_pecalloc(1, packet_methods[PROT_AUTH_RESP_PACKET].struct_size, persistent); local
2222 struct st_mysqlnd_packet_change_auth_response * packet = mnd_pecalloc(1, packet_methods[PROT_CHANGE_AUTH_RESP_PACKET].struct_size, persistent); local
2237 struct st_mysqlnd_packet_ok * packet = mnd_pecalloc(1, packet_methods[PROT_OK_PACKET].struct_size, persistent); local
2252 struct st_mysqlnd_packet_eof * packet = mnd_pecalloc(1, packet_methods[PROT_EOF_PACKET].struct_size, persistent); local
2267 struct st_mysqlnd_packet_command * packet = mnd_pecalloc(1, packet_methods[PROT_CMD_PACKET].struct_size, persistent); local
2282 struct st_mysqlnd_packet_rset_header * packet = mnd_pecalloc(1, packet_methods[PROT_RSET_HEADER_PACKET].struct_size, persistent); local
2297 struct st_mysqlnd_packet_res_field * packet = mnd_pecalloc(1, packet_methods[PROT_RSET_FLD_PACKET].struct_size, persistent); local
2312 struct st_mysqlnd_packet_row * packet = mnd_pecalloc(1, packet_methods[PROT_ROW_PACKET].struct_size, persistent); local
2327 struct st_mysqlnd_packet_stats * packet = mnd_pecalloc(1, packet_methods[PROT_STATS_PACKET].struct_size, persistent); local
2342 struct st_mysqlnd_packet_prepare_response * packet = mnd_pecalloc(1, packet_methods[PROT_PREPARE_RESP_PACKET].struct_size, persistent); local
2357 struct st_mysqlnd_packet_chg_user_resp * packet = mnd_pecalloc(1, packet_methods[PROT_CHG_USER_RESP_PACKET].struct_size, persistent); local
[all...]
/PHP_5_4/ext/wddx/
H A Dwddx.c131 ZEND_ARG_INFO(0, packet)
266 wddx_packet *packet; local
269 packet = php_wddx_constructor();
271 php_wddx_packet_start(packet, NULL, 0);
272 php_wddx_add_chunk_static(packet, WDDX_STRUCT_S);
275 php_wddx_serialize_var(packet, *struc, key, key_length TSRMLS_CC);
278 php_wddx_add_chunk_static(packet, WDDX_STRUCT_E);
279 php_wddx_packet_end(packet);
280 *newstr = php_wddx_gather(packet);
281 php_wddx_destructor(packet);
369 php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len) argument
387 php_wddx_packet_end(wddx_packet *packet) argument
402 php_wddx_serialize_string(wddx_packet *packet, zval *var TSRMLS_DC) argument
422 php_wddx_serialize_number(wddx_packet *packet, zval *var) argument
439 php_wddx_serialize_boolean(wddx_packet *packet, zval *var) argument
447 php_wddx_serialize_unset(wddx_packet *packet) argument
455 php_wddx_serialize_object(wddx_packet *packet, zval *obj) argument
555 php_wddx_serialize_array(wddx_packet *packet, zval *arr) argument
627 php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name_len TSRMLS_DC) argument
692 php_wddx_add_var(wddx_packet *packet, zval *name_var) argument
1164 wddx_packet *packet; local
1187 wddx_packet *packet; local
1221 smart_str *packet; local
1232 php_wddx_destructor(wddx_packet *packet) argument
1245 wddx_packet *packet; local
1267 wddx_packet *packet = NULL; local
1292 wddx_packet *packet = NULL; local
1324 zval *packet; local
[all...]

Completed in 4 milliseconds