Home
last modified time | relevance | path

Searched refs:BUFSIZE (Results 1 – 25 of 52) sorted by relevance

123

/dragonfly/usr.bin/shlock/
H A Dshlock.c49 #define BUFSIZE 16 macro
104 char buf[BUFSIZE], tmpf[PATH_MAX]; in create_lock()
192 char buf[BUFSIZE]; in check_lock()
234 if (len == BUFSIZE) { in check_lock()
240 buf[BUFSIZE - 1] = '\0'; in check_lock()
/dragonfly/contrib/gcc-4.7/gcc/objc/
H A Dobjc-next-runtime-abi-02.c938 char buf[BUFSIZE]; in next_runtime_abi_02_class_decl()
951 char buf[BUFSIZE]; in next_runtime_abi_02_metaclass_decl()
964 char buf[BUFSIZE]; in next_runtime_abi_02_category_decl()
977 char buf[BUFSIZE]; in next_runtime_abi_02_protocol_decl()
1028 char buf[BUFSIZE]; in build_v2_class_reference_decl()
1245 char buf[BUFSIZE]; in build_v2_protocollist_ref_decl()
1430 char buf[BUFSIZE]; in build_v2_superclass_ref_decl()
2170 char buf[BUFSIZE]; in generate_v2_protocol_list()
2306 char buf[BUFSIZE]; in generate_v2_meth_descriptor_table()
2418 char buf[BUFSIZE]; in generate_v2_property_table()
[all …]
H A Dobjc-next-runtime-abi-01.c600 char buf[BUFSIZE]; in next_runtime_abi_01_class_decl()
612 char buf[BUFSIZE]; in next_runtime_abi_01_metaclass_decl()
624 char buf[BUFSIZE]; in next_runtime_abi_01_category_decl()
637 char buf[BUFSIZE]; in next_runtime_abi_01_protocol_decl()
681 char buf[BUFSIZE]; in build_class_reference_decl()
1150 char buf[BUFSIZE]; in generate_v1_meth_descriptor_table()
1192 char buf[BUFSIZE]; in generate_v1_objc_protocol_extension()
1319 char buf[BUFSIZE]; in generate_v1_property_table()
1370 char buf[BUFSIZE]; in generate_v1_protocol_list()
1750 char buf[BUFSIZE]; in generate_v1_category()
[all …]
H A Dobjc-gnu-runtime-abi-01.c508 char buf[BUFSIZE]; in gnu_runtime_abi_01_class_decl()
509 snprintf (buf, BUFSIZE, "_OBJC_Class_%s", in gnu_runtime_abi_01_class_decl()
520 char buf[BUFSIZE]; in gnu_runtime_abi_01_metaclass_decl()
532 char buf[BUFSIZE]; in gnu_runtime_abi_01_category_decl()
545 char buf[BUFSIZE]; in gnu_runtime_abi_01_protocol_decl()
867 char buf[BUFSIZE]; in objc_add_static_instance()
1130 char buf[BUFSIZE]; in generate_protocol_list()
1208 char buf[BUFSIZE]; in generate_v1_meth_descriptor_table()
1428 char buf[BUFSIZE]; in generate_category()
1630 char buf[BUFSIZE]; in generate_class_structures()
[all …]
H A Dobjc-runtime-shared-support.c299 char buf[BUFSIZE]; in add_objc_string()
305 snprintf (buf, BUFSIZE, "_OBJC_ClassName_%s", IDENTIFIER_POINTER (ident)); in add_objc_string()
309 snprintf (buf, BUFSIZE, "_OBJC_METH_VAR_NAME_%d", meth_var_names_idx++); in add_objc_string()
313 snprintf (buf, BUFSIZE, "_OBJC_METH_VAR_TYPE_%d", meth_var_types_idx++); in add_objc_string()
317 snprintf (buf, BUFSIZE, "_OBJC_PropertyAttributeOrName_%d", property_name_attr_idx++); in add_objc_string()
/dragonfly/contrib/tcsh-6/
H A Dsh.lex.c1588 char cbuf[BUFSIZE + 1]; in wide_read()
1704 off = (int) feobp % BUFSIZE; in bgetc()
1705 buf = (int) feobp / BUFSIZE; in bgetc()
1707 roomleft = BUFSIZE - off; in bgetc()
1716 off = (int) feobp % BUFSIZE; in bgetc()
1717 buf = (int) feobp / BUFSIZE; in bgetc()
1719 roomleft = BUFSIZE - off; in bgetc()
1732 ch = fbuf[(int) fseekp / BUFSIZE][(int) fseekp % BUFSIZE]; in bgetc()
1736 ch = fbuf[(int) fseekp / BUFSIZE][(int) fseekp % BUFSIZE]; in bgetc()
1757 fseekp -= BUFSIZE * sb; in bfree()
[all …]
H A Dsh.h165 #ifdef BUFSIZE
166 # if BUFSIZE < 4096
167 # undef BUFSIZE
168 # define BUFSIZE 4096 /* buffer size should be no less than this */ macro
171 # define BUFSIZE 4096 macro
178 # define INBUFSIZE 2*BUFSIZE /* Num input characters on the command line */
799 unsigned char Bfclens[BUFSIZE + 1];
/dragonfly/contrib/binutils-2.27/gprof/
H A Dcorefile.c488 const int BUFSIZE = 1024; in num_of_syms_in() local
489 char * buf = (char *) xmalloc (BUFSIZE); in num_of_syms_in()
490 char * address = (char *) xmalloc (BUFSIZE); in num_of_syms_in()
492 char * name = (char *) xmalloc (BUFSIZE); in num_of_syms_in()
495 while (!feof (f) && fgets (buf, BUFSIZE - 1, f)) in num_of_syms_in()
514 const int BUFSIZE = 1024; in core_create_syms_from() local
515 char * buf = (char *) xmalloc (BUFSIZE); in core_create_syms_from()
516 char * address = (char *) xmalloc (BUFSIZE); in core_create_syms_from()
518 char * name = (char *) xmalloc (BUFSIZE); in core_create_syms_from()
550 while (!feof (f) && fgets (buf, BUFSIZE - 1, f)) in core_create_syms_from()
/dragonfly/sys/bus/iicbus/
H A Diic.c46 #define BUFSIZE 1024 macro
54 char sc_buffer[BUFSIZE]; /* output buffer */
55 char sc_inbuf[BUFSIZE]; /* input buffer */
219 count = (int)szmin(uio->uio_resid, BUFSIZE); in iicwrite()
261 len = (int)szmin(uio->uio_resid, BUFSIZE); in iicread()
/dragonfly/sys/dev/misc/ppi/
H A Dppi.c57 #define BUFSIZE 512 macro
68 char ppi_buffer[BUFSIZE];
370 (int)szmin(BUFSIZE, uio->uio_resid), in ppiread()
435 while (!error && (len = (int)szmin(uio->uio_resid, BUFSIZE))) { in ppiwrite()
477 while ((len = (int)szmin(uio->uio_resid, BUFSIZE)) != 0) { in ppiwrite()
/dragonfly/crypto/libressl/apps/openssl/
H A Ddgst.c73 #define BUFSIZE 1024*8 macro
348 if ((buf = malloc(BUFSIZE)) == NULL) { in dgst_main()
587 freezero(buf, BUFSIZE); in dgst_main()
610 i = BIO_read(bp, (char *) buf, BUFSIZE); in do_fp()
638 len = BUFSIZE; in do_fp()
645 len = BIO_gets(bp, (char *) buf, BUFSIZE); in do_fp()
/dragonfly/crypto/libressl/crypto/txt_db/
H A Dtxt_db.c66 #undef BUFSIZE
67 #define BUFSIZE 512 macro
77 int size = BUFSIZE; in TXT_DB_read()
109 size += BUFSIZE; in TXT_DB_read()
/dragonfly/contrib/binutils-2.34/gprof/
H A Dcorefile.c75 #define BUFSIZE (1024) macro
83 char dummy[BUFSIZE]; in read_function_mappings()
484 static char buf[BUFSIZE];
485 static char address[BUFSIZE];
486 static char name[BUFSIZE];
496 while (!feof (f) && fgets (buf, BUFSIZE - 1, f)) in num_of_syms_in()
553 while (!feof (f) && fgets (buf, BUFSIZE - 1, f)) in core_create_syms_from()
/dragonfly/sys/dev/raid/vinum/
H A Dvinumio.h113 #define BUFSIZE 1024 macro
116 #define VINUM_CREATE _IOC(IOC_IN | IOC_OUT, L, 64, BUFSIZE)
/dragonfly/lib/i18n_module/mapper_zone/
H A Dcitrus_mapper_zone.c94 #define BUFSIZE 20 macro
102 char buf[BUFSIZE + 1]; in get_imm()
105 for (i = 0; i < BUFSIZE; i++) { in get_imm()
/dragonfly/crypto/libressl/apps/nc/
H A Dnetcat.c74 #define BUFSIZE 16384 macro
1148 unsigned char netinbuf[BUFSIZE]; in readwrite()
1150 unsigned char stdinbuf[BUFSIZE]; in readwrite()
1241 if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) { in readwrite()
1254 if (stdinbufpos == BUFSIZE) in readwrite()
1271 if (stdinbufpos < BUFSIZE) in readwrite()
1275 if (pfd[POLL_NETIN].revents & POLLIN && netinbufpos < BUFSIZE) { in readwrite()
1299 if (netinbufpos == BUFSIZE) in readwrite()
1320 if (netinbufpos < BUFSIZE) in readwrite()
1366 size_t num = BUFSIZE - *bufpos; in fillbuf()
/dragonfly/usr.bin/gzip/
H A Dzuncompress.c51 #define BUFSIZE (64 * 1024) macro
137 buf = malloc(BUFSIZE); in zuncompress()
148 while ((bin = fread(buf, 1, BUFSIZE, in)) != 0) { in zuncompress()
/dragonfly/lib/libc/db/mpool/
H A Dmpool.libtp365 *len = BUFSIZE;
566 buf_fids[fid].npages = ( sbuf.st_size / BUFSIZE );
588 nbytes = write(fd, buf_table[bhp-bufhdr_table], BUFSIZE);
595 } else if ( nbytes != BUFSIZE ) {
596 error_log1 ("Short write: %d bytes of %d\n", nbytes, BUFSIZE );
656 *len = read(fd, buf_table[bhp-bufhdr_table], BUFSIZE);
682 } else if ( *len < BUFSIZE ) {
/dragonfly/contrib/binutils-2.27/binutils/
H A Dar.c981 char *cbuf = (char *) xmalloc (BUFSIZE); in print_contents()
999 if (tocopy > BUFSIZE) in print_contents()
1000 tocopy = BUFSIZE; in print_contents()
1032 char *cbuf = (char *) xmalloc (BUFSIZE); in extract_file()
1077 if (tocopy > BUFSIZE) in extract_file()
1078 tocopy = BUFSIZE; in extract_file()
H A Dsysdep.h169 #define BUFSIZE 8192 macro
/dragonfly/contrib/binutils-2.34/binutils/
H A Dar.c1028 char *cbuf = (char *) xmalloc (BUFSIZE); in print_contents()
1046 if (tocopy > BUFSIZE) in print_contents()
1047 tocopy = BUFSIZE; in print_contents()
1143 char *cbuf = (char *) xmalloc (BUFSIZE); in extract_file()
1150 if (tocopy > BUFSIZE) in extract_file()
1151 tocopy = BUFSIZE; in extract_file()
H A Dsysdep.h175 #define BUFSIZE 8192 macro
/dragonfly/usr.sbin/inetd/
H A Dbuiltins.c236 char buffer[BUFSIZE]; in discard_dg()
246 char buffer[BUFSIZE]; in discard_stream()
287 char buffer[BUFSIZE]; in echo_stream()
345 char buf[BUFSIZE], *p, **av, *osname = NULL, e; in ident_stream()
/dragonfly/contrib/tcpdump/
H A Dprint-arista.c36 char buf[BUFSIZE]; in arista_print_date_hms_time()
/dragonfly/sbin/vinum/
H A Dcommands.c73 char buffer[BUFSIZE]; /* read config file in here */ in vinum_create()
74 char commandline[BUFSIZE]; /* issue command from here */ in vinum_create()
124 configline = fgets(buffer, BUFSIZE, dfd); in vinum_create()
173 char buffer[BUFSIZE]; /* read config file in here */ in vinum_read()
1584 char buffer[BUFSIZE]; in vinum_concat()
1685 char buffer[BUFSIZE]; in vinum_stripe()
1833 char buffer[BUFSIZE]; in vinum_raid4()
1981 char buffer[BUFSIZE]; in vinum_raid5()
2135 char buffer[BUFSIZE]; in vinum_mirror()

123