Searched refs:HasAttrs (Results 1 – 14 of 14) sorted by relevance
/external/starlark-go/starlarkstruct/ |
D | module.go | 19 var _ starlark.HasAttrs = (*Module)(nil)
|
D | struct.go | 122 _ starlark.HasAttrs = (*Struct)(nil)
|
/external/tensorflow/tensorflow/go/genop/internal/ |
D | genop.go | 312 {{if .HasAttrs -}} 327 {{- if .HasAttrs}} 467 func (a *tmplArgs) HasAttrs() bool { return len(a.RequiredAttrs)+len(a.OptionalAttrs) > 0 } func
|
/external/starlark-go/starlark/ |
D | value.go | 314 type HasAttrs interface { interface 321 _ HasAttrs = String("") 322 _ HasAttrs = new(List) 323 _ HasAttrs = new(Dict) 324 _ HasAttrs = new(Set) 333 HasAttrs
|
D | library.go | 288 if x, ok := args[0].(HasAttrs); ok { 428 if object, ok := object.(HasAttrs); ok { 456 if object, ok := object.(HasAttrs); ok {
|
D | eval_test.go | 219 _ starlark.HasAttrs = (*hasfields)(nil)
|
D | eval.go | 583 hasAttr, ok := x.(HasAttrs)
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 266 unsigned HasAttrs : 1; variable 337 HasAttrs(false), Implicit(false), Used(false), Referenced(false), in Decl() 347 HasAttrs(false), Implicit(false), Used(false), Referenced(false), in Decl() 440 bool hasAttrs() const { return HasAttrs; } in hasAttrs() 473 if (!HasAttrs) return; in dropAttr() 479 HasAttrs = false; in dropAttr()
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclBase.h | 291 unsigned HasAttrs : 1; variable 382 DeclCtx(DC), Loc(L), DeclKind(DK), InvalidDecl(false), HasAttrs(false), in Decl() 391 : DeclKind(DK), InvalidDecl(false), HasAttrs(false), Implicit(false), in Decl() 489 bool hasAttrs() const { return HasAttrs; } in hasAttrs() 519 if (!HasAttrs) return; in dropAttr() 525 HasAttrs = false; in dropAttr()
|
/external/starlark-go/lib/proto/ |
D | proto.go | 954 var _ starlark.HasAttrs = FileDescriptor{} 1007 _ starlark.HasAttrs = MessageDescriptor{} 1063 _ starlark.HasAttrs = FieldDescriptor{} 1102 _ starlark.HasAttrs = EnumDescriptor{} 1193 _ starlark.HasAttrs = EnumValueDescriptor{}
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 705 assert(!HasAttrs && "Decl already contains attrs."); in setAttrsImpl() 711 HasAttrs = true; in setAttrsImpl() 715 if (!HasAttrs) return; in dropAttrs() 717 HasAttrs = false; in dropAttrs() 722 assert(HasAttrs && "No attrs to get!"); in getAttrs()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclBase.cpp | 866 assert(!HasAttrs && "Decl already contains attrs."); in setAttrsImpl() 872 HasAttrs = true; in setAttrsImpl() 876 if (!HasAttrs) return; in dropAttrs() 878 HasAttrs = false; in dropAttrs() 906 assert(HasAttrs && "No attrs to get!"); in getAttrs()
|
/external/starlark-go/starlark/testdata/ |
D | json.star | 25 assert.eq(json.encode(struct(x = 1, y = "two")), '{"x":1,"y":"two"}') # a user-defined HasAttrs
|
/external/starlark-go/starlarkjson/ |
D | json.go | 178 case starlark.HasAttrs:
|