HomeSort by relevance Sort by last modified time
    Searched refs:Arr (Results 1 - 25 of 32) sorted by null

1 2

  /external/clang/test/Sema/
warn-sizeof-arrayarg.c 3 typedef int Arr[10];
7 void f(int a[10], Arr arr) { // \
20 (void)sizeof arr; // \
21 // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'Arr' (aka 'int [10]')}}
26 Arr brr;
28 (void)sizeof(Arr);
scope-check.c 62 for (int arr[x]; // expected-note {{jump bypasses initialization of variable length array}}
173 int Arr[n]; // expected-note {{jump bypasses initialization of variable length array}}
189 int Arr[n]; // expected-note {{jump bypasses initialization of variable length array}}
  /external/clang/test/CodeGen/
2005-01-02-ConstantInits.c 15 int Arr[100];
17 int foo(int i) { return bar(&Arr[49])+bar(&Arr[i]); }
19 static const int *X = &Arr[49];
21 int *P = Arr;
23 return bar(Arr+i);
2002-03-12-ArrayInitialization.c 11 void *Arr[5] = { 0, 0 };
init.c 80 int Arr[100] = { X }; // Should use memset
81 bar(Arr);
  /external/clang/test/SemaCXX/
warn-large-by-value-copy.cpp 19 typedef int Arr[200];
20 void farr(Arr a) { }
constant-expression-cxx11.cpp 536 constexpr int arr[40] = { 1, 2, 3, [8] = 4 }; // expected-warning {{C99 feature}}
543 static_assert(SumNonzero(arr) == 6, "");
544 static_assert(CountZero(arr, arr + 40) == 36, "");
675 struct Arr {
676 char arr[3];
677 constexpr Arr() : arr{'x', 'y', 'z'} {}
679 constexpr int hash(Arr &&a) {
680 return a.arr[0] + a.arr[1] * 0x100 + a.arr[2] * 0x10000
    [all...]
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
UT_array_alloc.java 37 Allocation[] Arr = new Allocation[dimX];
42 Arr[i] = A;
44 s.set_a(Arr);
  /frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
UT_array_alloc.java 37 Allocation[] Arr = new Allocation[dimX];
42 Arr[i] = A;
44 s.set_a(Arr);
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
UT_array_alloc.java 37 Allocation[] Arr = new Allocation[dimX];
42 Arr[i] = A;
44 s.set_a(Arr);
  /external/clang/test/PCH/
variables.c 45 int *Arr[] = { &a0, &a1, &a2 };
  /external/clang/test/SemaTemplate/
alias-church-numerals.cpp 34 using Arr = int[TwoHundredAndFiftySix<Increment, Const<int, 0>>::value];
35 using Arr = int[256];
instantiate-expr-4.cpp 289 UnresolvedMemRefArray Arr[10];
291 return Arr->f(u);
  /external/llvm/include/llvm/ADT/
ArrayRef.h 83 /*implicit*/ LLVM_CONSTEXPR ArrayRef(const T (&Arr)[N])
84 : Data(Arr), Length(N) {}
234 /*implicit*/ LLVM_CONSTEXPR MutableArrayRef(T (&Arr)[N])
235 : ArrayRef<T>(Arr) {}
320 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) {
321 return ArrayRef<T>(Arr);
  /external/clang/lib/Tooling/
CompilationDatabase.cpp 174 // S2 in Arr where S1 == S2?"
176 MatchesAny(ArrayRef<std::string> Arr) : Arr(Arr) {}
178 for (const std::string *I = Arr.begin(), *E = Arr.end(); I != E; ++I)
184 ArrayRef<std::string> Arr;
  /external/clang/include/clang/AST/
APValue.h 86 struct Arr {
89 Arr(unsigned NumElts, unsigned ArrSize);
90 ~Arr();
113 ComplexAPFloat, Vec, Arr, StructData,
274 return ((Arr*)(char*)Data.buffer)->Elts[I];
285 return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()];
292 return ((const Arr*)(const void *)Data.buffer)->NumElts;
296 return ((const Arr*)(const void *)Data.buffer)->ArrSize;
StmtOpenMP.h 110 filtered_clause_iterator(ArrayRef<OMPClause *> Arr, FilterPredicate Pred)
111 : Current(Arr.begin()), End(Arr.end()), Pred(Pred) {
137 linear_filter(ArrayRef<OMPClause *> Arr)
138 : filtered_clause_iterator(Arr, [](const OMPClause *C)->bool {
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
InstrProfiling.cpp 186 auto *Arr = cast<ConstantDataArray>(Inc->getName()->getInitializer());
187 StringRef Name = Arr->isCString() ? Arr->getAsCString() : Arr->getAsString();
  /external/clang/lib/AST/
APValue.cpp 108 APValue::Arr::Arr(unsigned NumElts, unsigned Size) :
111 APValue::Arr::~Arr() { delete [] Elts; }
203 ((Arr*)(char*)Data.buffer)->~Arr();
638 new ((void*)(char*)Data.buffer) Arr(InitElts, Size);
  /external/llvm/unittests/ADT/
SmallVectorTest.cpp 561 Constructable Arr[3] =
566 auto I = this->theVector.insert(this->theVector.begin() + 1, Arr, Arr + 3);
586 Constructable Arr[3] =
593 auto I = this->theVector.insert(this->theVector.end(), Arr, Arr+3);
  /external/clang/include/clang/Sema/
DeclSpec.h     [all...]
  /external/clang/lib/ARCMigrate/
TransGCAttrs.cpp 72 } else if (ArrayTypeLoc Arr = TL.getAs<ArrayTypeLoc>()) {
73 TL = Arr.getElementLoc();
  /external/clang/test/CXX/drs/
dr1xx.cpp 84 typedef T Arr[1];
88 const Arr a3 = {};
89 volatile Arr a4 = {};
  /external/clang/lib/Sema/
SemaTemplateVariadic.cpp 757 if (Chunk.Arr.NumElts &&
758 Chunk.Arr.NumElts->containsUnexpandedParameterPack())
    [all...]
  /external/clang/unittests/Basic/
VirtualFileSystemTest.cpp 352 std::vector<StringRef> makeStringRefVector(const T (&Arr)[N]) {
355 Vec.push_back(Arr[i]);
    [all...]

Completed in 872 milliseconds

1 2