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

/PHP_TRUNK/ext/wddx/
H A Dwddx.c129 ZEND_ARG_INFO(0, packet)
264 wddx_packet *packet; local
267 packet = php_wddx_constructor();
269 php_wddx_packet_start(packet, NULL, 0);
270 php_wddx_add_chunk_static(packet, WDDX_STRUCT_S);
273 php_wddx_serialize_var(packet, *struc, key, key_length TSRMLS_CC);
276 php_wddx_add_chunk_static(packet, WDDX_STRUCT_E);
277 php_wddx_packet_end(packet);
278 *newstr = php_wddx_gather(packet);
279 php_wddx_destructor(packet);
367 php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len) argument
385 php_wddx_packet_end(wddx_packet *packet) argument
400 php_wddx_serialize_string(wddx_packet *packet, zval *var TSRMLS_DC) argument
420 php_wddx_serialize_number(wddx_packet *packet, zval *var) argument
437 php_wddx_serialize_boolean(wddx_packet *packet, zval *var) argument
445 php_wddx_serialize_unset(wddx_packet *packet) argument
453 php_wddx_serialize_object(wddx_packet *packet, zval *obj) argument
553 php_wddx_serialize_array(wddx_packet *packet, zval *arr) argument
625 php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name_len TSRMLS_DC) argument
690 php_wddx_add_var(wddx_packet *packet, zval *name_var) argument
1162 wddx_packet *packet; local
1185 wddx_packet *packet; local
1219 smart_str *packet; local
1230 php_wddx_destructor(wddx_packet *packet) argument
1243 wddx_packet *packet; local
1265 wddx_packet *packet = NULL; local
1290 wddx_packet *packet = NULL; local
1322 zval *packet; local
[all...]
/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) { \
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
329 MYSQLND_PACKET_GREET *packet= (MYSQLND_PACKET_GREET *) _packet; local
490 MYSQLND_PACKET_AUTH * packet= (MYSQLND_PACKET_AUTH *) _packet; local
651 register MYSQLND_PACKET_AUTH_RESPONSE * packet= (MYSQLND_PACKET_AUTH_RESPONSE *) _packet; local
765 MYSQLND_PACKET_CHANGE_AUTH_RESPONSE *packet= (MYSQLND_PACKET_CHANGE_AUTH_RESPONSE *) _packet; local
814 register MYSQLND_PACKET_OK *packet= (MYSQLND_PACKET_OK *) _packet; local
900 MYSQLND_PACKET_EOF *packet= (MYSQLND_PACKET_EOF *) _packet; local
972 MYSQLND_PACKET_COMMAND * packet= (MYSQLND_PACKET_COMMAND *) _packet; local
1055 MYSQLND_PACKET_RSET_HEADER *packet= (MYSQLND_PACKET_RSET_HEADER *) _packet; local
1189 MYSQLND_PACKET_RES_FIELD *packet= (MYSQLND_PACKET_RES_FIELD *) _packet; local
1801 MYSQLND_PACKET_ROW *packet= (MYSQLND_PACKET_ROW *) _packet; local
1919 MYSQLND_PACKET_STATS *packet= (MYSQLND_PACKET_STATS *) _packet; local
1967 MYSQLND_PACKET_PREPARE_RESPONSE *packet= (MYSQLND_PACKET_PREPARE_RESPONSE *) _packet; local
2054 MYSQLND_PACKET_CHG_USER_RESPONSE *packet= (MYSQLND_PACKET_CHG_USER_RESPONSE *) _packet; local
2171 MYSQLND_PACKET_SHA256_PK_REQUEST_RESPONSE * packet= (MYSQLND_PACKET_SHA256_PK_REQUEST_RESPONSE *) _packet; local
2318 struct st_mysqlnd_packet_greet * packet = mnd_pecalloc(1, packet_methods[PROT_GREET_PACKET].struct_size, persistent); local
2333 struct st_mysqlnd_packet_auth * packet = mnd_pecalloc(1, packet_methods[PROT_AUTH_PACKET].struct_size, persistent); local
2348 struct st_mysqlnd_packet_auth_response * packet = mnd_pecalloc(1, packet_methods[PROT_AUTH_RESP_PACKET].struct_size, persistent); local
2363 struct st_mysqlnd_packet_change_auth_response * packet = mnd_pecalloc(1, packet_methods[PROT_CHANGE_AUTH_RESP_PACKET].struct_size, persistent); local
2378 struct st_mysqlnd_packet_ok * packet = mnd_pecalloc(1, packet_methods[PROT_OK_PACKET].struct_size, persistent); local
2393 struct st_mysqlnd_packet_eof * packet = mnd_pecalloc(1, packet_methods[PROT_EOF_PACKET].struct_size, persistent); local
2408 struct st_mysqlnd_packet_command * packet = mnd_pecalloc(1, packet_methods[PROT_CMD_PACKET].struct_size, persistent); local
2423 struct st_mysqlnd_packet_rset_header * packet = mnd_pecalloc(1, packet_methods[PROT_RSET_HEADER_PACKET].struct_size, persistent); local
2438 struct st_mysqlnd_packet_res_field * packet = mnd_pecalloc(1, packet_methods[PROT_RSET_FLD_PACKET].struct_size, persistent); local
2453 struct st_mysqlnd_packet_row * packet = mnd_pecalloc(1, packet_methods[PROT_ROW_PACKET].struct_size, persistent); local
2468 struct st_mysqlnd_packet_stats * packet = mnd_pecalloc(1, packet_methods[PROT_STATS_PACKET].struct_size, persistent); local
2483 struct st_mysqlnd_packet_prepare_response * packet = mnd_pecalloc(1, packet_methods[PROT_PREPARE_RESP_PACKET].struct_size, persistent); local
2498 struct st_mysqlnd_packet_chg_user_resp * packet = mnd_pecalloc(1, packet_methods[PROT_CHG_USER_RESP_PACKET].struct_size, persistent); local
2513 struct st_mysqlnd_packet_sha256_pk_request * packet = mnd_pecalloc(1, packet_methods[PROT_SHA256_PK_REQUEST_PACKET].struct_size, persistent); local
2528 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...]

Completed in 5 milliseconds