Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/lib/
Dplugin_db.c32 char mime_types[_MAX_MIME_TYPES][MAX_MIME_LENGTH + 1]; member
73 strncpy(_plugin[index].mime_types[j++], mt[i], MAX_MIME_LENGTH); in plugin_add()
78 _plugin[index].mime_types[j][0] = 0; in plugin_add()
109 while (strlen(_plugin[i].mime_types[k])) { in plugin_search()
110 if (strcmp(_plugin[i].mime_types[k], mt) == 0) { in plugin_search()
143 if ((strcmp(_plugin[i].mime_types[0], _plugin[i].print_formats[0]) == 0) && in plugin_get_passthru_input_formats()
145 && (strlen(_plugin[i].mime_types[1]) == 0)) { in plugin_get_passthru_input_formats()
146 *input_formats |= plugin_get_mime_type_bit(_plugin[i].mime_types[0]); in plugin_get_passthru_input_formats()