Home
last modified time | relevance | path

Searched refs:to_size (Results 1 – 25 of 27) sorted by relevance

12

/external/compiler-rt/test/asan/TestCases/
Dstrncat_strict.c14 void test1(char *to, int to_size, char *from) { in test1() argument
16 char* r = strncat(to + to_size, from, 2); in test1()
19 void test2(char *to, int to_size, char *from) { in test2() argument
21 memset(to, 'z', to_size); in test2()
26 size_t to_size = 100; in main() local
27 char *to = (char*)malloc(to_size); in main()
33 if (!strcmp(argv[1], "test1")) test1(to, to_size, from); in main()
37 if (!strcmp(argv[1], "test2")) test2(to, to_size, from); in main()
Dstrcat_strict.c14 void test1(char *to, int to_size, char *from) { in test1() argument
16 char* r = strcat(to + to_size, from); in test1()
19 void test2(char *to, int to_size, char *from) { in test2() argument
21 memset(to, 'z', to_size); in test2()
26 size_t to_size = 100; in main() local
27 char *to = (char*)malloc(to_size); in main()
33 if (!strcmp(argv[1], "test1")) test1(to, to_size, from); in main()
37 if (!strcmp(argv[1], "test2")) test2(to, to_size, from); in main()
/external/compiler-rt/lib/asan/tests/
Dasan_str_test.cc150 size_t to_size = Ident(30); in TEST() local
152 char *to = Ident((char*)malloc(to_size)); in TEST()
157 strcpy(to + to_size - from_size, from); in TEST()
164 EXPECT_DEATH(Ident(strcpy(to + to_size, from)), RightOOBWriteMessage(0)); in TEST()
173 size_t to_size = Ident(20); in TEST() local
175 char *to = Ident((char*)malloc(to_size)); in TEST()
184 strncpy(to, from, to_size); in TEST()
185 strncpy(to, from + from_size - 1, to_size); in TEST()
186 strncpy(to + to_size - 1, from, 1); in TEST()
194 EXPECT_DEATH(Ident(strncpy(to + to_size, from, 1)), in TEST()
[all …]
/external/libxkbcommon/xkbcommon/src/
Ddarray.h47 #define darray_steal(arr, to, to_size) do { \ argument
49 if (to_size) \
50 *(unsigned int *) (to_size) = (arr).size; \
/external/libnl/lib/route/qdisc/
Dfifo.c142 .to_size = sizeof(struct rtnl_fifo),
151 .to_size = sizeof(struct rtnl_fifo),
Dprio.c261 .to_size = sizeof(struct rtnl_prio),
273 .to_size = sizeof(struct rtnl_prio),
Dcbq.c171 .to_size = sizeof(struct rtnl_cbq),
183 .to_size = sizeof(struct rtnl_cbq),
Dingress.c48 .to_size = sizeof(struct dumb),
Ddsmark.c383 .to_size = sizeof(struct rtnl_dsmark_qdisc),
395 .to_size = sizeof(struct rtnl_dsmark_class),
Dplug.c163 .to_size = sizeof(struct rtnl_plug),
Dred.c170 .to_size = sizeof(struct rtnl_red),
Dsfq.c237 .to_size = sizeof(struct rtnl_sfq),
Dhtb.c613 .to_size = sizeof(struct rtnl_htb_qdisc),
622 .to_size = sizeof(struct rtnl_htb_class),
Dfq_codel.c361 .to_size = sizeof(struct rtnl_fq_codel),
Dtbf.c441 .to_size = sizeof(struct rtnl_tbf),
Dnetem.c891 .to_size = sizeof(struct rtnl_netem),
/external/libnl/include/netlink-private/route/
Dtc-api.h46 size_t to_size; member
/external/libnl/lib/route/cls/
Dcgroup.c168 .to_size = sizeof(struct rtnl_cgroup),
Dfw.c198 .to_size = sizeof(struct rtnl_fw),
Dbasic.c263 .to_size = sizeof(struct rtnl_basic),
Du32.c692 .to_size = sizeof(struct rtnl_u32),
/external/libnl/lib/route/act/
Dmirred.c220 .to_size = sizeof(struct rtnl_mirred),
/external/iproute2/include/
Dbpf_api.h191 const void *to, uint32_t to_size, uint32_t seed);
/external/linux-kselftest/tools/testing/selftests/bpf/
Dbpf_helpers.h215 static int (*bpf_csum_diff)(void *from, int from_size, void *to, int to_size, int seed) =
/external/libnl/lib/route/
Dtc.c1019 if (!(size = tc->tc_ops->to_size)) in rtnl_tc_data()

12