Home
last modified time | relevance | path

Searched refs:IsNil (Results 1 – 25 of 93) sorted by relevance

1234

/external/golang-protobuf/proto/
Dequal.go81 if v1.IsNil() {
82 return v2.IsNil()
84 if v2.IsNil() {
105 if n1, n2 := f1.IsNil(), f2.IsNil(); n1 && n2 {
160 n1, n2 := v1.IsNil(), v2.IsNil()
186 if v1.IsNil() && v2.IsNil() {
189 if v1.IsNil() != v2.IsNil() {
202 if v1.IsNil() != v2.IsNil() {
Dclone.go47 if in.IsNil() {
85 if out.IsNil() {
91 if in.IsNil() {
137 if !in.IsNil() {
138 if out.IsNil() {
155 if in.IsNil() {
160 if out.IsNil() || out.Elem().Type() != in.Elem().Type() {
168 if out.IsNil() {
188 if in.IsNil() {
191 if out.IsNil() {
[all …]
Ddiscard.go225 if !su.IsNil() {
227 if sv.Kind() == reflect.Ptr && sv.IsNil() {
256 if v.Kind() != reflect.Ptr || v.IsNil() {
318 if !vf.IsNil() && f.Tag.Get("protobuf_oneof") != "" {
320 if !vf.IsNil() {
Dtext.go276 if name == "XXX_unrecognized" && !fv.IsNil() {
283 if fv.Kind() == reflect.Ptr && fv.IsNil() {
289 if fv.Kind() == reflect.Slice && fv.IsNil() {
306 if v.Kind() == reflect.Ptr && v.IsNil() {
363 if val.Kind() != reflect.Ptr || !val.IsNil() {
408 if fv.IsNil() {
421 if fv.Kind() == reflect.Ptr && fv.IsNil() {
778 if pb == nil || val.IsNil() {
Dtable_merge.go580 if dm.IsNil() {
614 if !su.IsNil() {
617 if du.IsNil() || du.Elem().Type() != typ {
621 if sv.Kind() == reflect.Ptr && sv.IsNil() {
625 if dv.Kind() == reflect.Ptr && dv.IsNil() {
Dextensions.go117 return v.Kind() == reflect.Ptr && v.IsNil()
514 if reflect.ValueOf(value).IsNil() {
574 if rv.IsNil() {
592 if rv.IsNil() {
/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dequal.go81 if v1.IsNil() {
82 return v2.IsNil()
84 if v2.IsNil() {
105 if n1, n2 := f1.IsNil(), f2.IsNil(); n1 && n2 {
160 n1, n2 := v1.IsNil(), v2.IsNil()
186 if v1.IsNil() && v2.IsNil() {
189 if v1.IsNil() != v2.IsNil() {
202 if v1.IsNil() != v2.IsNil() {
Dclone.go47 if in.IsNil() {
85 if out.IsNil() {
91 if in.IsNil() {
137 if !in.IsNil() {
138 if out.IsNil() {
155 if in.IsNil() {
160 if out.IsNil() || out.Elem().Type() != in.Elem().Type() {
168 if out.IsNil() {
188 if in.IsNil() {
191 if out.IsNil() {
[all …]
Ddiscard.go225 if !su.IsNil() {
227 if sv.Kind() == reflect.Ptr && sv.IsNil() {
256 if v.Kind() != reflect.Ptr || v.IsNil() {
318 if !vf.IsNil() && f.Tag.Get("protobuf_oneof") != "" {
320 if !vf.IsNil() {
Dtext.go276 if name == "XXX_unrecognized" && !fv.IsNil() {
283 if fv.Kind() == reflect.Ptr && fv.IsNil() {
289 if fv.Kind() == reflect.Slice && fv.IsNil() {
306 if v.Kind() == reflect.Ptr && v.IsNil() {
363 if val.Kind() != reflect.Ptr || !val.IsNil() {
408 if fv.IsNil() {
421 if fv.Kind() == reflect.Ptr && fv.IsNil() {
778 if pb == nil || val.IsNil() {
Dtable_merge.go580 if dm.IsNil() {
614 if !su.IsNil() {
617 if du.IsNil() || du.Elem().Type() != typ {
621 if sv.Kind() == reflect.Ptr && sv.IsNil() {
625 if dv.Kind() == reflect.Ptr && dv.IsNil() {
/external/syzkaller/vendor/github.com/google/go-cmp/cmp/
Dcompare.go235 s.report(vx.IsNil() && vy.IsNil(), vx, vy)
238 if vx.IsNil() || vy.IsNil() {
239 s.report(vx.IsNil() && vy.IsNil(), vx, vy)
247 if vx.IsNil() || vy.IsNil() {
248 s.report(vx.IsNil() && vy.IsNil(), vx, vy)
260 if vx.IsNil() || vy.IsNil() {
261 s.report(vx.IsNil() && vy.IsNil(), vx, vy)
420 if vx.IsNil() || vy.IsNil() {
421 s.report(vx.IsNil() && vy.IsNil(), vx, vy)
/external/syzkaller/pkg/serializer/
Dserializer.go21 if v.Kind() == reflect.Slice && (v.IsNil() || v.Len() == 0) {
38 if v.IsNil() {
67 if v.IsNil() {
82 if v.IsNil() || v.Len() == 0 {
159 return v.IsNil()
161 return v.IsNil()
163 return v.IsNil() || v.Len() == 0
/external/syzkaller/vendor/google.golang.org/api/gensupport/
Djson.go102 if f.Type.Kind() == reflect.Map && v.IsNil() {
108 if f.Type.Kind() == reflect.Slice && v.IsNil() {
124 if kind == reflect.Ptr && !v.IsNil() {
176 if f.Type.Kind() == reflect.Ptr && v.IsNil() {
183 if f.Type.Kind() == reflect.Interface && v.IsNil() {
208 return v.IsNil()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTree.cs103 public virtual bool IsNil { property in Antlr.Runtime.Tree.BaseTree
174 if (t.IsNil) { in AddChild()
230 if (t.IsNil) { in SetChild()
287 if (newTree.IsNil) { in ReplaceChildren()
420 if (!IsNil) { in ToStringTree()
432 if (!IsNil) { in ToStringTree()
DBaseTreeAdaptor.cs77 public virtual bool IsNil(object tree) { in IsNil() method in Antlr.Runtime.Tree.BaseTreeAdaptor
78 return ((ITree)tree).IsNil; in IsNil()
161 if (newRootTree.IsNil) { in BecomeRoot()
181 if (r != null && r.IsNil) { in RulePostProcessing()
DCommonTree.cs105 public override bool IsNil { property in Antlr.Runtime.Tree.CommonTree
215 if (IsNil) { in ToString()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTree.cs123 public virtual bool IsNil property in Antlr.Runtime.Tree.BaseTree
207 if ( t.IsNil ) in AddChild()
276 if ( t.IsNil ) in SetChild()
362 if ( newTree.IsNil ) in ReplaceChildren()
546 if ( !IsNil ) in ToStringTree()
561 if ( !IsNil ) in ToStringTree()
DBaseTreeAdaptor.cs82 public virtual bool IsNil( object tree ) in IsNil() method in Antlr.Runtime.Tree.BaseTreeAdaptor
84 return ( (ITree)tree ).IsNil; in IsNil()
197 if ( newRootTree.IsNil ) in BecomeRoot()
220 if ( r != null && r.IsNil ) in RulePostProcessing()
DCommonTree.cs120 public override bool IsNil property in Antlr.Runtime.Tree.CommonTree
284 if (IsNil) in ToString()
/external/syzkaller/vendor/github.com/google/go-cmp/cmp/internal/value/
Dformat.go47 if (v.Kind() == reflect.Ptr || v.Kind() == reflect.Interface) && v.IsNil() {
73 if v.IsNil() {
85 if v.IsNil() {
93 if v.IsNil() {
118 if v.IsNil() {
236 return v.IsNil()
/external/webrtc/webrtc/base/
Dphysicalsocketserver_unittest.cc154 EXPECT_TRUE(accept_addr.IsNil()); in ConnectInternalAcceptError()
158 EXPECT_FALSE(client1->GetLocalAddress().IsNil()); in ConnectInternalAcceptError()
172 ASSERT_TRUE(accept_addr.IsNil()); in ConnectInternalAcceptError()
177 EXPECT_TRUE(accept_addr.IsNil()); in ConnectInternalAcceptError()
181 EXPECT_FALSE(client2->GetLocalAddress().IsNil()); in ConnectInternalAcceptError()
194 EXPECT_FALSE(accept_addr.IsNil()); in ConnectInternalAcceptError()
Dnatsocketfactory.cc119 result = socket_->Connect(server_addr_.IsNil() ? addr : server_addr_); in Connect()
140 if (server_addr_.IsNil() || type_ == SOCK_STREAM) { in SendTo()
164 if (server_addr_.IsNil() || type_ == SOCK_STREAM) { in RecvFrom()
236 if (server_addr_.IsNil()) { in OnConnectEvent()
246 if (type_ == SOCK_STREAM && !server_addr_.IsNil() && !connected_) { in OnReadEvent()
Dsocket_unittest.cc214 EXPECT_TRUE(accept_addr.IsNil()); in ConnectInternal()
218 EXPECT_FALSE(client->GetLocalAddress().IsNil()); in ConnectInternal()
230 EXPECT_FALSE(accept_addr.IsNil()); in ConnectInternal()
279 EXPECT_FALSE(accept_addr.IsNil()); in ConnectWithDnsLookupInternal()
320 EXPECT_TRUE(client->GetRemoteAddress().IsNil()); in ConnectFailInternal()
362 EXPECT_TRUE(client->GetRemoteAddress().IsNil()); in ConnectWithDnsLookupFailInternal()
366 EXPECT_TRUE(accept_addr.IsNil()); in ConnectWithDnsLookupFailInternal()
409 EXPECT_FALSE(accept_addr.IsNil()); in ConnectWhileNotClosedInternal()
549 EXPECT_TRUE(accepted->GetRemoteAddress().IsNil()); in ServerCloseInternal()
558 EXPECT_TRUE(client->GetRemoteAddress().IsNil()); in ServerCloseInternal()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas111 function IsNil(const Tree: IANTLRInterface): Boolean;
504 property IsNil: Boolean read GetIsNil; property
1276 function IsNil(const Tree: IANTLRInterface): Boolean; virtual; in IsNil() function
2141 if ChildTree.IsNil then // t is an empty node possibly with children
2294 if (NewTree.IsNil) then
2389 if T.IsNil then
2697 if (NewRootTree.IsNil) then
2835 function TBaseTreeAdaptor.IsNil(const Tree: IANTLRInterface): Boolean; in IsNil() function
2837 Result := (Tree as ITree).IsNil;
2846 if Assigned(R) and (R.IsNil) then
[all …]

1234