/external/compiler-rt/lib/asan/tests/ |
D | asan_str_test.cc | 36 EXPECT_DEATH(Ident(strlen(str - 1)), LeftOOBReadMessage(1)); in StrLenOOBTestTemplate() 37 EXPECT_DEATH(Ident(strlen(str - 5)), LeftOOBReadMessage(5)); in StrLenOOBTestTemplate() 39 EXPECT_DEATH(Ident(strlen(str + length + 1)), RightOOBReadMessage(0)); in StrLenOOBTestTemplate() 43 EXPECT_DEATH(Ident(strlen(str)), RightOOBReadMessage(0)); in StrLenOOBTestTemplate() 44 EXPECT_DEATH(Ident(strlen(str + length)), RightOOBReadMessage(0)); in StrLenOOBTestTemplate() 50 size_t length = Ident(10); in TEST() 51 char *heap_string = Ident((char*)malloc(length + 1)); in TEST() 69 EXPECT_EQ(0U, wcslen(Ident(L""))); in TEST() 72 EXPECT_EQ(hello_len, wcslen(Ident(L"Hello, World!"))); in TEST() 73 wchar_t *heap_string = Ident((wchar_t*)malloc(hello_size)); in TEST() [all …]
|
D | asan_test.cc | 102 char *x = Ident((char*)calloc(1, size)); in TEST() 109 free(Ident(x)); in TEST() 113 free(Ident(malloc(Ident(1 << 27)))); // Try to drain the quarantine. in TEST() 186 long double *p = Ident(new long double[10]); in TEST() 187 EXPECT_DEATH(Ident(p)[12] = 0, "WRITE of size 1[026]"); in TEST() 188 EXPECT_DEATH(Ident(p)[0] = Ident(p)[12], "READ of size 1[026]"); in TEST() 189 delete [] Ident(p); in TEST() 208 Packed5 *p = Ident(new Packed5[2]); in TEST() 211 delete [] Ident(p); in TEST() 216 int *x = Ident(new int); in TEST() [all …]
|
D | asan_mem_test.cc | 18 size_t size = Ident(sizeof(T) * length); in MemSetOOBTestTemplate() 19 T *array = Ident((T*)malloc(size)); in MemSetOOBTestTemplate() 20 int element = Ident(42); in MemSetOOBTestTemplate() 21 int zero = Ident(0); in MemSetOOBTestTemplate() 22 void *(*MEMSET)(void *s, int c, size_t n) = Ident(memset); in MemSetOOBTestTemplate() 108 if (!Ident(AllocateTwoAdjacentArrays)(&x1, &x2, size)) in TEST() 112 EXPECT_DEATH(Ident(memset)(x1, 0, size * 2), in TEST() 125 size_t size = Ident(sizeof(T) * length); in MemTransferOOBTestTemplate() 126 T *src = Ident((T*)malloc(size)); in MemTransferOOBTestTemplate() 127 T *dest = Ident((T*)malloc(size)); in MemTransferOOBTestTemplate() [all …]
|
D | asan_interface_test.cc | 30 char *array = Ident((char*)malloc(kArraySize)); in TEST() 31 int *int_ptr = Ident(new int); in TEST() 63 void *zero_alloc = Ident(malloc(0)); in TEST() 80 array = Ident((char*)malloc(kMallocSize)); in TEST() 94 free(Ident(malloc(kLargeMallocSize))); // Drain quarantine. in TEST() 98 free(Ident(malloc(kLargeMallocSize))); in TEST() 112 free(Ident(malloc(kManyThreadsMallocSizes[size_index]))); in ManyThreadsWithStatsWorker() 116 free(Ident(malloc(1 << 20))); in ManyThreadsWithStatsWorker() 138 int *x = Ident(new int); in DoDoubleFree() 139 delete Ident(x); in DoDoubleFree() [all …]
|
D | asan_benchmarks_test.cc | 74 Ident(stack); in FunctionWithLargeStack() 79 Ident(&FunctionWithLargeStack)(); in TEST()
|
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.elab/ |
D | templateid.cpp | 8 template <typename> class Ident {}; // expected-note {{previous use is here}} class 11 template <typename> void Ident(); 13 class Ident<int> AIdent; // expected-error {{refers to a function template}} 14 class ::Ident<int> AnotherIdent; 17 class Ident<int> GlobalIdent; 18 union Ident<int> GlobalIdent2; // expected-error {{ tag type that does not match }}
|
/external/llvm/lib/Object/ |
D | ELFObjectFile.cpp | 25 std::pair<unsigned char, unsigned char> Ident = in createELFObjectFile() local 35 if (Ident.first == ELF::ELFCLASS32) { in createELFObjectFile() 36 if (Ident.second == ELF::ELFDATA2LSB) in createELFObjectFile() 38 else if (Ident.second == ELF::ELFDATA2MSB) in createELFObjectFile() 42 } else if (Ident.first == ELF::ELFCLASS64) { in createELFObjectFile() 43 if (Ident.second == ELF::ELFDATA2LSB) in createELFObjectFile() 45 else if (Ident.second == ELF::ELFDATA2MSB) in createELFObjectFile()
|
/external/clang/lib/Sema/ |
D | SemaStmtAttr.cpp | 53 bool PragmaUnroll = PragmaNameLoc->Ident->getName() == "unroll"; in handleLoopHintAttr() 54 bool PragmaNoUnroll = PragmaNameLoc->Ident->getName() == "nounroll"; in handleLoopHintAttr() 60 llvm::StringSwitch<const char *>(PragmaNameLoc->Ident->getName()) in handleLoopHintAttr() 90 assert(OptionLoc && OptionLoc->Ident && in handleLoopHintAttr() 93 OptionLoc->Ident->getName()) in handleLoopHintAttr() 111 assert(StateLoc && StateLoc->Ident && "Loop hint must have an argument"); in handleLoopHintAttr() 112 if (StateLoc->Ident->isStr("disable")) in handleLoopHintAttr() 114 else if (StateLoc->Ident->isStr("assume_safety")) in handleLoopHintAttr() 116 else if (StateLoc->Ident->isStr("full")) in handleLoopHintAttr() 118 else if (StateLoc->Ident->isStr("enable")) in handleLoopHintAttr()
|
D | AttributeList.cpp | 27 IdentifierInfo *Ident) { in create() argument 30 Result->Ident = Ident; in create()
|
D | SemaDeclAttr.cpp | 248 IdentifierInfo *Ident) { in checkAttrMutualExclusion() argument 250 S.Diag(Range.getBegin(), diag::err_attributes_are_not_compatible) << Ident in checkAttrMutualExclusion() 320 Str = Loc->Ident->getName(); in checkStringLiteralArgumentAttr() 854 if (!ConsumableAttr::ConvertStrToConsumedState(IL->Ident->getName(), in handleConsumableAttr() 857 << Attr.getName() << IL->Ident; in handleConsumableAttr() 905 IdentifierLoc *Ident = Attr.getArgAsIdent(ArgIndex); in handleCallableWhenAttr() local 906 StateString = Ident->Ident->getName(); in handleCallableWhenAttr() 907 Loc = Ident->Loc; in handleCallableWhenAttr() 934 IdentifierLoc *Ident = Attr.getArgAsIdent(0); in handleParamTypestateAttr() local 935 StringRef StateString = Ident->Ident->getName(); in handleParamTypestateAttr() [all …]
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | stack-use-after-return.cc | 33 char *Ident(char *x) { in Ident() function 41 return Ident(local); in Func1()
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
D | parser.ml | 29 | [< 'Token.Ident id; stream >] -> 59 'Token.Ident id ?? "expected identifier after for"; 89 'Token.Ident id ?? "expected identifier after var"; 153 'Token.Ident id ?? "expected identifier list after var"; 169 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e 181 | [< 'Token.Ident id;
|
D | token.ml | 12 | Ident of string | Number of float Constructor
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
D | parser.ml | 28 | [< 'Token.Ident id; stream >] -> 58 'Token.Ident id ?? "expected identifier after for"; 130 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e 135 | [< 'Token.Ident id;
|
D | token.ml | 12 | Ident of string | Number of float Constructor
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
D | parser.ml | 26 | [< 'Token.Ident id; stream >] -> 94 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e 99 | [< 'Token.Ident id;
|
D | token.ml | 12 | Ident of string | Number of float Constructor
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
D | parser.ml | 26 | [< 'Token.Ident id; stream >] -> 94 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e 99 | [< 'Token.Ident id;
|
D | token.ml | 12 | Ident of string | Number of float Constructor
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
D | parser.ml | 26 | [< 'Token.Ident id; stream >] -> 94 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e 99 | [< 'Token.Ident id;
|
D | token.ml | 12 | Ident of string | Number of float Constructor
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
D | parser.ml | 28 | [< 'Token.Ident id; stream >] -> 58 'Token.Ident id ?? "expected identifier after for"; 143 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e 155 | [< 'Token.Ident id;
|
D | token.ml | 12 | Ident of string | Number of float Constructor
|
/external/clang/lib/AST/ |
D | CommentParser.cpp | 444 Token Ident = Tok; in parseHTMLStartTag() local 447 Attrs.push_back(HTMLStartTagComment::Attribute(Ident.getLocation(), in parseHTMLStartTag() 448 Ident.getHTMLIdent())); in parseHTMLStartTag() 457 Attrs.push_back(HTMLStartTagComment::Attribute(Ident.getLocation(), in parseHTMLStartTag() 458 Ident.getHTMLIdent())); in parseHTMLStartTag() 465 Ident.getLocation(), in parseHTMLStartTag() 466 Ident.getHTMLIdent(), in parseHTMLStartTag()
|
/external/clang/include/clang/Lex/ |
D | PPCallbacks.h | 158 virtual void Ident(SourceLocation Loc, StringRef str) { in Ident() function 377 void Ident(SourceLocation Loc, StringRef str) override { in Ident() function 378 First->Ident(Loc, str); in Ident() 379 Second->Ident(Loc, str); in Ident()
|