Lines Matching refs:line
39 char *line; in read_stduu() local
47 line = xmalloc_fgets_str_len(src_stream, "\n", &line_len); in read_stduu()
48 if (!line) in read_stduu()
56 && (line[str_len] == '\n' || line[str_len] == '\r') in read_stduu()
58 line[str_len] = '\0'; in read_stduu()
61 if (strcmp(line, "end") == 0) { in read_stduu()
65 line_ptr = line; in read_stduu()
70 str_len = line_ptr - line; in read_stduu()
72 encoded_len = line[0] * 4 / 3; in read_stduu()
81 free(line); in read_stduu()
88 dst = line; in read_stduu()
89 line_ptr = line + 1; in read_stduu()
108 fwrite(line, 1, dst - line, dst_stream); in read_stduu()
109 free(line); in read_stduu()
119 char *line; in uudecode_main() local
129 while ((line = xmalloc_fgetline(src_stream)) != NULL) { in uudecode_main()
135 if (is_prefixed_with(line, "begin-base64 ")) { in uudecode_main()
136 line_ptr = line + 13; in uudecode_main()
138 } else if (is_prefixed_with(line, "begin ")) { in uudecode_main()
139 line_ptr = line + 6; in uudecode_main()
142 free(line); in uudecode_main()
171 free(line); in uudecode_main()