Lines Matching refs:outType

129 	\param outType the desired output type for the data in inSource
135 BPositionIO *inSource, translator_info *outInfo, uint32 outType,
221 \param outType the desired output type for the data in inSource
225 translator_info* outInfo, uint32 outType, BString& encoding)
262 // Translates the data in inSource to the type outType and stores
272 // outType, the type to convert inSource to
279 // Returns: B_BAD_VALUE, if outType is invalid
290 uint32 outType, const TranslatorStyledTextTextHeader &txtheader)
299 if (outType == B_TRANSLATOR_TEXT)
301 else if (outType == B_STYLED_TEXT_FORMAT)
478 BPositionIO* destination, uint32 outType)
480 if (outType != B_TRANSLATOR_TEXT && outType != B_STYLED_TEXT_FORMAT)
487 if (size > UINT32_MAX && outType == B_STYLED_TEXT_FORMAT)
494 if (outType == B_STYLED_TEXT_FORMAT) {
623 if (outType != B_STYLED_TEXT_FORMAT)
700 translator_info *outInfo, uint32 outType)
702 if (!outType)
703 outType = B_TRANSLATOR_TEXT;
704 if (outType != B_TRANSLATOR_TEXT && outType != B_STYLED_TEXT_FORMAT)
729 return identify_stxt_header(header, inSource, outInfo, outType);
734 return identify_text(buffer, nread, inSource, outInfo, outType, encoding);
740 BMessage* ioExtension, uint32 outType, BPositionIO* outDestination)
742 if (!outType)
743 outType = B_TRANSLATOR_TEXT;
744 if (outType != B_TRANSLATOR_TEXT && outType != B_STYLED_TEXT_FORMAT)
770 result = identify_stxt_header(header, source, &outInfo, outType,
775 return translate_from_stxt(source, outDestination, outType, textHeader);
782 result = identify_text(buffer, bytesRead, source, &outInfo, outType, encoding);
796 return translate_from_text(source, encoding, forceEncoding, outDestination, outType);