/reactos/sdk/lib/ucrt/inc/ |
H A D | corecrt_internal_string_templates.h | 114 size_t remaining = count; in common_tcsncat_s() local 136 while (remaining > 0 && (*destination_it++ = *source_it++) != 0 && --available > 0) in common_tcsncat_s() 138 remaining--; in common_tcsncat_s() 141 if (remaining == 0) in common_tcsncat_s() 192 size_t remaining = count; in common_tcsncpy_s() local 201 while ((*destination_it++ = *source_it++) != 0 && --available > 0 && --remaining > 0) in common_tcsncpy_s() 204 if (remaining == 0) in common_tcsncpy_s() 246 size_t remaining = count; in common_tcsnset_s() local 247 while (*destination_it != 0 && remaining > 0 && --available > 0) in common_tcsnset_s() 250 --remaining; in common_tcsnset_s() [all …]
|
/reactos/sdk/lib/ucrt/string/ |
H A D | wcsncpy.cpp | 27 size_t remaining = count; in wcsncpy() local 31 while (remaining != 0 && (*destination_it++ = *source_it++) != 0) in wcsncpy() 33 --remaining; in wcsncpy() 36 if (remaining != 0) in wcsncpy() 38 while (--remaining != 0) in wcsncpy()
|
H A D | memicmp.cpp | 63 size_t remaining = count; in _memicmp_l() local 69 while (result == 0 && --remaining != 0); in _memicmp_l() 92 size_t remaining = count; in __ascii_memicmp() local 97 while (result == 0 && --remaining != 0); in __ascii_memicmp()
|
H A D | strnicmp.cpp | 66 size_t remaining = count; in _strnicmp_l() local 73 while (result == 0 && lhs_value != 0 && --remaining != 0); in _strnicmp_l() 98 size_t remaining = count; in __ascii_strnicmp() local 105 while (result == 0 && lhs_value != 0 && --remaining != 0); in __ascii_strnicmp()
|
H A D | wcsnicmp.cpp | 75 size_t remaining = count; in _wcsnicmp_l() local 82 while (result == 0 && lhs_value != 0 && --remaining != 0); in _wcsnicmp_l() 104 size_t remaining = count; in __ascii_wcsnicmp() local 111 while (result == 0 && lhs_value != 0 && --remaining != 0); in __ascii_wcsnicmp()
|
/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
|
/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/lib/ucrt/time/ |
H A D | wcsftime.cpp | 1079 size_t remaining = max_size; in _Wcsftime_l() local 1081 while (remaining > 0) in _Wcsftime_l() 1113 …pand_time(locale_update.GetLocaleT(), *format_it, timeptr, &string_it, &remaining, lc_time, altern… in _Wcsftime_l() 1118 if (remaining > 0) in _Wcsftime_l() 1132 --remaining; in _Wcsftime_l() 1143 if (!failed && remaining > 0) in _Wcsftime_l() 1148 return max_size - remaining; in _Wcsftime_l() 1156 if (!failed && remaining <= 0) in _Wcsftime_l()
|
/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/sdk/lib/ucrt/string/arm64/ |
H A D | wcslen.asm | 189 …sub x1, x1, x3, ASR #1 ; reduce elements remaining by number of wchar… 220 …neg x1, x1 ; x1 = (8 - number of chars remaining); the nu…
|
/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()
|