Home
last modified time | relevance | path

Searched refs:NSString (Results 1 – 25 of 1258) sorted by relevance

12345678910>>...51

/external/antlr/runtime/ObjC/Framework/
DRuntimeException.h38 + (RuntimeException *) newException:(NSString *)aReason;
39 + (RuntimeException *) newException:(NSString *)aReason userInfo:(NSDictionary *)aUserInfo;
41 + (RuntimeException *) newException:(NSString *)aName reason:(NSString *)aReason;
42 + (RuntimeException *) newException:(NSString *)aName reason:(NSString *)aReason userInfo:(NSDictio…
45 - (id) init:(NSString *)aReason;
46 - (id) init:(NSString *)aReason userInfo:(NSDictionary *)aUserInfo;
47 - (id) initWithName:(NSString *)aName reason:(NSString *)aReason;
48 - (id) initWithName:(NSString *)aName reason:(NSString *)aReason userInfo:(NSDictionary *)aUserInfo;
50 - (NSString *) Description;
59 + (id) newException:(NSString *)aReason;
[all …]
DTokenRewriteStream.h47 NSString *text;
52 @property (retain, getter=text, setter=setText:) NSString *text;
54 + (RewriteOperation *) newRewriteOperation:(NSInteger)anIndex Text:(NSString *)text;
56 - (id) initWithIndex:(NSInteger)anIndex Text:(NSString *)theText;
61 - (NSInteger) execute:(NSString *)buf;
63 - (NSString *)toString;
64 - (NSInteger) indexOf:(char)aChar inString:(NSString *)aString;
70 + (ANTLRInsertBeforeOp *) newANTLRInsertBeforeOp:(NSInteger)anIndex Text:(NSString *)theText;
71 - (id) initWithIndex:(NSInteger)anIndex Text:(NSString *)theText;
84 + (ANTLRReplaceOp *) newANTLRReplaceOp:(NSInteger)from ToIndex:(NSInteger)to Text:(NSString*)theTex…
[all …]
DRuntimeException.m42 + (id) newException:(NSString *)aReason
47 + (id) newException:(NSString *)aReason userInfo:(NSDictionary *)aUserInfo
52 + (id) newException:(NSString *)aName reason:(NSString *)aReason; argument
57 + (id) newException:(NSString *)aName reason:(NSString *)aReason userInfo:(NSDictionary *)aUserInfo; argument
69 - (id) init:(NSString *)aReason
71 …self = [super initWithName:(NSString *)@"RuntimeException" reason:(NSString *)aReason userInfo:(NS…
75 - (id) init:(NSString *)aReason userInfo:(NSDictionary *)aUserInfo
81 - (id) initWithName:(NSString *)aName reason:(NSString *)aReason
83 …self = [super initWithName:(NSString *)aName reason:(NSString *)aReason userInfo:(NSDictionary *)n…
87 - (id) initWithName:(NSString *)aName reason:(NSString *)aReason userInfo:(NSDictionary *)aUserInfo
[all …]
DFailedPredicateException.h33 NSString *predicate;
34 NSString *ruleName;
37 @property (retain) NSString *predicate;
38 @property (retain) NSString *ruleName;
40 + (FailedPredicateException *) newException:(NSString *)theRuleName predicate:(NSString *)thePredic…
41 - (FailedPredicateException *) initWithRuleName:(NSString *)theRuleName predicate:(NSString *)thePr…
44 - (NSString *) getPredicate;
45 - (void) setPredicate:(NSString *)thePredicate;
46 - (NSString *) getRuleName;
47 - (void) setRuleName:(NSString *)theRuleName;
/external/webrtc/sdk/objc/api/peerconnection/
DRTCIceServer.h26 @property(nonatomic, readonly) NSArray<NSString *> *urlStrings;
29 @property(nonatomic, readonly, nullable) NSString *username;
32 @property(nonatomic, readonly, nullable) NSString *credential;
44 @property(nonatomic, readonly, nullable) NSString *hostname;
47 @property(nonatomic, readonly) NSArray<NSString *> *tlsAlpnProtocols;
53 @property(nonatomic, readonly) NSArray<NSString *> *tlsEllipticCurves;
58 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings;
64 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
65 username:(nullable NSString *)username
66 credential:(nullable NSString *)credential;
[all …]
DRTCRtpCodecParameters.h17 RTC_EXTERN const NSString *const kRTCRtxCodecName;
18 RTC_EXTERN const NSString *const kRTCRedCodecName;
19 RTC_EXTERN const NSString *const kRTCUlpfecCodecName;
20 RTC_EXTERN const NSString *const kRTCFlexfecCodecName;
21 RTC_EXTERN const NSString *const kRTCOpusCodecName;
22 RTC_EXTERN const NSString *const kRTCIsacCodecName;
23 RTC_EXTERN const NSString *const kRTCL16CodecName;
24 RTC_EXTERN const NSString *const kRTCG722CodecName;
25 RTC_EXTERN const NSString *const kRTCIlbcCodecName;
26 RTC_EXTERN const NSString *const kRTCPcmuCodecName;
[all …]
DRTCIceServer.mm13 #import "helpers/NSString+StdString.h"
25 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings { argument
31 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
32 username:(NSString *)username
33 credential:(NSString *)credential { argument
40 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
41 username:(NSString *)username
42 credential:(NSString *)credential
51 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
52 username:(NSString *)username
[all …]
DRTCMediaConstraints.mm13 #import "helpers/NSString+StdString.h"
17 NSString *const kRTCMediaConstraintsAudioNetworkAdaptorConfig =
20 NSString *const kRTCMediaConstraintsIceRestart = @(webrtc::MediaConstraints::kIceRestart);
21 NSString *const kRTCMediaConstraintsOfferToReceiveAudio =
23 NSString *const kRTCMediaConstraintsOfferToReceiveVideo =
25 NSString *const kRTCMediaConstraintsVoiceActivityDetection =
28 NSString *const kRTCMediaConstraintsValueTrue = @(webrtc::MediaConstraints::kValueTrue);
29 NSString *const kRTCMediaConstraintsValueFalse = @(webrtc::MediaConstraints::kValueFalse);
32 NSDictionary<NSString *, NSString *> *_mandatory;
33 NSDictionary<NSString *, NSString *> *_optional;
[all …]
/external/google-breakpad/src/common/mac/testing/
DGTMSenTestCase.h68 NSString *STComposeString(NSString *, ...) NS_FORMAT_FUNCTION(1, 2);
70 NSString *STComposeString(NSString *, ...);
90NSString *_expression = [NSString stringWithFormat:@"Expected noErr, got %ld for (%s)", (long)a1va…
93 inFile:[NSString stringWithUTF8String:__FILE__] \
99 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == noErr fai…
101 inFile:[NSString stringWithUTF8String:__FILE__] \
120NSString *_expression = [NSString stringWithFormat:@"Expected %s(%ld) but got %ld for (%s)", #a2, …
123 inFile:[NSString stringWithUTF8String:__FILE__] \
129 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == (%s) fail…
131 inFile:[NSString stringWithUTF8String:__FILE__] \
[all …]
/external/llvm-project/clang/test/Analysis/
Dtrustnonnullchecker_test.m10 NSString* _Nonnull trust_nonnull_framework_annotation() {
11 NSString* out = [NSString generateString];
16 NSString* _Nonnull trust_instancemsg_annotation(NSString* _Nonnull param) {
17 NSString* out = [param stringByAppendingString:@"string"];
22 NSString* _Nonnull distrust_instancemsg_noannotation(NSString* param) {
24 NSString* out = [param stringByAppendingString:@"string"];
29 NSString* _Nonnull trust_analyzer_knowledge(NSString* param) {
32 NSString* out = [param stringByAppendingString:@"string"];
37 NSString* _Nonnull trust_assume_nonnull_macro() {
38 NSString* out = [NSString generateImplicitlyNonnullString];
[all …]
DNSString.m39 @class NSString, Protocol;
40 extern void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
43 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
68 @class NSString;
80 @interface NSString : NSObject <NSCopying, NSMutableCopying, NSCoding> - (NSUInteger)length; interface
81 - (NSComparisonResult)compare:(NSString *)string;
82 - (NSComparisonResult)compare:(NSString *)string options:(NSStringCompareOptions)mask;
83 - (NSComparisonResult)compare:(NSString *)string options:(NSStringCompareOptions)mask range:(NSRang…
84 - (NSComparisonResult)compare:(NSString *)string options:(NSStringCompareOptions)mask range:(NSRang…
85 - (NSComparisonResult)caseInsensitiveCompare:(NSString *)string;
[all …]
Dlocalization-aggressive.m33 @interface NSString : NSObject interface
35 + (instancetype)localizedStringWithFormat:(NSString *)format, ...; argument
39 - (NSString *)localizedStringForKey:(NSString *)key
40 value:(NSString *)value
41 table:(NSString *)tableName; argument
44 - (void)accessibilitySetIdentification:(NSString *)ident; argument
45 - (void)setAccessibilityLabel:(NSString *)label; argument
48 @property(nullable, nonatomic, copy) NSString *text;
51 @property(strong) NSString *text;
54 @property (strong) NSString *toolTip;
[all …]
/external/clang/test/Analysis/
DNSString.m39 @class NSString, Protocol;
40 extern void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
43 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
68 @class NSString;
80 @interface NSString : NSObject <NSCopying, NSMutableCopying, NSCoding> - (NSUInteger)length; interface
81 - (NSComparisonResult)compare:(NSString *)string;
82 - (NSComparisonResult)compare:(NSString *)string options:(NSStringCompareOptions)mask;
83 - (NSComparisonResult)compare:(NSString *)string options:(NSStringCompareOptions)mask range:(NSRang…
84 - (NSComparisonResult)compare:(NSString *)string options:(NSStringCompareOptions)mask range:(NSRang…
85 - (NSComparisonResult)caseInsensitiveCompare:(NSString *)string;
[all …]
/external/webrtc/examples/objc/AppRTCMobile/
DARDStatsBuilder.m21 NSString *_connRecvBitrate;
22 NSString *_connRtt;
23 NSString *_connSendBitrate;
24 NSString *_localCandType;
25 NSString *_remoteCandType;
26 NSString *_transportType;
29 NSString *_actualEncBitrate;
30 NSString *_availableRecvBw;
31 NSString *_availableSendBw;
32 NSString *_targetEncBitrate;
[all …]
/external/llvm-project/clang/test/SemaObjC/
Dformat-arg-attribute.m3 @class NSString;
5 extern NSString *fa2 (const NSString *) __attribute__((format_arg(1)));
6 extern NSString *fa3 (NSString *) __attribute__((format_arg(1)));
8 extern void fc1 (const NSString *) __attribute__((format_arg)); // expected-error {{'format_arg' a…
9 extern void fc2 (const NSString *) __attribute__((format_arg())); // expected-error {{'format_arg' …
10 extern void fc3 (const NSString *) __attribute__((format_arg(1, 2))); // expected-error {{'format_a…
16 extern NSString *ff3 (const NSString *) __attribute__((format_arg(3-2)));
17 extern NSString *ff4 (const NSString *) __attribute__((format_arg(foo))); // expected-error {{use o…
20 extern NSString *fi0 (int) __attribute__((format_arg(1))); // expected-error {{format argument not…
21 extern NSString *fi1 (NSString *) __attribute__((format_arg(1)));
[all …]
Dparameterized_classes_subst.m18 @interface NSString : NSObject <NSCopying> interface
21 @interface NSMutableString : NSString
42 @interface NSStringArray : NSArray<NSString *>
147 NSSet<NSString *> *stringSet,
148 NSMutableSet<NSString *> *mutStringSet,
151 MutableSetOfArrays<NSString *> *mutStringArraySet,
155 NSArray<NSString *> *stringArray,
156 NSArray<__kindof NSString *> *kindofStringArray,
159 ip = [stringSet firstObject]; // expected-warning{{from 'NSString *'}}
160 ip = [mutStringSet firstObject]; // expected-warning{{from 'NSString *'}}
[all …]
/external/clang/test/SemaObjC/
Dformat-arg-attribute.m3 @class NSString;
5 extern NSString *fa2 (const NSString *) __attribute__((format_arg(1)));
6 extern NSString *fa3 (NSString *) __attribute__((format_arg(1)));
8 extern void fc1 (const NSString *) __attribute__((format_arg)); // expected-error {{'format_arg' a…
9 extern void fc2 (const NSString *) __attribute__((format_arg())); // expected-error {{'format_arg' …
10 extern void fc3 (const NSString *) __attribute__((format_arg(1, 2))); // expected-error {{'format_a…
16 extern NSString *ff3 (const NSString *) __attribute__((format_arg(3-2)));
17 extern NSString *ff4 (const NSString *) __attribute__((format_arg(foo))); // expected-error {{use o…
20 extern NSString *fi0 (int) __attribute__((format_arg(1))); // expected-error {{format argument not…
21 extern NSString *fi1 (NSString *) __attribute__((format_arg(1)));
[all …]
Dparameterized_classes_subst.m18 @interface NSString : NSObject <NSCopying> interface
21 @interface NSMutableString : NSString
42 @interface NSStringArray : NSArray<NSString *>
141 NSSet<NSString *> *stringSet,
142 NSMutableSet<NSString *> *mutStringSet,
145 MutableSetOfArrays<NSString *> *mutStringArraySet,
149 NSArray<NSString *> *stringArray,
150 NSArray<__kindof NSString *> *kindofStringArray,
153 ip = [stringSet firstObject]; // expected-warning{{from 'NSString *'}}
154 ip = [mutStringSet firstObject]; // expected-warning{{from 'NSString *'}}
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsstring/
Dmain.m20 NSString *empty = @"";
21 NSString *str0 = [[NSNumber numberWithUnsignedLongLong:0xFF] stringValue];
22NSString *str1 = [NSString stringWithCString:"A rather short ASCII NSString object is here" encodi…
23 NSString *str2 = [NSString stringWithUTF8String:"A rather short UTF8 NSString object is here"];
24 NSString *str3 = @"A string made with the at sign is here";
25 NSString *str4 = [NSString stringWithFormat:@"This is string number %ld right here", (long)4];
27 NSString* str5 = NSStringFromRect(ns_rect_4str);
28 NSString* str6 = [@"/usr/doc/README.1ST" pathExtension];
30 NSString *str7 = [NSString stringWithCharacters: myCharacters
32NSString* str8 = [@"/usr/doc/file.hasVeryLongExtensionThisTimehasVeryLongExtensionThisTimehasVeryL…
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-objc/
Dmain.m102 - (void)observeValueForKeyPath:(NSString *)keyPath
111 - (void)observeValueForKeyPath:(NSString *)keyPath
170 NSString *str0 = [num6 stringValue];
172 NSString *str1 =
173 [NSString stringWithCString:"A rather short ASCII NSString object is here"
176 NSString *str2 = [NSString
177 stringWithUTF8String:"A rather short UTF8 NSString object is here"];
179 NSString *str3 = @"A string made with the at sign is here";
181 NSString *str4 = [NSString
186 NSString *str5 = NSStringFromRect(ns_rect_4str);
[all …]
/external/python/cpython2/Mac/PythonLauncher/
DFileSettings.h12 - (NSString *) interpreter;
20 - (NSString *) others;
22 - (NSString *) scriptargs;
27 NSString *interpreter; // The pathname of the interpreter to use
36 NSString *others; // other options
37 NSString *scriptargs; // script arguments (not for preferences)
41 NSString *prefskey;
44 + (id)getDefaultsForFileType: (NSString *)filetype;
45 + (id)getFactorySettingsForFileType: (NSString *)filetype;
46 + (id)newSettingsForFileType: (NSString *)filetype;
[all …]
/external/python/cpython3/Mac/PythonLauncher/
DFileSettings.h12 - (NSString *) interpreter;
20 - (NSString *) others;
22 - (NSString *) scriptargs;
27 NSString *interpreter; // The pathname of the interpreter to use
36 NSString *others; // other options
37 NSString *scriptargs; // script arguments (not for preferences)
41 NSString *prefskey;
44 + (id)getDefaultsForFileType: (NSString *)filetype;
45 + (id)getFactorySettingsForFileType: (NSString *)filetype;
46 + (id)newSettingsForFileType: (NSString *)filetype;
[all …]
/external/clang/test/CodeGenObjC/
Dparameterized_classes.m19 @interface NSString : NSObject <NSCopying> interface
31 NSString *getFirstObjectProp(NSMutableArray<NSString *> *array) {
35 NSString *getFirstObjectMethod(NSMutableArray<NSString *> *array) {
39 void addObject(NSMutableArray<NSString *> *array, NSString *obj) {
43 int compareStrings(NSString *x, NSString *y) { return 0; }
44 int compareBlocks(NSString * (^x)(NSString *),
45 NSString * (^y)(NSString *)) { return 0; }
47 void sortTest(NSMutableArray<NSString *> *array,
48 NSMutableArray<NSString * (^)(NSString *)> *array2) {
53 void getObjectsTest(NSMutableArray<NSString *> *array) {
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dgoogle-objc-global-variable-declaration.m3 @class NSString;
5 static NSString* const myConstString = @"hello";
7 // CHECK-FIXES: static NSString* const kMyConstString = @"hello";
9 extern NSString* const GlobalConstant = @"hey";
12 static NSString* MyString = @"hi";
14 // CHECK-FIXES: static NSString* gMyString = @"hi";
16 NSString* globalString = @"test";
18 // CHECK-FIXES: NSString* gGlobalString = @"test";
20 static NSString* a = @"too simple";
22 // CHECK-FIXES: static NSString* a = @"too simple";
[all …]
/external/clang/test/SemaObjCXX/
Dparameterized_classes_subst.mm15 @interface NSString : NSObject <NSCopying> interface
18 @interface NSMutableString : NSString
38 @interface NSStringArray : NSArray<NSString *>
98 NSSet<NSString *> *stringSet,
99 NSMutableSet<NSString *> *mutStringSet,
102 MutableSetOfArrays<NSString *> *mutStringArraySet,
106 NSArray<NSString *> *stringArray,
109 ip = [stringSet firstObject]; // expected-error{{from incompatible type 'NSString *'}}
110 ip = [mutStringSet firstObject]; // expected-error{{from incompatible type 'NSString *'}}
113 …ip = [mutStringArraySet firstObject]; // expected-error{{from incompatible type 'NSArray<NSString
[all …]

12345678910>>...51