• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/cups-408/cups/scheduler/

Lines Matching +defs:first +defs:line

190  * 'mimeFirstFilter()' - Get the first filter in the MIME database.
205 mime_filter_t *first = (mime_filter_t *)cupsArrayFirst(mime->filters);
208 DEBUG_printf(("7mimeFirstFilter: Returning %p.", first));
209 return (first);
215 * 'mimeFirstType()' - Get the first type in the MIME database.
230 mime_type_t *first = (mime_type_t *)cupsArrayFirst(mime->types);
233 DEBUG_printf(("7mimeFirstType: Returning %p.", first));
234 return (first);
659 char line[1024], /* Input line from file */
660 *lineptr, /* Current position in line */
686 * Then read each line from the file, skipping any comments in the file...
689 while (cupsFileGets(fp, line, sizeof(line)) != NULL)
695 if (!line[0] || line[0] == '#')
702 for (lineptr = line + strlen(line) - 1;
703 lineptr >= line && isspace(*lineptr & 255);
709 * the line.
712 lineptr = line;
788 * the line. We do it here so we can support wildcards...
791 lineptr = line;
847 size_t linelen; /* Length of line */
848 char line[32768], /* Input line from file */
849 *lineptr, /* Current position in line */
871 * Then read each line from the file, skipping any comments in the file...
874 while (cupsFileGets(fp, line, sizeof(line)) != NULL)
880 if (!line[0] || line[0] == '#')
884 * While the last character in the line is a backslash, continue on to the
885 * next line (and the next, etc.)
888 linelen = strlen(line);
890 while (line[linelen - 1] == '\\')
894 if (cupsFileGets(fp, line + linelen, sizeof(line) - linelen) == NULL)
895 line[linelen] = '\0';
897 linelen += strlen(line + linelen);
901 * Extract the super-type and type names from the beginning of the line.
904 lineptr = line;