Home
last modified time | relevance | path

Searched refs:bufmem (Results 1 – 25 of 158) sorted by relevance

1234567

/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
110 BUF_MEM *bufmem; in test_bio_rdonly_mem_buf() local
241 BUF_MEM bufmem; in test_bio_i2d_ASN1_mime() local
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
110 BUF_MEM *bufmem; in test_bio_rdonly_mem_buf() local
241 BUF_MEM bufmem; in test_bio_i2d_ASN1_mime() local
[all …]
/dports/security/acmed/acmed-0.18.0/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
110 BUF_MEM *bufmem; in test_bio_rdonly_mem_buf() local
241 BUF_MEM bufmem; in test_bio_i2d_ASN1_mime() local
[all …]
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
110 BUF_MEM *bufmem; in test_bio_rdonly_mem_buf() local
241 BUF_MEM bufmem; in test_bio_i2d_ASN1_mime() local
[all …]
/dports/security/openssl-quictls/openssl-7f2ab56a2b842b8e6fefc7b9d20eb5ff9c6ef151/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
110 BUF_MEM *bufmem; in test_bio_rdonly_mem_buf() local
241 BUF_MEM bufmem; in test_bio_i2d_ASN1_mime() local
[all …]
/dports/security/openssl-devel/openssl-3.0.2/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
110 BUF_MEM *bufmem; in test_bio_rdonly_mem_buf() local
241 BUF_MEM bufmem; in test_bio_i2d_ASN1_mime() local
[all …]
/dports/security/openssl/openssl-1.1.1n/test/
H A Dbio_memleak_test.c22 BUF_MEM bufmem; in test_bio_memleak() local
30 bufmem.data = (char *) str; in test_bio_memleak()
31 bufmem.max = bufmem.length; in test_bio_memleak()
49 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
57 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
63 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
69 BUF_MEM_free(bufmem); in test_bio_get_mem()
77 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
112 BUF_MEM *bufmem; in test_bio_rdonly_mem_buf() local
243 BUF_MEM bufmem; in test_bio_i2d_ASN1_mime() local
[all …]
/dports/security/openssl-static/openssl-1.1.1l/test/
H A Dbio_memleak_test.c22 BUF_MEM bufmem; in test_bio_memleak() local
30 bufmem.data = (char *) str; in test_bio_memleak()
31 bufmem.max = bufmem.length; in test_bio_memleak()
49 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
57 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
63 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
69 BUF_MEM_free(bufmem); in test_bio_get_mem()
77 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
112 BUF_MEM *bufmem; in test_bio_rdonly_mem_buf() local
243 BUF_MEM bufmem; in test_bio_i2d_ASN1_mime() local
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
27 bufmem.length = sizeof(str); in test_bio_memleak()
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
54 BIO_get_mem_ptr(bio, &bufmem); in test_bio_get_mem()
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
27 bufmem.length = sizeof(str); in test_bio_memleak()
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
54 BIO_get_mem_ptr(bio, &bufmem); in test_bio_get_mem()
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
27 bufmem.length = sizeof(str); in test_bio_memleak()
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
54 BIO_get_mem_ptr(bio, &bufmem); in test_bio_get_mem()
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
[all …]
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
27 bufmem.length = sizeof(str); in test_bio_memleak()
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
54 BIO_get_mem_ptr(bio, &bufmem); in test_bio_get_mem()
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
[all …]
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
27 bufmem.length = sizeof(str); in test_bio_memleak()
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
54 BIO_get_mem_ptr(bio, &bufmem); in test_bio_get_mem()
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
[all …]
/dports/sysutils/edk2/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak() local
27 bufmem.length = sizeof(str); in test_bio_memleak()
28 bufmem.data = (char *) str; in test_bio_memleak()
29 bufmem.max = bufmem.length; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local
54 BIO_get_mem_ptr(bio, &bufmem); in test_bio_get_mem()
55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
67 BUF_MEM_free(bufmem); in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf() local
[all …]
/dports/security/munge/munge-munge-0.5.14/src/munge/
H A Dread.c70 bufmem = bufptr = malloc (bufsiz); in read_data_from_file()
71 if (bufmem == NULL) { in read_data_from_file()
102 assert (bufsiz == bufptr - bufmem); in read_data_from_file()
106 free (bufmem); in read_data_from_file()
110 buftmp = realloc (bufmem, bufsiz); in read_data_from_file()
112 free (bufmem); in read_data_from_file()
118 bufmem = buftmp; in read_data_from_file()
120 n = bufptr - bufmem; in read_data_from_file()
122 free (bufmem); in read_data_from_file()
136 bufmem[n] = '\0'; in read_data_from_file()
[all …]
/dports/graphics/vapoursynth-waifu2x-ncnn-vulkan/vapoursynth-waifu2x-ncnn-vulkan-r4/deps/ncnn/python/tests/
H A Dtest_vulkan_allocator.py38 bufmem = allocator.fastMalloc(10 * 1024)
39 assert bufmem is not None
40 allocator.fastFree(bufmem)
65 bufmem = allocator.fastMalloc(10 * 1024)
66 assert bufmem is not None
67 allocator.fastFree(bufmem)
92 bufmem = allocator.fastMalloc(10 * 1024)
93 assert bufmem is not None
94 allocator.fastFree(bufmem)
120 assert bufmem is not None
[all …]
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/python/tests/
H A Dtest_vulkan_allocator.py38 bufmem = allocator.fastMalloc(10 * 1024)
39 assert bufmem is not None
40 allocator.fastFree(bufmem)
65 bufmem = allocator.fastMalloc(10 * 1024)
66 assert bufmem is not None
67 allocator.fastFree(bufmem)
92 bufmem = allocator.fastMalloc(10 * 1024)
93 assert bufmem is not None
94 allocator.fastFree(bufmem)
120 assert bufmem is not None
[all …]
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/python/tests/
H A Dtest_vulkan_allocator.py38 bufmem = allocator.fastMalloc(10 * 1024)
39 assert bufmem is not None
40 allocator.fastFree(bufmem)
65 bufmem = allocator.fastMalloc(10 * 1024)
66 assert bufmem is not None
67 allocator.fastFree(bufmem)
92 bufmem = allocator.fastMalloc(10 * 1024)
93 assert bufmem is not None
94 allocator.fastFree(bufmem)
120 assert bufmem is not None
[all …]
/dports/misc/ncnn/ncnn-20211208/python/tests/
H A Dtest_vulkan_allocator.py38 bufmem = allocator.fastMalloc(10 * 1024)
39 assert bufmem is not None
40 allocator.fastFree(bufmem)
65 bufmem = allocator.fastMalloc(10 * 1024)
66 assert bufmem is not None
67 allocator.fastFree(bufmem)
92 bufmem = allocator.fastMalloc(10 * 1024)
93 assert bufmem is not None
94 allocator.fastFree(bufmem)
120 assert bufmem is not None
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/tests/tcg/cris/libc/
H A Dcheck_glibc_kernelversion.c19 char bufmem[64]; \
20 char *buf = bufmem; \
34 || (reslen = __read (fd, bufmem, sizeof (bufmem))) <= 0) \
39 buf[MIN (reslen, (ssize_t) sizeof (bufmem) - 1)] = '\0'; \
82 char bufmem[64] = "2.6.22"; in main() local
83 char *buf = bufmem; in main()
/dports/emulators/qemu5/qemu-5.2.0/tests/tcg/cris/libc/
H A Dcheck_glibc_kernelversion.c19 char bufmem[64]; \
20 char *buf = bufmem; \
34 || (reslen = __read (fd, bufmem, sizeof (bufmem))) <= 0) \
39 buf[MIN (reslen, (ssize_t) sizeof (bufmem) - 1)] = '\0'; \
82 char bufmem[64] = "2.6.22"; in main() local
83 char *buf = bufmem; in main()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/tests/tcg/cris/
H A Dcheck_glibc_kernelversion.c19 char bufmem[64]; \
20 char *buf = bufmem; \
34 || (reslen = __read (fd, bufmem, sizeof (bufmem))) <= 0) \
39 buf[MIN (reslen, (ssize_t) sizeof (bufmem) - 1)] = '\0'; \
82 char bufmem[64] = "2.6.22"; in main() local
83 char *buf = bufmem; in main()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/tests/tcg/cris/libc/
H A Dcheck_glibc_kernelversion.c19 char bufmem[64]; \
20 char *buf = bufmem; \
34 || (reslen = __read (fd, bufmem, sizeof (bufmem))) <= 0) \
39 buf[MIN (reslen, (ssize_t) sizeof (bufmem) - 1)] = '\0'; \
82 char bufmem[64] = "2.6.22"; in main() local
83 char *buf = bufmem; in main()
/dports/emulators/qemu42/qemu-4.2.1/tests/tcg/cris/libc/
H A Dcheck_glibc_kernelversion.c19 char bufmem[64]; \
20 char *buf = bufmem; \
34 || (reslen = __read (fd, bufmem, sizeof (bufmem))) <= 0) \
39 buf[MIN (reslen, (ssize_t) sizeof (bufmem) - 1)] = '\0'; \
82 char bufmem[64] = "2.6.22"; in main() local
83 char *buf = bufmem; in main()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/tests/tcg/cris/libc/
H A Dcheck_glibc_kernelversion.c19 char bufmem[64]; \
20 char *buf = bufmem; \
34 || (reslen = __read (fd, bufmem, sizeof (bufmem))) <= 0) \
39 buf[MIN (reslen, (ssize_t) sizeof (bufmem) - 1)] = '\0'; \
82 char bufmem[64] = "2.6.22";
83 char *buf = bufmem;

1234567