/dports/net-im/meanwhile/meanwhile-1.0.2/samples/ |
H A D | redirect_server.c | 43 static gsize sbuf_size; variable 130 sbuf_size = 0; in sbuf_free() 141 gsize x = sbuf_size - sbuf_recv; in side_recv_cont() 152 if(sbuf_size == 4) { in side_recv_cont() 168 sbuf_size = x; in side_recv_cont() 179 side_process(sbuf+4, sbuf_size-4); in side_recv_cont() 197 sbuf_size = 4; in side_recv_empty() 212 sbuf_size = x; in side_recv_empty() 228 if(n && (sbuf_size == 0) && (*b & 0x80)) { in side_recv() 235 } else if(sbuf_size > 0) { in side_recv()
|
H A D | login_server.c | 40 static gsize sbuf_size; variable 188 sbuf_size = 0; in sbuf_free() 199 gsize x = sbuf_size - sbuf_recv; in side_recv_cont() 210 if(sbuf_size == 4) { in side_recv_cont() 226 sbuf_size = x; in side_recv_cont() 237 side_process(sbuf+4, sbuf_size-4); in side_recv_cont() 255 sbuf_size = 4; in side_recv_empty() 270 sbuf_size = x; in side_recv_empty() 286 if(n && (sbuf_size == 0) && (*b & 0x80)) { in side_recv() 293 } else if(sbuf_size > 0) { in side_recv()
|
/dports/emulators/hugo/hugo-2.12/ |
H A D | osd_linux_snd.c | 50 wanted.samples = sbuf_size; /* Good low-latency value for callback */ in osd_snd_init_sound() 103 host.sound.sample_size = sbuf_size; in osd_snd_init_sound() 108 sbuf_size) < 0) in osd_snd_init_sound() 125 host.sound.sample_size = sbuf_size; in osd_snd_init_sound() 135 len=sbuf_size*host.sound.stereo; in osd_snd_init_sound()
|
H A D | sound.c | 95 UInt32 sbuf_size = 10 * 1024; variable 299 big_buf = (unsigned char *) malloc (sbuf_size); in InitSound() 304 play_audio_stream (sbuf_size, 8, FALSE, host.sound.freq, 128, 128); in InitSound() 413 Log ("dwNewPos = %d / %d\n", dwNewPos, sbuf_size); in write_psg() 415 if (dwNewPos > sbuf_size) in write_psg() 420 dwNewPos = sbuf_size; in write_psg()
|
H A D | mix.c | 87 if (where_to_fill + size < sbuf_size) in update_sound_allegro() 94 memcpy (big_buf + where_to_fill, main_buf, sbuf_size - where_to_fill); in update_sound_allegro() 95 remaining_to_read = sbuf_size - where_to_fill; in update_sound_allegro() 101 fwrite (big_buf, 1, sbuf_size, out_snd); in update_sound_allegro() 105 memcpy (p, big_buf, sbuf_size); in update_sound_allegro()
|
H A D | osd_linux_sdl_music.c | 21 memset(stream,0,sbuf_size*host.sound.stereo); in sdlmixer_fill_audio() 30 cvt.len = sbuf_size*host.sound.stereo; in sdlmixer_fill_audio()
|
H A D | iniconfig.c | 705 sbuf_size = get_config_int ("main", "buffer_size", 1024); in parse_INIfile_raw() 707 sbuf_size = get_config_int ("main", "buffer_size", 512); in parse_INIfile_raw() 709 sbuf_size = get_config_int ("main", "buffer_size", 256); in parse_INIfile_raw() 713 Log ("Setting sound buffer size to %d bytes\n", sbuf_size); in parse_INIfile_raw() 960 set_config_var_int ("main", "buffer_size", sbuf_size); in save_config()
|
H A D | sound.h | 54 extern UInt32 sbuf_size;
|
H A D | osd_win_snd.c | 34 wanted.samples = sbuf_size; /* Good low-latency value for callback */ in osd_snd_init_sound()
|
H A D | gtk_main.c | 196 sbuf_size = atoi(gtk_entry_get_text(temp_entry)); in gtk_general_settings_grab() 307 if (sbuf_size == 0) in gtk_general_settings_set() 310 sprintf(temp_string, "%d", sbuf_size); in gtk_general_settings_set()
|
/dports/science/silo/silo-4.10.2-bsd/tests/ |
H A D | ioperf_hdf5.c | 69 static int sbuf_size = -1; variable 86 if (sbuf_size >= 0) in Open_hdf5() 87 h5status |= H5Pset_sieve_buf_size(fapl_id, sbuf_size); in Open_hdf5() 175 sbuf_size = i<argc-1?strtol(argv[i+1], (char **)NULL, 10):0; in ProcessArgs_hdf5() 176 if (errno==0 && sbuf_size>=0) i++; in ProcessArgs_hdf5()
|
/dports/games/uqm/uqm-0.8.0/src/libs/sound/ |
H A D | stream.c | 76 soundSource[source].sbuf_size = sample->num_buffers * in PlayStream() 78 soundSource[source].sbuffer = HCalloc (soundSource[source].sbuf_size); in PlayStream() 144 soundSource[source].sbuf_size = 0; in StopStream() 316 source->sbuf_head %= source->sbuf_size; in remove_scope_data() 329 if (source->sbuf_tail + bytes > source->sbuf_size) in add_scope_data() 331 tail_bytes = source->sbuf_size - source->sbuf_tail; in add_scope_data() 661 || source->sbuf_size == 0) in GraphForegroundStream() 689 else if (delta > (long)source->sbuf_size) in GraphForegroundStream() 715 pos %= source->sbuf_size; in GraphForegroundStream()
|
H A D | sndintrn.h | 68 uint32 sbuf_size; member
|
/dports/sysutils/u-boot-utilite/u-boot-2015.07/drivers/tpm/ |
H A D | tpm.c | 664 int tis_sendrecv(const uint8_t *sendbuf, size_t sbuf_size, in tis_sendrecv() argument 673 if (sizeof(buf) < sbuf_size) in tis_sendrecv() 676 memcpy(buf, sendbuf, sbuf_size); in tis_sendrecv() 681 len = tpm_transmit(buf, sbuf_size); in tis_sendrecv()
|
/dports/science/hdf5/hdf5-1.10.6/fortran/test/ |
H A D | tH5MISC_1_8.F90 | 193 INTEGER(size_t) :: sbuf_size=0, scalar_size=0 local 232 CALL H5Sencode_f(sid1, sbuf, sbuf_size, error) 241 CALL H5Sencode_f(sid1, sbuf, sbuf_size, error)
|
/dports/science/hdf5-18/hdf5-1.8.21/fortran/test/ |
H A D | tH5MISC_1_8.f90 | 196 INTEGER(size_t) :: sbuf_size=0, scalar_size=0 local 235 CALL H5Sencode_f(sid1, sbuf, sbuf_size, error) 244 CALL H5Sencode_f(sid1, sbuf, sbuf_size, error)
|
/dports/science/hdf5/hdf5-1.10.6/test/ |
H A D | th5s.c | 1218 ret = H5Sencode(sid1, NULL, &sbuf_size); in test_h5s_encode() 1221 if(sbuf_size>0) { in test_h5s_encode() 1232 ret = H5Sencode(sid1, sbuf, &sbuf_size); in test_h5s_encode() 2585 ret = H5Sencode(sid, NULL, &sbuf_size); in test_h5s_encode_regular_exceed32() 2588 if(sbuf_size > 0) { in test_h5s_encode_regular_exceed32() 2594 ret = H5Sencode(sid, sbuf, &sbuf_size); in test_h5s_encode_regular_exceed32() 2671 ret = H5Sencode(sid, NULL, &sbuf_size); in test_h5s_encode_irregular_exceed32() 2715 ret = H5Sencode(sid, NULL, &sbuf_size); in test_h5s_encode_points_exceed32() 2762 ret = H5Sencode(sid, NULL, &sbuf_size); in test_h5s_encode_length() 2766 if(sbuf_size > 0) { in test_h5s_encode_length() [all …]
|
/dports/print/ghostscript7-base/ghostscript-7.07/src/ |
H A D | gdevpdfu.c | 44 #define sbuf_size 512 macro 215 byte *buf = gs_alloc_bytes(pdev->pdf_memory, sbuf_size, in none_to_stream() 223 s_std_init(es, buf, sbuf_size, &s_filter_write_procs, in none_to_stream() 602 byte buf[sbuf_size]; in pdf_copy_data() 605 uint copy = min(left, sbuf_size); in pdf_copy_data() 607 fread(buf, 1, sbuf_size, file); in pdf_copy_data()
|
/dports/print/ghostscript7-x11/ghostscript-7.07/src/ |
H A D | gdevpdfu.c | 44 #define sbuf_size 512 macro 215 byte *buf = gs_alloc_bytes(pdev->pdf_memory, sbuf_size, in none_to_stream() 223 s_std_init(es, buf, sbuf_size, &s_filter_write_procs, in none_to_stream() 602 byte buf[sbuf_size]; in pdf_copy_data() 605 uint copy = min(left, sbuf_size); in pdf_copy_data() 607 fread(buf, 1, sbuf_size, file); in pdf_copy_data()
|
/dports/print/ghostscript8-x11/ghostscript-8.71/base/ |
H A D | gdevpdfu.c | 49 #define sbuf_size 512 macro 573 byte *buf = gs_alloc_bytes(pdev->pdf_memory, sbuf_size, in none_to_stream() 579 s_std_init(as, buf, sbuf_size, &s_filter_write_procs, in none_to_stream() 591 buf = gs_alloc_bytes(pdev->pdf_memory, sbuf_size, in none_to_stream() 597 s_std_init(es, buf, sbuf_size, &s_filter_write_procs, in none_to_stream() 1271 byte buf[sbuf_size]; in pdf_copy_data() 1274 uint copy = min(left, sbuf_size); in pdf_copy_data() 1293 byte buf[sbuf_size]; in pdf_copy_data_safe() 1294 long copy = min(left, (long)sbuf_size); in pdf_copy_data_safe()
|
/dports/print/ghostscript8-base/ghostscript-8.71/base/ |
H A D | gdevpdfu.c | 49 #define sbuf_size 512 macro 573 byte *buf = gs_alloc_bytes(pdev->pdf_memory, sbuf_size, in none_to_stream() 579 s_std_init(as, buf, sbuf_size, &s_filter_write_procs, in none_to_stream() 591 buf = gs_alloc_bytes(pdev->pdf_memory, sbuf_size, in none_to_stream() 597 s_std_init(es, buf, sbuf_size, &s_filter_write_procs, in none_to_stream() 1271 byte buf[sbuf_size]; in pdf_copy_data() 1274 uint copy = min(left, sbuf_size); in pdf_copy_data() 1293 byte buf[sbuf_size]; in pdf_copy_data_safe() 1294 long copy = min(left, (long)sbuf_size); in pdf_copy_data_safe()
|
/dports/java/java-subversion/subversion-1.14.1/subversion/libsvn_delta/ |
H A D | text_delta.c | 99 apr_size_t sbuf_size; /* Allocated source buffer space */ member 756 || window->sview_len > ab->sbuf_size) in apply_window() 761 SVN_ERR(size_buffer(&ab->sbuf, &ab->sbuf_size, window->sview_len, in apply_window() 823 ab->sbuf_size = 0; in svn_txdelta_apply()
|
/dports/devel/py-subversion/subversion-1.14.1/subversion/libsvn_delta/ |
H A D | text_delta.c | 99 apr_size_t sbuf_size; /* Allocated source buffer space */ member 756 || window->sview_len > ab->sbuf_size) in apply_window() 761 SVN_ERR(size_buffer(&ab->sbuf, &ab->sbuf_size, window->sview_len, in apply_window() 823 ab->sbuf_size = 0; in svn_txdelta_apply()
|
/dports/security/subversion-gnome-keyring/subversion-1.14.1/subversion/libsvn_delta/ |
H A D | text_delta.c | 99 apr_size_t sbuf_size; /* Allocated source buffer space */ member 756 || window->sview_len > ab->sbuf_size) in apply_window() 761 SVN_ERR(size_buffer(&ab->sbuf, &ab->sbuf_size, window->sview_len, in apply_window() 823 ab->sbuf_size = 0; in svn_txdelta_apply()
|
/dports/devel/p5-subversion/subversion-1.14.1/subversion/libsvn_delta/ |
H A D | text_delta.c | 99 apr_size_t sbuf_size; /* Allocated source buffer space */ member 756 || window->sview_len > ab->sbuf_size) in apply_window() 761 SVN_ERR(size_buffer(&ab->sbuf, &ab->sbuf_size, window->sview_len, in apply_window() 823 ab->sbuf_size = 0; in svn_txdelta_apply()
|