Home
last modified time | relevance | path

Searched refs:gDefaultFields (Results 1 – 2 of 2) sorted by relevance

/haiku/src/tests/kits/mail/
H A Dheader_test.cpp29 static const mail_header_field gDefaultFields[] = { variable
74 for (int i = 0; gDefaultFields[i].rfc_name; ++i) { in format_filter()
76 if (extract_from_header(header, gDefaultFields[i].rfc_name, target) in format_filter()
78 message.AddString(gDefaultFields[i].rfc_name, target); in format_filter()
99 for (int i = 0; gDefaultFields[i].rfc_name; i++) { in parse_fields()
100 size_t fieldLength = strlen(gDefaultFields[i].rfc_name); in parse_fields()
101 if (!memcmp(&buffer[pos], gDefaultFields[i].rfc_name, in parse_fields()
103 target = gDefaultFields[i].rfc_name; in parse_fields()
131 header.AddString(gDefaultFields[fieldIndex].rfc_name, start); in parse_fields()
/haiku/src/kits/mail/
H A DHaikuMailFormatFilter.cpp29 static const mail_header_field gDefaultFields[] = { variable
125 for (int i = 0; gDefaultFields[i].rfc_name; ++i) { in HeaderFetched()
128 gDefaultFields[i].rfc_name, target); in HeaderFetched()
132 switch (gDefaultFields[i].attr_type){ in HeaderFetched()
135 attributes.AddString(gDefaultFields[i].attr_name, target); in HeaderFetched()