Home
last modified time | relevance | path

Searched refs:source_len (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/test/core/tsi/alts/crypt/
Dgsec_test_util.cc49 void gsec_test_copy(const uint8_t* src, uint8_t** des, size_t source_len) { in gsec_test_copy() argument
51 *des = static_cast<uint8_t*>(gpr_malloc(source_len)); in gsec_test_copy()
52 memcpy(*des, src, source_len); in gsec_test_copy()
60 size_t source_len) { in gsec_test_copy_and_alter_random_byte() argument
62 *des = static_cast<uint8_t*>(gpr_malloc(source_len)); in gsec_test_copy_and_alter_random_byte()
63 memcpy(*des, src, source_len); in gsec_test_copy_and_alter_random_byte()
65 offset = gsec_test_bias_random_uint32(static_cast<uint32_t>(source_len)); in gsec_test_copy_and_alter_random_byte()
Dgsec_test_util.h71 size_t source_len);
/external/icu/icu4c/source/test/intltest/
Didnaconf.cpp64 size_t source_len; in ReadAndConvertFile() local
90 if ((source_len = ftell(f)) <= 0){ in ReadAndConvertFile()
96 source = new char[source_len]; in ReadAndConvertFile()
98 if (fread(source, 1, source_len, f) != source_len) { in ReadAndConvertFile()
112 static_cast<int32_t>(source_len), in ReadAndConvertFile()
119 ucnv_toUChars(conv, dest, dest_len + 1, source, static_cast<int32_t>(source_len), &status); in ReadAndConvertFile()
/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/
Ddfltcc_deflate.h41 #define DEFLATE_BOUND_ADJUST_COMPLEN(strm, complen, source_len) \ argument
45 (source_len) * 16 + 15 + 7) >> 3; \
/external/OpenCL-CTS/test_common/miniz/
Dminiz.h170 mz_ulong mz_deflateBound(mz_streamp pStream, mz_ulong source_len);
174 …ress(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len);
175 …ed char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len, int level);
178 mz_ulong mz_compressBound(mz_ulong source_len);
208 …ress(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len);
Dminiz.c353 mz_ulong mz_deflateBound(mz_streamp pStream, mz_ulong source_len) in mz_deflateBound() argument
357 …return MZ_MAX(128 + (source_len * 110) / 100, 128 + source_len + ((source_len / (31 * 1024)) + 1) … in mz_deflateBound()
360 …ned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len, int level) in mz_compress2() argument
367 if ((source_len | *pDest_len) > 0xFFFFFFFFU) return MZ_PARAM_ERROR; in mz_compress2()
370 stream.avail_in = (mz_uint32)source_len; in mz_compress2()
388 …press(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) in mz_compress() argument
390 return mz_compress2(pDest, pDest_len, pSource, source_len, MZ_DEFAULT_COMPRESSION); in mz_compress()
393 mz_ulong mz_compressBound(mz_ulong source_len) in mz_compressBound() argument
395 return mz_deflateBound(NULL, source_len); in mz_compressBound()
545 …press(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) in mz_uncompress() argument
[all …]