/reactos/base/applications/mstsc/ |
H A D | channels.c | 82 uint32 thislength, remaining; in channel_send() local 100 remaining = length - thislength; in channel_send() 101 flags = (remaining == 0) ? CHANNEL_FLAG_FIRST | CHANNEL_FLAG_LAST : CHANNEL_FLAG_FIRST; in channel_send() 112 while (remaining > 0) in channel_send() 114 thislength = MIN(remaining, CHANNEL_CHUNK_LENGTH); in channel_send() 115 remaining -= thislength; in channel_send() 116 flags = (remaining == 0) ? CHANNEL_FLAG_LAST : 0; in channel_send()
|
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/ |
H A D | channels.c | 79 uint32 thislength, remaining; in channel_send() local 93 remaining = length - thislength; in channel_send() 94 flags = (remaining == 0) ? CHANNEL_FLAG_FIRST | CHANNEL_FLAG_LAST : CHANNEL_FLAG_FIRST; in channel_send() 105 while (remaining > 0) in channel_send() 107 thislength = MIN(remaining, CHANNEL_CHUNK_LENGTH); in channel_send() 108 remaining -= thislength; in channel_send() 109 flags = (remaining == 0) ? CHANNEL_FLAG_LAST : 0; in channel_send()
|
/reactos/drivers/filesystems/btrfs/zstd/ |
H A D | entropy_common.c | 48 int remaining; in FSE_readNCount() local 76 remaining = (1<<nbBits)+1; in FSE_readNCount() 80 while ((remaining>1) & (charnum<=*maxSVPtr)) { in FSE_readNCount() 109 { int const max = (2*threshold-1) - remaining; in FSE_readNCount() 122 remaining -= count < 0 ? -count : count; /* -1 means +1 */ in FSE_readNCount() 125 while (remaining < threshold) { in FSE_readNCount() 139 if (remaining != 1) return ERROR(corruption_detected); in FSE_readNCount()
|
H A D | zstd_ldm.c | 453 size_t const remaining = (size_t)(iend - chunkStart); in ZSTD_ldm_generateSequences() local 455 (remaining < kMaxChunkSize) ? iend : chunkStart + kMaxChunkSize; in ZSTD_ldm_generateSequences() 542 U32 const remaining, U32 const minMatch) in maybeSplitSequence() argument 547 if (remaining >= sequence.litLength + sequence.matchLength) { in maybeSplitSequence() 552 if (remaining <= sequence.litLength) { in maybeSplitSequence() 554 } else if (remaining < sequence.litLength + sequence.matchLength) { in maybeSplitSequence() 555 sequence.matchLength = remaining - sequence.litLength; in maybeSplitSequence() 561 ZSTD_ldm_skipSequences(rawSeqStore, remaining, minMatch); in maybeSplitSequence()
|
H A D | fse_compress.c | 205 int remaining; in FSE_writeNCount_generic() local 218 remaining = tableSize+1; /* +1 for extra accuracy */ in FSE_writeNCount_generic() 222 while ((symbol < alphabetSize) && (remaining>1)) { /* stops at 1 */ in FSE_writeNCount_generic() 254 int const max = (2*threshold-1) - remaining; in FSE_writeNCount_generic() 255 remaining -= count < 0 ? -count : count; in FSE_writeNCount_generic() 263 if (remaining<1) return ERROR(GENERIC); in FSE_writeNCount_generic() 264 while (remaining<threshold) { nbBits--; threshold>>=1; } in FSE_writeNCount_generic() 276 if (remaining != 1) in FSE_writeNCount_generic()
|
/reactos/dll/3rdparty/mbedtls/ |
H A D | poly1305.c | 359 size_t remaining = ilen; in mbedtls_poly1305_update() local 365 if( ( remaining > 0U ) && ( ctx->queue_len > 0U ) ) in mbedtls_poly1305_update() 380 remaining = 0U; in mbedtls_poly1305_update() 394 remaining -= queue_free_len; in mbedtls_poly1305_update() 398 if( remaining >= POLY1305_BLOCK_SIZE_BYTES ) in mbedtls_poly1305_update() 400 nblocks = remaining / POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update() 405 remaining %= POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update() 408 if( remaining > 0U ) in mbedtls_poly1305_update() 411 ctx->queue_len = remaining; in mbedtls_poly1305_update() 412 memcpy( ctx->queue, &input[offset], remaining ); in mbedtls_poly1305_update()
|
/reactos/base/services/nfsd/ |
H A D | util.c | 33 int safe_read(unsigned char **pos, uint32_t *remaining, void *dest, uint32_t dest_len) in safe_read() argument 35 if (*remaining < dest_len) in safe_read() 40 *remaining -= dest_len; in safe_read() 44 int safe_write(unsigned char **pos, uint32_t *remaining, void *src, uint32_t src_len) in safe_write() argument 46 if (*remaining < src_len) in safe_write() 51 *remaining -= src_len; in safe_write() 55 int get_name(unsigned char **pos, uint32_t *remaining, const char **out_name) in get_name() argument 60 status = safe_read(pos, remaining, &len, sizeof(USHORT)); in get_name() 62 if (*remaining < len) { in get_name() 68 *remaining -= len; in get_name()
|
H A D | ea.c | 324 IN uint32_t remaining) in calculate_ea_list_length() argument 329 while (remaining) { in calculate_ea_list_length() 337 remaining -= entry->next_entry_offset; in calculate_ea_list_length() 537 uint32_t remaining, needed, index = 0; in handle_getexattr() local 597 remaining = args->buf_len; in handle_getexattr() 602 if (needed > remaining) { in handle_getexattr() 613 &state->owner, ea, remaining, &needed); in handle_getexattr() 626 if (remaining < needed) { in handle_getexattr() 630 remaining = 0; in handle_getexattr() 632 remaining -= needed; in handle_getexattr() [all …]
|
H A D | util.h | 33 int safe_read(unsigned char **pos, uint32_t *remaining, void *dest, uint32_t dest_len); 34 int safe_write(unsigned char **pos, uint32_t *remaining, void *dest, uint32_t dest_len); 35 int get_name(unsigned char **pos, uint32_t *remaining, const char **out_name);
|
H A D | sources | 29 4220 - varargs matching remaining parameters
|
H A D | nfs41_xdr.c | 348 u_int32_t i, count, len, remaining; in decode_pathname4() local 355 remaining = NFS41_MAX_PATH_LEN; in decode_pathname4() 359 len = remaining; in decode_pathname4() 362 remaining -= len; in decode_pathname4() 366 if (remaining < 1) in decode_pathname4() 369 remaining--; in decode_pathname4() 372 path->len = (unsigned short)(NFS41_MAX_PATH_LEN - remaining); in decode_pathname4()
|
/reactos/dll/shellext/stobject/lang/ |
H A D | en-US.rc | 21 IDS_PWR_PERCENT_REMAINING "%u%% remaining" 23 IDS_PWR_UNKNOWN_REMAINING "Unknown remaining" 25 IDS_PWR_HOURS_REMAINING "%1!u!:%2!02u! hours (%3!u!%%) remaining" 26 IDS_PWR_MINUTES_REMAINING "%1!u! min (%2!u!%%) remaining"
|
/reactos/dll/opengl/mesa/ |
H A D | varray.c | 826 GLint remaining; in gl_DrawArrays() local 830 remaining = count; in gl_DrawArrays() 833 while (remaining>0) { in gl_DrawArrays() 857 remaining -= n; in gl_DrawArrays() 883 GLint remaining; in gl_DrawArrays() local 887 remaining = count; in gl_DrawArrays() 892 while (remaining>0) { in gl_DrawArrays() 910 remaining -= n; in gl_DrawArrays() 937 GLint remaining; in gl_DrawArrays() local 941 remaining = count; in gl_DrawArrays() [all …]
|
/reactos/sdk/tools/unicode/ |
H A D | string.c | 437 size_t remaining = written < len ? len - written : 0; in vsnprintfW() local 442 count = format_string( str, remaining, fmtbufa, wstr ? wstr : none, -1 ); in vsnprintfW() 443 str += min( count, remaining ); in vsnprintfW() 452 size_t remaining = written < len ? len - written : 0; in vsnprintfW() local 458 count = format_string( str, remaining, fmtbufa, &wstr, 1 ); in vsnprintfW() 459 str += min( count, remaining ); in vsnprintfW()
|
/reactos/sdk/lib/pathcch/ |
H A D | pathcch.c | 443 _Outptr_opt_result_buffer_(*remaining) PWSTR* endptr, in PathCchAddBackslashEx() 444 _Out_opt_ size_t* remaining) in PathCchAddBackslashEx() argument 446 HRESULT WINAPI PathCchAddBackslashEx(WCHAR *path, SIZE_T size, WCHAR **endptr, SIZE_T *remaining) in PathCchAddBackslashEx() 452 TRACE("%s, %Iu, %p, %p\n", debugstr_w(path), size, endptr, remaining); in PathCchAddBackslashEx() 460 if (remaining) *remaining = 0; in PathCchAddBackslashEx() 467 if (remaining) *remaining = size - length; in PathCchAddBackslashEx() 475 if (remaining) *remaining = size - length; in PathCchAddBackslashEx()
|
/reactos/sdk/include/reactos/libs/libjpeg/ |
H A D | rosdiff.patch | 34 +/* The only remaining magic that is necessary for cygwin */
|
/reactos/dll/3rdparty/libpng/ |
H A D | pngpread.c | 63 size_t remaining = png_ptr->buffer_size; in png_process_data_pause() local 69 if (png_ptr->save_buffer_size < remaining) in png_process_data_pause() 70 return remaining - png_ptr->save_buffer_size; in png_process_data_pause()
|
/reactos/drivers/network/dd/netkvm/Common/ |
H A D | rhel.ver | 61 * remaining macro should be defined in project .rc file
|
/reactos/dll/directx/wine/wined3d/ |
H A D | shader_sm4.c | 1629 SIZE_T remaining; in shader_sm4_read_instruction() local 1639 remaining = priv->end - *ptr; in shader_sm4_read_instruction() 1647 if (remaining < 2) in shader_sm4_read_instruction() 1654 if (!len || remaining < len) in shader_sm4_read_instruction() 1656 WARN("Read invalid length %u (remaining %lu).\n", len, remaining); in shader_sm4_read_instruction()
|
H A D | cs.c | 2614 size_t header_size, packet_size, remaining; in wined3d_cs_queue_check_space() local 2620 remaining = queue_size - queue->head; in wined3d_cs_queue_check_space() 2621 return (remaining >= packet_size); in wined3d_cs_queue_check_space() 2628 size_t header_size, packet_size, remaining; in wined3d_cs_queue_require_space() local 2641 remaining = queue_size - queue->head; in wined3d_cs_queue_require_space() 2642 if (remaining < packet_size) in wined3d_cs_queue_require_space() 2644 size_t nop_size = remaining - header_size; in wined3d_cs_queue_require_space()
|
/reactos/dll/3rdparty/libjpeg/ |
H A D | jdmarker.c | 720 unsigned int datalen, INT32 remaining) in examine_app0() argument 726 INT32 totallen = (INT32) datalen + remaining; in examine_app0() 796 unsigned int datalen, INT32 remaining) in examine_app14() argument 820 TRACEMS1(cinfo, 1, JTRC_APP14, (int) (datalen + remaining)); in examine_app14()
|
/reactos/dll/win32/rpcrt4/ |
H A D | rpc_assoc.c | 267 unsigned short remaining = msg.BufferLength - in RpcAssoc_BindConnection() local 272 (remaining >= FIELD_OFFSET(RpcResultList, results[results->num_results]))) in RpcAssoc_BindConnection()
|
/reactos/dll/win32/riched20/ |
H A D | table.c | 301 int remaining = nOfs + *nChars - c2.pRun->member.run.nCharOfs in ME_ProtectPartialTableDeletion() local 303 if (remaining) in ME_ProtectPartialTableDeletion() 305 assert(remaining < c2.pRun->member.run.len); in ME_ProtectPartialTableDeletion()
|
/reactos/drivers/network/tcpip/lwip/src/api/ |
H A D | api_msg.c | 1600 size_t remaining = msg->msg.r.len; local 1602 u16_t recved = (u16_t)((remaining > 0xffff) ? 0xffff : remaining); 1604 remaining -= recved; 1605 } while (remaining != 0);
|
/reactos/dll/win32/wininet/ |
H A D | wininet_ros.diff | 27 BOOL remaining = FALSE;
|