OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dstCapacity
(Results
1 - 9
of
9
) sorted by null
/external/lz4/lib/
lz4frame.h
169
* An important rule is that dstBuffer MUST be large enough (
dstCapacity
) to store the result in worst case situation.
176
LZ4FLIB_API size_t LZ4F_compressFrame(void* dstBuffer, size_t
dstCapacity
, const void* srcBuffer, size_t srcSize, const LZ4F_preferences_t* preferencesPtr);
210
LZ4FLIB_API size_t LZ4F_compressBegin(LZ4F_cctx* cctx, void* dstBuffer, size_t
dstCapacity
, const LZ4F_preferences_t* prefsPtr);
213
*
dstCapacity
must be large enough to store the header. Maximum header size is LZ4F_HEADER_SIZE_MAX bytes.
221
* Provides
dstCapacity
given a srcSize to guarantee operation success in worst case situations.
227
LZ4FLIB_API size_t LZ4F_compressUpdate(LZ4F_cctx* cctx, void* dstBuffer, size_t
dstCapacity
, const void* srcBuffer, size_t srcSize, const LZ4F_compressOptions_t* cOptPtr);
230
* An important rule is that
dstCapacity
MUST be large enough to ensure operation success even in worst case situations.
239
LZ4FLIB_API size_t LZ4F_flush(LZ4F_cctx* cctx, void* dstBuffer, size_t
dstCapacity
, const LZ4F_compressOptions_t* cOptPtr);
243
* `
dstCapacity
` must be large enough to ensure the operation will be successful.
249
LZ4FLIB_API size_t LZ4F_compressEnd(LZ4F_cctx* cctx, void* dstBuffer, size_t
dstCapacity
, const LZ4F_compressOptions_t* cOptPtr)
[
all
...]
lz4hc.h
59
* Compression is guaranteed to succeed if `
dstCapacity
>= LZ4_compressBound(srcSize)` (see "lz4.h")
66
LZ4LIB_API int LZ4_compress_HC (const char* src, char* dst, int srcSize, int
dstCapacity
, int compressionLevel);
lz4frame.c
258
* Provides
dstCapacity
given a srcSize to guarantee operation success in worst case situations.
309
size_t LZ4F_compressFrame(void* dstBuffer, size_t
dstCapacity
, const void* srcBuffer, size_t srcSize, const LZ4F_preferences_t* preferencesPtr)
317
BYTE* const dstEnd = dstStart +
dstCapacity
;
344
if (
dstCapacity
< LZ4F_compressFrameBound(srcSize, &prefs))
347
{ size_t const headerSize = LZ4F_compressBegin(&cctxI, dstBuffer,
dstCapacity
, &prefs); /* write header */
408
* dstBuffer must be large enough to accommodate a header (
dstCapacity
). Maximum header size is LZ4F_HEADER_SIZE_MAX bytes.
412
size_t LZ4F_compressBegin(LZ4F_cctx* cctxPtr, void* dstBuffer, size_t
dstCapacity
, const LZ4F_preferences_t* preferencesPtr)
420
if (
dstCapacity
< maxFHSize) return err0r(LZ4F_ERROR_dstMaxSize_tooSmall);
516
static int LZ4F_localLZ4_compress_limitedOutput_withState(void* ctx, const char* src, char* dst, int srcSize, int
dstCapacity
, int level)
519
return LZ4_compress_fast_extState(ctx, src, dst, srcSize,
dstCapacity
, 1)
[
all
...]
/external/lz4/examples/
frameCompress.c
133
size_t
dstCapacity
= 0;
167
dstCapacity
= get_block_size(&info);
168
dst = malloc(
dstCapacity
);
180
size_t dstSize =
dstCapacity
;
/external/lz4/tests/
frametest.c
397
{ size_t const
dstCapacity
= LZ4F_compressFrameBound(testSize, &prefs);
398
DISPLAYLEVEL(4, "
dstCapacity
= %u \n", (U32)
dstCapacity
)
399
cSize = LZ4F_compressFrame(compressedBuffer,
dstCapacity
, CNBuffer, testSize, &prefs);
406
{ size_t const
dstCapacity
= LZ4F_compressFrameBound(testSize, &prefs);
407
DISPLAYLEVEL(4, "
dstCapacity
= %u \n", (U32)
dstCapacity
)
408
cSize = LZ4F_compressFrame(compressedBuffer,
dstCapacity
, CNBuffer, testSize, &prefs);
[
all
...]
/external/icu/icu4c/source/common/
uniset_props.cpp
927
static UBool mungeCharName(char* dst, const char* src, int32_t
dstCapacity
) {
931
--
dstCapacity
; /* make room for term. zero */
936
if (j >=
dstCapacity
) return FALSE;
[
all
...]
/prebuilts/tools/common/m2/repository/io/netty/netty-buffer/4.1.0.CR3/
netty-buffer-4.1.0.CR3.jar
/prebuilts/tools/common/m2/repository/io/netty/netty-buffer/4.1.3.Final/
netty-buffer-4.1.3.Final.jar
/prebuilts/tools/common/m2/repository/io/netty/netty-buffer/4.1.6.Final/
netty-buffer-4.1.6.Final.jar
Completed in 225 milliseconds