/external/compiler-rt/test/asan/TestCases/ |
D | strncat_strict.c | 14 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()
|
D | strcat_strict.c | 14 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/llvm-project/compiler-rt/test/asan/TestCases/ |
D | strncat_strict.c | 14 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()
|
D | strcat_strict.c | 14 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/ |
D | asan_str_test.cc | 150 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/llvm-project/compiler-rt/lib/asan/tests/ |
D | asan_str_test.cpp | 188 size_t to_size = Ident(30); in TEST() local 190 char *to = Ident((char*)malloc(to_size)); in TEST() 195 strcpy(to + to_size - from_size, from); in TEST() 202 EXPECT_DEATH(Ident(strcpy(to + to_size, from)), RightOOBWriteMessage(0)); in TEST() 211 size_t to_size = Ident(20); in TEST() local 213 char *to = Ident((char*)malloc(to_size)); in TEST() 222 strncpy(to, from, to_size); in TEST() 223 strncpy(to, from + from_size - 1, to_size); in TEST() 224 strncpy(to + to_size - 1, from, 1); in TEST() 232 EXPECT_DEATH(Ident(strncpy(to + to_size, from, 1)), in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 232 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 239 *vec = ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size); in TYPED_TEST() 243 VecT other_vec{to_size}; in TYPED_TEST() 248 VecT other_vec{to_size}; in TYPED_TEST() 254 vec->assign(to_size, val); in TYPED_TEST() 258 vec->assign(ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size)); in TYPED_TEST() 262 std::array<value_type, to_size> arr{}; in TYPED_TEST() 271 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 279 vec->resize(to_size); // in TYPED_TEST() 283 vec->resize(to_size, value_type{}); // in TYPED_TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 232 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 239 *vec = ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size); in TYPED_TEST() 243 VecT other_vec{to_size}; in TYPED_TEST() 248 VecT other_vec{to_size}; in TYPED_TEST() 254 vec->assign(to_size, val); in TYPED_TEST() 258 vec->assign(ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size)); in TYPED_TEST() 262 std::array<value_type, to_size> arr{}; in TYPED_TEST() 271 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 279 vec->resize(to_size); // in TYPED_TEST() 283 vec->resize(to_size, value_type{}); // in TYPED_TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 232 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 239 *vec = ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size); in TYPED_TEST() 243 VecT other_vec{to_size}; in TYPED_TEST() 248 VecT other_vec{to_size}; in TYPED_TEST() 254 vec->assign(to_size, val); in TYPED_TEST() 258 vec->assign(ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size)); in TYPED_TEST() 262 std::array<value_type, to_size> arr{}; in TYPED_TEST() 271 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 279 vec->resize(to_size); // in TYPED_TEST() 283 vec->resize(to_size, value_type{}); // in TYPED_TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 232 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 239 *vec = ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size); in TYPED_TEST() 243 VecT other_vec{to_size}; in TYPED_TEST() 248 VecT other_vec{to_size}; in TYPED_TEST() 254 vec->assign(to_size, val); in TYPED_TEST() 258 vec->assign(ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size)); in TYPED_TEST() 262 std::array<value_type, to_size> arr{}; in TYPED_TEST() 271 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 279 vec->resize(to_size); // in TYPED_TEST() 283 vec->resize(to_size, value_type{}); // in TYPED_TEST() [all …]
|
/external/abseil-cpp/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 232 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 239 *vec = ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size); in TYPED_TEST() 243 VecT other_vec{to_size}; in TYPED_TEST() 248 VecT other_vec{to_size}; in TYPED_TEST() 254 vec->assign(to_size, val); in TYPED_TEST() 258 vec->assign(ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size)); in TYPED_TEST() 262 std::array<value_type, to_size> arr{}; in TYPED_TEST() 271 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 279 vec->resize(to_size); // in TYPED_TEST() 283 vec->resize(to_size, value_type{}); // in TYPED_TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 232 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 239 *vec = ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size); in TYPED_TEST() 243 VecT other_vec{to_size}; in TYPED_TEST() 248 VecT other_vec{to_size}; in TYPED_TEST() 254 vec->assign(to_size, val); in TYPED_TEST() 258 vec->assign(ABSL_INTERNAL_MAKE_INIT_LIST(value_type, to_size)); in TYPED_TEST() 262 std::array<value_type, to_size> arr{}; in TYPED_TEST() 271 constexpr static auto to_size = TypeParam::GetSizeAt(1); in TYPED_TEST() local 279 vec->resize(to_size); // in TYPED_TEST() 283 vec->resize(to_size, value_type{}); // in TYPED_TEST() [all …]
|
/external/libnl/lib/route/qdisc/ |
D | fifo.c | 142 .to_size = sizeof(struct rtnl_fifo), 151 .to_size = sizeof(struct rtnl_fifo),
|
D | ingress.c | 48 .to_size = sizeof(struct dumb),
|
D | prio.c | 261 .to_size = sizeof(struct rtnl_prio), 273 .to_size = sizeof(struct rtnl_prio),
|
D | cbq.c | 171 .to_size = sizeof(struct rtnl_cbq), 183 .to_size = sizeof(struct rtnl_cbq),
|
D | plug.c | 163 .to_size = sizeof(struct rtnl_plug),
|
D | hfsc.c | 321 .to_size = sizeof(struct rtnl_hfsc_qdisc), 330 .to_size = sizeof(struct rtnl_hfsc_class),
|
D | dsmark.c | 383 .to_size = sizeof(struct rtnl_dsmark_qdisc), 395 .to_size = sizeof(struct rtnl_dsmark_class),
|
D | red.c | 170 .to_size = sizeof(struct rtnl_red),
|
/external/libxkbcommon/src/ |
D | darray.h | 47 #define darray_steal(arr, to, to_size) do { \ argument 49 if (to_size) \ 50 *(unsigned int *) (to_size) = (arr).size; \
|
/external/mesa3d/src/panfrost/bifrost/test/ |
D | bi_test_pack.c | 455 unsigned to_size, unsigned cx, unsigned cy, bool FMA, in bit_convert_helper() argument 470 if ((from_size == to_size) && (from_base == to_base)) in bit_convert_helper() 478 if (from_size != to_size && from_base == 0 && to_base) in bit_convert_helper() 481 if (from_size != to_size && from_base && to_base == 0) in bit_convert_helper() 485 if (from_size > to_size && from_base == to_base && from_base) in bit_convert_helper() 488 ins.dest_type = Ts[to_base] | to_size; in bit_convert_helper() 494 if (to_size == 16 && from_size == 32) { in bit_convert_helper()
|
/external/libnl/include/netlink-private/route/ |
D | tc-api.h | 46 size_t to_size; member
|
/external/libnl/lib/route/act/ |
D | gact.c | 161 .to_size = sizeof(struct rtnl_gact),
|
/external/libnl/lib/route/cls/ |
D | cgroup.c | 181 .to_size = sizeof(struct rtnl_cgroup),
|