/reactos/base/applications/sndrec32/ |
H A D | audio_membuffer.hpp | 22 unsigned int buf_size; member in audio_membuffer 43 buf_size(0), in audio_membuffer() 53 buf_size(0), in audio_membuffer() 63 buf_size(0), in audio_membuffer() 73 buf_size(0), in audio_membuffer() 83 buf_size(0), in audio_membuffer() 103 return buf_size; in mem_size() 115 return buf_size / aud_info.byte_rate(); in seconds_total() 127 return (float)((float) buf_size / (float)aud_info.byte_rate()); in fseconds_total()
|
H A D | audio_membuffer.cpp | 31 buf_size = bytes; in alloc_mem_() 41 buf_size = 0; in free_mem_() 72 buf_size = new_size; in resize_mem_() 75 buf_size = new_size; in resize_mem_() 87 if (bytes_received == buf_size) in truncate_() 100 buf_size = bytes_received; in truncate_() 167 if ((audio_data == 0) || (buf_size == 0)) in audio_receive() 177 unsigned int tot_mem = buf_size, free_mem = buf_size - bytes_received; in audio_receive()
|
/reactos/dll/win32/jscript/ |
H A D | number.c | 112 buf_size = log10(val)+prec+2; in number_to_fixed() 115 if(buf_size > NUMBER_DTOA_SIZE) in number_to_fixed() 116 buf_size = NUMBER_DTOA_SIZE; in number_to_fixed() 173 buf_size = prec+2; in number_to_exponential() 174 if(buf_size<2 || buf_size>NUMBER_DTOA_SIZE) in number_to_exponential() 175 buf_size = NUMBER_DTOA_SIZE; in number_to_exponential() 177 buf_size--; in number_to_exponential() 179 for(; buf_size>1 && buf[buf_size-1]=='0'; buf_size--) in number_to_exponential() 180 buf[buf_size-1] = 0; in number_to_exponential() 188 if(buf_size == 1) in number_to_exponential() [all …]
|
H A D | json.c | 324 size_t buf_size; member 372 if(!ctx->buf_size) { in append_string_len() 376 ctx->buf_size = len*2; in append_string_len() 377 }else if(ctx->buf_len + len > ctx->buf_size) { in append_string_len() 381 new_size = ctx->buf_size * 2 + len; in append_string_len() 386 ctx->buf_size = new_size; in append_string_len()
|
/reactos/sdk/lib/3rdparty/stlport/src/c_locale_win32/ |
H A D | c_locale_win32.c | 436 buf_size = 0; in __ConvertDate() 545 buf_size += 2; in __ConvertDate() 561 buf_size += 1; in __ConvertDate() 571 buf_size += 1; in __ConvertDate() 578 return buf_size; in __ConvertDate() 587 buf_size = 0; in __ConvertTime() 674 buf_size += 2; in __ConvertTime() 682 buf_size += 2; in __ConvertTime() 694 buf_size += 1; in __ConvertTime() 703 buf_size += 1; in __ConvertTime() [all …]
|
/reactos/sdk/lib/3rdparty/freetype/src/lzw/ |
H A D | ftzopen.c | 41 state->buf_size = (FT_UInt)count; in ft_lzwstate_refill() 46 state->buf_size <<= 3; in ft_lzwstate_refill() 47 if ( state->buf_size > state->num_bits ) in ft_lzwstate_refill() 48 state->buf_size -= state->num_bits - 1; in ft_lzwstate_refill() 69 offset >= state->buf_size || in ft_lzwstate_get_code() 198 state->buf_size = 0; in ft_lzwstate_reset()
|
/reactos/dll/directx/wine/quartz/ |
H A D | dsoundrender.c | 63 DWORD buf_size; member 128 BOOL writepos_set = This->writepos < This->buf_size; in DSoundRender_UpdatePositions() 134 old_writepos += This->buf_size; in DSoundRender_UpdatePositions() 138 adv = This->buf_size + playpos - old_playpos; in DSoundRender_UpdatePositions() 153 This->writepos = This->buf_size; in DSoundRender_UpdatePositions() 233 *pfree = This->buf_size - wfx->nBlockAlign; in DSoundRender_GetWritePos() 445 This->writepos = This->buf_size; in DSoundRender_OnStopStreaming() 485 This->buf_size = format->nAvgBytesPerSec; in DSoundRender_CompleteConnect() 492 buf_desc.dwBufferBytes = This->buf_size; in DSoundRender_CompleteConnect() 495 This->writepos = This->buf_size; in DSoundRender_CompleteConnect() [all …]
|
/reactos/modules/rostests/winetests/secur32/ |
H A D | schannel.c | 697 unsigned buf_size = 8192; in test_communication() local 750 init_buffers(&buffers[0], 4, buf_size); in test_communication() 751 init_buffers(&buffers[1], 4, buf_size); in test_communication() 774 memset(buffers[1].pBuffers[0].pvBuffer, 0, buf_size); in test_communication() 796 buffers[0].pBuffers[0].cbBuffer = buf_size; in test_communication() 804 buf->cbBuffer = buf_size; in test_communication() 824 buf->cbBuffer = buf_size; in test_communication() 851 buffers[1].pBuffers[0].cbBuffer = buf_size; in test_communication() 856 buf->cbBuffer = buf_size; in test_communication() 868 buffers[1].pBuffers[0].cbBuffer = buf_size; in test_communication() [all …]
|
/reactos/modules/rostests/apitests/crt/ |
H A D | _vsnprintf.c | 16 static void call_varargs(char* buf, size_t buf_size, int expected_ret, LPCSTR formatString, ...) in call_varargs() argument 22 ret = _vsnprintf(buf, buf_size, formatString, args); in call_varargs()
|
H A D | _vsnwprintf.c | 16 static void call_varargs(wchar_t* buf, size_t buf_size, int expected_ret, LPCWSTR formatString, ...) in call_varargs() argument 22 ret = _vsnwprintf(buf, buf_size, formatString, args); in call_varargs()
|
/reactos/modules/rostests/winetests/urlmon/ |
H A D | sec_mgr.c | 1781 DWORD buf_size = sizeof(buf); in test_SecurityManagerEx2() local 1809 ok(buf_size == sizeof(buf), "buf_size was %d\n", buf_size); in test_SecurityManagerEx2() 1817 buf_size = sizeof(buf); in test_SecurityManagerEx2() 1820 ok(buf_size == sizeof(buf), "bug_size was %d\n", buf_size); in test_SecurityManagerEx2() 1844 buf_size = sizeof(buf); in test_SecurityManagerEx2() 1866 buf_size = sizeof(buf); in test_SecurityManagerEx2() 1867 memset(buf, 0xf0, buf_size); in test_SecurityManagerEx2() 1871 todo_wine ok(buf_size == sizeof(secid13), "buf_size was %d\n", buf_size); in test_SecurityManagerEx2() 1874 buf_size = sizeof(buf); in test_SecurityManagerEx2() 1875 memset(buf, 0xf0, buf_size); in test_SecurityManagerEx2() [all …]
|
/reactos/dll/win32/urlmon/ |
H A D | bindprot.c | 756 if(This->buf_size) { in ProtocolHandler_Read() 757 read = min(cb, This->buf_size); in ProtocolHandler_Read() 760 if(read == This->buf_size) { in ProtocolHandler_Read() 764 memmove(This->buf, This->buf+cb, This->buf_size-cb); in ProtocolHandler_Read() 767 This->buf_size -= read; in ProtocolHandler_Read() 947 sizeof(buf)-This->buf_size, &read); in ProtocolSinkHandler_ReportData() 957 }else if(read + This->buf_size > BUFFER_SIZE) { in ProtocolSinkHandler_ReportData() 966 memcpy(This->buf+This->buf_size, buf, read); in ProtocolSinkHandler_ReportData() 967 This->buf_size += read; in ProtocolSinkHandler_ReportData() 968 }while(This->buf_size < MIME_TEST_SIZE && hres == S_OK); in ProtocolSinkHandler_ReportData() [all …]
|
/reactos/dll/win32/comctl32/ |
H A D | static.c | 546 INT len, buf_size; in STATIC_PaintTextfn() local 610 buf_size = 256; in STATIC_PaintTextfn() 611 if (!(text = HeapAlloc( GetProcessHeap(), 0, buf_size * sizeof(WCHAR) ))) in STATIC_PaintTextfn() 614 while ((len = InternalGetWindowText( hwnd, text, buf_size )) == buf_size - 1) in STATIC_PaintTextfn() 616 buf_size *= 2; in STATIC_PaintTextfn() 617 if (!(text = HeapReAlloc( GetProcessHeap(), 0, text, buf_size * sizeof(WCHAR) ))) in STATIC_PaintTextfn()
|
/reactos/dll/win32/crypt32/ |
H A D | rootstore.c | 331 static BOOL check_buffer_resize(char **ptr_buf, size_t *buf_size, size_t check_size) in check_buffer_resize() argument 333 if (check_size > *buf_size) in check_buffer_resize() 335 *buf_size = check_size; in check_buffer_resize() 339 char *realloc_buf = CryptMemRealloc(*ptr_buf, *buf_size); in check_buffer_resize() 348 *ptr_buf = CryptMemAlloc(*buf_size); in check_buffer_resize()
|
/reactos/dll/win32/dbghelp/ |
H A D | dbghelp.c | 394 size_t buf_size = 0, i, last_null = -1; in check_live_target() local 403 if (!(new_buf = realloc(buf, buf_size + read_size))) break; in check_live_target() 408 if (!read_process_memory(pcs, env, (char*)buf + buf_size, read_size)) break; in check_live_target() 409 for (i = buf_size / sizeof(WCHAR); i < (buf_size + read_size) / sizeof(WCHAR); i++) in check_live_target() 421 buf_size += read_size; in check_live_target()
|
/reactos/win32ss/user/user32/controls/ |
H A D | static.c | 629 INT len, buf_size; in STATIC_PaintTextfn() local 695 buf_size = 256; in STATIC_PaintTextfn() 696 if (!(text = HeapAlloc( GetProcessHeap(), 0, buf_size * sizeof(WCHAR) ))) in STATIC_PaintTextfn() 699 while ((len = InternalGetWindowText( hwnd, text, buf_size )) == buf_size - 1) in STATIC_PaintTextfn() 701 buf_size *= 2; in STATIC_PaintTextfn() 702 if (!(text = HeapReAlloc( GetProcessHeap(), 0, text, buf_size * sizeof(WCHAR) ))) in STATIC_PaintTextfn()
|
/reactos/dll/win32/mshtml/ |
H A D | navigate.c | 37 DWORD buf_size; member 115 if(read > This->buf_size) in nsInputStream_Read() 116 read = This->buf_size; in nsInputStream_Read() 120 if(read < This->buf_size) in nsInputStream_Read() 122 This->buf_size -= read; in nsInputStream_Read() 139 if(!This->buf_size) in nsInputStream_ReadSegments() 142 if(aCount > This->buf_size) in nsInputStream_ReadSegments() 143 aCount = This->buf_size; in nsInputStream_ReadSegments() 148 else if(written != This->buf_size) in nsInputStream_ReadSegments() 151 This->buf_size -= written; in nsInputStream_ReadSegments() [all …]
|
/reactos/sdk/include/psdk/ |
H A D | dbgeng.h | 401 STDMETHOD(GetCommand)(THIS_ PSTR buffer, ULONG buf_size, PULONG command) PURE; in DECLARE_INTERFACE_() 403 STDMETHOD(GetOffsetExpression)(THIS_ PSTR buffer, ULONG buf_size, PULONG expression) PURE; in DECLARE_INTERFACE_() 433 STDMETHOD(GetCommand)(THIS_ PSTR buffer, ULONG buf_size, PULONG command) PURE; in DECLARE_INTERFACE_() 435 STDMETHOD(GetOffsetExpression)(THIS_ PSTR buffer, ULONG buf_size, PULONG expression) PURE; in DECLARE_INTERFACE_() 439 STDMETHOD(GetCommandWide)(THIS_ PWSTR buffer, ULONG buf_size, PULONG command) PURE; in DECLARE_INTERFACE_() 1014 STDMETHOD(GetIdentityWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *identity) PURE; in DECLARE_INTERFACE_() 1032 STDMETHOD(GetQuitLockString)(THIS_ char *buffer, ULONG buf_size, ULONG *size) PURE; in DECLARE_INTERFACE_() 1131 STDMETHOD(GetIdentityWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *identity) PURE; in DECLARE_INTERFACE_() 1149 STDMETHOD(GetQuitLockString)(THIS_ char *buffer, ULONG buf_size, ULONG *size) PURE; in DECLARE_INTERFACE_() 1250 STDMETHOD(GetIdentityWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *identity) PURE; in DECLARE_INTERFACE_() [all …]
|
/reactos/base/services/dhcpcsvc/dhcp/ |
H A D | tree.c | 78 tc -> len = tc -> buf_size = 0; 198 int bc = tree_cache -> buf_size; 236 tree_cache -> buf_size = bc;
|
H A D | dhclient.c | 1273 options[i]->buf_size = sizeof(discover); in make_discover() 1281 options[i]->buf_size = in make_discover() 1292 options[i]->buf_size = lease->address.len; in make_discover() 1306 options[i]->buf_size = in make_discover() 1354 options[i]->buf_size = sizeof(request); in make_request() 1362 options[i]->buf_size = in make_request() 1384 options[i]->buf_size = lease->address.len; in make_request() 1398 options[i]->buf_size = in make_request() 1457 options[i]->buf_size = sizeof(decline); in make_decline() 1465 options[i]->buf_size = lease->options[i].len; in make_decline() [all …]
|
/reactos/base/services/dhcpcsvc/include/ |
H A D | tree.h | 51 int buf_size; member
|
/reactos/modules/rostests/winetests/reg/ |
H A D | query.c | 22 static void read_from_pipe(HANDLE child_proc_stdout, BYTE *buf, DWORD buf_size) in read_from_pipe() argument 29 ret = ReadFile(child_proc_stdout, buf + len, buf_size - len, &read, NULL); in read_from_pipe() 40 BYTE *buf, DWORD buf_size, DWORD *rc) in read_reg_output_() argument 72 read_from_pipe(pipe_stdout_rd, buf, buf_size); in read_reg_output_()
|
/reactos/dll/win32/msvidc32/ |
H A D | msvideo1.c | 60 if ((stream_ptr + n) > buf_size ) { \ 62 stream_ptr + n, buf_size); \ 79 msvideo1_decode_8bit( int width, int height, const unsigned char *buf, int buf_size, in msvideo1_decode_8bit() argument 183 msvideo1_decode_16bit( int width, int height, const unsigned char *buf, int buf_size, in msvideo1_decode_16bit() argument
|
/reactos/dll/3rdparty/mbedtls/ |
H A D | net_sockets.c | 372 void *client_ip, size_t buf_size, size_t *ip_len ) in mbedtls_net_accept() argument 466 if( buf_size < *ip_len ) in mbedtls_net_accept() 476 if( buf_size < *ip_len ) in mbedtls_net_accept()
|
/reactos/sdk/include/reactos/libs/mbedtls/ |
H A D | net_sockets.h | 183 void *client_ip, size_t buf_size, size_t *ip_len );
|