Home
last modified time | relevance | path

Searched refs:userInfo (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/lldb/test/API/lang/objc/exceptions/
H A DTestObjCExceptions.py82 userInfo = e1.GetChildMemberWithName("userInfo").dynamic
83 self.assertEqual(userInfo.summary, "1 key/value pair")
84 self.assertEqual(userInfo.GetChildAtIndex(0).GetChildAtIndex(0).description, "some_key")
85 self.assertEqual(userInfo.GetChildAtIndex(0).GetChildAtIndex(1).description, "some_value")
111 userInfo = e2.GetChildMemberWithName("userInfo").dynamic
112 self.assertEqual(userInfo.summary, "1 key/value pair")
113 self.assertEqual(userInfo.GetChildAtIndex(0).GetChildAtIndex(0).description, "some_key")
114 self.assertEqual(userInfo.GetChildAtIndex(0).GetChildAtIndex(1).description, "some_value")
H A Dmain.mm16 … @throw [[NSException alloc] initWithName:@"ThrownException" reason:@"SomeReason" userInfo:info];
18 …row [[MyCustomException alloc] initWithName:@"ThrownException" reason:@"SomeReason" userInfo:info];
38 …ption *e1 = [[NSException alloc] initWithName:@"ExceptionName" reason:@"SomeReason" userInfo:info];
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcfref_PR2519.c27 …CenterRef center, CFStringRef name, const void *object, CFDictionaryRef userInfo, Boolean deliverI…
37 …CFDictionaryRef userInfo = CFDictionaryCreate(kCFAllocatorDefault, (const void **)&_key, (const vo… in main() local
42 userInfo, 0); in main()
43 CFRelease(userInfo); // no-warning in main()
H A DCheckNSError.m17 + (id)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict;
30 …*error = [NSError errorWithDomain:@"domain" code:1 userInfo:0]; // expected-warning {{Potential nu…
34 if (error) *error = [NSError errorWithDomain:@"domain" code:1 userInfo:0]; // no-warning
39 *error = [NSError errorWithDomain:@"domain" code:1 userInfo:0]; // no-warning
44 *error = [NSError errorWithDomain:@"domain" code:1 userInfo:0]; // no-warning
H A DNoReturn.m35 …n *)exceptionWithName:(NSString *)name reason:(NSString *)reason userInfo:(NSDictionary *)userInfo;
73 …[[NSException exceptionWithName:@"My Exception" reason:@"Want to test exceptions." userInfo:0] rai…
H A Dincorrect-checker-names.mm102 + (id)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict;
119 …*error = [NSError errorWithDomain:@"domain" code:1 userInfo:0]; // expected-warning {{Potential nu…
/llvm-project-15.0.7/clang/test/Rewriter/
H A Drewrite-modern-throw.m78 …n *)exceptionWithName:(NSString *)name reason:(NSString *)reason userInfo:(NSDictionary *)userInfo;
88 …set expression; left subexpression not a set (lhs = %@ rhs = %@)", leftSet, rightSet] userInfo: 0];
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/
H A Davoid-nserror-init.m10 …GES: :[[@LINE-1]]:22: warning: use errorWithDomain:code:userInfo: or initWithDomain:code:userInfo:…
/llvm-project-15.0.7/lldb/test/API/commands/expression/namespace_local_var_same_name_obj_c/
H A Dutil.mm14 NSError* error = [NSError errorWithDomain:NSURLErrorDomain code:-1 userInfo:nil];
19 NSError* error = [NSError errorWithDomain:NSURLErrorDomain code:-1 userInfo:nil];
/llvm-project-15.0.7/lldb/test/API/commands/expression/call-throws/
H A Dcall-throws.m16 userInfo:nil];
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/objc/
H A Davoid-nserror-init.rst9 ``errorWithDomain:code:userInfo:`` to create new NSError objects instead
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-objc/
H A Dmain.m622 userInfo:error_userInfo];
644 userInfo:nil];
648 userInfo:nil];
652 userInfo:nil];
656 userInfo:nil];
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-instancetype-2.m38 + (id)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict;
H A Dobjcmt-instancetype-2.m.result38 + (instancetype)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)di…