Searched refs:linesize (Results 1 - 25 of 34) sorted by relevance

12

/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/
H A Dgetndelim2.c42 getndelim2 (char **lineptr, size_t *linesize, size_t nmax, argument
48 if (!lineptr || !linesize || !nmax || !stream)
58 *linesize = newlinesize;
59 *lineptr = malloc (*linesize);
64 if (*linesize < offset)
67 nbytes_avail = *linesize - offset;
70 if (nbytes_avail == 0 && *linesize >= nmax)
75 /* Here always *lineptr + *linesize == read_pos + nbytes_avail. */
83 if (nbytes_avail < 2 && *linesize < nmax)
86 (*linesize > MIN_CHUN
[all...]
H A Dgetline.c38 getline (char **lineptr, size_t *linesize, FILE *stream) argument
40 return getdelim (lineptr, linesize, '\n', stream);
48 getline (char **lineptr, size_t *linesize, FILE *stream) argument
50 return getndelim2 (lineptr, linesize, (size_t)(-1), stream, '\n', 0, 0);
54 getdelim (char **lineptr, size_t *linesize, int delimiter, FILE *stream) argument
56 return getndelim2 (lineptr, linesize, (size_t)(-1), stream, delimiter, 0, 0);
H A Dgetndelim2.h38 extern ssize_t getndelim2 (char **lineptr, size_t *linesize, size_t nmax,
H A Dcsharpcomp.c210 size_t linesize[2]; local
274 line[0] = NULL; linesize[0] = 0;
275 line[1] = NULL; linesize[1] = 0;
279 linelen[l] = getline (&line[l], &linesize[l], fp);
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dgetnline.c29 getndelim (char **lineptr, size_t *linesize, size_t nmax, argument
32 return getndelim2 (lineptr, linesize, 0, nmax, delimiter, EOF, stream);
36 getnline (char **lineptr, size_t *linesize, size_t nmax, FILE *stream) argument
38 return getndelim (lineptr, linesize, nmax, '\n', stream);
H A Dgetnline.h34 extern ssize_t getnline (char **lineptr, size_t *linesize, size_t nmax,
45 extern ssize_t getndelim (char **lineptr, size_t *linesize, size_t nmax,
H A Dgetndelim2.h39 extern ssize_t getndelim2 (char **lineptr, size_t *linesize, size_t offset,
H A Dgetndelim2.c63 getndelim2 (char **lineptr, size_t *linesize, size_t offset, size_t nmax, argument
70 size_t size = *linesize;
153 *linesize = size;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/pgp2ssh/
H A Db64.h32 int b64encode(const char *in, const size_t insize, void *vp, size_t outsize, int linesize);
H A Db64.c105 case 5:All chars from 0 to ff, linesize set to 50:
238 b64encode(const char *in, const size_t insize, void *vp, size_t outsize, int linesize) argument
266 if (linesize > 0) {
267 if (blocksout >= (int)(linesize / sizeof(wordout)) ||
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Dam_ops.c159 int linesize = 0; local
166 linesize += strlen((*ap)->fs_type) + 2;
167 if (linesize > 62) {
168 linesize = 0;
191 int linesize = 0; local
196 ops_show1(buf, l, &linesize, MNTTAB_TYPE_AUTOFS);
200 ops_show1(buf, l, &linesize, MNTTAB_TYPE_CACHEFS);
204 ops_show1(buf, l, &linesize, MNTTAB_TYPE_CDFS);
208 ops_show1(buf, l, &linesize, MNTTAB_TYPE_CFS);
212 ops_show1(buf, l, &linesize, MNTTAB_TYPE_LOF
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/sparc64/
H A Dcpu.c253 int linesize, dcachesize, icachesize; local
326 linesize = l = prom_getpropint(node, "icache-line-size", 0);
327 if (linesize > icache_line_size)
328 icache_line_size = linesize;
348 (long)linesize);
355 linesize = l = prom_getpropint(node, "dcache-line-size", 0);
356 if (linesize > dcache_line_size)
357 dcache_line_size = linesize;
377 (long)linesize);
381 linesize
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dtop.h27 extern int linesize;
H A Devent-top.c526 extern int linesize;
698 if (linelength > linesize)
701 linesize = linelength;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/frv/
H A Doptions.c103 address_word ways = 0, sets = 0, linesize = 0; local
116 chp = parse_size (chp + 1, &linesize);
117 linesize = check_pow2 (linesize, "LINESIZE", cache_name, sd);
128 cache->line_size = linesize;
/netbsd-6-1-5-RELEASE/usr.bin/last/
H A Dlast.c133 " [-H hostsize] [-h host] [-L linesize]\n"
151 int linesize = UT_LINESIZE; local
192 linesize = atoi(optarg);
193 if (linesize < 1)
253 wtmpx(file, namesize, linesize, hostsize, numeric);
255 wtmp(file, namesize, linesize, hostsize, numeric);
257 wtmpx(file, namesize, linesize, hostsize, numeric);
259 wtmp(file, namesize, linesize, hostsize, numeric);
/netbsd-6-1-5-RELEASE/external/bsd/byacc/dist/
H A Dreader.c31 static int linesize; variable
85 if (line == 0 || linesize != (LINESIZE + 1))
89 linesize = LINESIZE + 1;
90 line = MALLOC(linesize);
104 if (++i >= linesize)
106 linesize += LINESIZE;
107 line = REALLOC(line, linesize);
692 buf = MALLOC(linesize);
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/preproc/tbl/
H A Dtable.h92 int linesize; member in class:table
145 table(int nc, unsigned flags, int linesize, char decimal_point_char);
/netbsd-6-1-5-RELEASE/sys/arch/alpha/include/
H A Decoff_machdep.h73 long linesize; member in struct:ecoff_symhdr
/netbsd-6-1-5-RELEASE/sbin/fsck_v7fs/
H A Dmain.c150 size_t linesize = 0; local
172 if ((linelen = getline(&line, &linesize, stdin)) == -1) {
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/src/
H A Dmsginit.c947 size_t linesize; local
974 line = NULL; linesize = 0;
975 linelen = getline (&line, &linesize, fp);
1013 size_t linesize; local
1041 line = NULL; linesize = 0;
1042 linelen = getline (&line, &linesize, fp);
1174 size_t linesize; local
1199 line = NULL; linesize = 0;
1200 linelen = getline (&line, &linesize, fp);
1256 size_t linesize; local
[all...]
H A Dx-perl.c196 static int linesize; variable
223 if (linepos >= linesize)
225 linesize = getline (&linebuf, &linebuf_size, fp);
227 if (linesize < 0)
244 if (linesize >= 2 && linebuf[linesize - 1] == '\n'
245 && linebuf[linesize - 2] == '\r')
247 linebuf[linesize - 2] = '\n';
248 linebuf[linesize - 1] = '\0';
249 --linesize;
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/mdocml/dist/
H A Dtbl.c83 p->opts.linesize = 12;
H A Dtbl_opts.c73 { "linesize", 0, KEY_LINESIZE},
139 tbl->opts.linesize = atoi(buf);
/netbsd-6-1-5-RELEASE/usr.bin/mail/
H A Dfio.c313 readline(FILE *ibuf, char *linebuf, int linesize, int no_restart) argument
328 if (fgets(linebuf, linesize, ibuf) == NULL)

Completed in 218 milliseconds

12