Lines Matching refs:NSUInteger
77 //% NSUInteger _count;
78 //% NSUInteger _capacity;
97 //%+ (instancetype)arrayWithCapacity:(NSUInteger)count {
111 //%- (instancetype)initWithValues:(const TYPE [])values count:(NSUInteger)count {
131 //%- (instancetype)initWithCapacity:(NSUInteger)count {
145 //%- (TYPE)valueAtIndex:(NSUInteger)index {
179 //%- (NSUInteger)hash {
186 //% for (NSUInteger i = 0, count = _count; i < count; ++i) {
197 //%- (void)enumerate##ACCESSOR_NAME##ValuesWithBlock:(void (NS_NOESCAPE ^)(TYPE value, NSUInteger i…
202 //% ACCESSOR_NAME$S usingBlock:(void (NS_NOESCAPE ^)(TYPE value, NSUInteger i…
206 //% for (NSUInteger i = 0, count = _count; i < count; ++i) {
211 //% for (NSUInteger i = _count; i > 0; --i) {
224 //%- (void)add##ACCESSOR_NAME##Values:(const TYPE [])values count:(NSUInteger)count {
226 //%MUTATION_HOOK_##HOOK_1() NSUInteger initialCount = _count;
227 //% NSUInteger newCount = initialCount + count;
235 //%- (void)insert##ACCESSOR_NAME##Value:(TYPE)value atIndex:(NSUInteger)index {
237 //%MUTATION_HOOK_##HOOK_2() NSUInteger initialCount = _count;
238 //% NSUInteger newCount = initialCount + 1;
249 //%- (void)replaceValueAtIndex:(NSUInteger)index with##ACCESSOR_NAME##Value:(TYPE)value {
255 //%- (void)internalResizeToCapacity:(NSUInteger)newCapacity {
273 //%- (void)removeValueAtIndex:(NSUInteger)index {
275 //% NSUInteger newCount = _count - 1;
286 //%- (void)exchangeValueAtIndex:(NSUInteger)idx1
287 //% withValueAtIndex:(NSUInteger)idx2 {
304 NSUInteger _count;
305 NSUInteger _capacity;
324 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
338 - (instancetype)initWithValues:(const int32_t [])values count:(NSUInteger)count { argument
358 - (instancetype)initWithCapacity:(NSUInteger)count { argument
390 - (NSUInteger)hash {
397 for (NSUInteger i = 0, count = _count; i < count; ++i) {
408 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))b…
413 … usingBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))block {
417 for (NSUInteger i = 0, count = _count; i < count; ++i) {
422 for (NSUInteger i = _count; i > 0; --i) {
429 - (int32_t)valueAtIndex:(NSUInteger)index { argument
438 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
454 - (void)addValues:(const int32_t [])values count:(NSUInteger)count { argument
456 NSUInteger initialCount = _count;
457 NSUInteger newCount = initialCount + count;
468 - (void)insertValue:(int32_t)value atIndex:(NSUInteger)index { argument
474 NSUInteger initialCount = _count;
475 NSUInteger newCount = initialCount + 1;
489 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(int32_t)value { argument
502 - (void)removeValueAtIndex:(NSUInteger)index { argument
508 NSUInteger newCount = _count - 1;
525 - (void)exchangeValueAtIndex:(NSUInteger)idx1
526 withValueAtIndex:(NSUInteger)idx2 { argument
552 NSUInteger _count;
553 NSUInteger _capacity;
572 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
586 - (instancetype)initWithValues:(const uint32_t [])values count:(NSUInteger)count { argument
606 - (instancetype)initWithCapacity:(NSUInteger)count { argument
638 - (NSUInteger)hash {
645 for (NSUInteger i = 0, count = _count; i < count; ++i) {
656 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(uint32_t value, NSUInteger idx, BOOL *stop))…
661 … usingBlock:(void (NS_NOESCAPE ^)(uint32_t value, NSUInteger idx, BOOL *stop))block {
665 for (NSUInteger i = 0, count = _count; i < count; ++i) {
670 for (NSUInteger i = _count; i > 0; --i) {
677 - (uint32_t)valueAtIndex:(NSUInteger)index { argument
686 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
702 - (void)addValues:(const uint32_t [])values count:(NSUInteger)count { argument
704 NSUInteger initialCount = _count;
705 NSUInteger newCount = initialCount + count;
716 - (void)insertValue:(uint32_t)value atIndex:(NSUInteger)index { argument
722 NSUInteger initialCount = _count;
723 NSUInteger newCount = initialCount + 1;
737 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(uint32_t)value { argument
750 - (void)removeValueAtIndex:(NSUInteger)index { argument
756 NSUInteger newCount = _count - 1;
773 - (void)exchangeValueAtIndex:(NSUInteger)idx1
774 withValueAtIndex:(NSUInteger)idx2 { argument
800 NSUInteger _count;
801 NSUInteger _capacity;
820 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
834 - (instancetype)initWithValues:(const int64_t [])values count:(NSUInteger)count { argument
854 - (instancetype)initWithCapacity:(NSUInteger)count { argument
886 - (NSUInteger)hash {
893 for (NSUInteger i = 0, count = _count; i < count; ++i) {
904 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(int64_t value, NSUInteger idx, BOOL *stop))b…
909 … usingBlock:(void (NS_NOESCAPE ^)(int64_t value, NSUInteger idx, BOOL *stop))block {
913 for (NSUInteger i = 0, count = _count; i < count; ++i) {
918 for (NSUInteger i = _count; i > 0; --i) {
925 - (int64_t)valueAtIndex:(NSUInteger)index { argument
934 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
950 - (void)addValues:(const int64_t [])values count:(NSUInteger)count { argument
952 NSUInteger initialCount = _count;
953 NSUInteger newCount = initialCount + count;
964 - (void)insertValue:(int64_t)value atIndex:(NSUInteger)index { argument
970 NSUInteger initialCount = _count;
971 NSUInteger newCount = initialCount + 1;
985 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(int64_t)value { argument
998 - (void)removeValueAtIndex:(NSUInteger)index { argument
1004 NSUInteger newCount = _count - 1;
1021 - (void)exchangeValueAtIndex:(NSUInteger)idx1
1022 withValueAtIndex:(NSUInteger)idx2 { argument
1048 NSUInteger _count;
1049 NSUInteger _capacity;
1068 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
1082 - (instancetype)initWithValues:(const uint64_t [])values count:(NSUInteger)count { argument
1102 - (instancetype)initWithCapacity:(NSUInteger)count { argument
1134 - (NSUInteger)hash {
1141 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1152 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(uint64_t value, NSUInteger idx, BOOL *stop))…
1157 … usingBlock:(void (NS_NOESCAPE ^)(uint64_t value, NSUInteger idx, BOOL *stop))block {
1161 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1166 for (NSUInteger i = _count; i > 0; --i) {
1173 - (uint64_t)valueAtIndex:(NSUInteger)index { argument
1182 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
1198 - (void)addValues:(const uint64_t [])values count:(NSUInteger)count { argument
1200 NSUInteger initialCount = _count;
1201 NSUInteger newCount = initialCount + count;
1212 - (void)insertValue:(uint64_t)value atIndex:(NSUInteger)index { argument
1218 NSUInteger initialCount = _count;
1219 NSUInteger newCount = initialCount + 1;
1233 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(uint64_t)value { argument
1246 - (void)removeValueAtIndex:(NSUInteger)index { argument
1252 NSUInteger newCount = _count - 1;
1269 - (void)exchangeValueAtIndex:(NSUInteger)idx1
1270 withValueAtIndex:(NSUInteger)idx2 { argument
1296 NSUInteger _count;
1297 NSUInteger _capacity;
1316 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
1330 - (instancetype)initWithValues:(const float [])values count:(NSUInteger)count { argument
1350 - (instancetype)initWithCapacity:(NSUInteger)count { argument
1382 - (NSUInteger)hash {
1389 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1400 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(float value, NSUInteger idx, BOOL *stop))blo…
1405 … usingBlock:(void (NS_NOESCAPE ^)(float value, NSUInteger idx, BOOL *stop))block {
1409 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1414 for (NSUInteger i = _count; i > 0; --i) {
1421 - (float)valueAtIndex:(NSUInteger)index { argument
1430 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
1446 - (void)addValues:(const float [])values count:(NSUInteger)count { argument
1448 NSUInteger initialCount = _count;
1449 NSUInteger newCount = initialCount + count;
1460 - (void)insertValue:(float)value atIndex:(NSUInteger)index { argument
1466 NSUInteger initialCount = _count;
1467 NSUInteger newCount = initialCount + 1;
1481 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(float)value { argument
1494 - (void)removeValueAtIndex:(NSUInteger)index { argument
1500 NSUInteger newCount = _count - 1;
1517 - (void)exchangeValueAtIndex:(NSUInteger)idx1
1518 withValueAtIndex:(NSUInteger)idx2 { argument
1544 NSUInteger _count;
1545 NSUInteger _capacity;
1564 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
1578 - (instancetype)initWithValues:(const double [])values count:(NSUInteger)count { argument
1598 - (instancetype)initWithCapacity:(NSUInteger)count { argument
1630 - (NSUInteger)hash {
1637 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1648 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(double value, NSUInteger idx, BOOL *stop))bl…
1653 … usingBlock:(void (NS_NOESCAPE ^)(double value, NSUInteger idx, BOOL *stop))block {
1657 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1662 for (NSUInteger i = _count; i > 0; --i) {
1669 - (double)valueAtIndex:(NSUInteger)index { argument
1678 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
1694 - (void)addValues:(const double [])values count:(NSUInteger)count { argument
1696 NSUInteger initialCount = _count;
1697 NSUInteger newCount = initialCount + count;
1708 - (void)insertValue:(double)value atIndex:(NSUInteger)index { argument
1714 NSUInteger initialCount = _count;
1715 NSUInteger newCount = initialCount + 1;
1729 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(double)value { argument
1742 - (void)removeValueAtIndex:(NSUInteger)index { argument
1748 NSUInteger newCount = _count - 1;
1765 - (void)exchangeValueAtIndex:(NSUInteger)idx1
1766 withValueAtIndex:(NSUInteger)idx2 { argument
1792 NSUInteger _count;
1793 NSUInteger _capacity;
1812 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
1826 - (instancetype)initWithValues:(const BOOL [])values count:(NSUInteger)count { argument
1846 - (instancetype)initWithCapacity:(NSUInteger)count { argument
1878 - (NSUInteger)hash {
1885 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1896 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(BOOL value, NSUInteger idx, BOOL *stop))bloc…
1901 … usingBlock:(void (NS_NOESCAPE ^)(BOOL value, NSUInteger idx, BOOL *stop))block {
1905 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1910 for (NSUInteger i = _count; i > 0; --i) {
1917 - (BOOL)valueAtIndex:(NSUInteger)index { argument
1926 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
1942 - (void)addValues:(const BOOL [])values count:(NSUInteger)count { argument
1944 NSUInteger initialCount = _count;
1945 NSUInteger newCount = initialCount + count;
1956 - (void)insertValue:(BOOL)value atIndex:(NSUInteger)index { argument
1962 NSUInteger initialCount = _count;
1963 NSUInteger newCount = initialCount + 1;
1977 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(BOOL)value { argument
1990 - (void)removeValueAtIndex:(NSUInteger)index { argument
1996 NSUInteger newCount = _count - 1;
2013 - (void)exchangeValueAtIndex:(NSUInteger)idx1
2014 withValueAtIndex:(NSUInteger)idx2 { argument
2040 NSUInteger _count;
2041 NSUInteger _capacity;
2067 capacity:(NSUInteger)count { argument
2091 count:(NSUInteger)count { argument
2112 capacity:(NSUInteger)count { argument
2150 - (NSUInteger)hash {
2157 for (NSUInteger i = 0, count = _count; i < count; ++i) {
2168 - (void)enumerateRawValuesWithBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop…
2173 … usingBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))block {
2177 for (NSUInteger i = 0, count = _count; i < count; ++i) {
2182 for (NSUInteger i = _count; i > 0; --i) {
2190 - (int32_t)valueAtIndex:(NSUInteger)index { argument
2207 - (int32_t)rawValueAtIndex:(NSUInteger)index { argument
2220 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))b…
2225 … usingBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))block {
2232 for (NSUInteger i = 0; scan < end; ++i, ++scan) {
2243 for (NSUInteger i = (_count - 1); scan >= end; --i, --scan) {
2257 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
2273 - (void)addRawValues:(const int32_t [])values count:(NSUInteger)count { argument
2275 NSUInteger initialCount = _count;
2276 NSUInteger newCount = initialCount + count;
2287 - (void)insertRawValue:(int32_t)value atIndex:(NSUInteger)index { argument
2293 NSUInteger initialCount = _count;
2294 NSUInteger newCount = initialCount + 1;
2308 - (void)replaceValueAtIndex:(NSUInteger)index withRawValue:(int32_t)value { argument
2321 - (void)removeValueAtIndex:(NSUInteger)index { argument
2327 NSUInteger newCount = _count - 1;
2344 - (void)exchangeValueAtIndex:(NSUInteger)idx1
2345 withValueAtIndex:(NSUInteger)idx2 { argument
2368 - (void)addValues:(const int32_t [])values count:(NSUInteger)count { argument
2371 for (NSUInteger i = 0; i < count; ++i) {
2378 NSUInteger initialCount = _count;
2379 NSUInteger newCount = initialCount + count;
2390 - (void)insertValue:(int32_t)value atIndex:(NSUInteger)index { argument
2401 NSUInteger initialCount = _count;
2402 NSUInteger newCount = initialCount + 1;
2416 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(int32_t)value { argument
2433 //% for (NSUInteger i = 0; i < count; ++i) {
2467 - (NSUInteger)count {
2471 - (id)objectAtIndex:(NSUInteger)idx { argument
2480 - (void)insertObject:(id)anObject atIndex:(NSUInteger)idx { argument
2495 - (void)removeObjectAtIndex:(NSUInteger)idx { argument
2514 - (void)replaceObjectAtIndex:(NSUInteger)idx withObject:(id)anObject { argument
2534 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state
2536 count:(NSUInteger)len { argument
2540 - (void)enumerateObjectsUsingBlock:(void (NS_NOESCAPE ^)(id obj, NSUInteger idx, BOOL *stop))block {
2545 … usingBlock:(void (NS_NOESCAPE ^)(id obj, NSUInteger idx, BOOL *stop))block {