Home
last modified time | relevance | path

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

/external/libcups/ppdc/
Dppdc-catalog.cxx750 if (cupsFileRead(fp, (char *)buffer, 2) != 2) in get_utf16()
758 if (cupsFileRead(fp, (char *)buffer, 2) != 2) in get_utf16()
766 if (cupsFileRead(fp, (char *)buffer, 2) != 2) in get_utf16()
789 if (cupsFileRead(fp, (char *)buffer, 2) != 2) in get_utf16()
802 if (cupsFileRead(fp, (char *)buffer, 1) != 1) in get_utf16()
813 if (cupsFileRead(fp, (char *)buffer, 2) != 2) in get_utf16()
826 if (cupsFileRead(fp, (char *)buffer, 3) != 3) in get_utf16()
851 if (cupsFileRead(fp, (char *)buffer, 2) != 2) in get_utf16()
/external/libcups/scheduler/
Dtype.c628 fb.length = (int)cupsFileRead(fb.fp, (char *)fb.buffer, MIME_MAX_BUFFER); in mimeFileType()
801 fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, in mime_check_rules()
845 fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, in mime_check_rules()
894 fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, in mime_check_rules()
940 fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, in mime_check_rules()
977 fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, in mime_check_rules()
1007 fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, in mime_check_rules()
1039 fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, in mime_check_rules()
1074 fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, in mime_check_rules()
1117 fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, in mime_check_rules()
Dcups-driverd.cxx651 if ((bytes = cupsFileRead(fp, buffer, (size_t)bytes)) < 0) in cat_tar()
2610 if ((size_t)cupsFileRead(fp, (char *)&ppdsync, sizeof(ppdsync)) == sizeof(ppdsync) && in load_ppds_dat()
2630 if (cupsFileRead(fp, (char *)&(ppd->record), sizeof(ppd_rec_t)) > 0) in load_ppds_dat()
2719 while ((size_t)cupsFileRead(fp, (char *)&record, sizeof(record)) == sizeof(record)) in read_tar()
Dclient.c3036 while ((bytes = cupsFileRead(in, buffer, sizeof(buffer))) > 0) in install_cupsd_conf()
Djob.c1687 if (ippReadIO(fp, (ipp_iocb_t)cupsFileRead, 1, NULL, job->attrs) != IPP_DATA) in cupsdLoadJob()
Dipp.c4402 while ((bytes = cupsFileRead(src, buffer, sizeof(buffer))) > 0) in copy_file()
/external/libcups/cups/
Dtestfile.c222 while ((bytes = cupsFileRead(fp, line, sizeof(line))) > 0) in main()
400 if (cupsFileRead(fp, buffer, sizeof(buffer)) != sizeof(buffer)) in random_tests()
724 if ((bytes = cupsFileRead(fp, (char *)readbuf, sizeof(readbuf))) < 0) in read_write_tests()
Dfile.h80 extern ssize_t cupsFileRead(cups_file_t *fp, char *buf, size_t bytes) _CUPS_API_1_2;
Dlibcups2.def213 cupsFileRead
Dtestcups.c216 while ((bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0) in main()
Dutil.c850 (bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0) in cupsPrintFiles2()
Dtestipp.c851 while ((state = ippReadIO(fp, (ipp_iocb_t)cupsFileRead, 1, NULL, in main()
Dtestdest.c446 while ((bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0) in print_file()
Dfile.c1636 cupsFileRead(cups_file_t *fp, /* I - CUPS file */ in cupsFileRead() function
Dppd-cache.c582 if (ippReadIO(fp, (ipp_iocb_t)cupsFileRead, 1, NULL, in _ppdCacheCreateWithFile()
/external/libcups/filter/
Dgziptoany.c80 while ((bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0) in main()
Dpstops.c538 if ((nbytes = cupsFileRead(fp, buffer, (size_t)nbytes)) < 1) in copy_bytes()
1149 while ((bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0) in copy_non_dsc()
1637 linelen = cupsFileRead(fp, line, linesize); in copy_page()
1639 linelen = cupsFileRead(fp, line, (size_t)bytes); in copy_page()
2702 linelen = (ssize_t)cupsFileRead(fp, line, linesize); in skip_page()
2704 linelen = (ssize_t)cupsFileRead(fp, line, (size_t)bytes); in skip_page()
/external/libcups/backend/
Dsnmp-supplies.c581 cupsFileRead(cachefile, (char *)supplies, in backend_init_supplies()
/external/libcups/tools/
Dipptool.c1040 while ((bytes = cupsFileRead(reqfile, buffer, sizeof(buffer))) > 0) in do_test()
1070 while (!Cancel && (bytes = cupsFileRead(reqfile, buffer, sizeof(buffer))) > 0) in do_test()
/external/libcups/cgi-bin/
Dadmin.c1703 cupsFileRead(cupsd, buffer, (size_t)info.st_size); in do_config_server()