Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/lib/
Dplugin_db.c32 char mime_types[_MAX_MIME_TYPES][MAX_MIME_LENGTH + 1];
33 char print_formats[_MAX_PRINT_FORMATS][MAX_MIME_LENGTH + 1];
71 if (strlen(mt[i]) < MAX_MIME_LENGTH) { in plugin_add()
73 strncpy(_plugin[index].mime_types[j++], mt[i], MAX_MIME_LENGTH); in plugin_add()
85 if (strlen(pf[i]) < MAX_MIME_LENGTH) { in plugin_add()
87 strncpy(_plugin[index].print_formats[j++], pf[i], MAX_MIME_LENGTH); in plugin_add()
Dlib_wprint.c431 size = MAX_MIME_LENGTH + MAX_PRINTER_ADDR_LENGTH + MAX_PATHNAME_LENGTH + 4; in _get_handle()
443 ptr += (MAX_MIME_LENGTH + 1); in _get_handle()
1890 strncpy(jq->mime_type, mime_type, MAX_MIME_LENGTH); in wprintStartJob()
/packages/services/BuiltInPrintService/jni/include/
Dlib_wprint.h49 #define MAX_MIME_LENGTH (64) macro