/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/m32c/ |
H A D | safe-fgets.c | 28 static char *line_buf = 0; variable 38 if (line_buf == 0) 40 line_buf = (char *) malloc (LBUFINCR); 45 line_ptr = line_buf + line_buf_size - 1; 49 if (fgets (line_buf, line_buf_size, f) == 0) 57 line_buf = (char *) realloc (line_buf, line_buf_size); 60 line_ptr = line_buf + line_buf_size - 1; 64 if (fgets (line_buf + line_buf_size - LBUFINCR - 1, LBUFINCR + 1, f) == 69 return line_buf; [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/src/ |
H A D | file-list.c | 45 char *line_buf = NULL; local 64 int len = getline (&line_buf, &line_len, fp); 71 if (len > 0 && line_buf[len - 1] == '\n') 72 line_buf[--len] = '\0'; 74 && (line_buf[len - 1] == ' ' 75 || line_buf[len - 1] == '\t' 76 || line_buf[len - 1] == '\r')) 77 line_buf[--len] = '\0'; 80 if (*line_buf == '\0' || *line_buf [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/bc/dc/ |
H A D | string.c | 144 static char *line_buf = NULL; /* a buffer to build the string in */ 145 static size_t buflen = 0; /* the current size of line_buf */ 151 if (!line_buf){ 154 line_buf = dc_malloc(buflen); 156 p = line_buf; 157 end = line_buf + buflen; 167 ptrdiff_t offset = p - line_buf; 172 line_buf = realloc(line_buf, buflen); 173 if (!line_buf) 143 static char *line_buf = NULL; /* a buffer to build the string in */ variable [all...] |
/netbsd-6-1-5-RELEASE/libexec/talkd/ |
H A D | announce.c | 100 char line_buf[N_LINES][N_CHARS]; local 111 (void)snprintf(line_buf[i], N_CHARS, " "); 112 sizes[i] = strlen(line_buf[i]); 116 (void)snprintf(line_buf[i], N_CHARS, 119 sizes[i] = strlen(line_buf[i]); 125 (void)snprintf(line_buf[i], N_CHARS, 127 sizes[i] = strlen(line_buf[i]); 130 (void)snprintf(line_buf[i], N_CHARS, 132 sizes[i] = strlen(line_buf[i]); 135 (void)snprintf(line_buf[ [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/examples/ |
H A D | excallback.c | 89 char prompt_buf[40], line_buf[256]; variable 167 strcpy(line_buf, rl_line_buffer); 173 rl_insert_text(line_buf);
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/bounce/ |
H A D | bounce_templates.c | 250 VSTRING *line_buf; local 266 line_buf = vstring_alloc(100); 268 while (vstring_get_nonl(line_buf, fp) > 0) { 270 cp = STR(line_buf) + strspn(STR(line_buf), " \t\n\v\f\r"); 273 if ((err = split_nameval(STR(line_buf), &member_name, &value)) != 0) 275 VSTREAM_PATH(fp), lineno, err, STR(line_buf)); 294 while (vstring_get_nonl(line_buf, fp) > 0) { 296 if (strcmp(STR(line_buf), STR(saved_end_marker)) == 0) 300 vstring_strcat(multi_line_buf, STR(line_buf)); [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/ |
H A D | ntp_lineedit.c | 168 char line_buf[MAXEDITLINE]; local 217 line = fgets(line_buf, sizeof(line_buf), stdin);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/tui/ |
H A D | tui-stack.c | 67 char line_buf[50], *pname; 98 sprintf (line_buf, "%d", loc->line_no); 100 strcpy (line_buf, "??"); 101 line_width = strlen (line_buf); 194 -line_width, line_width, line_buf); 66 char line_buf[50], *pname; local
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/ |
H A D | ip_match.c | 617 VSTRING *line_buf = vstring_alloc(100); local 628 while (vstring_fgets_nonl(line_buf, VSTREAM_IN)) { 629 bufp = STR(line_buf); 646 ip_match_dump(line_buf, STR(byte_codes))); 673 vstring_free(line_buf);
|
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/opcodes/ |
H A D | opc2c.c | 29 static char * line_buf = NULL; variable 39 if (line_buf == NULL) 41 line_buf = (char *) malloc (LBUFINCR); 46 line_ptr = line_buf + line_buf_size - 1; 50 if (fgets (line_buf, line_buf_size, f) == 0) 58 line_buf = (char *) realloc (line_buf, line_buf_size); 61 line_ptr = line_buf + line_buf_size - 1; 65 if (fgets (line_buf + line_buf_size - LBUFINCR - 1, LBUFINCR + 1, f) == 0) 69 return line_buf; [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/opcodes/ |
H A D | opc2c.c | 29 static char * line_buf = NULL; variable 39 if (line_buf == NULL) 41 line_buf = (char *) malloc (LBUFINCR); 46 line_ptr = line_buf + line_buf_size - 1; 50 if (fgets (line_buf, line_buf_size, f) == 0) 58 line_buf = (char *) realloc (line_buf, line_buf_size); 61 line_ptr = line_buf + line_buf_size - 1; 65 if (fgets (line_buf + line_buf_size - LBUFINCR - 1, LBUFINCR + 1, f) == 0) 69 return line_buf; [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/ |
H A D | protoize.c | 986 static char *line_buf = 0; 991 char *copy_p = line_buf; 993 if (line_buf == 0) 996 line_buf = xmalloc (line_buf_size); 999 copy_p = line_buf; 1001 /* Make a copy of the input string in line_buf, expanding as necessary. */ 1014 if (copy_p + size - line_buf >= line_buf_size) 1016 int offset = copy_p - line_buf; 1019 line_buf = xrealloc (line_buf, line_buf_siz 977 static char *line_buf = 0; local [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/diffutils/src/ |
H A D | cmp.c | 465 char line_buf[INT_BUFSIZE_BOUND (off_t)]; 467 char const *line_num = offtostr (line_number, line_buf); 461 char line_buf[INT_BUFSIZE_BOUND (off_t)]; local
|
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/bfd/ |
H A D | libaout.h | 409 char *line_buf; 407 char *line_buf; member in struct:aoutdata
|
H A D | pdp11.c | 2332 if (adata (abfd).line_buf != NULL) 2333 free (adata (abfd).line_buf); 2335 adata (abfd).line_buf = buf = NULL; 2339 adata (abfd).line_buf = buf;
|
H A D | aoutx.h | 2791 if (adata (abfd).line_buf != NULL) 2792 free (adata (abfd).line_buf); 2795 adata (abfd).line_buf = buf = NULL; 2799 adata (abfd).line_buf = buf;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/bfd/ |
H A D | libaout.h | 409 char *line_buf; 407 char *line_buf; member in struct:aoutdata
|
H A D | pdp11.c | 2332 if (adata (abfd).line_buf != NULL) 2333 free (adata (abfd).line_buf); 2335 adata (abfd).line_buf = buf = NULL; 2339 adata (abfd).line_buf = buf;
|
H A D | aoutx.h | 2791 if (adata (abfd).line_buf != NULL) 2792 free (adata (abfd).line_buf); 2795 adata (abfd).line_buf = buf = NULL; 2799 adata (abfd).line_buf = buf;
|