Home
last modified time | relevance | path

Searched refs:dst_buf_size (Results 1 – 7 of 7) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_base64.function79 int dst_buf_size, int result)
92 TEST_ASSERT(mbedtls_base64_encode(dst_str, dst_buf_size, &len, src_str, src_len) == result);
126 void base64_encode_hex(data_t *src, char *dst, int dst_buf_size,
132 res = mbedtls_test_zero_alloc(dst_buf_size);
135 TEST_ASSERT(mbedtls_base64_encode(res, dst_buf_size, &len, src->x, src->len) == result);
153 void base64_decode_hex(char *src, data_t *dst, int dst_buf_size,
159 res = mbedtls_test_zero_alloc(dst_buf_size);
161 TEST_ASSERT(mbedtls_base64_decode(res, dst_buf_size, &len, (unsigned char *) src,
/third_party/musl/porting/linux/user/src/fortify/
Dfortify.c178 char* __strncat_chk(char* dest, const char* src, size_t len, size_t dst_buf_size) in __strncat_chk() argument
181 __diagnose_buffer_access("strncat", "write into", src_len, dst_buf_size); in __strncat_chk()
185 char* __strcat_chk(char* dest, const char* src, size_t dst_buf_size) in __strcat_chk() argument
188 __diagnose_buffer_access("strcat", "write into", src_len, dst_buf_size); in __strcat_chk()
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/
Dfortify_strcat_chk_test.cpp15 extern "C" char* __strcat_chk(char* dest, const char* src, size_t dst_buf_size);
/third_party/lz4/tests/
Dfuzzer.c1650 int const dst_buf_size = 6 KB; in FUZ_unitTests() local
1658 char* dbuf1 = (char*)malloc(dst_buf_size + 1); in FUZ_unitTests()
1659 char* dbuf2 = (char*)malloc(dst_buf_size + 1); in FUZ_unitTests()
1662 assert(dst_buf_size > dst_max_len); in FUZ_unitTests()
/third_party/astc-encoder/Source/
Dtinyexr.h2999 dst_buf_size = out_buf_capacity - *pOut_len, new_out_buf_capacity; in tinfl_decompress_mem_to_heap() local
3003 &dst_buf_size, in tinfl_decompress_mem_to_heap()
3012 *pOut_len += dst_buf_size; in tinfl_decompress_mem_to_heap()
3054 dst_buf_size = TINFL_LZ_DICT_SIZE - dict_ofs; in tinfl_decompress_mem_to_callback() local
3057 &in_buf_size, pDict, pDict + dict_ofs, &dst_buf_size, in tinfl_decompress_mem_to_callback()
3061 if ((dst_buf_size) && in tinfl_decompress_mem_to_callback()
3062 (!(*pPut_buf_func)(pDict + dict_ofs, (int)dst_buf_size, pPut_buf_user))) in tinfl_decompress_mem_to_callback()
3068 dict_ofs = (dict_ofs + dst_buf_size) & (TINFL_LZ_DICT_SIZE - 1); in tinfl_decompress_mem_to_callback()
/third_party/mesa3d/src/imgui/
Dimgui.cpp1313 size_t dst_buf_size = p_dst_size ? *p_dst_size : strlen(dst) + 1; in ImStrdupcpy() local
1315 if (dst_buf_size < src_size) in ImStrdupcpy()
/third_party/skia/third_party/externals/imgui/
Dimgui.cpp1365 size_t dst_buf_size = p_dst_size ? *p_dst_size : strlen(dst) + 1; in ImStrdupcpy() local
1367 if (dst_buf_size < src_size) in ImStrdupcpy()