Home
last modified time | relevance | path

Searched refs:nil (Results 1 – 25 of 894) sorted by relevance

12345678910>>...36

/external/webrtc/sdk/objc/unittests/
DRTCPeerConnectionFactory_xctest.m37 optionalConstraints:nil];
45 [factory peerConnectionWithConfiguration:config constraints:constraints delegate:nil];
47 factory = nil;
49 peerConnection = nil;
63 factory = nil;
65 mediaStream = nil;
76 optionalConstraints:nil];
87 [factory peerConnectionWithConfiguration:config constraints:constraints delegate:nil];
92 peerConnection = nil;
93 factory = nil;
[all …]
/external/llvm-project/lldb/test/API/commands/expression/persist_objc_pointeetype/
Dmain.m35 assert(_sc_name == nil);
36 assert(_sc_name2 == nil);
37 assert(_sc_name3 == nil);
38 assert(_sc_name4 == nil);
39 assert(_sc_name5 == nil);
40 assert(_sc_name6 == nil);
41 assert(_sc_name7 == nil);
42 assert(_sc_name8 == nil); // break here
45 assert(_sc_name == nil);
46 assert(_sc_name2 == nil);
[all …]
/external/e2fsprogs/lib/support/
Ddict.c144 static void free_nodes(dict_t *dict, dnode_t *node, dnode_t *nil) in free_nodes() argument
146 if (node == nil) in free_nodes()
148 free_nodes(dict, node->left, nil); in free_nodes()
149 free_nodes(dict, node->right, nil); in free_nodes()
197 static unsigned int verify_redblack(dnode_t *nil, dnode_t *root) in verify_redblack() argument
201 if (root != nil) { in verify_redblack()
202 height_left = verify_redblack(nil, root->left); in verify_redblack()
203 height_right = verify_redblack(nil, root->right); in verify_redblack()
228 static dictcount_t verify_node_count(dnode_t *nil, dnode_t *root) in verify_node_count() argument
230 if (root == nil) in verify_node_count()
[all …]
/external/f2fs-tools/fsck/
Ddict.c136 static void free_nodes(dict_t *dict, dnode_t *node, dnode_t *nil) in free_nodes() argument
138 if (node == nil) in free_nodes()
140 free_nodes(dict, node->left, nil); in free_nodes()
141 free_nodes(dict, node->right, nil); in free_nodes()
188 static unsigned int verify_redblack(dnode_t *nil, dnode_t *root) in verify_redblack() argument
192 if (root != nil) { in verify_redblack()
193 height_left = verify_redblack(nil, root->left); in verify_redblack()
194 height_right = verify_redblack(nil, root->right); in verify_redblack()
218 static dictcount_t verify_node_count(dnode_t *nil, dnode_t *root) in verify_node_count() argument
220 if (root == nil) in verify_node_count()
[all …]
/external/antlr/runtime/ObjC/Framework/
DRewriteRuleElementStream.m66 if ((self = [super init]) != nil) {
73 singleElement = nil;
74 elements = nil;
81 if ((self = [super init]) != nil) {
88 singleElement = nil;
89 elements = nil;
104 singleElement = nil;
118 [self setDescription:nil];
119 [self setTreeAdaptor:nil];
145 if (anElement == nil)
[all …]
DBaseTree.m37 TreeNavigationNodeDown *navigationNodeDown = nil;
38 TreeNavigationNodeUp *navigationNodeUp = nil;
39 TreeNavigationNodeEOF *navigationNodeEOF = nil;
44 static id<BaseTree> invalidNode = nil;
50 if ( invalidNode == nil ) {
58 if ( invalidNode == nil ) {
81 if ( self != nil ) {
82 children = nil;
85 return nil;
91 if ( self != nil ) {
[all …]
DTreePatternParser.m46 if ((self = [super init]) != nil) {
59 if ((self = [super init]) != nil) {
92 return nil; // extra junk on end
94 return nil;
104 if ( root==nil ) {
105 return nil;
118 if ( child == nil ) {
119 return nil;
134 NSString *label = nil;
139 return nil;
[all …]
DArrayIterator.m60 if ( self != nil ) {
64 userInfo:nil];
73 peekObj = nil;
83 if ( self != nil ) {
87 userInfo:nil];
90 peekObj = nil;
100 if ( self != nil ) {
104 userInfo:nil];
107 peekObj = nil;
125 if ( peekObj == nil ) {
[all …]
DCommonTreeAdaptor.m57 if ( t==nil )
58 return nil;
107 * seems like this will yield start=i and stop=i-1 in a nil node.
112 if ( aTree == nil )
116 if ( startToken != nil )
118 if ( stopToken != nil )
126 if ( t == nil )
133 if ( t == nil )
140 if ( t == nil )
141 return nil;
[all …]
DCommonTree.m71 if ( self != nil ) {
72 token = nil;
75 parent = nil;
84 if ( self != nil ) {
89 parent = nil;
98 if ( self != nil ) {
103 parent = nil;
112 if ( self != nil ) {
118 parent = nil;
127 if ( self != nil ) {
[all …]
/external/python/cpython2/Mac/Modules/cg/
DCFMLateImport.c172 MoreAssertQ(fragToFix != nil); in ReadContainerBasics()
173 MoreAssertQ(fragToFix->locator.fileSpec != nil); in ReadContainerBasics()
174 MoreAssertQ(fragToFix->connID != nil); in ReadContainerBasics()
175 MoreAssertQ(fragToFix->loaderSection == nil); in ReadContainerBasics()
176 MoreAssertQ(fragToFix->sectionHeaders == nil); in ReadContainerBasics()
271 MoreAssertQ(inOpStart != nil); in DecodeInstrCountValue()
272 MoreAssertQ(outCount != nil); in DecodeInstrCountValue()
295 MoreAssertQ(packedData != nil); in UnpackPEFDataSection()
296 MoreAssertQ(unpackedData != nil); in UnpackPEFDataSection()
522 packedDataSection = nil; in SetupSectionBaseAddresses()
[all …]
/external/antlr/runtime/ObjC/Framework/examples/polydiff/
DSimplifier.m140 if (tree != nil) [tree release];
141 if (aTree != nil) [aTree retain];
148 self.tree = nil;
178 if (tree != nil) [tree release];
179 if (aTree != nil) [aTree retain];
186 self.tree = nil;
216 if (tree != nil) [tree release];
217 if (aTree != nil) [aTree retain];
224 self.tree = nil;
254 if (tree != nil) [tree release];
[all …]
DPolyDifferentiator.m92 if (tree != nil) [tree release];
93 if (aTree != nil) [aTree retain];
100 self.tree = nil;
144 @"ID", @"INT", @"MULT", @"WS", @"'+'", @"'^'", nil] retain]];
156 if ( self != nil ) {
168 [self setTreeAdaptor:nil];
206 CommonTree *root_0 = nil;
208 CommonTree *_first_0 = nil;
209 CommonTree *_last = nil;
214 CommonTree *c = nil;
[all …]
/external/grpc-grpc/src/objective-c/tests/
DRxLibraryUnitTests.m75 [writeable writesFinishedWithError:nil];
80 XCTAssertEqualObjects(handler.errorOrNil, nil);
86 NSError *anyError = [NSError errorWithDomain:@"domain" code:7 userInfo:nil];
94 XCTAssertEqualObjects(handler.value, nil);
102 NSError *anyError = [NSError errorWithDomain:@"domain" code:7 userInfo:nil];
112 XCTAssertEqualObjects(handler.errorOrNil, nil);
124 [writeable writesFinishedWithError:nil];
129 XCTAssertEqualObjects(handler.errorOrNil, nil);
138 [writeable writesFinishedWithError:nil];
142 XCTAssertEqualObjects(handler.value, nil);
[all …]
/external/antlr/runtime/ObjC/Framework/test/runtime/tree/
DCommonTreeTest.m22 STAssertNotNil(tree, @"Tree was nil");
30 STAssertNotNil(tree, @"Tree was nil");
31 if (tree != nil)
44 STAssertNotNil(tree, @"Tree was nil");
45 if (tree != nil)
46 STAssertNotNil(tree.token, @"Tree with token was nil");
47 if (tree != nil && tree.token != nil) {
50 STAssertNotNil(((CommonToken *)tree.token).text, @"Tree with token with text was nil");
52 if (tree != nil && tree.token != nil && tree.token.text != nil)
61 STAssertNotNil(tree, @"Tree was nil");
[all …]
/external/llvm-project/clang/test/Analysis/inlining/
Dinline-defensive-checks.m47 // Test nil receiver suppression.
48 // We only suppress on nil receiver if the nil value is directly causing the bug.
74 // On a path where fPtr is nil, mem should be nil.
82 // On a path where fPtr is nzil, mem should be nil.
90 // On a path where fPtr is nzil, mem should be nil.
98 // On a path where fPtr is nil, mem should be nil.
99 // The warning is not suppressed because the receiver being nil is not
110 // On a path where fPtr is nil, mem should be nil.
111 // The warning is not suppressed because the receiver being nil is not
122 // On a path where fPtr is nil, mem should be nil.
[all …]
/external/clang/test/Analysis/inlining/
Dinline-defensive-checks.m47 // Test nil receiver suppression.
48 // We only suppress on nil receiver if the nil value is directly causing the bug.
74 // On a path where fPtr is nil, mem should be nil.
82 // On a path where fPtr is nzil, mem should be nil.
90 // On a path where fPtr is nzil, mem should be nil.
98 // On a path where fPtr is nil, mem should be nil.
99 // The warning is not suppressed because the receiver being nil is not
110 // On a path where fPtr is nil, mem should be nil.
111 // The warning is not suppressed because the receiver being nil is not
122 // On a path where fPtr is nil, mem should be nil.
[all …]
/external/llvm-project/clang/test/Analysis/
Dnullability-no-arc.mm3 #define nil 0 macro
21 TestObject *local = nil;
22 …return local; // expected-warning {{nil returned from a function that is expected to return a non-…
26 TestObject *local = nil;
32 …return nil; // expected-warning {{null returned from function that requires a non-null return valu…
33 …// expected-warning@-1 {{nil returned from a function that is expected to return a non-null value}}
37 return (TestObject * _Nonnull)nil; // no-warning
46 …TestObject * _Nonnull explicitlyZeroInitialized = nil; // expected-warning {{nil assigned to a poi…
66 ClassWithInitializers *other = nil;
76 return (ClassWithInitializers * _Nonnull)nil;
[all …]
DNSContainers.m5 #define nil ((id)0) macro
117 …ddObject:0]; // expected-warning {{Argument to 'NSMutableArray' method 'addObject:' cannot be nil}}
122 …; // expected-warning {{Argument to 'NSMutableArray' method 'insertObject:atIndex:' cannot be nil}}
127 …ed-warning {{Argument to 'NSMutableArray' method 'replaceObjectAtIndex:withObject:' cannot be nil}}
132 …ected-warning {{Argument to 'NSMutableArray' method 'setObject:atIndexedSubscript:' cannot be nil}}
137 marray[1] = 0; // expected-warning {{Array element cannot be nil}}
143 …bject:0]; // expected-warning {{Argument to 'NSArray' method 'arrayByAddingObject:' cannot be nil}}
148 …etObject:0 forKey:key]; // expected-warning {{Value argument to 'setObject:forKey:' cannot be nil}}
152 … setObject:obj forKey:0]; // expected-warning {{Key argument to 'setObject:forKey:' cannot be nil}}
156 …emoveObjectForKey:0]; // expected-warning {{Value argument to 'removeObjectForKey:' cannot be nil}}
[all …]
/external/python/cpython2/Lib/email/test/data/
Dmsg_43.txt2 X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
3nil nil nil nil nil nil nil "MAILER DAEMON <>" "MAILER DAEMON <>" nil nil "Banned file: auto__mail…
4 nil)
/external/python/cpython3/Lib/test/test_email/data/
Dmsg_43.txt2 X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
3nil nil nil nil nil nil nil "MAILER DAEMON <>" "MAILER DAEMON <>" nil nil "Banned file: auto__mail…
4 nil)
/external/clang/test/SemaTemplate/
Dexample-typelist.cpp5 struct nil { }; struct
7 template<typename Head, typename Tail = nil>
33 struct length<nil> {
66 class reverse<nil> {
68 typedef nil type;
91 struct find<nil, T> {
92 typedef nil type;
98 int find1[is_same<find<unsigned_inttypes, int>::type, nil>::value? 1 : -1];
/external/llvm-project/clang/test/SemaTemplate/
Dexample-typelist.cpp5 struct nil { }; struct
7 template<typename Head, typename Tail = nil>
33 struct length<nil> {
66 class reverse<nil> {
68 typedef nil type;
91 struct find<nil, T> {
92 typedef nil type;
98 int find1[is_same<find<unsigned_inttypes, int>::type, nil>::value? 1 : -1];
/external/skia/src/gpu/mtl/
DGrMtlBuffer.mm57 fMtlBuffer = size == 0 ? nil :
65 SkASSERT(fMtlBuffer == nil);
66 SkASSERT(fMappedBuffer == nil);
72 if (fMtlBuffer == nil) {
82 if (fMapPtr == nil) {
102 fMtlBuffer = nil;
103 fMappedBuffer = nil;
112 fMtlBuffer = nil;
113 fMappedBuffer = nil;
131 SkASSERT(fMappedBuffer == nil);
[all …]
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.m45 #define dfa2_T_empty nil
87 dfa2_T5, dfa2_T8, dfa2_T4, dfa2_T2, nil, dfa2_T6, dfa2_T0, dfa2_T1,
88 nil, nil, dfa2_T3, dfa2_T7, dfa2_T1
101 if ( self != nil ) {
113 return nil;
293 if (tree != nil) [tree release];
294 if (aTree != nil) [aTree retain];
301 self.tree = nil;
331 if (tree != nil) [tree release];
332 if (aTree != nil) [aTree retain];
[all …]

12345678910>>...36