#include <MIME.h>
Inherits HdrHeapObjImpl.
Public Member Functions | |
int | marshal (MarshalXlate *ptr_xlate, int num_ptr, MarshalXlate *str_xlate, int num_str) |
void | unmarshal (intptr_t offset) |
void | move_strings (HdrStrHeap *new_heap) |
size_t | strings_length () |
void | check_strings (HeapCheck *heaps, int num_heaps) |
Data Fields | |
uint32_t | m_freetop |
MIMEFieldBlockImpl * | m_next |
MIMEField | m_field_slots [MIME_FIELD_BLOCK_SLOTS] |
Definition at line 160 of file MIME.h.
void MIMEFieldBlockImpl::check_strings | ( | HeapCheck * | heaps, | |
int | num_heaps | |||
) |
Definition at line 3635 of file MIME.cc.
References CHECK_STR, MIMEField::is_detached(), MIMEField::is_live(), m_field_slots, m_freetop, MIMEField::m_len_name, MIMEField::m_len_value, MIMEField::m_ptr_name, and MIMEField::m_ptr_value.
Referenced by MIMEHdrImpl::check_strings().
int MIMEFieldBlockImpl::marshal | ( | MarshalXlate * | ptr_xlate, | |
int | num_ptr, | |||
MarshalXlate * | str_xlate, | |||
int | num_str | |||
) |
Definition at line 3546 of file MIME.cc.
References HDR_MARSHAL_PTR, HDR_MARSHAL_PTR_1, HDR_MARSHAL_STR, HDR_MARSHAL_STR_1, MIMEField::is_live(), m_field_slots, m_freetop, m_next, MIMEField::m_next_dup, MIMEField::m_ptr_name, and MIMEField::m_ptr_value.
Referenced by MIMEHdrImpl::marshal().
void MIMEFieldBlockImpl::move_strings | ( | HdrStrHeap * | new_heap | ) |
Definition at line 3601 of file MIME.cc.
References HDR_MOVE_STR, MIMEField::is_detached(), MIMEField::is_live(), m_field_slots, m_freetop, MIMEField::m_len_name, MIMEField::m_len_value, MIMEField::m_n_v_raw_printable, MIMEField::m_ptr_name, and MIMEField::m_ptr_value.
Referenced by MIMEHdrImpl::move_strings().
size_t MIMEFieldBlockImpl::strings_length | ( | ) |
Definition at line 3618 of file MIME.cc.
References m_field_slots, m_freetop, MIMEField::m_len_name, MIMEField::m_len_value, MIMEField::m_readiness, MIME_FIELD_SLOT_READINESS_DETACHED, and MIME_FIELD_SLOT_READINESS_LIVE.
Referenced by MIMEHdrImpl::strings_length().
void MIMEFieldBlockImpl::unmarshal | ( | intptr_t | offset | ) |
Definition at line 3580 of file MIME.cc.
References HDR_UNMARSHAL_PTR, HDR_UNMARSHAL_STR, MIMEField::is_live(), m_field_slots, m_freetop, m_next, MIMEField::m_next_dup, MIMEField::m_ptr_name, and MIMEField::m_ptr_value.
Referenced by MIMEHdrImpl::unmarshal().
MIMEField MIMEFieldBlockImpl::m_field_slots[MIME_FIELD_BLOCK_SLOTS] |
Definition at line 165 of file MIME.h.
Referenced by _mime_hdr_field_block_init(), _mime_hdr_field_list_search_by_slotnum(), _mime_hdr_field_list_search_by_string(), _mime_hdr_field_list_search_by_wks(), check_strings(), MIMEHdr::iter_get_next(), marshal(), mime_field_block_describe(), mime_field_create(), mime_hdr_copy_onto(), mime_hdr_field_get(), mime_hdr_field_slotnum(), mime_hdr_fields_count(), mime_hdr_length_get(), mime_hdr_print(), mime_hdr_set_accelerators_and_presence_bits(), move_strings(), process_mime_block_impl(), relocate(), strings_length(), and unmarshal().
uint32_t MIMEFieldBlockImpl::m_freetop |
Definition at line 163 of file MIME.h.
Referenced by _mime_hdr_field_block_init(), _mime_hdr_field_list_search_by_slotnum(), _mime_hdr_field_list_search_by_string(), _mime_hdr_field_list_search_by_wks(), check_strings(), MIMEHdr::iter_get_next(), marshal(), mime_field_block_describe(), mime_field_create(), mime_hdr_field_get(), mime_hdr_fields_count(), mime_hdr_length_get(), mime_hdr_print(), move_strings(), process_mime_block_impl(), relocate(), strings_length(), and unmarshal().
Definition at line 164 of file MIME.h.
Referenced by _mime_hdr_field_block_init(), _mime_hdr_field_list_search_by_slotnum(), _mime_hdr_field_list_search_by_string(), _mime_hdr_field_list_search_by_wks(), MIMEHdr::iter_get_next(), marshal(), mime_field_block_describe(), mime_field_create(), mime_hdr_copy_onto(), mime_hdr_describe(), mime_hdr_destroy(), mime_hdr_destroy_field_block_list(), mime_hdr_field_block_list_adjust(), mime_hdr_field_get(), mime_hdr_field_slotnum(), mime_hdr_fields_clear(), mime_hdr_fields_count(), mime_hdr_length_get(), mime_hdr_print(), relocate(), and unmarshal().