Home
last modified time | relevance | path

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

/third_party/cups-filters/filter/
Dgetline.c42 getstr (lineptr, n, stream, terminator, offset) in getstr() argument
43 char **lineptr; in getstr()
53 if (!lineptr || !n || !stream)
56 if (!*lineptr)
59 *lineptr = malloc (*n);
60 if (!*lineptr)
65 read_pos = *lineptr + offset;
75 assert(*n - nchars_avail == read_pos - *lineptr);
83 nchars_avail = *n + *lineptr - read_pos;
84 *lineptr = realloc (*lineptr, *n);
[all …]
Dcommandtoescpx.c40 *lineptr; /* Pointer into line */ in main() local
117 lineptr = line + strlen(line) - 1; in main()
118 if (*lineptr == '\n') in main()
119 *lineptr = '\0'; in main()
125 for (lineptr = line; isspace(*lineptr); lineptr ++); in main()
131 if (*lineptr == '#' || !*lineptr) in main()
138 if (strncasecmp(lineptr, "Clean", 5) == 0) in main()
146 else if (strncasecmp(lineptr, "PrintAlignmentPage", 18) == 0) in main()
154 phase = atoi(lineptr + 18); in main()
161 else if (strncasecmp(lineptr, "PrintSelfTestPage", 17) == 0) in main()
[all …]
Dtexttopdf.c286 *lineptr, /* Pointer into line */ in WriteProlog() local
424 for (lineptr = line + 7; isspace(*lineptr & 255); lineptr ++); /* Skip whitespace */ in WriteProlog()
427 if (strcmp(lineptr, "8bit") == 0) // {{{ in WriteProlog()
455 lineptr = line; in WriteProlog()
457 start = strtol(lineptr, &lineptr, 16); in WriteProlog()
458 end = strtol(lineptr, &lineptr, 16); in WriteProlog()
460 while (isspace(*lineptr & 255)) in WriteProlog()
461 lineptr ++; in WriteProlog()
463 if (!*lineptr) in WriteProlog()
466 valptr = lineptr; in WriteProlog()
[all …]
Dcommandtopclx.c40 *lineptr; /* Pointer into line */ in main() local
104 lineptr = line + strlen(line) - 1; in main()
105 if (*lineptr == '\n') in main()
106 *lineptr = '\0'; in main()
112 for (lineptr = line; isspace(*lineptr); lineptr ++); in main()
118 if (*lineptr == '#' || !*lineptr) in main()
125 if (strncasecmp(lineptr, "Clean", 5) == 0 && in main()
136 fprintf(stderr, "ERROR: Invalid printer command \"%s\"!\n", lineptr); in main()
/third_party/cups-filters/cupsfilters/
Dimage-pnm.c46 *lineptr; /* Pointer in line */ in _cupsImageReadPNM() local
65 if ((lineptr = fgets(line, sizeof(line), fp)) == NULL) in _cupsImageReadPNM()
72 lineptr ++; in _cupsImageReadPNM()
74 format = atoi(lineptr); in _cupsImageReadPNM()
75 while (isdigit(*lineptr & 255)) in _cupsImageReadPNM()
76 lineptr ++; in _cupsImageReadPNM()
78 while (lineptr != NULL && img->xsize == 0) in _cupsImageReadPNM()
80 if (*lineptr == '\0' || *lineptr == '#') in _cupsImageReadPNM()
81 lineptr = fgets(line, sizeof(line), fp); in _cupsImageReadPNM()
82 else if (isdigit(*lineptr & 255)) in _cupsImageReadPNM()
[all …]
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/libcompat/
Dgetline.c28 getline (char **lineptr, size_t * n, FILE * stream) in getline() argument
33 if (*lineptr == NULL || *n < INITIAL_SIZE) { in getline()
34 free (*lineptr); in getline()
35 *lineptr = (char *) malloc (INITIAL_SIZE); in getline()
43 *lineptr = realloc (*lineptr, *n); in getline()
46 (*lineptr)[written - 1] = character; in getline()
53 (*lineptr)[written] = '\0'; in getline()
Dlibcompat.h229 CK_DLL_EXP ssize_t getline (char **lineptr, size_t * n, FILE * stream);
/third_party/curl/lib/
Dcookie.c487 const char *lineptr, /* first character of the line */ in Curl_cookie_add() argument
518 size_t linelength = strlen(lineptr); in Curl_cookie_add()
525 ptr = lineptr; in Curl_cookie_add()
867 if(strncmp(lineptr, "#HttpOnly_", 10) == 0) { in Curl_cookie_add()
868 lineptr += 10; in Curl_cookie_add()
872 if(lineptr[0]=='#') { in Curl_cookie_add()
878 ptr = strchr(lineptr, '\r'); in Curl_cookie_add()
881 ptr = strchr(lineptr, '\n'); in Curl_cookie_add()
885 firstptr = strtok_r((char *)lineptr, "\t", &tok_buf); /* tokenize on TAB */ in Curl_cookie_add()
1253 char *lineptr = line; in Curl_cookie_init() local
[all …]
Dhsts.c524 char *lineptr = line; in hsts_load() local
525 while(*lineptr && ISBLANK(*lineptr)) in hsts_load()
526 lineptr++; in hsts_load()
527 if(*lineptr == '#') in hsts_load()
531 hsts_add(h, lineptr); in hsts_load()
Daltsvc.c228 char *lineptr = line; in altsvc_load() local
229 while(*lineptr && ISBLANK(*lineptr)) in altsvc_load()
230 lineptr++; in altsvc_load()
231 if(*lineptr == '#') in altsvc_load()
235 altsvc_add(asi, lineptr); in altsvc_load()
Dcookie.h111 bool noexpiry, const char *lineptr,
/third_party/curl/packages/OS400/rpg-examples/
DSMTPSRCMBR148 d line s 9999999 based(lineptr) ASCII line pointer
156 lineptr = curl_from_ccsid(%trimr(SRCDTA) + crlf: 0);
158 %subst(buffer: i + 1: linelen) = %str(lineptr);
159 curl_free(lineptr);
/third_party/rust/crates/libc/src/
Dwasi.rs696 pub fn getline(lineptr: *mut *mut c_char, n: *mut size_t, stream: *mut FILE) -> ssize_t; in getline()
/third_party/rust/crates/libc/src/vxworks/
Dmod.rs1278 pub fn getline(lineptr: *mut *mut c_char, n: *mut size_t, stream: *mut FILE) -> ssize_t; in getline()
/third_party/rust/crates/libc/src/unix/
Dmod.rs1405 pub fn getline(lineptr: *mut *mut c_char, n: *mut size_t, stream: *mut FILE) -> ssize_t; in getline()
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi8366 …<parameter type-id='type-id-1025' name='lineptr' filepath='../../.././libsanitizer/sanitizer_commo…
8372 …<parameter type-id='type-id-1025' name='lineptr' filepath='../../.././libsanitizer/sanitizer_commo…
14810 <parameter type-id='type-id-1025' name='lineptr'/>
14817 <parameter type-id='type-id-1025' name='lineptr'/>
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi14658 …<parameter type-id='type-id-1025' name='lineptr' filepath='../../.././libsanitizer/sanitizer_commo…
14669 …<parameter type-id='type-id-1025' name='lineptr' filepath='../../.././libsanitizer/sanitizer_commo…
25799 <parameter type-id='type-id-1025' name='lineptr'/>
25812 <parameter type-id='type-id-1025' name='lineptr'/>