Lines Matching refs:z_buf

796         { if (soap_flush_raw(soap, soap->z_buf, SOAP_BUFLEN))  in soap_flush()
798 soap->d_stream->next_out = (Byte*)soap->z_buf; in soap_flush()
1089 { memcpy(soap->buf, soap->z_buf, SOAP_BUFLEN); in soap_recv_raw()
1168 { memcpy(soap->z_buf, soap->buf, SOAP_BUFLEN); in soap_recv_raw()
1169 soap->d_stream->next_in = (Byte*)(soap->z_buf + soap->bufidx); in soap_recv_raw()
4951 if (soap->z_buf) in soap_done()
4952 { SOAP_FREE(soap, (void*)soap->z_buf); in soap_done()
4953 soap->z_buf = NULL; in soap_done()
6676 { if (!soap->z_buf) in soap_begin_send()
6677 soap->z_buf = (char*)SOAP_MALLOC(soap, SOAP_BUFLEN); in soap_begin_send()
6678 soap->d_stream->next_out = (Byte*)soap->z_buf; in soap_begin_send()
6682 { memcpy(soap->z_buf, "\37\213\10\0\0\0\0\0\0\377", 10); in soap_begin_send()
6683 soap->d_stream->next_out = (Byte*)soap->z_buf + 10; in soap_begin_send()
6688 *((Byte*)soap->z_buf + 2) = 0xff; in soap_begin_send()
7685 { if (soap_flush_raw(soap, soap->z_buf, SOAP_BUFLEN - soap->d_stream->avail_out)) in soap_end_send()
7690 soap->d_stream->next_out = (Byte*)soap->z_buf; in soap_end_send()
7704 { soap->z_buf[0] = soap->z_crc & 0xFF; in soap_end_send()
7705 soap->z_buf[1] = (soap->z_crc >> 8) & 0xFF; in soap_end_send()
7706 soap->z_buf[2] = (soap->z_crc >> 16) & 0xFF; in soap_end_send()
7707 soap->z_buf[3] = (soap->z_crc >> 24) & 0xFF; in soap_end_send()
7708 soap->z_buf[4] = soap->d_stream->total_in & 0xFF; in soap_end_send()
7709 soap->z_buf[5] = (soap->d_stream->total_in >> 8) & 0xFF; in soap_end_send()
7710 soap->z_buf[6] = (soap->d_stream->total_in >> 16) & 0xFF; in soap_end_send()
7711 soap->z_buf[7] = (soap->d_stream->total_in >> 24) & 0xFF; in soap_end_send()
7712 if (soap_flush_raw(soap, soap->z_buf, 8)) in soap_end_send()
7818 memcpy(soap->buf, soap->z_buf, SOAP_BUFLEN); in soap_end_recv()
7819 soap->bufidx = (char*)soap->d_stream->next_in - soap->z_buf; in soap_end_recv()
7833 soap->z_buf[i] = (char)c; in soap_end_recv()
7835 …)soap->z_buf[0] | ((uLong)(unsigned char)soap->z_buf[1] << 8) | ((uLong)(unsigned char)soap->z_buf in soap_end_recv()
7839 …)soap->z_buf[4] | ((uLong)(unsigned char)soap->z_buf[5] << 8) | ((uLong)(unsigned char)soap->z_buf in soap_end_recv()
8100 copy->z_buf = NULL; in soap_copy_context()
8185 copy->z_buf = NULL; in soap_copy_stream()
8188 if (soap->z_buf && soap->zlib_state != SOAP_ZLIB_NONE) in soap_copy_stream()
8189 { copy->z_buf = (char*)SOAP_MALLOC(copy, SOAP_BUFLEN); in soap_copy_stream()
8190 memcpy(copy->z_buf, soap->z_buf, sizeof(soap->z_buf)); in soap_copy_stream()
8214 if (soap->z_buf) in soap_free_stream()
8215 SOAP_FREE(soap, soap->z_buf); in soap_free_stream()
8216 soap->z_buf = NULL; in soap_free_stream()
8404 soap->z_buf = NULL; in soap_init()
14029 if (!soap->z_buf) in soap_begin_recv()
14030 soap->z_buf = (char*)SOAP_MALLOC(soap, SOAP_BUFLEN); in soap_begin_recv()
14031 memcpy(soap->z_buf, soap->buf, SOAP_BUFLEN); in soap_begin_recv()
14036 soap->d_stream->next_in = (Byte*)(soap->z_buf + soap->bufidx); in soap_begin_recv()
14122 if (!soap->z_buf) in soap_begin_recv()
14123 soap->z_buf = (char*)SOAP_MALLOC(soap, SOAP_BUFLEN); in soap_begin_recv()
14124 memcpy(soap->z_buf, soap->buf, SOAP_BUFLEN); in soap_begin_recv()
14125 soap->d_stream->next_in = (Byte*)(soap->z_buf + soap->bufidx); in soap_begin_recv()