Lines Matching defs:formats
740 const translation_format* formats = translator.InputFormats(
742 const translation_format* format = _CheckHints(formats, formatsCount,
797 const translation_format* formats = translator.InputFormats(
799 const translation_format* format = _CheckHints(formats, formatsCount,
932 the formats the translator exports.
935 BTranslatorRoster::Private::_CheckHints(const translation_format* formats,
938 if (formats == NULL || formatsCount <= 0 || (!hintType && hintMIME == NULL))
947 for (int32 i = 0; i < formatsCount && formats[i].type; i++) {
948 if (formats[i].type == hintType
950 && ((super && !strncmp(formats[i].MIME, hintMIME, super))
951 || !strcmp(formats[i].MIME, hintMIME))))
952 return &formats[i];
1481 Returns all of the input formats for the translator specified
1485 \param id identifies which translator you want the input formats for
1486 \param _formats array of input formats
1487 \param _numFormats number of formats in the array
1512 Returns all of the output formats for the translator specified
1516 \param id identifies which translator you want the output formats for
1517 \param _formats array of output formats
1518 \param _numFormats number of formats in the array
1676 \param id identifies which translator you want the input formats for
1720 \param id identifies which translator you want the input formats for
1748 \param id identifies which translator you want the input formats for