Home
last modified time | relevance | path

Searched refs:int_ptr (Results 1 – 25 of 28) sorted by relevance

12

/external/v8/tools/clang/plugins/tests/
Dauto_raw_pointer.cpp42 int* int_ptr; in main() local
44 auto double_ptr_auto = &int_ptr; in main()
45 auto* double_ptr_auto_ptr = &int_ptr; in main()
46 auto** double_ptr_auto_double_ptr = &int_ptr; in main()
54 auto& int_ptr_ref = int_ptr; in main()
55 const auto& const_int_ptr_ref = int_ptr; in main()
56 auto&& int_ptr_rref = static_cast<int*&&>(int_ptr); in main()
57 const auto&& const_int_ptr_rref = static_cast<int*&&>(int_ptr); in main()
Dauto_raw_pointer.txt26 auto double_ptr_auto = &int_ptr;
30 auto* double_ptr_auto_ptr = &int_ptr;
38 auto& int_ptr_ref = int_ptr;
42 const auto& const_int_ptr_ref = int_ptr;
46 auto&& int_ptr_rref = static_cast<int*&&>(int_ptr);
50 const auto&& const_int_ptr_rref = static_cast<int*&&>(int_ptr);
/external/clang/test/SemaObjCXX/Inputs/
Dnullability-pragmas-1.h17 typedef int *int_ptr; typedef
26 void f5(int_ptr x);
35 int_ptr f13(void);
93 void f21(int_ptr x); // expected-warning{{pointer is missing a nullability type specifier}}
95 void f23(int_ptr _Nullable x);
/external/clang/test/PCH/
Dtypes.h13 typedef int * int_ptr; typedef
39 typedef int_ptr * int_ptr_ptr;
45 typedef typeof(int_ptr *) int_ptr_ptr2;
Dtypes.c26 int_ptr int_value_ptr = &int_value;
/external/clang/test/Sema/
Dnullability.c8 typedef int * int_ptr; typedef
57 typedef _Nonnull int_ptr (^ block_type_4)(int, int);
58 typedef _Nonnull int_ptr (* function_pointer_type_4)(int, int);
59 typedef void (* function_pointer_type_5)(int_ptr _Nonnull);
Dwarn-type-safety.c154 void test_64bit_magic(int *int_ptr, float *float_ptr) in test_64bit_magic() argument
156 F_func(int_ptr, 0xFFFFFFFFFFFFFFFFULL); in test_64bit_magic()
157 …F_func(int_ptr, 0xFFFFFFFFULL); // expected-warning {{argument type 'int *' doesn't matc… in test_64bit_magic()
Ddesignated-initializers.c212 int *int_ptr; member
/external/clang/test/SemaCXX/
Daddress-space-conversion.cpp13 typedef int *int_ptr; typedef
25 void test_const_cast(int_ptr ip, int_ptr_1 ip1, int_ptr_2 ip2, in test_const_cast()
31 (void)const_cast<int_ptr>(ip1); // expected-error{{is not allowed}} in test_const_cast()
32 (void)const_cast<int_ptr>(ip2); // expected-error{{is not allowed}} in test_const_cast()
46 (void)const_cast<int_ptr>(cip); in test_const_cast()
/external/tensorflow/tensorflow/core/util/
Dmkl_util_test.cc107 int* int_ptr = lru_cache.GetOp(std::to_string(k)); in TEST() local
108 EXPECT_NE(nullptr, int_ptr); in TEST()
109 EXPECT_EQ(*int_ptr, k); in TEST()
/external/clang/test/SemaTemplate/
Dext-vector-type.cpp42 typedef int* int_ptr; typedef
45 …typedef int_ptr __attribute__((ext_vector_type(Length))) type; // expected-error{{invalid vector e…
Dtemp_class_spec.cpp77 typedef INT* int_ptr; typedef
82 int is_same3[is_same<int_ptr, int>::value? -1 : 1];
/external/clang/test/Index/
Dload-stmts.cpp37 Integer *int_ptr; in test_exprs() local
38 int_ptr->Integer::~Integer(); in test_exprs()
/external/spirv-llvm/test/SPIRV/
DAtomicCompareExchange_cl20.ll14 ; CHECK: 4 TypePointer [[int_ptr:[0-9]+]] 8 [[int]]
19 ; CHECK: FunctionParameter [[int_ptr]] [[Pointer]]
20 ; CHECK: FunctionParameter [[int_ptr]] [[ComparatorPtr]]
DAtomicCompareExchange_cl12.ll14 ; CHECK: 4 TypePointer [[int_ptr:[0-9]+]] 5 [[int]]
18 ; CHECK: FunctionParameter [[int_ptr]] [[Pointer]]
/external/compiler-rt/lib/asan/tests/
Dasan_interface_test.cc31 int *int_ptr = Ident(new int); in TEST() local
37 EXPECT_EQ(true, __sanitizer_get_ownership(int_ptr)); in TEST()
38 EXPECT_EQ(sizeof(int), __sanitizer_get_allocated_size(int_ptr)); in TEST()
61 delete int_ptr; in TEST()
Dasan_test.cc397 int *int_ptr = new int[0]; in TEST() local
399 EXPECT_TRUE(NULL != int_ptr); in TEST()
401 EXPECT_NE(int_ptr, int_ptr2); in TEST()
402 delete[] int_ptr; in TEST()
413 int *int_ptr = Ident(new int); in TEST() local
416 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); in TEST()
422 delete int_ptr; in TEST()
/external/clang/test/CodeGen/
Dmips-transparent-union.c13 int *int_ptr; member
/external/clang/test/Modules/
Dsubmodules.cpp10 remove_reference<int&>::type *int_ptr = 0; // expected-error{{declaration of 'remove_reference' mus… variable
/external/clang/test/SemaObjCXX/
Dnullability-pragmas.mm35 …ptr = f13(); // expected-error{{assigning to 'float *' from incompatible type 'int_ptr _Nonnull' (…
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc4329 int *int_ptr = new int; in TEST() local
4334 EXPECT_TRUE(__sanitizer_get_ownership(int_ptr)); in TEST()
4335 EXPECT_EQ(sizeof(*int_ptr), __sanitizer_get_allocated_size(int_ptr)); in TEST()
4352 delete int_ptr; in TEST()
4390 int *int_ptr = Ident(new int); in TEST() local
4393 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); in TEST()
4395 delete int_ptr; in TEST()
/external/libopus/
Dconfigure.ac58 [[typedef int * int_ptr;
59 int foo (int_ptr $ac_kw ip, int * $ac_kw baz[]) {
/external/e2fsprogs/ext2ed/
Dgeneral_com.c361 unsigned short *int_ptr; in set() local
/external/libchrome/base/
Dvalues_unittest.cc915 Value* int_ptr = dict.SetInteger("foo.bar", 42); in TEST() local
916 EXPECT_EQ(Value::Type::INTEGER, int_ptr->type()); in TEST()
917 EXPECT_EQ(42, int_ptr->GetInt()); in TEST()
/external/stressapptest/
Dconfigure5442 typedef int * int_ptr;
5443 int foo (int_ptr $ac_kw ip) {

12