Home
last modified time | relevance | path

Searched refs:srcsize (Results 1 – 11 of 11) sorted by relevance

/external/erofs-utils/lib/
Dcompressor.c26 const void *src, unsigned int *srcsize, in erofs_compress_destsize() argument
36 uncompressed_capacity = *srcsize; in erofs_compress_destsize()
37 ret = c->alg->compress_destsize(c, src, srcsize, dst, dstsize); in erofs_compress_destsize()
43 uncompressed_capacity != *srcsize) in erofs_compress_destsize()
49 if (*srcsize <= compressed_size * c->compress_threshold / 100) in erofs_compress_destsize()
Dcompressor_lz4.c16 const void *src, unsigned int *srcsize, in lz4_compress_destsize() argument
19 int srcSize = (int)*srcsize; in lz4_compress_destsize()
24 *srcsize = srcSize; in lz4_compress_destsize()
Dcompressor_lz4hc.c17 const void *src, unsigned int *srcsize, in lz4hc_compress_destsize() argument
20 int srcSize = (int)*srcsize; in lz4hc_compress_destsize()
26 *srcsize = srcSize; in lz4hc_compress_destsize()
Dcompressor_liblzma.c20 const void *src, unsigned int *srcsize, in erofs_liblzma_compress_destsize() argument
31 strm->avail_in = *srcsize; in erofs_liblzma_compress_destsize()
39 *srcsize = strm->total_in; in erofs_liblzma_compress_destsize()
Dcompressor.h25 const void *src, unsigned int *srcsize,
49 const void *src, unsigned int *srcsize,
/external/libsrtp2/fuzzer/
Dfuzzer.h2 #define EXTRACT(dest, src, srcsize, copysize) \ argument
6 (srcsize) -= (copysize); \
10 #define EXTRACT_IF(dest, src, srcsize, copysize) \ argument
12 if ((srcsize) < (copysize)) { \
15 EXTRACT((dest), (src), (srcsize), (copysize)); \
/external/libcups/scheduler/
Dfilter.c44 size_t srcsize, mime_type_t *dst,
165 size_t srcsize, /* I - Size of source file */ in mimeFilter2() argument
179 CUPS_LLCAST srcsize, in mimeFilter2()
209 filters = mime_find_filters(mime, src, srcsize, dst, cost, NULL); in mimeFilter2()
303 size_t srcsize, /* I - Size of source file */ in mime_find_filters() argument
320 src->type, CUPS_LLCAST srcsize, dst, dst->super, dst->type, in mime_find_filters()
328 (current->maxsize == 0 || srcsize <= current->maxsize)) in mime_find_filters()
390 if (current->maxsize > 0 && srcsize > current->maxsize) in mime_find_filters()
410 temp = mime_find_filters(mime, current->dst, srcsize, dst, &tempcost, in mime_find_filters()
Dmime.h142 size_t srcsize, mime_type_t *dst,
/external/lz4/lib/
Dlz4file.c135 size_t srcsize = lz4fRead->srcBufSize - lz4fRead->srcBufNext; in LZ4F_read() local
139 if (srcsize == 0) { in LZ4F_read()
143 srcsize = lz4fRead->srcBufSize; in LZ4F_read()
157 &srcsize, in LZ4F_read()
163 lz4fRead->srcBufNext += srcsize; in LZ4F_read()
/external/libcups/backend/
Dsnmp-supplies.c202 size_t srcsize, size_t dstsize, int le);
1046 size_t srcsize, /* I - Size of source string */ in utf16_to_utf8() argument
1056 for (ptr = temp; srcsize >= 2;) in utf16_to_utf8()
1064 srcsize -= 2; in utf16_to_utf8()
1066 if (ch >= 0xd800 && ch <= 0xdbff && srcsize >= 2) in utf16_to_utf8()
1083 srcsize -= 2; in utf16_to_utf8()
/external/python/cpython3/Lib/test/
Dtest_buffer.py2701 srcsize = struct.calcsize(fmt)
2708 ndim=1, shape=[31*srcsize], strides=(1,),
2715 itemsize=srcsize, fmt=fmt, readonly=False,
2716 ndim=1, shape=[31], strides=(srcsize,),
2720 srcsize = struct.calcsize('I')