Home
last modified time | relevance | path

Searched refs:nullable (Results 1 – 25 of 104) sorted by relevance

12345

/external/libchrome/mojo/public/js/lib/
Dvalidator.js190 Validator.prototype.validateHandle = function(offset, nullable) { argument
194 return nullable ?
204 nullable) { argument
208 return nullable ? validationError.NONE :
219 Validator.prototype.validateInterface = function(offset, nullable) { argument
220 return this.validateHandle(offset, nullable);
223 Validator.prototype.validateInterfaceRequest = function(offset, nullable) { argument
224 return this.validateHandle(offset, nullable);
228 nullable) { argument
229 return this.validateAssociatedEndpointHandle(offset, nullable);
[all …]
/external/protobuf/objectivec/
DGPBDescriptor.h57 @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 …]
DGPBMessage.h80 @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;
DGPBDictionary.h66 - (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 …]
/external/grpc-grpc/src/objective-c/GRPCClient/private/
DGRPCHost.h35 @property(nonatomic, copy, nullable) NSString *userAgentPrefix;
36 @property(nonatomic, nullable) struct grpc_channel_credentials *channelCreds;
51 @property(nonatomic, copy, nullable) NSString *hostNameOverride;
54 @property(nonatomic, strong, nullable) NSNumber *responseSizeLimitOverride;
56 - (nullable instancetype)init NS_UNAVAILABLE;
58 + (nullable instancetype)hostWithAddress:(NSString *)address;
59 - (nullable instancetype)initWithAddress:(NSString *)address NS_DESIGNATED_INITIALIZER;
60 - (BOOL)setTLSPEMRootCerts:(nullable NSString *)pemRootCerts
61 withPrivateKey:(nullable NSString *)pemPrivateKey
62 withCertChain:(nullable NSString *)pemCertChain
[all …]
DGRPCChannel.h33 - (nullable instancetype)init NS_UNAVAILABLE;
40 + (nullable GRPCChannel *)secureChannelWithHost:(nonnull NSString *)host;
46 + (nullable GRPCChannel *)secureCronetChannelWithHost:(nonnull NSString *)host
56 channelArgs:(nullable NSDictionary *)channelArgs;
62 channelArgs:(nullable NSDictionary *)channelArgs;
64 - (nullable grpc_call *)unmanagedCallWithPath:(nonnull NSString *)path
/external/clang/test/SemaCXX/
Dnullability.cpp74 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/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DEncoder.java212 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 …]
DDecoder.java309 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/
Dnullability.m43 @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 …]
Doverride-nullability.m7 - (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;
/external/clang/docs/analyzer/
Dnullability.rst11 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/grpc-grpc/src/objective-c/GRPCClient/
DGRPCCall+ChannelCredentials.h27 + (BOOL)setTLSPEMRootCerts:(nullable NSString *)pemRootCert
35 + (BOOL)setTLSPEMRootCerts:(nullable NSString *)pemRootCerts
36 withPrivateKey:(nullable NSString *)pemPrivateKey
37 withCertChain:(nullable NSString *)pemCertChain
DGRPCCall+ChannelCredentials.m25 + (BOOL)setTLSPEMRootCerts:(nullable NSString *)pemRootCerts
26 withPrivateKey:(nullable NSString *)pemPrivateKey
27 withCertChain:(nullable NSString *)pemCertChain
40 + (BOOL)setTLSPEMRootCerts:(nullable NSString *)pemRootCerts
/external/webrtc/webrtc/api/objc/
DRTCIceServer.h21 @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
DRTCVideoFrame.h26 @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;
DRTCMediaConstraints.h21 (nullable NSDictionary<NSString *, NSString *> *)mandatory
23 (nullable NSDictionary<NSString *, NSString *> *)optional
DRTCIceCandidate.h21 @property(nonatomic, readonly, nullable) NSString *sdpMid;
39 sdpMid:(nullable NSString *)sdpMid
/external/guice/core/src/com/google/inject/spi/
DDependency.java42 private final boolean nullable; field in Dependency
45 Dependency(InjectionPoint injectionPoint, Key<T> key, boolean nullable, int parameterIndex) { in Dependency() argument
48 this.nullable = nullable; in Dependency()
76 return nullable; in isNullable()
/external/tensorflow/tensorflow/lite/experimental/objc/apis/
DTFLInterpreter.h98 - (nullable instancetype)initWithModelPath:(NSString *)modelPath error:(NSError **)error;
112 - (nullable instancetype)initWithModelPath:(NSString *)modelPath
137 - (nullable TFLTensor *)inputTensorAtIndex:(NSUInteger)index error:(NSError **)error;
150 - (nullable TFLTensor *)outputTensorAtIndex:(NSUInteger)index error:(NSError **)error;
DTFLTensor.h68 @property(nonatomic, readonly, nullable) TFLQuantizationParameters *quantizationParameters;
95 - (nullable NSData *)dataWithError:(NSError **)error;
107 - (nullable NSArray<NSNumber *> *)shapeWithError:(NSError **)error;
/external/tensorflow/tensorflow/lite/experimental/objc/sources/
DTFLTensor.m36 @property(nonatomic, nullable) TFLQuantizationParameters *quantizationParameters;
64 - (nullable NSData *)dataWithError:(NSError **)error {
68 - (nullable NSArray<NSNumber *> *)shapeWithError:(NSError **)error {
79 quantizationParameters:(nullable TFLQuantizationParameters *)quantizationParameters {
DTFLInterpreter+Internal.h46 - (nullable NSData *)dataFromTensor:(TFLTensor *)tensor error:(NSError **)error;
59 - (nullable NSArray<NSNumber *> *)shapeOfTensor:(TFLTensor *)tensor error:(NSError **)error;
/external/clang/test/Analysis/
Dnullability.mm87 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/
Dnullability-consistency-2.h13 @property (retain,nullable) SomeClass *property2;
14 - (nullable SomeClass *)method1;

12345