/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/tests/ |
H A D | test_os_net.c | 21 #define BUFFERSIZE 1024 macro 29 char buffer[BUFFERSIZE]; in START_TEST() 31 char ipbuffer[BUFFERSIZE]; in START_TEST() 64 char buffer[BUFFERSIZE]; in START_TEST() 66 char ipbuffer[BUFFERSIZE]; in START_TEST() 99 char buffer[BUFFERSIZE]; in START_TEST() 134 char buffer[BUFFERSIZE]; in START_TEST() 168 char buffer[BUFFERSIZE]; in START_TEST() 185 char buffer[BUFFERSIZE]; in START_TEST() 216 char buffer[BUFFERSIZE]; in START_TEST() [all …]
|
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/tests/ |
H A D | test_os_net.c | 21 #define BUFFERSIZE 1024 macro 29 char buffer[BUFFERSIZE]; in START_TEST() 31 char ipbuffer[BUFFERSIZE]; in START_TEST() 64 char buffer[BUFFERSIZE]; in START_TEST() 66 char ipbuffer[BUFFERSIZE]; in START_TEST() 99 char buffer[BUFFERSIZE]; in START_TEST() 134 char buffer[BUFFERSIZE]; in START_TEST() 168 char buffer[BUFFERSIZE]; in START_TEST() 185 char buffer[BUFFERSIZE]; in START_TEST() 216 char buffer[BUFFERSIZE]; in START_TEST() [all …]
|
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/tests/ |
H A D | test_os_net.c | 21 #define BUFFERSIZE 1024 macro 29 char buffer[BUFFERSIZE]; in START_TEST() 31 char ipbuffer[BUFFERSIZE]; in START_TEST() 64 char buffer[BUFFERSIZE]; in START_TEST() 66 char ipbuffer[BUFFERSIZE]; in START_TEST() 99 char buffer[BUFFERSIZE]; in START_TEST() 134 char buffer[BUFFERSIZE]; in START_TEST() 168 char buffer[BUFFERSIZE]; in START_TEST() 185 char buffer[BUFFERSIZE]; in START_TEST() 216 char buffer[BUFFERSIZE]; in START_TEST() [all …]
|
/dports/emulators/ucon64/ucon64-2.2.2-src/src/backup/ |
H A D | smc.c | 75 #define BUFFERSIZE 8192 macro 299 fwrite (buffer, 1, BUFFERSIZE / 2, file); in smc_read_rts() 301 bytesreceived += BUFFERSIZE / 2; in smc_read_rts() 309 fwrite (buffer, 1, BUFFERSIZE, file); in smc_read_rts() 311 bytesreceived += BUFFERSIZE; in smc_read_rts() 322 fwrite (buffer, 1, BUFFERSIZE, file); in smc_read_rts() 324 bytesreceived += BUFFERSIZE; in smc_read_rts() 373 fread_checked (buffer, 1, BUFFERSIZE / 2, file); in smc_write_rts() 376 bytessent += BUFFERSIZE / 2; in smc_write_rts() 386 bytessent += BUFFERSIZE; in smc_write_rts() [all …]
|
H A D | fig.c | 97 #if BUFFERSIZE < 512 341 fwrite (buffer, 1, BUFFERSIZE, file); in fig_read_rom() 343 bytesreceived += BUFFERSIZE; in fig_read_rom() 354 fwrite (buffer, 1, BUFFERSIZE, file); in fig_read_rom() 356 bytesreceived += BUFFERSIZE; in fig_read_rom() 431 blocksleft = (fsize - FIG_HEADER_LEN + BUFFERSIZE - 1) / BUFFERSIZE; // round up in fig_write_rom() 523 ffe_receive_block (0x2000, buffer, BUFFERSIZE); in fig_read_sram() 526 fwrite (buffer, 1, BUFFERSIZE, file); in fig_read_sram() 528 bytesreceived += BUFFERSIZE; in fig_read_sram() 650 fwrite (buffer, 1, BUFFERSIZE, file); in fig_read_cart_sram() [all …]
|
H A D | swc.c | 182 #if BUFFERSIZE < 512 675 fwrite (buffer, 1, BUFFERSIZE, file); in dump_rom() 676 address += BUFFERSIZE; in dump_rom() 678 bytesreceived += BUFFERSIZE; in dump_rom() 708 fwrite (buffer, 1, BUFFERSIZE, file); in dump_bios() 710 bytesreceived += BUFFERSIZE; in dump_bios() 966 fwrite (buffer, 1, BUFFERSIZE, file); in swc_read_sram() 968 bytesreceived += BUFFERSIZE; in swc_read_sram() 1133 fwrite (buffer, 1, BUFFERSIZE, file); in swc_read_rts() 1135 bytesreceived += BUFFERSIZE; in swc_read_rts() [all …]
|
H A D | smd.c | 115 #define BUFFERSIZE 16384 macro 133 if ((buffer = (unsigned char *) malloc (BUFFERSIZE)) == NULL) in smd_read_rom() 168 ffe_receive_block (0x4000, buffer, BUFFERSIZE); in smd_read_rom() 171 fwrite (buffer, 1, BUFFERSIZE, file); in smd_read_rom() 173 bytesreceived += BUFFERSIZE; in smd_read_rom() 201 if ((buffer = (unsigned char *) malloc (BUFFERSIZE)) == NULL) in smd_write_rom() 256 if ((buffer = (unsigned char *) malloc (BUFFERSIZE)) == NULL) in smd_read_sram() 278 ffe_receive_block (address, buffer, BUFFERSIZE); in smd_read_sram() 281 fwrite (buffer, 1, BUFFERSIZE, file); in smd_read_sram() 283 bytesreceived += BUFFERSIZE; in smd_read_sram() [all …]
|
H A D | msg.c | 69 #define BUFFERSIZE 8192 // don't change, only 8192 works! macro 75 #if BUFFERSIZE < 512 76 #error receive_rom_info() expects BUFFERSIZE to be at least 512 bytes. 152 if ((buffer = (unsigned char *) malloc (BUFFERSIZE)) == NULL) in msg_read_rom() 154 fprintf (stderr, ucon64_msg[FILE_BUFFER_ERROR], BUFFERSIZE); in msg_read_rom() 184 ffe_receive_block (0xa000, buffer, BUFFERSIZE); in msg_read_rom() 188 fwrite (buffer, 1, BUFFERSIZE, file); in msg_read_rom() 190 bytesreceived += BUFFERSIZE; in msg_read_rom() 219 if ((buffer = (unsigned char *) malloc (BUFFERSIZE)) == NULL) in msg_write_rom() 221 fprintf (stderr, ucon64_msg[FILE_BUFFER_ERROR], BUFFERSIZE); in msg_write_rom() [all …]
|
/dports/audio/libsidplayfp/libsidplayfp-2.3.1/tests/ |
H A D | TestPSID.cpp | 30 #define BUFFERSIZE 128 macro 86 uint8_t data[BUFFERSIZE]; in SUITE() 94 SidTune tune(data, BUFFERSIZE); in SUITE() 107 SidTune tune(data, BUFFERSIZE); in SUITE() 120 SidTune tune(data, BUFFERSIZE); in SUITE() 134 SidTune tune(data, BUFFERSIZE); in SUITE() 147 SidTune tune(data, BUFFERSIZE); in SUITE() 160 SidTune tune(data, BUFFERSIZE); in SUITE() 173 SidTune tune(data, BUFFERSIZE); in SUITE() 186 SidTune tune(data, BUFFERSIZE); in SUITE() [all …]
|
H A D | TestMUS.cpp | 31 #define BUFFERSIZE 26 macro 41 uint8_t const bufferMUS[BUFFERSIZE] = 59 TestFixture() { memcpy(data, bufferMUS, BUFFERSIZE); } in SUITE() 61 uint8_t data[BUFFERSIZE]; in SUITE() 66 SidTune tune(data, BUFFERSIZE); in SUITE() 76 SidTune tune(data, BUFFERSIZE); in SUITE()
|
/dports/audio/ocp/ocp-0.2.90/playsid/libsidplayfp-git/tests/ |
H A D | TestPSID.cpp | 30 #define BUFFERSIZE 128 macro 86 uint8_t data[BUFFERSIZE]; in SUITE() 94 SidTune tune(data, BUFFERSIZE); in SUITE() 107 SidTune tune(data, BUFFERSIZE); in SUITE() 120 SidTune tune(data, BUFFERSIZE); in SUITE() 134 SidTune tune(data, BUFFERSIZE); in SUITE() 147 SidTune tune(data, BUFFERSIZE); in SUITE() 160 SidTune tune(data, BUFFERSIZE); in SUITE() 173 SidTune tune(data, BUFFERSIZE); in SUITE() 186 SidTune tune(data, BUFFERSIZE); in SUITE() [all …]
|
H A D | TestMUS.cpp | 31 #define BUFFERSIZE 26 in main() 41 uint8_t const bufferMUS[BUFFERSIZE] = 59 TestFixture() { memcpy(data, bufferMUS, BUFFERSIZE); } 61 uint8_t data[BUFFERSIZE]; 66 SidTune tune(data, BUFFERSIZE); 76 SidTune tune(data, BUFFERSIZE);
|
/dports/math/sc-im/sc-im-0.8.2/src/ |
H A D | cmds_command.c | 83 wchar_t inputline[BUFFERSIZE]; 84 extern wchar_t interp_line[BUFFERSIZE]; 292 wchar_t cline [BUFFERSIZE]; in do_commandmode() 312 wchar_t cline [BUFFERSIZE]; in do_commandmode() 433 char name [BUFFERSIZE]; in do_commandmode() 645 char line [BUFFERSIZE]; in do_commandmode() 659 char line [BUFFERSIZE]; in do_commandmode() 880 char line [BUFFERSIZE]; in do_commandmode() 913 char oper[BUFFERSIZE]; in do_commandmode() 988 char line [BUFFERSIZE]; in do_commandmode() [all …]
|
H A D | subtotal.c | 96 wchar_t cline [BUFFERSIZE]; in subtotal() 98 swprintf(cline, BUFFERSIZE, L"+$%s", coltoa(group_col)); in subtotal() 101 extern wchar_t interp_line[BUFFERSIZE]; in subtotal() 102 swprintf(interp_line, BUFFERSIZE, L"sort %s%d:", coltoa(c), r + headers_in_first_row); in subtotal() 103 swprintf(interp_line + wcslen(interp_line), BUFFERSIZE, L"%s%d \"%ls\"", coltoa(cf), rf, cline); in subtotal() 129 wchar_t cmd[BUFFERSIZE]; in subtotal() 142 …swprintf(cmd, BUFFERSIZE, L"rightstring %s%d = \"+%s(%s)\"", coltoa(group_col), i, operation, p->l… in subtotal() 145 swprintf(cmd, BUFFERSIZE, L"let %s%d = %s(%s%d:%s%d)", coltoa(ope_col), i, operation, in subtotal()
|
/dports/editors/dhex/dhex_0.69/ |
H A D | buffers.c | 45 if (hBuf->fresh || pos<hBuf->bufferpos || pos>(hBuf->bufferpos+BUFFERSIZE)) in readbuf() 48 hBuf->bufferpos=pos&(~(BUFFERSIZE-1)); // floor in readbuf() 50 else if ((hBuf->bufferpos+BUFFERMARGIN)>pos && hBuf->bufferpos>=(BUFFERSIZE/2)) in readbuf() 53 hBuf->bufferpos-=(BUFFERSIZE/2); in readbuf() 55 …e if ((hBuf->bufferpos+BUFFERSIZE-BUFFERMARGIN)<pos && (hBuf->bufferpos+(BUFFERSIZE/2))<hBuf->bufs… in readbuf() 58 hBuf->bufferpos+=(BUFFERSIZE/2); in readbuf() 66 bytesread=fread(hBuf->data,sizeof(tUInt8),BUFFERSIZE,hBuf->file); in readbuf() 67 if (bytesread!=BUFFERSIZE) in readbuf() 69 memset(&hBuf->data[bytesread],0,sizeof(tUInt8)*(BUFFERSIZE-bytesread)); // fill the rest with 0 in readbuf() 72 memset(hBuf->data,0,sizeof(tUInt8)*BUFFERSIZE); in readbuf() [all …]
|
/dports/japanese/im-ja/im-ja-1.5/src/ |
H A D | romakana.c | 78 g_strlcpy(cn->preedit_buf, kanastr, BUFFERSIZE); in im_ja_kana_commit_converted() 105 g_strlcat(cn->preedit_buf, " ", BUFFERSIZE); in im_ja_kana_filter_keypress() 202 result = g_new0(gchar, BUFFERSIZE); in roma2kana() 204 g_strlcat(result, rp.kana, BUFFERSIZE); in roma2kana() 227 result = g_new0(gchar, BUFFERSIZE); in roma2kana_i() 260 g_strlcat(result, rp.kana, BUFFERSIZE); in roma2kana_i() 272 g_strlcat(result, romastr, BUFFERSIZE); in roma2kana_i() 291 result = g_new0(gchar, BUFFERSIZE); in roma2kana_i_lastpass() 315 g_strlcat(result, subst_str, BUFFERSIZE); in roma2kana_i_lastpass() 316 g_strlcat(result, romastr+s1len, BUFFERSIZE); in roma2kana_i_lastpass() [all …]
|
/dports/devel/rudiments/rudiments-1.2.2/bench/ |
H A D | bytestring.cpp | 20 #define BUFFERSIZE (4*1024*1024) macro 54 unsigned char bytes[BUFFERSIZE]; in main() 65 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val8)); i++) { in main() 77 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val8)); i++) { in main() 88 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val8)); i++) { in main() 99 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val8)); i++) { in main() 114 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val16)); i++) { in main() 126 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val16)); i++) { in main() 137 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val16)); i++) { in main() 148 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val16)); i++) { in main() [all …]
|
/dports/finance/chiapos/chiapos-1.0.3/lib/FiniteStateEntropy/programs/ |
H A D | fuzzerHuff0.c | 52 #define BUFFERSIZE ((1 MB) - 1) macro 149 BYTE* bufferP0 = (BYTE*) malloc (BUFFERSIZE+64); in FUZ_tests() 150 BYTE* bufferP1 = (BYTE*) malloc (BUFFERSIZE+64); in FUZ_tests() 151 BYTE* bufferP15 = (BYTE*) malloc (BUFFERSIZE+64); in FUZ_tests() 152 BYTE* bufferP90 = (BYTE*) malloc (BUFFERSIZE+64); in FUZ_tests() 153 BYTE* bufferP100 = (BYTE*) malloc (BUFFERSIZE+64); in FUZ_tests() 154 BYTE* bufferDst = (BYTE*) malloc (BUFFERSIZE+64); in FUZ_tests() 155 BYTE* bufferVerif = (BYTE*) malloc (BUFFERSIZE+64); in FUZ_tests() 156 size_t const bufferDstSize = BUFFERSIZE+64; in FUZ_tests() 162 generateNoise (bufferP0, BUFFERSIZE, &rootSeed); in FUZ_tests() [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/sasl2-sys-0.1.12/sasl2/java/CyrusSasl/ |
H A D | SaslInputStream.java | 9 private static int BUFFERSIZE = 16384; field in SaslInputStream 12 private byte[] buffer=new byte[BUFFERSIZE]; 50 bufferend = (bufferend + 1) % BUFFERSIZE; in buffer_add() 53 if (size >= BUFFERSIZE) { in buffer_add() 72 if (len > BUFFERSIZE || len == 0) in readsome() 73 len = BUFFERSIZE; in readsome() 127 bufferstart = (bufferstart + 1) % BUFFERSIZE; in read() 171 bufferstart = (bufferstart + 1) % BUFFERSIZE; in read() 200 bufferstart = (int) ((bufferstart + toskip) % BUFFERSIZE); in skip()
|
/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv-old/quasi88/SDL/ |
H A D | sdl.c | 53 #define BUFFERSIZE 1024 macro 59 int sdl_buffersize = BUFFERSIZE; 60 #undef BUFFERSIZE 62 static int BUFFERSIZE; variable 138 if (!(sample.data = calloc(BUFFERSIZE, sizeof(Uint8)))) in sdl_dsp_create() 166 audiospec->samples = BUFFERSIZE; in sdl_dsp_create() 193 BUFFERSIZE = sdl_buffersize * in sdl_dsp_create() 197 if (!(sample.data = calloc(BUFFERSIZE, sizeof(Uint8)))) in sdl_dsp_create() 244 sample.amountRemain = BUFFERSIZE - sample.sound_n_pos; in sdl_dsp_write() 257 sample.tmp = BUFFERSIZE - sample.sound_w_pos; in sdl_dsp_write() [all …]
|
/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv-old/src/unix/sysdep/dsp-drivers/ |
H A D | sdl.c | 45 #define BUFFERSIZE 1024 macro 49 int sdl_buffersize = BUFFERSIZE; 50 #undef BUFFERSIZE 52 static int BUFFERSIZE; variable 132 if (!(sample.data = calloc(BUFFERSIZE, sizeof(Uint8)))) in sdl_dsp_create() 160 audiospec->samples = BUFFERSIZE; in sdl_dsp_create() 187 BUFFERSIZE = sdl_buffersize * in sdl_dsp_create() 191 if (!(sample.data = calloc(BUFFERSIZE, sizeof(Uint8)))) in sdl_dsp_create() 238 sample.amountRemain = BUFFERSIZE - sample.sound_n_pos; in sdl_dsp_write() 251 sample.tmp = BUFFERSIZE - sample.sound_w_pos; in sdl_dsp_write() [all …]
|
/dports/converters/p5-Convert-Binary-C/Convert-Binary-C-0.84/tests/include/pdclib/functions/stdio/ |
H A D | setvbuf.c | 109 #define BUFFERSIZE 500 macro 114 char buffer[ BUFFERSIZE ]; in main() 118 TESTCASE( setvbuf( fh, buffer, _IOFBF, BUFFERSIZE ) == 0 ); in main() 120 TESTCASE( fh->bufsize == BUFFERSIZE ); in main() 125 TESTCASE( setvbuf( fh, NULL, _IOLBF, BUFFERSIZE ) == 0 ); in main() 127 TESTCASE( fh->bufsize == BUFFERSIZE ); in main() 132 TESTCASE( setvbuf( fh, buffer, _IONBF, BUFFERSIZE ) == 0 ); in main()
|
/dports/devel/icu-lx/icu/source/samples/ucnv/ |
H A D | convsamp.cpp | 266 #define BUFFERSIZE 17 /* make it interesting :) */ macro 301 char inBuf[BUFFERSIZE]; in convsample_05() 385 #undef BUFFERSIZE 387 #define BUFFERSIZE 1024 macro 401 char inBuf[BUFFERSIZE]; in convsample_06() 516 #undef BUFFERSIZE 880 char inBuf[BUFFERSIZE]; in convsample_40() 968 #undef BUFFERSIZE 984 UChar inBuf[BUFFERSIZE]; in convsample_46() 1072 #undef BUFFERSIZE [all …]
|
/dports/devel/icu/icu/source/samples/ucnv/ |
H A D | convsamp.cpp | 266 #define BUFFERSIZE 17 /* make it interesting :) */ macro 301 char inBuf[BUFFERSIZE]; in convsample_05() 385 #undef BUFFERSIZE 387 #define BUFFERSIZE 1024 macro 401 char inBuf[BUFFERSIZE]; in convsample_06() 516 #undef BUFFERSIZE 880 char inBuf[BUFFERSIZE]; in convsample_40() 968 #undef BUFFERSIZE 984 UChar inBuf[BUFFERSIZE]; in convsample_46() 1072 #undef BUFFERSIZE [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/icu/source/samples/ucnv/ |
H A D | convsamp.cpp | 266 #define BUFFERSIZE 17 /* make it interesting :) */ macro 301 char inBuf[BUFFERSIZE]; in convsample_05() 385 #undef BUFFERSIZE 387 #define BUFFERSIZE 1024 macro 401 char inBuf[BUFFERSIZE]; in convsample_06() 516 #undef BUFFERSIZE 880 char inBuf[BUFFERSIZE]; in convsample_40() 968 #undef BUFFERSIZE 984 UChar inBuf[BUFFERSIZE]; in convsample_46() 1072 #undef BUFFERSIZE [all …]
|