Searched refs:source_len (Results 1 – 6 of 6) sorted by relevance
/external/grpc-grpc/test/core/tsi/alts/crypt/ |
D | gsec_test_util.cc | 49 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()
|
D | gsec_test_util.h | 71 size_t source_len);
|
/external/icu/icu4c/source/test/intltest/ |
D | idnaconf.cpp | 64 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/ |
D | dfltcc_deflate.h | 41 #define DEFLATE_BOUND_ADJUST_COMPLEN(strm, complen, source_len) \ argument 45 (source_len) * 16 + 15 + 7) >> 3; \
|
/external/OpenCL-CTS/test_common/miniz/ |
D | miniz.h | 170 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);
|
D | miniz.c | 353 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 …]
|