Home
last modified time | relevance | path

Searched refs:Ident (Results 1 – 25 of 218) sorted by relevance

123456789

/external/compiler-rt/lib/asan/tests/
Dasan_str_test.cc67 EXPECT_DEATH(Ident(strlen(str - 1)), LeftOOBReadMessage(oob_kind, 1)); in StrLenOOBTestTemplate()
68 EXPECT_DEATH(Ident(strlen(str - 5)), LeftOOBReadMessage(oob_kind, 5)); in StrLenOOBTestTemplate()
70 EXPECT_DEATH(Ident(strlen(str + length + 1)), in StrLenOOBTestTemplate()
75 EXPECT_DEATH(Ident(strlen(str)), RightOOBReadMessage(oob_kind, 0)); in StrLenOOBTestTemplate()
76 EXPECT_DEATH(Ident(strlen(str + length)), RightOOBReadMessage(oob_kind, 0)); in StrLenOOBTestTemplate()
82 size_t length = Ident(10); in TEST()
83 char *heap_string = Ident((char*)malloc(length + 1)); in TEST()
99 EXPECT_EQ(0U, wcslen(Ident(L""))); in TEST()
102 EXPECT_EQ(hello_len, wcslen(Ident(L"Hello, World!"))); in TEST()
103 wchar_t *heap_string = Ident((wchar_t*)malloc(hello_size)); in TEST()
[all …]
Dasan_test.cc102 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 …]
Dasan_mem_test.cc18 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 …]
Dasan_interface_test.cc30 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 …]
/external/syzkaller/pkg/ast/
Dast.go69 Name *Ident
79 Name *Ident
90 Name *Ident
103 Name *Ident
120 Name *Ident
130 Name *Ident
140 Name *Ident
143 Args []*Ident
154 type Ident struct { struct
159 func (n *Ident) Info() (Pos, string, string) { argument
[all …]
Dclone.go44 Name: n.Name.Clone().(*Ident),
52 Name: n.Name.Clone().(*Ident),
59 var args []*Ident
61 args = append(args, v.Clone().(*Ident))
73 Name: n.Name.Clone().(*Ident),
87 Name: n.Name.Clone().(*Ident),
98 Name: n.Name.Clone().(*Ident),
109 Name: n.Name.Clone().(*Ident),
121 Name: n.Name.Clone().(*Ident),
126 func (n *Ident) Clone() Node {
[all …]
Dparser.go256 var args []*Ident
265 emptyName := &Ident{
285 func (p *parser) parseCall(name *Ident) *Call {
312 func (p *parser) parseFlags(name *Ident) Node {
325 func (p *parser) parseIntFlags(name *Ident) *IntFlags {
337 func (p *parser) parseStrFlags(name *Ident) *StrFlags {
349 func (p *parser) parseStruct(name *Ident) *Struct {
419 arg.Ident = p.lit
456 func (p *parser) parseIdent() *Ident {
458 ident := &Ident{
[all …]
/external/syzkaller/pkg/compiler/
Dcompiler.go175 switch attr.Ident {
178 comp.error(attr.Pos, "%v attribute has args", attr.Ident)
185 n.Name.Name, attr.Ident)
195 case attr.Ident == "packed":
197 comp.error(attr.Pos, "%v attribute has args", attr.Ident)
200 case attr.Ident == "align_ptr":
202 comp.error(attr.Pos, "%v attribute has args", attr.Ident)
205 case strings.HasPrefix(attr.Ident, "align_"):
207 comp.error(attr.Pos, "%v attribute has args", attr.Ident)
209 a, err := strconv.ParseUint(attr.Ident[6:], 10, 64)
[all …]
Dcheck.go268 if attr.Ident == "size" {
300 s := comp.structs[t.Ident]
319 comp.checkLenTarget(t, name, arg.Ident, fields, parents)
328 comp.error(t.Pos, "%v target %v refer to itself", t.Ident, target)
333 comp.error(t.Pos, "%v target %v does not exist", t.Ident, target)
342 comp.error(t.Pos, "%v target %v refer to itself", t.Ident, target)
344 if t.Ident == "len" {
371 comp.error(t.Pos, "%v target %v does not exist", t.Ident, target)
398 r := comp.resources[t.Ident]
401 r = comp.resources[r.Base.Ident]
[all …]
Dtypes.go77 size, be := comp.parseIntType(t.Ident)
100 if t.Ident == "ptr64" {
195 switch t.Ident {
199 byteSize, _ := strconv.ParseUint(t.Ident[8:], 10, 8)
206 Buf: args[0].Ident,
239 name := args[0].Ident
270 if comp.intFlags[t.Ident] == nil {
271 comp.error(t.Pos, "unknown flags %v", t.Ident)
331 Buf: args[0].Ident,
344 switch t.Ident {
[all …]
Dconsts.go52 case n.Value.Ident != "":
53 v = n.Value.Ident
72 if arg.Ident != "" {
74 info.consts[arg.Ident] = true
90 if attr.Ident == "size" {
92 info.consts[attr.Args[0].Ident] = true
101 info.consts[n.Ident] = true
173 if comp.patchIntConst(&v.Value, &v.Ident, consts, nil) {
185 comp.patchIntConst(&arg.Value, &arg.Ident, consts, &missing)
195 comp.patchIntConst(&v.Value, &v.Ident, consts, &missing)
[all …]
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.elab/
Dtemplateid.cpp8 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/turbine/java/com/google/turbine/tree/
DTree.java89 public static class Ident extends Tree { class in Tree
93 public Ident(int position, String value) { in Ident() method in Tree.Ident
255 private final Ident name;
261 Ident name, in ClassTy()
290 public Ident name() { in name()
428 private final ImmutableList<Ident> name;
430 public ConstVarName(int position, ImmutableList<Ident> name) { in ConstVarName()
445 public ImmutableList<Ident> name() { in name()
477 private final Ident name;
480 public Assign(int position, Ident name, Expression expr) { in Assign()
[all …]
/external/turbine/javatests/com/google/turbine/binder/
DJimageClassBinderTest.java28 import com.google.turbine.tree.Tree.Ident;
55 .lookup(new LookupKey(ImmutableList.of(new Ident(-1, "Object")))); in testDefaultJimage()
63 .lookup(new LookupKey(ImmutableList.of(new Ident(-1, "Map"), new Ident(-1, "Entry")))); in testDefaultJimage()
74 new Ident(-1, "java"), in testDefaultJimage()
75 new Ident(-1, "util"), in testDefaultJimage()
76 new Ident(-1, "Map"), in testDefaultJimage()
77 new Ident(-1, "Entry")))); in testDefaultJimage()
/external/u-boot/scripts/
Dcheckpatch.pl336 our $Ident = qr{
388 our $Member = qr{->$Ident|\.$Ident|\[[^]]*\]};
389 our $Lval = qr{$Ident(?:$Member)*};
508 qr{struct\s+$Ident},
509 qr{union\s+$Ident},
510 qr{enum\s+$Ident},
511 qr{${Ident}_t},
512 qr{${Ident}_handler},
513 qr{${Ident}_handler_fn},
541 qr{struct\s+$InitAttribute\s+$Ident},
[all …]
/external/llvm/lib/Object/
DELFObjectFile.cpp25 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/turbine/java/com/google/turbine/binder/lookup/
DLookupKey.java21 import com.google.turbine.tree.Tree.Ident;
30 private final ImmutableList<Ident> simpleNames;
32 public LookupKey(ImmutableList<Ident> simpleNames) { in LookupKey()
37 public Ident first() { in first()
66 public ImmutableList<Ident> simpleNames() { in simpleNames()
/external/apache-commons-bcel/src/examples/Mini/
DMini.bnf5 "FUN" Ident "=" Expr
16 Ident
30 Ident "(" [Expr ("," Expr)*] ")"
44 Ident:
71 Ident
DMini.jjt70 /* "FUN" Ident() "(" NameList() ")" = Expr()
80 Ident()
84 Ident() (<COMMA> Ident())*
128 (Ident() <ASSIGN> Expr())+ "IN" Expr()
136 t = Ident() { jjtThis.setPosition(t.beginLine, t.beginColumn); }
168 expr_token = Ident()
189 Token Ident() :
/external/turbine/java/com/google/turbine/parse/
DParser.java41 import com.google.turbine.tree.Tree.Ident;
186 Ident ident = ident(); in compilationUnit()
218 Ident name = eatIdent(); in interfaceDeclaration()
250 Ident name = eatIdent(); in annotationDeclaration()
269 Ident name = eatIdent(); in enumDeclaration()
343 private String flatname(char join, ImmutableList<Ident> idents) { in flatname()
346 for (Ident ident : idents) { in flatname()
413 ImmutableList<Ident> uses = qualIdent(); in moduleUses()
420 ImmutableList<Ident> typeName = qualIdent(); in moduleProvides()
424 ImmutableList.Builder<ImmutableList<Ident>> implNames = ImmutableList.builder(); in moduleProvides()
[all …]
/external/clang/lib/Sema/
DSemaStmtAttr.cpp63 bool PragmaUnroll = PragmaNameLoc->Ident->getName() == "unroll"; in handleLoopHintAttr()
64 bool PragmaNoUnroll = PragmaNameLoc->Ident->getName() == "nounroll"; in handleLoopHintAttr()
70 llvm::StringSwitch<const char *>(PragmaNameLoc->Ident->getName()) in handleLoopHintAttr()
100 assert(OptionLoc && OptionLoc->Ident && in handleLoopHintAttr()
103 OptionLoc->Ident->getName()) in handleLoopHintAttr()
123 assert(StateLoc && StateLoc->Ident && "Loop hint must have an argument"); in handleLoopHintAttr()
124 if (StateLoc->Ident->isStr("disable")) in handleLoopHintAttr()
126 else if (StateLoc->Ident->isStr("assume_safety")) in handleLoopHintAttr()
128 else if (StateLoc->Ident->isStr("full")) in handleLoopHintAttr()
130 else if (StateLoc->Ident->isStr("enable")) in handleLoopHintAttr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DELFObjectFile.cpp51 std::pair<unsigned char, unsigned char> Ident = in createELFObjectFile() local
59 if (Ident.first == ELF::ELFCLASS32) { in createELFObjectFile()
60 if (Ident.second == ELF::ELFDATA2LSB) in createELFObjectFile()
62 else if (Ident.second == ELF::ELFDATA2MSB) in createELFObjectFile()
66 } else if (Ident.first == ELF::ELFCLASS64) { in createELFObjectFile()
67 if (Ident.second == ELF::ELFDATA2LSB) in createELFObjectFile()
69 else if (Ident.second == ELF::ELFDATA2MSB) in createELFObjectFile()
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dparser.y197 %type <atom> FieldSpec Ident Element String
384 | Ident SEMI
386 | EXCLAM Ident SEMI
409 VModDef : Ident
411 | Ident EQUALS Expr
456 | Ident { $$ = BoolVarCreate($1, true); }
457 | EXCLAM Ident { $$ = BoolVarCreate($2, false); }
471 ModMapDecl : MODIFIER_MAP Ident OBRACE ExprList CBRACE SEMI
549 | Ident EQUALS OBRACE CoordList CBRACE
551 | Ident EQUALS Expr
[all …]
/external/turbine/java/com/google/turbine/binder/
DResolve.java47 Tree.Ident simpleName) { in resolve()
55 Tree.Ident simpleName, in resolve()
93 public ClassSymbol resolveOne(ClassSymbol base, Tree.Ident name) { in resolveFunction()
116 public ClassSymbol resolveOne(ClassSymbol sym, Tree.Ident bit) {
154 Env<ClassSymbol, TypeBoundClass> env, ClassSymbol origin, ClassSymbol sym, Tree.Ident name) {
162 Tree.Ident name,
/external/syzkaller/prog/
Dencoding.go204 name := p.Ident()
209 name = p.Ident()
285 r = p.Ident()
337 val := p.Ident()
359 id := p.Ident()
363 op := p.Ident()
372 op := p.Ident()
441 sizeStr := p.Ident()
533 name := p.Ident()
618 pstr := p.Ident()
[all …]

123456789