Home
last modified time | relevance | path

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

/external/libcups/scheduler/
Dmime.c661 *lineptr, /* Current position in line */ in mime_load_convs() local
703 for (lineptr = line + strlen(line) - 1; in mime_load_convs()
704 lineptr >= line && isspace(*lineptr & 255); in mime_load_convs()
705 lineptr --) in mime_load_convs()
706 *lineptr = '\0'; in mime_load_convs()
713 lineptr = line; in mime_load_convs()
714 while (*lineptr != ' ' && *lineptr != '\t' && *lineptr != '\0') in mime_load_convs()
715 lineptr ++; in mime_load_convs()
717 while (*lineptr == ' ' || *lineptr == '\t') in mime_load_convs()
718 lineptr ++; in mime_load_convs()
[all …]
Dstatbuf.c115 char *lineptr, /* Pointer to end of line in buffer */ in cupsdStatBufUpdate() local
123 if ((lineptr = strchr(sb->buffer, '\n')) == NULL) in cupsdStatBufUpdate()
138 if ((lineptr = strchr(sb->buffer, '\n')) == NULL && in cupsdStatBufUpdate()
140 lineptr = sb->buffer + sb->bufused; in cupsdStatBufUpdate()
159 lineptr = sb->buffer + sb->bufused; in cupsdStatBufUpdate()
160 *lineptr = '\0'; in cupsdStatBufUpdate()
168 lineptr = NULL; in cupsdStatBufUpdate()
171 if (!lineptr) in cupsdStatBufUpdate()
187 *lineptr++ = '\0'; in cupsdStatBufUpdate()
308 if (lineptr < sb->buffer + sb->bufused) in cupsdStatBufUpdate()
[all …]
/external/libcups/examples/
Dppdx.c189 *lineptr, /* Current position in line buffer */ in ppdxWriteData() local
205 lineptr = line + 4; in ppdxWriteData()
248 if ((lineptr + len) >= lineend) in ppdxWriteData()
250 *lineptr++ = '\n'; in ppdxWriteData()
251 *lineptr = '\0'; in ppdxWriteData()
254 lineptr = line + 4; in ppdxWriteData()
257 strlcpy(lineptr, pair, lineend - lineptr); in ppdxWriteData()
258 lineptr += len; in ppdxWriteData()
280 if ((lineptr + len) >= lineend) in ppdxWriteData()
282 *lineptr++ = '\n'; in ppdxWriteData()
[all …]
/external/libcups/man/
Dmantohtml.c49 *lineptr, /* Pointer into line */ in main() local
183 for (lineptr = line + 4; *lineptr; lineptr ++) in main()
184 if (*lineptr == '\"') in main()
186 else if (isalnum(*lineptr & 255)) in main()
187 html_putc(*lineptr, outfile); in main()
194 for (lineptr = line + 4; *lineptr; lineptr ++) in main()
196 if (*lineptr == '\"') in main()
198 else if (*lineptr == ' ') in main()
207 html_putc(*lineptr, outfile); in main()
209 html_putc(tolower(*lineptr & 255), outfile); in main()
[all …]
/external/libcups/cups/
Dppd.c2874 *lineptr; /* Current position in line buffer */ in ppd_read() local
2900 lineptr = line->buffer; in ppd_read()
2906 if (lineptr >= (line->buffer + line->bufsize - 1)) in ppd_read()
2937 lineptr = temp + (lineptr - line->buffer); in ppd_read()
2966 if (lineptr == line->buffer && ignoreblank) in ppd_read()
2974 *lineptr++ = '\n'; in ppd_read()
2993 *lineptr++ = (char)ch; in ppd_read()
3130 if (lineptr > line->buffer && lineptr[-1] == '\n') in ppd_read()
3131 lineptr --; in ppd_read()
3133 *lineptr = '\0'; in ppd_read()
[all …]
Dtestclient.c298 *lineptr; /* Pointer into line */ in make_raster_file() local
564 for (lineptr = line + xoff; *template; template ++) in make_raster_file()
569 *lineptr++ = *color; in make_raster_file()
573 lineptr += xrep; in make_raster_file()
583 for (lineptr = line + 3 * xoff; *template; template ++) in make_raster_file()
587 for (xcount = xrep; xcount > 0; xcount --, lineptr += 3) in make_raster_file()
588 memcpy(lineptr, color, 3); in make_raster_file()
592 lineptr += 3 * xrep; in make_raster_file()
Ddest.c4080 *lineptr, /* Pointer into line */ in cups_get_dests() local
4104 while (cupsFileGetConf(fp, line, sizeof(line), &lineptr, &linenum)) in cups_get_dests()
4111 linenum, line, lineptr)); in cups_get_dests()
4113 if ((_cups_strcasecmp(line, "dest") && _cups_strcasecmp(line, "default")) || !lineptr) in cups_get_dests()
4119 name = lineptr; in cups_get_dests()
4125 while (!isspace(*lineptr & 255) && *lineptr && *lineptr != '/') in cups_get_dests()
4126 lineptr ++; in cups_get_dests()
4128 if (*lineptr == '/') in cups_get_dests()
4134 *lineptr++ = '\0'; in cups_get_dests()
4135 instance = lineptr; in cups_get_dests()
[all …]
Dhttp.c1124 char *lineptr, /* Pointer into line */ in httpGets() local
1142 lineptr = line; in httpGets()
1146 while (lineptr < lineend) in httpGets()
1248 lineptr < lineend && bufptr < bufend;) in httpGets()
1259 *lineptr++ = *bufptr++; in httpGets()
1274 *lineptr = '\0'; in httpGets()
/external/libcups/notifier/
Dmailto.c495 *lineptr; /* Pointer into line */ in pipe_sendmail() local
506 for (lineptr = strchr(line, ' '); lineptr; lineptr = strchr(lineptr, ' ')) in pipe_sendmail()
508 while (*lineptr == ' ') in pipe_sendmail()
509 *lineptr++ = '\0'; in pipe_sendmail()
511 if (*lineptr) in pipe_sendmail()
517 argv[argc ++] = lineptr; in pipe_sendmail()
/external/libcups/cgi-bin/
Dhelp.c332 char *lineptr; /* Pointer into line */ in main() local
338 for (lineptr = line; *lineptr && isspace(*lineptr & 255); lineptr ++); in main()
342 if (!_cups_strncasecmp(lineptr, "</BODY>", 7)) in main()
347 else if (!_cups_strncasecmp(lineptr, "<BODY", 5)) in main()
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader.cc923 const uint8_t *lineptr = buffer_; in ReadHeader() local
927 = reader_->ReadInitialLength(lineptr, &initial_length_size); in ReadHeader()
929 lineptr += initial_length_size; in ReadHeader()
937 header_.version = reader_->ReadTwoBytes(lineptr); in ReadHeader()
938 lineptr += 2; in ReadHeader()
940 header_.prologue_length = reader_->ReadOffset(lineptr); in ReadHeader()
941 lineptr += reader_->OffsetSize(); in ReadHeader()
943 header_.min_insn_length = reader_->ReadOneByte(lineptr); in ReadHeader()
944 lineptr += 1; in ReadHeader()
948 reader_->ReadOneByte(lineptr); in ReadHeader()
[all …]
/external/curl/lib/
Dcookie.c437 char *lineptr, /* first character of the line */ in Curl_cookie_add() argument
468 size_t linelength = strlen(lineptr); in Curl_cookie_add()
475 semiptr = strchr(lineptr, ';'); /* first, find a semicolon */ in Curl_cookie_add()
477 while(*lineptr && ISBLANK(*lineptr)) in Curl_cookie_add()
478 lineptr++; in Curl_cookie_add()
480 ptr = lineptr; in Curl_cookie_add()
791 if(strncmp(lineptr, "#HttpOnly_", 10) == 0) { in Curl_cookie_add()
792 lineptr += 10; in Curl_cookie_add()
796 if(lineptr[0]=='#') { in Curl_cookie_add()
802 ptr = strchr(lineptr, '\r'); in Curl_cookie_add()
[all …]
Daltsvc.c206 char *lineptr = line; in altsvc_load() local
207 while(*lineptr && ISBLANK(*lineptr)) in altsvc_load()
208 lineptr++; in altsvc_load()
209 if(*lineptr == '#') in altsvc_load()
213 altsvc_add(asi, lineptr); in altsvc_load()
Dcookie.h95 char *lineptr,
/external/google-breakpad/src/processor/
Dsimple_serializer-inl.h173 static size_t SizeOf(const linked_ptr<Line> &lineptr) { in SizeOf() argument
174 if (lineptr.get() == NULL) return 0; in SizeOf()
175 return SimpleSerializer<Line>::SizeOf(*(lineptr.get())); in SizeOf()
177 static char *Write(const linked_ptr<Line> &lineptr, char *dest) { in Write() argument
178 if (lineptr.get()) in Write()
179 dest = SimpleSerializer<Line>::Write(*(lineptr.get()), dest); in Write()
/external/iperf3/src/
Diperf_auth.h41 ssize_t iperf_getpass (char **lineptr, size_t *n, FILE *stream);
Diperf_auth.c353 ssize_t iperf_getpass (char **lineptr, size_t *n, FILE *stream) { in iperf_getpass() argument
367 nread = getline (lineptr, n, stream); in iperf_getpass()
373 char *buf = *lineptr; in iperf_getpass()
/external/minijail/
Dsyscall_filter.c574 static ssize_t getmultiline(char **lineptr, size_t *n, FILE *stream) in getmultiline() argument
576 ssize_t ret = getline(lineptr, n, stream); in getmultiline()
580 char *line = *lineptr; in getmultiline()
610 *lineptr = line; in getmultiline()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc4350 INTERCEPTOR(SSIZE_T, getline, char **lineptr, SIZE_T *n, void *stream) {
4352 COMMON_INTERCEPTOR_ENTER(ctx, getline, lineptr, n, stream);
4356 SSIZE_T res = REAL(getline)(lineptr, n, stream);
4358 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, lineptr, sizeof(*lineptr));
4360 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *lineptr, res + 1);
4371 COMMON_INTERCEPTOR_ENTER(ctx, vname, lineptr, n, delim, stream); \
4372 SSIZE_T res = REAL(vname)(lineptr, n, delim, stream); \
4374 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, lineptr, sizeof(*lineptr)); \
4376 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *lineptr, res + 1); \
4381 INTERCEPTOR(SSIZE_T, __getdelim, char **lineptr, SIZE_T *n, int delim,
[all …]
/external/rust/crates/libc/src/
Dwasi.rs582 pub fn getline(lineptr: *mut *mut c_char, n: *mut size_t, stream: *mut FILE) -> ssize_t; in getline()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc5193 INTERCEPTOR(SSIZE_T, getline, char **lineptr, SIZE_T *n, void *stream) {
5195 COMMON_INTERCEPTOR_ENTER(ctx, getline, lineptr, n, stream);
5199 SSIZE_T res = REAL(getline)(lineptr, n, stream);
5201 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, lineptr, sizeof(*lineptr));
5203 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *lineptr, res + 1);
5214 COMMON_INTERCEPTOR_ENTER(ctx, vname, lineptr, n, delim, stream); \
5215 SSIZE_T res = REAL(vname)(lineptr, n, delim, stream); \
5217 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, lineptr, sizeof(*lineptr)); \
5219 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *lineptr, res + 1); \
5224 INTERCEPTOR(SSIZE_T, __getdelim, char **lineptr, SIZE_T *n, int delim,
[all …]
/external/rust/crates/libc/src/unix/
Dmod.rs1361 pub fn getline(lineptr: *mut *mut c_char, n: *mut size_t, stream: *mut FILE) -> ssize_t; in getline()
/external/rust/crates/libc/src/vxworks/
Dmod.rs1263 pub fn getline(lineptr: *mut *mut c_char, n: *mut size_t, stream: *mut FILE) -> ssize_t; in getline()
/external/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi11947 …<parameter type-id='type-id-1227' name='lineptr' filepath='../../.././libsanitizer/sanitizer_commo…
11954 …<parameter type-id='type-id-1227' name='lineptr' filepath='../../.././libsanitizer/sanitizer_commo…
15444 <parameter type-id='type-id-1227' name='lineptr'/>
15451 <parameter type-id='type-id-1227' name='lineptr'/>
/external/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi20212 …<parameter type-id='type-id-1227' name='lineptr' filepath='../../.././libsanitizer/sanitizer_commo…
20225 …<parameter type-id='type-id-1227' name='lineptr' filepath='../../.././libsanitizer/sanitizer_commo…
26614 <parameter type-id='type-id-1227' name='lineptr'/>
26627 <parameter type-id='type-id-1227' name='lineptr'/>