/external/bison/src/ |
D | nullable.c | 42 bool *nullable = NULL; variable 51 nullable[i - ntokens] ? "yes" : "no"); in nullable_print() 72 nullable = xcalloc (nvars, sizeof *nullable); in nullable_compute() 108 && ! nullable[rules_ruleno->lhs->number - ntokens]) in nullable_compute() 110 nullable[rules_ruleno->lhs->number - ntokens] = true; in nullable_compute() 121 if (r->useful && ! nullable[r->lhs->number - ntokens]) in nullable_compute() 123 nullable[r->lhs->number - ntokens] = true; in nullable_compute() 141 free (nullable); in nullable_free()
|
D | nullable.h | 25 extern bool *nullable;
|
D | Makefile.am | 52 nullable.c nullable.h \
|
D | lalr.c | 181 if (nullable[sym - ntokens]) in initialize_F() 265 if (nullable[*rp - ntokens]) in build_relations()
|
/external/clang/test/SemaCXX/ |
D | nullability.cpp | 74 void *_Nullable nullable; in AssignAndInitNonNull() local 75 …void *_Nonnull p(nullable); // expected-warning{{implicit conversion from nullable pointer 'void *… in AssignAndInitNonNull() 76 …void *_Nonnull p2{nullable}; // expected-warning{{implicit conversion from nullable pointer 'void … in AssignAndInitNonNull() 77 …void *_Nonnull p3 = {nullable}; // expected-warning{{implicit conversion from nullable pointer 'vo… in AssignAndInitNonNull() 78 …void *_Nonnull p4 = nullable; // expected-warning{{implicit conversion from nullable pointer 'void… in AssignAndInitNonNull() 80 …nonnull = nullable; // expected-warning{{implicit conversion from nullable pointer 'void * _Nullab… in AssignAndInitNonNull() 81 …nonnull = {nullable}; // expected-warning{{implicit conversion from nullable pointer 'void * _Null… in AssignAndInitNonNull() 83 …TakeNonnull(nullable); //expected-warning{{implicit conversion from nullable pointer 'void * _Null… in AssignAndInitNonNull()
|
/external/clang/test/SemaObjC/ |
D | override-nullability.m | 7 - (nonnull id)bad:(nullable id)obj; // expected-note 2 {{previous declaration is here}} 8 - (nullable id)notAsBad:(nonnull id)obj; 12 - (nullable id)bad:(nonnull id)obj; // expected-warning {{conflicting nullability specifier on retu… 13 … nullability specifier on parameter types, 'nonnull' conflicts with existing specifier 'nullable'}} 14 - (nonnull id)notAsBad:(nullable id)obj;
|
D | nullability.m | 43 @property(nullable,assign) NSFoo ** invalidProperty1; // expected-error{{nullability keyword 'nulla… 48 …roperty(null_unspecified,retain,nullable) NSFoo *conflictingProperty3; // expected-error{{nullabil… 49 @property(nullable,retain,nullable) NSFoo *redundantProperty3; // expected-warning{{duplicate nulla… 54 @property(nullable,assign) NSFoo ** invalidProperty2; // expected-error{{nullability keyword 'nulla… 102 - (nullable NSFoo *)methodB:(null_unspecified NSFoo*)foo { // expected-error{{nullability specifier… 107 - (nonnull NSFoo *)methodC:(nullable NSFoo*)foo { 117 - (nullable id)returnsNullable; 123 _Nullable NSMergeReceiver *nullable, 127 ptr = [nullable returnsNullable]; // expected-warning{{'id _Nullable'}} 128 ptr = [nullable returnsNullUnspecified]; // expected-warning{{'id _Nullable'}} [all …]
|
D | arc-property-decl-attrs.m | 89 @property(nonatomic, weak) id delegate; // Do not warn, nullable is inferred. 90 @property(nonatomic, weak, readonly) id ROdelegate; // Do not warn, nullable is inferred. 92 @property(nonatomic, weak, nullable) id Nullabledelete; // do not warn 98 @property(nonatomic, nullable) id stNullabledelete; // do not warn 103 @property(nonatomic, weak) id ddd; // Do not warn, nullable is inferred.
|
D | nullable-weak-property.m | 24 …); // expected-warning {{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-null…
|
D | parameterized_classes_subst.m | 114 - (nullable ViewType)maybeView; 126 …dControl maybeView]; // expected-warning{{from nullable pointer 'NSControl * _Nullable' to non-nu… 131 …eView]; // expected-warning{{from nullable pointer 'Nonnull_NSControl _Nullable' (aka 'NSControl …
|
/external/clang/docs/analyzer/ |
D | nullability.rst | 11 1) nullable 14 If a pointer 'p' has a nullable annotation and no explicit null check or assert, we should warn in … 18 Taking a branch on nullable pointers are the same like taking branch on null unspecified pointers. 20 Explicit cast from nullable to nonnul:: 27 …ens, I will treat bar as nullable unspecified, this way all of the warnings will be suppressed. Tr… 33 - Converting nonnull to nullable is Ok. 34 - When there is an explicit cast from nonnull to nullable I will trust the cast (it is probable the… 53 - Sending a message to a nullable pointer 54 …ght return a nonnull pointer, when it was sent to a nullable pointer the return type will be nulla… 55 - The result is nullable unless the receiver is known to be non null. [all …]
|
/external/webrtc/webrtc/api/objc/ |
D | RTCIceServer.h | 21 @property(nonatomic, copy, readonly, nullable) NSString *username; 24 @property(nonatomic, copy, readonly, nullable) NSString *credential; 36 username:(nullable NSString *)username 37 credential:(nullable NSString *)credential
|
D | RTCVideoFrame.h | 26 @property(nonatomic, readonly, nullable) const uint8_t *yPlane; 27 @property(nonatomic, readonly, nullable) const uint8_t *uPlane; 28 @property(nonatomic, readonly, nullable) const uint8_t *vPlane;
|
D | RTCMediaConstraints.h | 21 (nullable NSDictionary<NSString *, NSString *> *)mandatory 23 (nullable NSDictionary<NSString *, NSString *> *)optional
|
D | RTCIceCandidate.h | 21 @property(nonatomic, readonly, nullable) NSString *sdpMid; 39 sdpMid:(nullable NSString *)sdpMid
|
/external/clang/test/Analysis/ |
D | nullability.mm | 105 void testArgumentTracking(Dummy *_Nonnull nonnull, Dummy *_Nullable nullable) { 106 Dummy *p = nullable; 112 case 4: testMultiParamChecking(nonnull, nullable, nonnull); break; 114 case 6: testMultiParamChecking(nonnull, nullable, nullable); break; // expected-warning {{}} 115 case 7: testMultiParamChecking(nullable, nullable, nonnull); // expected-warning {{}} 116 case 8: testMultiParamChecking(nullable, nullable, nullable); // expected-warning {{}} 117 case 9: testMultiParamChecking((Dummy *_Nonnull)0, nullable, nonnull); break; 132 // The expected result: the most nullable of self and method return type.
|
D | nullability_nullonly.mm | 12 // The tracking of nullable values is turned off.
|
/external/guice/core/src/com/google/inject/spi/ |
D | Dependency.java | 43 private final boolean nullable; field in Dependency 46 Dependency(InjectionPoint injectionPoint, Key<T> key, boolean nullable, int parameterIndex) { in Dependency() argument 49 this.nullable = nullable; in Dependency() 83 return nullable; in isNullable()
|
/external/clang/test/SemaObjCXX/Inputs/ |
D | nullability-consistency-2.h | 13 @property (retain,nullable) SomeClass *property2; 14 - (nullable SomeClass *)method1;
|
D | nullability-pragmas-generics-1.h | 13 - (nullable T)maybeTee;
|
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
D | typeannotation_test.py | 77 def assertNullable(self, type_str, nullable=True): argument 79 self.assertEquals(nullable, parsed_type.GetNullability(), 81 (type_str, 'not ' if nullable else '')) 84 return self.assertNullable(type_str, nullable=False)
|
/external/clang/test/Index/ |
D | complete-property-flags.m | 20 // CHECK-CC1-NEXT: {TypedText nullable} 39 // CHECK-CC1-ARC-NEXT: {TypedText nullable} 54 // CHECK-CC2-NEXT: {TypedText nullable}
|
D | comment-objc-decls.m | 23 - (unsigned int)MethodMyProto:(nullable id)anObject inRange:(unsigned int)range; 34 // CHECK: <Declaration>- (unsigned int)MethodMyProto:(nullable id)anObject inRange:(unsigned int)ra…
|
D | complete-method-decls.m | 89 -(nonnull I2 *)produceI2:(nullable I2 *)i2; 91 @property (nullable, strong) id prop; 92 @property (nullable, strong) void(^propWB)(int *_Nullable); 179 // CHECK-CCF: NotImplemented:{TypedText nullable} (40)
|
/external/selinux/sepolgen/src/sepolgen/ |
D | yacc.py | 1306 nullable = {} 1311 nullable[p.name] = 1 1314 if t not in nullable: break 1316 nullable[p.name] = 1 1317 if len(nullable) == num_nullable: break 1318 num_nullable = len(nullable) 1319 return nullable 1352 def dr_relation(C,trans,nullable): argument 1419 def compute_lookback_includes(C,trans,nullable): argument 1454 if p.prod[li] not in nullable: break [all …]
|