/external/libmojo/mojo/public/js/ |
D | validator.js | 119 Validator.prototype.validateHandle = function(offset, nullable) { argument 123 return nullable ? 132 Validator.prototype.validateInterface = function(offset, nullable) { argument 133 return this.validateHandle(offset, nullable); 136 Validator.prototype.validateInterfaceRequest = function(offset, nullable) { argument 137 return this.validateHandle(offset, nullable); 254 offset, elementSize, elementType, nullable, expectedDimensionSizes, argument 261 return nullable ? 269 offset, structClass, nullable) { argument 275 return nullable ? [all …]
|
/external/protobuf/objectivec/ |
D | GPBDescriptor.h | 57 @property(nonatomic, readonly, strong, nullable) NSArray<GPBFieldDescriptor*> *fields; 58 @property(nonatomic, readonly, strong, nullable) NSArray<GPBOneofDescriptor*> *oneofs; 59 @property(nonatomic, readonly, nullable) const GPBExtensionRange *extensionRanges; 66 - (nullable GPBFieldDescriptor *)fieldWithNumber:(uint32_t)fieldNumber; 67 - (nullable GPBFieldDescriptor *)fieldWithName:(NSString *)name; 68 - (nullable GPBOneofDescriptor *)oneofWithName:(NSString *)name; 83 - (nullable GPBFieldDescriptor *)fieldWithNumber:(uint32_t)fieldNumber; 84 - (nullable GPBFieldDescriptor *)fieldWithName:(NSString *)name; 101 @property(nonatomic, readonly, assign, nullable) GPBOneofDescriptor *containingOneof; 104 @property(nonatomic, readonly, assign, nullable) Class msgClass; [all …]
|
D | GPBMessage.h | 80 @property(nonatomic, copy, nullable) GPBUnknownFieldSet *unknownFields; 118 extensionRegistry:(nullable GPBExtensionRegistry *)extensionRegistry 137 (nullable GPBExtensionRegistry *)extensionRegistry 157 (nullable GPBExtensionRegistry *)extensionRegistry 186 extensionRegistry:(nullable GPBExtensionRegistry *)extensionRegistry 204 (nullable GPBExtensionRegistry *)extensionRegistry 228 - (nullable NSData *)data; 269 - (nullable id)getExtension:(GPBExtensionDescriptor *)extension; 275 - (void)setExtension:(GPBExtensionDescriptor *)extension value:(nullable id)value; 300 extensionRegistry:(nullable GPBExtensionRegistry *)extensionRegistry;
|
D | GPBDictionary.h | 66 - (BOOL)valueForKey:(uint32_t)key value:(nullable uint32_t *)value; 101 - (BOOL)valueForKey:(uint32_t)key value:(nullable int32_t *)value; 136 - (BOOL)valueForKey:(uint32_t)key value:(nullable uint64_t *)value; 171 - (BOOL)valueForKey:(uint32_t)key value:(nullable int64_t *)value; 206 - (BOOL)valueForKey:(uint32_t)key value:(nullable BOOL *)value; 241 - (BOOL)valueForKey:(uint32_t)key value:(nullable float *)value; 276 - (BOOL)valueForKey:(uint32_t)key value:(nullable double *)value; 298 + (instancetype)dictionaryWithValidationFunction:(nullable GPBEnumValidationFunc)func; 299 + (instancetype)dictionaryWithValidationFunction:(nullable GPBEnumValidationFunc)func 302 + (instancetype)dictionaryWithValidationFunction:(nullable GPBEnumValidationFunc)func [all …]
|
D | GPBArray.h | 333 + (instancetype)arrayWithValidationFunction:(nullable GPBEnumValidationFunc)func; 334 + (instancetype)arrayWithValidationFunction:(nullable GPBEnumValidationFunc)func 337 + (instancetype)arrayWithValidationFunction:(nullable GPBEnumValidationFunc)func 340 - (instancetype)initWithValidationFunction:(nullable GPBEnumValidationFunc)func 344 - (instancetype)initWithValidationFunction:(nullable GPBEnumValidationFunc)func 348 - (instancetype)initWithValidationFunction:(nullable GPBEnumValidationFunc)func
|
/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/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Encoder.java | 212 public void encode(Struct v, int offset, boolean nullable) { in encode() argument 214 encodeNullPointer(offset, nullable); in encode() 224 public void encode(Union v, int offset, boolean nullable) { in encode() argument 225 if (v == null && !nullable) { in encode() 240 public void encode(String v, int offset, boolean nullable) { in encode() argument 242 encodeNullPointer(offset, nullable); in encode() 245 final int arrayNullability = nullable in encode() 254 public void encode(Handle v, int offset, boolean nullable) { in encode() argument 256 encodeInvalidHandle(offset, nullable); in encode() 266 public <T extends Interface> void encode(T v, int offset, boolean nullable, in encode() argument [all …]
|
D | Decoder.java | 309 public Decoder readPointer(int offset, boolean nullable) { in readPointer() argument 313 if (!nullable) { in readPointer() 442 public Handle readHandle(int offset, boolean nullable) { in readHandle() argument 445 if (!nullable) { in readHandle() 458 public UntypedHandle readUntypedHandle(int offset, boolean nullable) { in readUntypedHandle() argument 459 return readHandle(offset, nullable).toUntypedHandle(); in readUntypedHandle() 465 public DataPipe.ConsumerHandle readConsumerHandle(int offset, boolean nullable) { in readConsumerHandle() argument 466 return readUntypedHandle(offset, nullable).toDataPipeConsumerHandle(); in readConsumerHandle() 472 public DataPipe.ProducerHandle readProducerHandle(int offset, boolean nullable) { in readProducerHandle() argument 473 return readUntypedHandle(offset, nullable).toDataPipeProducerHandle(); in readProducerHandle() [all …]
|
/external/clang/test/SemaObjC/ |
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 | 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 | 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…
|
/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/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/libmojo/mojo/public/tools/bindings/generators/ |
D | mojom_js_generator.py | 225 nullable = JavaScriptNullableParam(field) 232 (element_size, element_type, nullable, 240 nullable = JavaScriptNullableParam(field) 242 return "%s, %s" % (struct_type, nullable) 245 nullable = JavaScriptNullableParam(field) 247 return "%s, %s" % (union_type, nullable) 250 nullable = JavaScriptNullableParam(field) 256 (nullable, keys_type, values_type, values_nullable)
|
/external/clang/test/Analysis/ |
D | nullability.mm | 87 void testArgumentTracking(Dummy *_Nonnull nonnull, Dummy *_Nullable nullable) { 88 Dummy *p = nullable; 94 case 4: testMultiParamChecking(nonnull, nullable, nonnull); break; 96 …case 6: testMultiParamChecking(nonnull, nullable, nullable); break; // expected-warning {{Nullable… 97 …case 7: testMultiParamChecking(nullable, nullable, nonnull); // expected-warning {{Nullable pointe… 98 …case 8: testMultiParamChecking(nullable, nullable, nullable); // expected-warning {{Nullable point… 99 case 9: testMultiParamChecking((Dummy *_Nonnull)0, nullable, nonnull); break; 114 // The expected result: the most nullable of self and method return type.
|
/external/clang/test/SemaObjCXX/Inputs/ |
D | nullability-consistency-2.h | 13 @property (retain,nullable) SomeClass *property2; 14 - (nullable SomeClass *)method1;
|
/external/clang/test/Analysis/Inputs/ |
D | system-header-simulator-for-nullability.h | 20 - (id)copyWithZone:(nullable NSZone *)zone; 24 - (id)mutableCopyWithZone:(nullable NSZone *)zone;
|
/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}
|
/external/selinux/python/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 …]
|
/external/python/cpython2/Parser/ |
D | spark.py | 210 self.nullable = {} 215 self.nullable[lhs] = 0 219 self.nullable[lhs] = 1 236 if self.nullable[lhs]: 239 if not self.nullable[sym]: 242 self.nullable[lhs] = 1 272 not self.nullable[sym]:
|