Searched refs:lineptr (Results 1 - 14 of 14) sorted by relevance

/external/honggfuzz/
H A Dinput.c200 char* lineptr = NULL; local
202 defer { free(lineptr); };
204 ssize_t len = getdelim(&lineptr, &n, '\n', fDict);
208 if (len > 1 && lineptr[len - 1] == '\n') {
209 lineptr[len - 1] = '\0';
212 if (lineptr[0] == '#') {
215 if (lineptr[0] == '\n') {
218 if (lineptr[0] == '\0') {
223 if (sscanf(lineptr, "\"%1024s", bufv) != 1 &&
224 sscanf(lineptr, "
250 char* lineptr = NULL; local
[all...]
/external/honggfuzz/includes/libcommon/
H A Dfiles.c273 char* lineptr = NULL; local
276 if (getline(&lineptr, &n, f) == -1) {
280 if (strlen(lineptr) < 3) {
281 LOG_F("Input symbol '%s' too short (strlen < 3)", lineptr);
291 (*filterList)[symbolsRead] = malloc(strlen(lineptr));
293 PLOG_E("malloc(%zu) failed", strlen(lineptr));
297 strncpy((*filterList)[symbolsRead], lineptr, strlen(lineptr));
303 free(lineptr);
401 char* lineptr local
[all...]
/external/honggfuzz/libcommon/
H A Dfiles.c273 char* lineptr = NULL; local
276 if (getline(&lineptr, &n, f) == -1) {
280 if (strlen(lineptr) < 3) {
281 LOG_F("Input symbol '%s' too short (strlen < 3)", lineptr);
291 (*filterList)[symbolsRead] = malloc(strlen(lineptr));
293 PLOG_E("malloc(%zu) failed", strlen(lineptr));
297 strncpy((*filterList)[symbolsRead], lineptr, strlen(lineptr));
303 free(lineptr);
401 char* lineptr local
[all...]
/external/libcups/cups/
H A Dppd.c2877 *lineptr; /* Current position in line buffer */ local
2903 lineptr = line->buffer;
2909 if (lineptr >= (line->buffer + line->bufsize - 1))
2940 lineptr = temp + (lineptr - line->buffer);
2969 if (lineptr == line->buffer && ignoreblank)
2977 *lineptr++ = '\n';
2996 *lineptr++ = (char)ch;
3133 if (lineptr > line->buffer && lineptr[
[all...]
H A Ddest.c4177 *lineptr, /* Pointer into line */ local
4201 while (cupsFileGetConf(fp, line, sizeof(line), &lineptr, &linenum))
4207 DEBUG_printf(("9cups_get_dests: linenum=%d line=\"%s\" lineptr=\"%s\"",
4208 linenum, line, lineptr));
4210 if ((_cups_strcasecmp(line, "dest") && _cups_strcasecmp(line, "default")) || !lineptr)
4216 name = lineptr;
4222 while (!isspace(*lineptr & 255) && *lineptr && *lineptr != '/')
4223 lineptr
[all...]
H A Dhttp.c1158 char *lineptr, /* Pointer into line */ local
1176 lineptr = line;
1180 while (lineptr < lineend)
1282 lineptr < lineend && bufptr < bufend;)
1293 *lineptr++ = *bufptr++;
1308 *lineptr = '\0';
/external/google-breakpad/src/common/dwarf/
H A Ddwarf2reader.cc534 const char* lineptr = buffer_; local
538 = reader_->ReadInitialLength(lineptr, &initial_length_size);
540 lineptr += initial_length_size;
548 header_.version = reader_->ReadTwoBytes(lineptr);
549 lineptr += 2;
551 header_.prologue_length = reader_->ReadOffset(lineptr);
552 lineptr += reader_->OffsetSize();
554 header_.min_insn_length = reader_->ReadOneByte(lineptr);
555 lineptr += 1;
557 header_.default_is_stmt = reader_->ReadOneByte(lineptr);
816 const char* lineptr = after_header_; local
[all...]
/external/curl/lib/
H A Dcookie.c36 struct CookieInfo *c, bool httpheader, char *lineptr,
39 The 'lineptr' parameter is a full "Set-cookie:" line as
371 char *lineptr, /* first character of the line */
404 size_t linelength = strlen(lineptr);
411 semiptr = strchr(lineptr, ';'); /* first, find a semicolon */
413 while(*lineptr && ISBLANK(*lineptr))
414 lineptr++;
416 ptr = lineptr;
701 if(strncmp(lineptr, "#HttpOnly
364 Curl_cookie_add(struct Curl_easy *data, struct CookieInfo *c, bool httpheader, char *lineptr, const char *domain, const char *path) argument
1013 char *lineptr; local
[all...]
H A Dcookie.h83 struct CookieInfo *, bool header, char *lineptr,
/external/toybox/lib/
H A Dportability.h110 ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream);
178 ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream);
179 ssize_t getline(char **lineptr, size_t *n, FILE *stream);
/external/google-breakpad/src/processor/
H A Dsimple_serializer-inl.h173 static size_t SizeOf(const linked_ptr<Line> &lineptr) { argument
174 if (lineptr.get() == NULL) return 0;
175 return SimpleSerializer<Line>::SizeOf(*(lineptr.get()));
177 static char *Write(const linked_ptr<Line> &lineptr, char *dest) { argument
178 if (lineptr.get())
179 dest = SimpleSerializer<Line>::Write(*(lineptr.get()), dest);
/external/libcups/filter/
H A Dtestclient.c407 *lineptr; /* Pointer into line */ local
671 for (lineptr = line + xoff; *template; template ++)
676 *lineptr++ = *color;
680 lineptr += xrep;
690 for (lineptr = line + 3 * xoff; *template; template ++)
694 for (xcount = xrep; xcount > 0; xcount --, lineptr += 3)
695 memcpy(lineptr, color, 3);
699 lineptr += 3 * xrep;
/external/honggfuzz/linux/
H A Dtrace.c863 char *lineptr = NULL, *cAddr = NULL; local
865 defer { free(lineptr); };
867 if (getline(&lineptr, &n, fReport) == -1) {
873 if ((strlen(lineptr) > headerSz) && (strncmp(header, lineptr, headerSz) == 0)) {
877 cAddr = strstr(lineptr, "address 0x");
889 char* pLineLC = lineptr;
938 LOG_D("Invalid ASan report entry (%s)", lineptr);
/external/compiler-rt/lib/sanitizer_common/
H A 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)); \
[all...]

Completed in 373 milliseconds