Searched refs:parsr (Results 1 – 1 of 1) sorted by relevance
58 static off_t bb_get_chunk_with_continuation(parser_t* parsr) in bb_get_chunk_with_continuation() argument64 if (fgets(parsr->line + pos, parsr->line_len - pos, parsr->fp) == NULL) { in bb_get_chunk_with_continuation()65 memset(parsr->line, 0, parsr->line_len); in bb_get_chunk_with_continuation()69 pos += strlen(parsr->line + pos); in bb_get_chunk_with_continuation()70 chp = strchr(parsr->line, '\n'); in bb_get_chunk_with_continuation()77 } else if (parsr->allocated) { in bb_get_chunk_with_continuation()78 parsr->line_len += PAGE_SIZE; in bb_get_chunk_with_continuation()79 parsr->data = realloc(parsr->data, in bb_get_chunk_with_continuation()80 parsr->data_len + parsr->line_len); in bb_get_chunk_with_continuation()81 parsr->line = parsr->data + parsr->data_len; in bb_get_chunk_with_continuation()[all …]
Completed in 2 milliseconds