Home
last modified time | relevance | path

Searched refs:HasAttrs (Results 1 – 14 of 14) sorted by relevance

/external/starlark-go/starlarkstruct/
Dmodule.go19 var _ starlark.HasAttrs = (*Module)(nil)
Dstruct.go122 _ starlark.HasAttrs = (*Struct)(nil)
/external/tensorflow/tensorflow/go/genop/internal/
Dgenop.go312 {{if .HasAttrs -}}
327 {{- if .HasAttrs}}
467 func (a *tmplArgs) HasAttrs() bool { return len(a.RequiredAttrs)+len(a.OptionalAttrs) > 0 } func
/external/starlark-go/starlark/
Dvalue.go314 type HasAttrs interface { interface
321 _ HasAttrs = String("")
322 _ HasAttrs = new(List)
323 _ HasAttrs = new(Dict)
324 _ HasAttrs = new(Set)
333 HasAttrs
Dlibrary.go288 if x, ok := args[0].(HasAttrs); ok {
428 if object, ok := object.(HasAttrs); ok {
456 if object, ok := object.(HasAttrs); ok {
Deval_test.go219 _ starlark.HasAttrs = (*hasfields)(nil)
Deval.go583 hasAttr, ok := x.(HasAttrs)
/external/clang/include/clang/AST/
DDeclBase.h266 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/
DDeclBase.h291 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/
Dproto.go954 var _ starlark.HasAttrs = FileDescriptor{}
1007 _ starlark.HasAttrs = MessageDescriptor{}
1063 _ starlark.HasAttrs = FieldDescriptor{}
1102 _ starlark.HasAttrs = EnumDescriptor{}
1193 _ starlark.HasAttrs = EnumValueDescriptor{}
/external/clang/lib/AST/
DDeclBase.cpp705 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/
DDeclBase.cpp866 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/
Djson.star25 assert.eq(json.encode(struct(x = 1, y = "two")), '{"x":1,"y":"two"}') # a user-defined HasAttrs
/external/starlark-go/starlarkjson/
Djson.go178 case starlark.HasAttrs: