Home
last modified time | relevance | path

Searched refs:NSUInteger (Results 1 – 25 of 141) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-objc.h16 typedef unsigned long NSUInteger; typedef
38 typedef NSUInteger NSStringEncoding;
78 …SFastEnumeration - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state object…
99 - (NSUInteger)length;
116 + (id)dataWithBytesNoCopy:(void *)bytes length:(NSUInteger)length;
118 - (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length;
121 length:(NSUInteger)length
123 - (id)initWithBytes:(void *)bytes length:(NSUInteger)length;
150 - (void)insertPointer:(void *)item atIndex:(NSUInteger)index;
151 - (void)replacePointerAtIndex:(NSUInteger)index withPointer:(void *)item;
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dsign-conversion.m4 typedef unsigned int NSUInteger; typedef
8 - (NSUInteger)hash;
12 @property NSUInteger uint;
17 - (NSUInteger)count;
18 - (id)objectAtIndex:(NSUInteger)index; argument
19 - (id)objectAtIndexedSubscript:(NSUInteger)index; argument
26 …tUint:sint]; // expected-warning {{implicit conversion changes signedness: 'int' to 'NSUInteger'}}
27 ….uint = sint; // expected-warning {{implicit conversion changes signedness: 'int' to 'NSUInteger'}}
35 …ay[si]).hash; // expected-warning {{implicit conversion changes signedness: 'int' to 'NSUInteger'}}
37 …y[si]) hash]; // expected-warning {{implicit conversion changes signedness: 'int' to 'NSUInteger'}}
[all …]
H A Dcomptypes-9.m7 typedef unsigned int NSUInteger; typedef
35 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf co… argument
41 - (NSUInteger)count;
42 - (id)objectAtIndex:(NSUInteger)index; argument
48 - (NSUInteger)length;
H A Dformat-size-spec-nsinteger.m11 typedef unsigned long NSUInteger; typedef
15 typedef unsigned int NSUInteger; typedef
31 NSUInteger j = 0;
37 …// expected-warning@-4 {{values of type 'NSUInteger' should not be used as format arguments; add a…
43 NSUInteger j = 0;
49 …// expected-warning@-4 {{values of type 'NSUInteger' should not be used as format arguments; add a…
H A Dinterface-layout.m5 typedef unsigned int NSUInteger; typedef
19 extern id NSAllocateObject (Class aClass, NSUInteger extraBytes, NSZone * zone);
26 …@public NSUInteger attributeRuns[((1024 - 16 - sizeof (MyClassBase)) / (sizeof (NSUInteger) + size…
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-ns-macros.m.result15 typedef unsigned long NSUInteger;
27 typedef NS_ENUM(NSUInteger, UITableViewCellStyle) {
55 typedef NS_OPTIONS(NSUInteger, UI) {
87 typedef NS_OPTIONS(NSUInteger, UITableStyle) {
95 typedef NS_OPTIONS(NSUInteger, UIStyle) {
100 typedef NS_ENUM(NSUInteger, NSBitmapImageFileType) {
109 typedef NS_ENUM(NSUInteger, NSAlertStyle) {
134 typedef NS_OPTIONS(NSUInteger, NSFOptions) {
219 typedef NSUInteger FarFarAwayOptions;
222 typedef NS_OPTIONS(NSUInteger, FarAwayOptions) {
[all …]
H A Dobjcmt-ns-macros.m15 typedef unsigned long NSUInteger; typedef
37 typedef NSUInteger UITableViewCellStyle;
114 typedef NSUInteger NSBitmapImageFileType;
121 typedef NSUInteger NSAlertStyle;
157 typedef NSUInteger NSFOptions;
229 typedef NSUInteger FarFarAwayOptions;
232 typedef NSUInteger FarAwayOptions;
254 typedef NSUInteger NSExcludeOptions;
271 typedef NSUInteger NSExcludeIconOptions;
296 typedef NSUInteger NSSelectionDirection;
[all …]
H A Dobjcmt-instancetype-2.m6 typedef unsigned int NSUInteger; typedef
21 + (id)stringWithCString:(const char *)bytes length:(NSUInteger)length __attribute__((availability(m…
43 + (id)stringWithCapacity:(NSUInteger)capacity; argument
47 + (id)dataWithCapacity:(NSUInteger)aNumItems; argument
48 + (id)dataWithLength:(NSUInteger)length; argument
74 …r:(NSInteger)year month:(NSUInteger)month day:(NSUInteger)day hour:(NSUInteger)hour minute:(NSUInt… argument
H A Dobjcmt-instancetype-2.m.result6 typedef unsigned int NSUInteger;
21 + (id)stringWithCString:(const char *)bytes length:(NSUInteger)length __attribute__((availability(m…
43 + (instancetype)stringWithCapacity:(NSUInteger)capacity;
47 + (instancetype)dataWithCapacity:(NSUInteger)aNumItems;
48 + (instancetype)dataWithLength:(NSUInteger)length;
74 …r:(NSInteger)year month:(NSUInteger)month day:(NSUInteger)day hour:(NSUInteger)hour minute:(NSUInt…
/llvm-project-15.0.7/clang/test/Rewriter/
H A Dmodern-write-bf-abi.mm12 typedef unsigned long NSUInteger; typedef
16 NSUInteger _used;
17 NSUInteger _doHardRetain:1;
18 NSUInteger _doWeakAccess:1;
20 NSUInteger _size:62;
22 NSUInteger _size:30;
24 NSUInteger _hasObjects:1;
25 NSUInteger _hasStrongReferences:1;
27 NSUInteger _offset:62;
29 NSUInteger _offset:30;
[all …]
H A Drewrite-constructor-init.mm5 typedef unsigned int NSUInteger; typedef
8 NSUInteger location;
9 NSUInteger length;
12 static __inline NSRange NSMakeRange(NSUInteger loc, NSUInteger len) {
H A Dobjc-modern-StretAPI-2.mm8 typedef unsigned long NSUInteger;
10 NSUInteger location;
11 NSUInteger length;
16 - (NSRange)rangeAtIndex:(NSUInteger)rangeIndex; argument
25 NSUInteger ridx = 0;
H A Drewrite-modern-struct-ivar-1.mm5 typedef unsigned long NSUInteger; typedef
8 NSUInteger location;
9 NSUInteger length;
13 NSUInteger _capacity;
46NSUInteger asdf = (( self ->bar.x) ? 1 : ((_NSRangeInfo *)( self ->_internal._multipleRanges._dat…
/llvm-project-15.0.7/clang/test/Analysis/
H A Dtest-objc-non-nil-return-value-checker.m3 typedef unsigned int NSUInteger; typedef
23 - (id)objectAtIndexedSubscript:(NSUInteger)idx; argument
27 - (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject; argument
33 - (id)objectAtIndexedSubscript:(NSUInteger)idx; argument
38 void assumeThatNSArrayObjectAtIndexIsNeverNull(NSArray *A, NSUInteger i) {
44 void assumeThatNSMutableArrayObjectAtIndexIsNeverNull(NSMutableArray *A, NSUInteger i) {
48 void assumeThatNSArrayObjectAtIndexedSubscriptIsNeverNull(NSOrderedSet *A, NSUInteger i) {
H A DNSPanel.m8 typedef unsigned int NSUInteger; typedef
32 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf co… argument
36 - (NSUInteger)count;
42 typedef NSUInteger NSBackingStoreType;
55 - (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreT… argument
H A Dpr4209.m7 typedef unsigned int NSUInteger; typedef
20 …SFastEnumeration - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state object… argument
22 …NSArray : NSObject <NSCopying, NSMutableCopying, NSCoding, NSFastEnumeration> - (NSUInteger)count;
25 @interface NSString : NSObject <NSCopying, NSMutableCopying, NSCoding> - (NSUInteger)length;
30 …tionary : NSObject <NSCopying, NSMutableCopying, NSCoding, NSFastEnumeration> - (NSUInteger)count;
H A DNSContainers.m7 typedef unsigned long NSUInteger; typedef
40 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id [])buffer cou… argument
44 - (NSUInteger)count;
45 - (id)objectAtIndex:(NSUInteger)index; argument
54 + (instancetype)arrayWithObjects:(const id [])objects count:(NSUInteger)cnt; argument
60 - (void)insertObject:(id)anObject atIndex:(NSUInteger)index; argument
62 - (void)removeObjectAtIndex:(NSUInteger)index; argument
63 - (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject; argument
69 - (NSUInteger)count;
103 - (NSUInteger)count;
[all …]
H A Dmalloc.mm10 void testNSDatafFreeWhenDoneNoError(NSUInteger dataLength) {
15 void testNSDataFreeWhenDoneYES(NSUInteger dataLength) {
20 void testNSDataFreeWhenDoneYES2(NSUInteger dataLength) {
30 void testNSStringFreeWhenDoneYES3(NSUInteger dataLength) {
35 void testNSStringFreeWhenDoneYES4(NSUInteger dataLength) {
41 void testNSStringFreeWhenDoneYES(NSUInteger dataLength) {
46 void testNSStringFreeWhenDoneYES2(NSUInteger dataLength) {
52 void testNSDataFreeWhenDoneNO(NSUInteger dataLength) {
57 void testNSDataFreeWhenDoneNO2(NSUInteger dataLength) {
63 void testNSStringFreeWhenDoneNO(NSUInteger dataLength) {
[all …]
H A Ddelegates.m24 typedef unsigned int NSUInteger; typedef
52 extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
55 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf co… argument
60 - (NSUInteger)count;
64 - (id)initWithCapacity:(NSUInteger)numItems; argument
68 typedef NSUInteger NSStringCompareOptions;
69 @interface NSString : NSObject <NSCopying, NSMutableCopying, NSCoding> - (NSUInteger)length;
H A Dmethod-arg-decay.m4 typedef unsigned int NSUInteger; typedef
13 @end extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
19 …SFastEnumeration - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state object… argument
25 - (id)objectAtIndex:(NSUInteger)index; argument
27 @interface NSString : NSObject <NSCopying, NSMutableCopying, NSCoding> - (NSUInteger)length;
29 …e NSSet : NSObject <NSCopying, NSMutableCopying, NSCoding, NSFastEnumeration> - (NSUInteger)count;
H A Dcall-and-message.m25 typedef unsigned int NSUInteger; typedef
48 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf co… argument
52 - (NSUInteger)count;
56 - (NSUInteger)length;
100 typedef unsigned int NSUInteger; typedef
103 - (void)setObject:(id)obj atIndexedSubscript:(NSUInteger)index; argument
104 - (id)objectAtIndexedSubscript:(NSUInteger)index; argument
/llvm-project-15.0.7/lldb/examples/summaries/cocoa/
H A DCFDictionary.py41 if not(self.sys_params.types_cache.NSUInteger):
43 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
46 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
68 "count", self.offset(), self.sys_params.types_cache.NSUInteger)
81 if not(self.sys_params.types_cache.NSUInteger):
83 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
86 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
102 "count", self.offset(), self.sys_params.types_cache.NSUInteger)
124 if not(self.sys_params.types_cache.NSUInteger):
126 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
[all …]
H A DNSSet.py41 if not(self.sys_params.types_cache.NSUInteger):
43 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
46 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
67 "count", self.offset(), self.sys_params.types_cache.NSUInteger)
106 if not(self.sys_params.types_cache.NSUInteger):
108 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
111 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
127 "count", self.offset(), self.sys_params.types_cache.NSUInteger)
150 if not(self.sys_params.types_cache.NSUInteger):
152 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
[all …]
H A DNSIndexSet.py41 if not(self.sys_params.types_cache.NSUInteger):
43 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
48 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
89 self.sys_params.types_cache.NSUInteger)
94 self.sys_params.types_cache.NSUInteger)
100 self.sys_params.types_cache.NSUInteger)
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dinfinite-loop.mm4 typedef __typeof(sizeof(int)) NSUInteger; typedef
9 @property(readonly) NSUInteger count;
51 NSUInteger max_count = 10;
68 NSUInteger max_count = 10;
84 @public NSUInteger _count;
95 NSUInteger max_count = 10;
112 NSUInteger max_count = 10;

123456