/external/antlr/runtime/ObjC/Framework/ |
D | RuntimeException.h | 38 + (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 …]
|
D | TokenRewriteStream.h | 47 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 …]
|
D | RuntimeException.m | 42 + (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 …]
|
D | FailedPredicateException.h | 33 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;
|
D | DebugEventSocketProxy.m | 47 - (id) initWithGrammarName:(NSString *)aGrammarName debuggerPort:(NSInteger)aPort 147 …[self sendToDebugger:[NSString stringWithFormat:@"ANTLR %d", DebugProtocolVersion] waitForResponse… 148 …[self sendToDebugger:[NSString stringWithFormat:@"grammar \"%@", [self grammarName]] waitForRespon… 154 NSString *response; 157 response = [[NSString alloc] initWithData:newLine encoding:NSUTF8StringEncoding]; 168 - (void) sendToDebugger:(NSString *)message 173 - (void) sendToDebugger:(NSString *)message waitForResponse:(BOOL)wait 201 - (NSString *) grammarName 206 - (void) setGrammarName: (NSString *) aGrammarName 225 - (NSString *) escapeNewlines:(NSString *)aString [all …]
|
/external/google-breakpad/src/common/mac/testing/ |
D | GTMSenTestCase.h | 68 NSString *STComposeString(NSString *, ...) NS_FORMAT_FUNCTION(1, 2); 70 NSString *STComposeString(NSString *, ...); 90 …NSString *_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__] \ 120 …NSString *_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 …]
|
D | GTMSenTestCase.m | 37 + (NSException *)failureInFile:(NSString *)filename 39 reason:(NSString *)reason; argument 43 + (NSException *)failureInFile:(NSString *)filename 45 reason:(NSString *)reason { argument 60 + (NSException *)failureInFile:(NSString *)filename 62 withDescription:(NSString *)formatString, ... { argument 64 NSString *testDescription = @""; 69 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease]; 73 NSString *reason = testDescription; 78 + (NSException *)failureInCondition:(NSString *)condition [all …]
|
/external/clang/test/Analysis/ |
D | NSString.m | 39 @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 …]
|
D | localization-aggressive.m | 27 @interface NSString : NSObject interface 29 + (instancetype)localizedStringWithFormat:(NSString *)format, ...; argument 33 - (NSString *)localizedStringForKey:(NSString *)key 34 value:(NSString *)value 35 table:(NSString *)tableName; argument 38 - (void)accessibilitySetIdentification:(NSString *)ident; argument 39 - (void)setAccessibilityLabel:(NSString *)label; argument 42 @property(nullable, nonatomic, copy) NSString *text; 45 @property(strong) NSString *text; 48 @property (strong) NSString *toolTip; [all …]
|
D | localization.m | 22 @interface NSString : NSObject interface 23 - (NSString *)stringByAppendingFormat:(NSString *)format, ...; argument 24 + (instancetype)stringWithFormat:(NSString *)format, ...; 28 - (NSString *)localizedStringForKey:(NSString *)key 29 value:(NSString *)value 30 table:(NSString *)tableName; 33 @property(nullable, nonatomic, copy) NSString *text; 36 @property(strong) NSString *text; 47 NSString *KHLocalizedString(NSString* key, NSString* comment) { argument 62 NSString *bar = NSLocalizedString(@"Hello", @"Comment"); [all …]
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
D | ARDStatsBuilder.m | 21 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/clang/test/SemaObjC/ |
D | format-arg-attribute.m | 3 @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 …]
|
D | parameterized_classes_subst.m | 18 @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 …]
|
D | property-in-class-extension-1.m | 5 @class NSString; 9 @property (nonatomic, readonly) NSString* addingMemoryModel; 11 @property (nonatomic, copy, readonly) NSString* matchingMemoryModel; 13 @property (atomic, retain, readonly) NSString* addingNoNewMemoryModel; 15 @property (readonly) NSString* none; 16 @property (readonly) NSString* none1; 18 @property (assign, readonly) NSString* changeMemoryModel; // expected-note {{property declared here… 23 @property (assign, readonly) NSString* assignProperty; 25 @property (readonly) NSString* readonlyProp; 33 NSString* _name; category [all …]
|
/external/clang/test/SemaObjCXX/ |
D | parameterized_classes_subst.mm | 15 @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 …]
|
/external/python/cpython3/Mac/PythonLauncher/ |
D | FileSettings.h | 12 - (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/cpython2/Mac/PythonLauncher/ |
D | FileSettings.h | 12 - (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/ |
D | parameterized_classes.m | 19 @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/webrtc/webrtc/api/objc/ |
D | RTCMediaConstraints.mm | 14 #import "webrtc/base/objc/NSString+StdString.h" 41 NSDictionary<NSString *, NSString *> *_mandatory; 42 NSDictionary<NSString *, NSString *> *_optional; 46 (NSDictionary<NSString *, NSString *> *)mandatory 48 (NSDictionary<NSString *, NSString *> *)optional { argument 58 - (NSString *)description { 59 return [NSString stringWithFormat:@"RTCMediaConstraints:\n%@\n%@", 79 (NSDictionary<NSString *, NSString *> *)constraints { argument 81 for (NSString *key in constraints) { 82 NSAssert([key isKindOfClass:[NSString class]], [all …]
|
/external/google-breakpad/src/common/mac/ |
D | GTMLogger.h | 248 + (id)standardLoggerWithPath:(NSString *)path; 275 - (void)logDebug:(NSString *)fmt, ... NS_FORMAT_FUNCTION(1, 2); 277 - (void)logInfo:(NSString *)fmt, ... NS_FORMAT_FUNCTION(1, 2); 279 - (void)logError:(NSString *)fmt, ... NS_FORMAT_FUNCTION(1, 2); 281 - (void)logAssert:(NSString *)fmt, ... NS_FORMAT_FUNCTION(1, 2); 310 - (void)logFuncDebug:(const char *)func msg:(NSString *)fmt, ... 312 - (void)logFuncInfo:(const char *)func msg:(NSString *)fmt, ... 314 - (void)logFuncError:(const char *)func msg:(NSString *)fmt, ... 316 - (void)logFuncAssert:(const char *)func msg:(NSString *)fmt, ... 362 - (void)logMessage:(NSString *)msg level:(GTMLoggerLevel)level; [all …]
|
D | HTTPMultipartUpload.m | 34 - (NSString *)multipartBoundary; 37 - (NSData *)formDataForKey:(NSString *)key value:(NSString *)value; argument 38 - (NSData *)formDataForFileContents:(NSData *)contents name:(NSString *)name; argument 39 - (NSData *)formDataForFile:(NSString *)file name:(NSString *)name; argument 47 - (NSString *)multipartBoundary { argument 49 return [NSString stringWithFormat:@"---------------------------%08X%08X", 54 - (NSData *)formDataForKey:(NSString *)key value:(NSString *)value { argument 55 NSString *escaped = 57 NSString *fmt = 59 NSString *form = [NSString stringWithFormat:fmt, boundary_, escaped, value]; [all …]
|
/external/clang/test/ARCMT/ |
D | nonobjc-to-objc-cast.m | 23 @interface NSString : NSObject { interface 32 NSString *str = (NSString *)kUTTypePlainText; // no change 34 str = (NSString *)(b ? kUTTypeRTF : kUTTypePlainText); // no change 35 str = (NSString *)p; // no change. 37 str = (NSString *)kNonConst; 39 str = (NSString *)(b ? kUTTypeRTF : kNonConst); 42 NSString *_uuidString = (NSString *)CFUUIDCreateString(kCFAllocatorDefault, _uuid); 43 _uuidString = [(NSString *)CFUUIDCreateString(kCFAllocatorDefault, _uuid) autorelease]; 47 @implementation NSString (StrExt) implementation in StrExt 48 - (NSString *)stringEscapedAsURI { [all …]
|
D | nonobjc-to-objc-cast.m.result | 23 @interface NSString : NSObject { 32 NSString *str = (NSString *)kUTTypePlainText; // no change 34 str = (NSString *)(b ? kUTTypeRTF : kUTTypePlainText); // no change 35 str = (NSString *)p; // no change. 37 str = (__bridge NSString *)kNonConst; 38 str = (__bridge NSString *)(b ? kUTTypeRTF : kNonConst); 39 str = (__bridge NSString *)(b ? kUTTypeRTF : kNonConst); 42 …NSString *_uuidString = (NSString *)CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, _uui… 43 _uuidString = (NSString *)CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, _uuid)); 47 @implementation NSString (StrExt) [all …]
|
/external/catch2/include/internal/ |
D | catch_objc.hpp | 65 …NSString* selStr = [[NSString alloc] initWithFormat:@"Catch_%s_%s", annotationName.c_str(), testCa… in getAnnotation() 70 return [(NSString*)value UTF8String]; in getAnnotation() 112 struct StringHolder : MatcherBase<NSString*>{ 113 StringHolder( NSString* substr ) : m_substr( [substr copy] ){} in StringHolder() 119 bool match( NSString* arg ) const override { in match() 123 NSString* CATCH_ARC_STRONG m_substr; 127 Equals( NSString* substr ) : StringHolder( substr ){} in Equals() 129 bool match( NSString* str ) const override { in match() 140 Contains( NSString* substr ) : StringHolder( substr ){} in Contains() 142 bool match( NSString* str ) const { in match() [all …]
|
/external/antlr/runtime/ObjC/Framework/test/runtime/misc/ |
D | TestDictionary.m | 31 NSString *key1 = @"a101"; 32 NSString *obj1 = @"obj101"; 36 NSString *expected = obj1; 37 NSString *result = [testDict objectForKey:key1]; 44 NSString *key1 = @"a101"; 45 NSString *obj1 = @"obj101"; 46 NSString *key2 = @"a102"; 47 NSString *obj2 = @"obj102"; 52 NSString *expected = obj1; 53 NSString *result = [testDict objectForKey:key1]; [all …]
|