/external/compiler-rt/test/asan/TestCases/ |
strcat_strict.c | 14 void test1(char *to, int to_size, char *from) { 16 char* r = strcat(to + to_size, from); 19 void test2(char *to, int to_size, char *from) { 21 memset(to, 'z', to_size); 26 size_t to_size = 100; local 27 char *to = (char*)malloc(to_size); 33 if (!strcmp(argv[1], "test1")) test1(to, to_size, from); 37 if (!strcmp(argv[1], "test2")) test2(to, to_size, from);
|
strncat_strict.c | 14 void test1(char *to, int to_size, char *from) { 16 char* r = strncat(to + to_size, from, 2); 19 void test2(char *to, int to_size, char *from) { 21 memset(to, 'z', to_size); 26 size_t to_size = 100; local 27 char *to = (char*)malloc(to_size); 33 if (!strcmp(argv[1], "test1")) test1(to, to_size, from); 37 if (!strcmp(argv[1], "test2")) test2(to, to_size, from);
|
/external/compiler-rt/lib/asan/tests/ |
asan_str_test.cc | 150 size_t to_size = Ident(30); local 151 size_t from_size = Ident(6); // less than to_size 152 char *to = Ident((char*)malloc(to_size)); 157 strcpy(to + to_size - from_size, from); 164 EXPECT_DEATH(Ident(strcpy(to + to_size, from)), RightOOBWriteMessage(0)); 173 size_t to_size = Ident(20); local 174 size_t from_size = Ident(6); // less than to_size 175 char *to = Ident((char*)malloc(to_size)); 184 strncpy(to, from, to_size); 185 strncpy(to, from + from_size - 1, to_size); 378 size_t to_size = Ident(100); local 413 size_t to_size = Ident(100); local [all...] |
/external/libnl/lib/route/qdisc/ |
ingress.c | 48 .to_size = sizeof(struct dumb),
|
fifo.c | 142 .to_size = sizeof(struct rtnl_fifo), 151 .to_size = sizeof(struct rtnl_fifo),
|
plug.c | 163 .to_size = sizeof(struct rtnl_plug),
|
cbq.c | 171 .to_size = sizeof(struct rtnl_cbq), 183 .to_size = sizeof(struct rtnl_cbq),
|
dsmark.c | 383 .to_size = sizeof(struct rtnl_dsmark_qdisc), 395 .to_size = sizeof(struct rtnl_dsmark_class),
|
prio.c | 261 .to_size = sizeof(struct rtnl_prio), 273 .to_size = sizeof(struct rtnl_prio),
|
red.c | 170 .to_size = sizeof(struct rtnl_red),
|
sfq.c | 237 .to_size = sizeof(struct rtnl_sfq),
|
htb.c | 613 .to_size = sizeof(struct rtnl_htb_qdisc), 622 .to_size = sizeof(struct rtnl_htb_class),
|
fq_codel.c | 361 .to_size = sizeof(struct rtnl_fq_codel),
|
tbf.c | 441 .to_size = sizeof(struct rtnl_tbf),
|
netem.c | 891 .to_size = sizeof(struct rtnl_netem),
|
/external/libnl/include/netlink-private/route/ |
tc-api.h | 46 size_t to_size; member in struct:rtnl_tc_ops
|
/external/libxkbcommon/xkbcommon/src/ |
darray.h | 47 #define darray_steal(arr, to, to_size) do { \ 49 if (to_size) \ 50 *(unsigned int *) (to_size) = (arr).size; \
|
/external/libnl/lib/route/cls/ |
cgroup.c | 168 .to_size = sizeof(struct rtnl_cgroup),
|
fw.c | 198 .to_size = sizeof(struct rtnl_fw),
|
basic.c | 263 .to_size = sizeof(struct rtnl_basic),
|
u32.c | 692 .to_size = sizeof(struct rtnl_u32),
|
/external/libnl/lib/route/act/ |
mirred.c | 220 .to_size = sizeof(struct rtnl_mirred),
|
/external/iproute2/include/ |
bpf_api.h | 191 const void *to, uint32_t to_size, uint32_t seed);
|
/external/libnl/lib/route/ |
tc.c | 1019 if (!(size = tc->tc_ops->to_size))
|