Home
last modified time | relevance | path

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

12345678910>>...38

/external/e2fsprogs/e2fsck/
Ddict.c138 static void free_nodes(dict_t *dict, dnode_t *node, dnode_t *nil) in free_nodes() argument
140 if (node == nil) in free_nodes()
142 free_nodes(dict, node->left, nil); in free_nodes()
143 free_nodes(dict, node->right, nil); in free_nodes()
191 static unsigned int verify_redblack(dnode_t *nil, dnode_t *root) in verify_redblack() argument
195 if (root != nil) { in verify_redblack()
196 height_left = verify_redblack(nil, root->left); in verify_redblack()
197 height_right = verify_redblack(nil, root->right); in verify_redblack()
222 static dictcount_t verify_node_count(dnode_t *nil, dnode_t *root) in verify_node_count() argument
224 if (root == nil) in verify_node_count()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRRewriteRuleElementStream.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 …]
DANTLRBaseTree.m37 ANTLRTreeNavigationNodeDown *navigationNodeDown = nil;
38 ANTLRTreeNavigationNodeUp *navigationNodeUp = nil;
39 ANTLRTreeNavigationNodeEOF *navigationNodeEOF = nil;
44 static id<ANTLRBaseTree> 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 …]
DANTLRTreePatternParser.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 …]
DANTLRDoubleKeyMap.m8 if ( self != nil ) {
17 id prev = nil;
18 if ( data2 == nil ) {
32 if ( data2 == nil )
33 return nil;
49 if ( data2 == nil )
50 return nil;
70 if ( data2 == nil )
71 return nil;
DANTLRCommonTreeAdaptor.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 …]
DANTLRCommonTree.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 …]
DANTLRUnbufferedCommonTreeNodeStream.m53 return [self initWithTree:theTree treeAdaptor:nil];
58 if ((self = [super init]) != nil) {
60 if ( theAdaptor == nil )
77 [self setRoot:nil];
78 [self setTreeAdaptor:nil];
80 [nodeStack release]; nodeStack = nil;
81 [indexStack release]; indexStack = nil;
82 [markers release]; markers = nil;
83 [lookahead release]; lookahead = nil;
91 previousNode = nil;
[all …]
DANTLRBaseTreeAdaptor.m46 if ( self != nil ) {
65 return [ANTLRCommonTree newTreeWithToken:nil];
70 return [ANTLRCommonTree newTreeWithToken:nil];
103 return [self dupTree:(id)tree Parent:nil];
112 if ( t==nil ) {
113 return nil;
141 if ( t != nil && child != nil ) {
146 /** If oldRoot is a nil root, just copy or move the children to newRoot.
147 * If not a nil root, make oldRoot a child of newRoot.
149 * old=^(nil a b c), new=r yields ^(r a b c)
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/
DANTLRCommonTreeTest.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(((ANTLRCommonToken *)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/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.m66 if ( self != nil ) {
76 return nil;
255 if (tree != nil) [tree release];
256 if (aTree != nil) [aTree retain];
263 self.tree = nil;
295 if (tree != nil) [tree release];
296 if (aTree != nil) [aTree retain];
303 self.tree = nil;
335 if (tree != nil) [tree release];
336 if (aTree != nil) [aTree retain];
[all …]
/external/clang/test/SemaTemplate/
Dexample-typelist.cpp4 struct nil { }; struct
6 template<typename Head, typename Tail = nil>
32 struct length<nil> {
65 class reverse<nil> {
67 typedef nil type;
90 struct find<nil, T> {
91 typedef nil type;
97 int find1[is_same<find<unsigned_inttypes, int>::type, nil>::value? 1 : -1];
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
DSimpleCParser.m90 if ((self = [super initWithRecognizer:theRecognizer]) != nil) {
100 return nil;
273 if (tree != nil) [tree release];
274 if (aTree != nil) [aTree retain];
281 [self setTree:nil];
305 if (tree != nil) [tree release];
306 if (aTree != nil) [aTree retain];
313 [self setTree:nil];
337 if (tree != nil) [tree release];
338 if (aTree != nil) [aTree retain];
[all …]
/external/clang/test/Rewriter/
Dweak_byref_objects.m3 #define nil 0 macro
5 __weak __block id foo = nil;
6 __block id foo2 = nil;
7 id foo3 = nil;
10 foo = nil;
11 foo2 = nil;
/external/webkit/Source/WebKit/mac/WebView/
DWebResource.mm84 return nil;
115 return nil;
122 …MIMEType:MIMEType textEncodingName:textEncodingName frameName:frameName response:nil copyData:YES];
131 return nil;
133 NSData *data = nil;
134 NSURL *url = nil;
135 NSString *mimeType = nil, *textEncoding = nil, *frameName = nil;
136 NSURLResponse *response = nil;
159 return nil;
171 NSData *data = nil;
[all …]
/external/clang/test/Analysis/
Dobjc-for.m5 #define nil ((id)0) macro
37 clang_analyzer_eval(x != nil); // expected-warning{{TRUE}}
40 clang_analyzer_eval(x != nil); // expected-warning{{TRUE}}
43 clang_analyzer_eval(x != nil); // expected-warning{{TRUE}}
46 clang_analyzer_eval(x != nil); // expected-warning{{TRUE}}
49 clang_analyzer_eval(x != nil); // expected-warning{{UNKNOWN}}
54 clang_analyzer_eval(x != nil); // expected-warning{{TRUE}}
56 clang_analyzer_eval(x != nil); // expected-warning{{UNKNOWN}}
Dvariadic-method-types.m12 #define nil (void*)0 macro
74 [NSArray arrayWithObjects:@"Hello", a, b, c, d, nil];
75 [NSArray arrayWithObjects:@"Foo", ^{}, nil];
77 …[NSArray arrayWithObjects:@"Foo", "Bar", "Baz", nil]; // expected-warning {{Argument to 'NSArray' …
78 …[NSDictionary dictionaryWithObjectsAndKeys:@"Foo", "Bar", nil]; // expected-warning {{Argument to …
79 …[NSSet setWithObjects:@"Foo", "Bar", nil]; // expected-warning {{Argument to 'NSSet' method 'setWi…
80 …[NSOrderedSet orderedSetWithObjects:@"Foo", "Bar", nil]; // expected-warning {{Argument to 'NSOrde…
82 …[[[NSArray alloc] initWithObjects:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Argument…
83 …[[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", "Bar", nil] autorelease]; // expected-warnin…
84 [[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", (void*) 0, nil] autorelease]; // no-warning
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/macrom/
DSDL_romvideo.c71 static RgnHandle gSaveGrayRgn = nil;
229 if ( SDL_CTab == nil ) { in ROM_VideoInit()
275 RgnHandle drawRgn = nil; in ROM_HideMenuBar()
276 RgnHandle tempRgn = nil; in ROM_HideMenuBar()
277 RgnHandle grayRgn = nil; in ROM_HideMenuBar()
278 WindowPtr window = nil; in ROM_HideMenuBar()
279 GDHandle gd = nil; in ROM_HideMenuBar()
356 RgnHandle drawRgn = nil; in ROM_ShowMenuBar()
357 RgnHandle menuRgn = nil; in ROM_ShowMenuBar()
358 RgnHandle tempRgn = nil; in ROM_ShowMenuBar()
[all …]
/external/webkit/Source/WebCore/accessibility/mac/
DAccessibilityObjectWrapper.mm214 // If it does become invalidated, m_object will be nil.
237 return nil;
253 return obj != nil && CFGetTypeID(obj) == wkGetAXTextMarkerTypeID();
258 return obj != nil && CFGetTypeID(obj) == wkGetAXTextMarkerRangeTypeID();
263 ASSERT(startMarker != nil);
264 ASSERT(endMarker != nil);
272 ASSERT(range != nil);
279 ASSERT(range != nil);
293 return nil;
334 return nil;
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/
DLangParser.m68 if (tree != nil) [tree release];
69 if (aTree != nil) [aTree retain];
76 self.tree = nil;
108 if (tree != nil) [tree release];
109 if (aTree != nil) [aTree retain];
116 self.tree = nil;
148 if (tree != nil) [tree release];
149 if (aTree != nil) [aTree retain];
156 self.tree = nil;
195 @"DECL", @"FLOATTYPE", @"ID", @"INT", @"INTTYPE", @"WS", @"';'", nil] retain]];
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRHashMap.m65 if ((self = [super init]) != nil) {
66 fNext = nil;
69 if ( fNext != nil ) {
84 if ((self = [super init]) != nil) {
85 fNext = nil;
88 if ( fNext != nil ) {
104 if ( self.fNext != nil ) {
124 if ((anElement = ptrBuffer[i]) != nil) {
137 if ((anElement = ptrBuffer[i]) != nil) {
150 if ( self.fNext != nil ) {
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRHashMap.m65 if ((self = [super init]) != nil) {
66 fNext = nil;
69 if ( fNext != nil ) {
84 if ((self = [super init]) != nil) {
85 fNext = nil;
88 if ( fNext != nil ) {
104 if ( self.fNext != nil ) {
124 if ((anElement = ptrBuffer[i]) != nil) {
137 if ((anElement = ptrBuffer[i]) != nil) {
150 if ( self.fNext != nil ) {
[all …]
DANTLRHashRule.m61 if ((self = [super initWithLen:HASHSIZE]) != nil) {
62 fNext = nil;
69 if ((self = [super initWithLen:aBuffSize]) != nil) {
70 fNext = nil;
81 if ( self.fNext != nil ) {
102 if ( anElement != nil ) {
120 if ((anElement = ptrBuffer[i]) != nil) {
133 if ( self.fNext != nil ) {
147 if ( np.fNext != nil )
169 if ((aRule = ptrBuffer[anIndex]) == nil) {
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRHashMap.m65 if ((self = [super init]) != nil) {
66 fNext = nil;
69 if ( fNext != nil ) {
84 if ((self = [super init]) != nil) {
85 fNext = nil;
88 if ( fNext != nil ) {
104 if ( self.fNext != nil ) {
124 if ((anElement = ptrBuffer[i]) != nil) {
137 if ((anElement = ptrBuffer[i]) != nil) {
150 if ( self.fNext != nil ) {
[all …]

12345678910>>...38