Searched refs:stylHeader (Results 1 – 1 of 1) sorted by relevance
707 TranslatorStyledTextStyleHeader stylHeader; in convert_styled_text_to_rtf() local708 read = source->Read(buffer, sizeof(stylHeader)); in convert_styled_text_to_rtf()713 if (read != sizeof(stylHeader) && read != 0) in convert_styled_text_to_rtf()716 if (read == sizeof(stylHeader)) { // There is a STYL section in convert_styled_text_to_rtf()717 memcpy(&stylHeader, buffer, sizeof(stylHeader)); in convert_styled_text_to_rtf()718 if (swap_data(B_UINT32_TYPE, &stylHeader, sizeof(stylHeader), in convert_styled_text_to_rtf()723 if (stylHeader.header.magic != 'STYL' in convert_styled_text_to_rtf()724 || stylHeader.header.header_size != sizeof(stylHeader)) { in convert_styled_text_to_rtf()728 uint8 unflattened[stylHeader.header.data_size]; in convert_styled_text_to_rtf()729 source->Read(unflattened, stylHeader.header.data_size); in convert_styled_text_to_rtf()