Home
last modified time | relevance | path

Searched refs:cdbw (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
Dcdb.cpp29 struct cdbw *cdbw = cdbw_open(); in test_cdbw() local
30 assert(cdbw); in test_cdbw()
32 int rv = cdbw_put_data(cdbw, data1, __arraycount(data1), &idx); in test_cdbw()
35 rv = cdbw_put_key(cdbw, key1, __arraycount(key1), idx); in test_cdbw()
38 rv = cdbw_put(cdbw, key2, __arraycount(key2), data2, __arraycount(data2)); in test_cdbw()
50 cdbw_output(cdbw, fd, "TEST1", cdbw_stable_seeder); in test_cdbw()
52 cdbw_close(cdbw); in test_cdbw()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc9311 INTERCEPTOR(int, cdbw_put, struct __sanitizer_cdbw *cdbw, const void *key,
9314 COMMON_INTERCEPTOR_ENTER(ctx, cdbw_put, cdbw, key, keylen, data, datalen);
9315 if (cdbw)
9316 COMMON_INTERCEPTOR_READ_RANGE(ctx, cdbw, sizeof(*cdbw));
9321 int ret = REAL(cdbw_put)(cdbw, key, keylen, data, datalen);
9322 if (!ret && cdbw)
9323 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, cdbw, sizeof(*cdbw));
9327 INTERCEPTOR(int, cdbw_put_data, struct __sanitizer_cdbw *cdbw, const void *data,
9330 COMMON_INTERCEPTOR_ENTER(ctx, cdbw_put_data, cdbw, data, datalen, index);
9331 if (cdbw)
[all …]