| /netbsd-src/external/bsd/am-utils/dist/amd/ |
| H A D | am_ops.c | 163 int linesize = 0; in ops_showamfstypes() local 170 linesize += strlen((*ap)->fs_type) + 2; in ops_showamfstypes() 171 if (linesize > 62) { in ops_showamfstypes() 172 linesize = 0; in ops_showamfstypes() 195 int linesize = 0; in ops_showfstypes() local 200 ops_show1(buf, l, &linesize, MNTTAB_TYPE_AUTOFS); in ops_showfstypes() 204 ops_show1(buf, l, &linesize, MNTTAB_TYPE_CACHEFS); in ops_showfstypes() 208 ops_show1(buf, l, &linesize, MNTTAB_TYPE_CDFS); in ops_showfstypes() 212 ops_show1(buf, l, &linesize, MNTTAB_TYPE_CFS); in ops_showfstypes() 216 ops_show1(buf, l, &linesize, MNTTAB_TYPE_LOFS); in ops_showfstypes() [all …]
|
| /netbsd-src/sys/arch/sparc64/sparc64/ |
| H A D | cpu.c | 490 int linesize, dcachesize, icachesize; in cpu_attach() local 580 linesize = l = cpu_icache_line_size(node); in cpu_attach() 581 if (linesize > icache_line_size) in cpu_attach() 582 icache_line_size = linesize; in cpu_attach() 600 (long)linesize); in cpu_attach() 604 ci->ci_cacheinfo.c_ilinesize = linesize; in cpu_attach() 609 linesize = l = cpu_dcache_line_size(node); in cpu_attach() 610 if (linesize > dcache_line_size) in cpu_attach() 611 dcache_line_size = linesize; in cpu_attach() 629 (long)linesize); in cpu_attach() [all …]
|
| /netbsd-src/external/gpl2/xcvs/dist/lib/ |
| H A D | getnline.c | 32 getndelim (char **lineptr, size_t *linesize, size_t nmax, in getndelim() argument 35 return getndelim2 (lineptr, linesize, 0, nmax, delimiter, EOF, stream); in getndelim() 39 getnline (char **lineptr, size_t *linesize, size_t nmax, FILE *stream) in getnline() argument 41 return getndelim (lineptr, linesize, nmax, '\n', stream); in getnline()
|
| H A D | getndelim2.c | 66 getndelim2 (char **lineptr, size_t *linesize, size_t offset, size_t nmax, in getndelim2() argument 73 size_t size = *linesize; in getndelim2() 156 *linesize = size; in getndelim2()
|
| H A D | getnline.h | 34 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,
|
| /netbsd-src/usr.bin/last/ |
| H A D | last.c | 151 int linesize = UT_LINESIZE; in main() local 192 linesize = atoi(optarg); in main() 193 if (linesize < 1) in main() 253 wtmpx(file, namesize, linesize, hostsize, numeric); in main() 255 wtmp(file, namesize, linesize, hostsize, numeric); in main() 257 wtmpx(file, namesize, linesize, hostsize, numeric); in main() 259 wtmp(file, namesize, linesize, hostsize, numeric); in main()
|
| /netbsd-src/sys/arch/x86/x86/ |
| H A D | identcpu_subr.c | 171 int type, level, ways, partitions, linesize, sets, totalsize; in cpu_dcp_cacheinfo() local 212 linesize = __SHIFTOUT(descs[1], CPUID_DCP_LINESIZE) in cpu_dcp_cacheinfo() 215 totalsize = ways * partitions * linesize * sets; in cpu_dcp_cacheinfo() 218 ci->ci_cinfo[caitype].cai_linesize = linesize; in cpu_dcp_cacheinfo()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| H A D | javaversion.c | 65 size_t linesize; in execute_and_read_line() local 84 line = NULL; linesize = 0; in execute_and_read_line() 85 linelen = getline (&line, &linesize, fp); in execute_and_read_line()
|
| H A D | csharpcomp.c | 208 size_t linesize[2]; in compile_csharp_using_mono() local 281 line[0] = NULL; linesize[0] = 0; in compile_csharp_using_mono() 282 line[1] = NULL; linesize[1] = 0; in compile_csharp_using_mono() 286 linelen[l] = getline (&line[l], &linesize[l], fp); in compile_csharp_using_mono()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
| H A D | msginit.c | 815 size_t linesize; in project_id() local 842 line = NULL; linesize = 0; in project_id() 843 linelen = getline (&line, &linesize, fp); in project_id() 882 size_t linesize; in project_id_version() local 910 line = NULL; linesize = 0; in project_id_version() 911 linelen = getline (&line, &linesize, fp); in project_id_version() 1044 size_t linesize; in get_user_email() local 1069 line = NULL; linesize = 0; in get_user_email() 1070 linelen = getline (&line, &linesize, fp); in get_user_email() 1127 size_t linesize; in language_team_address() local [all …]
|
| H A D | x-perl.c | 192 static int linesize; variable 219 if (linepos >= linesize) in phase1_getc() 221 linesize = getline (&linebuf, &linebuf_size, fp); in phase1_getc() 223 if (linesize < 0) in phase1_getc() 240 if (linesize >= 2 && linebuf[linesize - 1] == '\n' in phase1_getc() 241 && linebuf[linesize - 2] == '\r') in phase1_getc() 243 linebuf[linesize - 2] = '\n'; in phase1_getc() 244 linebuf[linesize - 1] = '\0'; in phase1_getc() 245 --linesize; in phase1_getc() 389 linesize = getline (&linebuf, &linebuf_size, fp); in skip_pod() [all …]
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/src/pgp2ssh/ |
| H A D | b64.c | 238 b64encode(const char *in, const size_t insize, void *vp, size_t outsize, int linesize) in b64encode() argument 266 if (linesize > 0) { in b64encode() 267 if (blocksout >= (int)(linesize / sizeof(wordout)) || in b64encode()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/qxl/ |
| H A D | qxl_image.c | 118 int linesize = width * depth / 8; in qxl_image_init_helper() local 145 if (stride == linesize && chunk_stride == stride) { in qxl_image_init_helper() 146 remain = linesize * height; in qxl_image_init_helper() 175 remain = linesize; in qxl_image_init_helper()
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/src/libverify/ |
| H A D | b64.c | 238 b64encode(const char *in, const size_t insize, void *vp, size_t outsize, int linesize) in b64encode() argument 269 if (linesize > 0) { in b64encode() 270 if (blocksout >= (int)(linesize / sizeof(wordout)) || in b64encode()
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| H A D | b64.c | 238 netpgpv_b64encode(const char *in, const size_t insize, void *vp, size_t outsize, int linesize) in netpgpv_b64encode() argument 269 if (linesize > 0) { in netpgpv_b64encode() 270 if (blocksout >= (int)(linesize / sizeof(wordout)) || in netpgpv_b64encode()
|
| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | options.c | 356 zone_list_free_insert(struct nsd_options* opt, int linesize, off_t off) in zone_list_free_insert() argument 360 opt->zonefree, &linesize); in zone_list_free_insert() 363 b->linesize = linesize; in zone_list_free_insert() 365 b->node.key = &b->linesize; in zone_list_free_insert() 377 const char* patnm, int linesize, off_t off) in zone_list_zone_insert() argument 389 zone->linesize = linesize; in zone_list_zone_insert() 448 int linesize = strlen(buf); in parse_zone_list_file() local 463 if(linesize && buf[linesize-1] == '\n') in parse_zone_list_file() 464 buf[linesize-1] = 0; in parse_zone_list_file() 468 (void)zone_list_zone_insert(opt, nm, patnm, linesize, in parse_zone_list_file() [all …]
|
| /netbsd-src/usr.bin/uniq/ |
| H A D | uniq.c | 202 skip(const char *str, size_t *linesize) in skip() argument 205 size_t ls = *linesize; in skip() 217 *linesize = ls; in skip()
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | dh.c | 163 size_t linesize = 0; in choose_dh() local 175 while (getline(&line, &linesize, f) != -1) { in choose_dh() 195 linesize = 0; in choose_dh() 208 while (getline(&line, &linesize, f) != -1) { in choose_dh()
|
| H A D | authfile.c | 207 size_t linesize = 0; in sshkey_try_load_public() local 222 while (getline(&line, &linesize, f) != -1) { in sshkey_try_load_public() 380 size_t linesize = 0; in sshkey_in_file() local 390 while (getline(&line, &linesize, f) != -1) { in sshkey_in_file()
|
| H A D | sshsig.c | 991 size_t linesize = 0; in sshsig_check_allowed_keys() local 1004 while (getline(&line, &linesize, f) != -1) { in sshsig_check_allowed_keys() 1010 linesize = 0; in sshsig_check_allowed_keys() 1032 size_t linesize = 0; in sshsig_find_principals() local 1044 while (getline(&line, &linesize, f) != -1) { in sshsig_find_principals() 1050 linesize = 0; in sshsig_find_principals() 1080 size_t i, nprincipals = 0, linesize = 0; in sshsig_match_principals() local 1098 while (getline(&line, &linesize, f) != -1) { in sshsig_match_principals() 1119 linesize = 0; in sshsig_match_principals()
|
| H A D | auth2-pubkeyfile.c | 236 size_t linesize = 0; in auth_process_principals() local 243 while (getline(&line, &linesize, f) != -1) { in auth_process_principals() 421 size_t linesize = 0; in auth_check_authkeys_file() local 504 while (getline(&line, &linesize, f) != -1) { in auth_check_authkeys_file()
|
| /netbsd-src/usr.sbin/cpuctl/arch/ |
| H A D | i386.c | 973 int type, level, ways, linesize, sets; in intel_cpu_cacheinfo() local 1105 linesize = 1024 * 1024 * 1024; in intel_cpu_cacheinfo() 1110 linesize = 4 * 1024 * 1024; in intel_cpu_cacheinfo() 1115 linesize = 2 * 1024 * 1024; in intel_cpu_cacheinfo() 1121 linesize = 4 * 1024; in intel_cpu_cacheinfo() 1142 linesize = 4 * 1024; in intel_cpu_cacheinfo() 1145 linesize = 2 * 1024 * 1024; in intel_cpu_cacheinfo() 1148 linesize = 4 * 1024 * 1024; in intel_cpu_cacheinfo() 1151 linesize = 1024 * 1024 * 1024; in intel_cpu_cacheinfo() 1155 linesize in intel_cpu_cacheinfo() [all...] |
| /netbsd-src/external/gpl2/groff/dist/src/preproc/tbl/ |
| H A D | table.h | 92 int linesize; variable 145 table(int nc, unsigned flags, int linesize, char decimal_point_char);
|
| /netbsd-src/external/bsd/libfido2/dist/tools/ |
| H A D | base64.c | 115 size_t linesize = 0; in base64_read() local 121 if ((n = getline(&line, &linesize, f)) <= 0 || in base64_read()
|
| /netbsd-src/usr.sbin/syslogd/ |
| H A D | sign.c | 799 sign_msg_sign(struct buf_msg **bufferptr, char *sd, size_t linesize) in sign_msg_sign() argument 808 assert(endptr < linesize); in sign_msg_sign() 842 newlinelen = strlcat(sd, signature, linesize); in sign_msg_sign() 843 newlinelen = strlcat(sd, "\"]", linesize); in sign_msg_sign() 845 if (newlinelen >= linesize) { in sign_msg_sign() 852 assert(newlinelen < linesize); in sign_msg_sign()
|