Lines Matching refs:NSUInteger

71 //%  NSUInteger _count;
72 //% NSUInteger _capacity;
91 //%+ (instancetype)arrayWithCapacity:(NSUInteger)count {
105 //%- (instancetype)initWithValues:(const TYPE [])values count:(NSUInteger)count {
125 //%- (instancetype)initWithCapacity:(NSUInteger)count {
139 //%- (TYPE)valueAtIndex:(NSUInteger)index {
172 //%- (NSUInteger)hash {
179 //% for (NSUInteger i = 0, count = _count; i < count; ++i) {
190 //%- (void)enumerate##ACCESSOR_NAME##ValuesWithBlock:(void (^)(TYPE value, NSUInteger idx, BOOL *st…
195 //% ACCESSOR_NAME$S usingBlock:(void (^)(TYPE value, NSUInteger idx, BOOL *st…
199 //% for (NSUInteger i = 0, count = _count; i < count; ++i) {
204 //% for (NSUInteger i = _count; i > 0; --i) {
217 //%- (void)add##ACCESSOR_NAME##Values:(const TYPE [])values count:(NSUInteger)count {
219 //%MUTATION_HOOK_##HOOK_1() NSUInteger initialCount = _count;
220 //% NSUInteger newCount = initialCount + count;
228 //%- (void)insert##ACCESSOR_NAME##Value:(TYPE)value atIndex:(NSUInteger)index {
230 //%MUTATION_HOOK_##HOOK_2() NSUInteger initialCount = _count;
231 //% NSUInteger newCount = initialCount + 1;
242 //%- (void)replaceValueAtIndex:(NSUInteger)index with##ACCESSOR_NAME##Value:(TYPE)value {
248 //%- (void)internalResizeToCapacity:(NSUInteger)newCapacity {
266 //%- (void)removeValueAtIndex:(NSUInteger)index {
268 //% NSUInteger newCount = _count - 1;
279 //%- (void)exchangeValueAtIndex:(NSUInteger)idx1
280 //% withValueAtIndex:(NSUInteger)idx2 {
297 NSUInteger _count;
298 NSUInteger _capacity;
317 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
331 - (instancetype)initWithValues:(const int32_t [])values count:(NSUInteger)count { argument
351 - (instancetype)initWithCapacity:(NSUInteger)count { argument
382 - (NSUInteger)hash {
389 for (NSUInteger i = 0, count = _count; i < count; ++i) {
400 - (void)enumerateValuesWithBlock:(void (^)(int32_t value, NSUInteger idx, BOOL *stop))block {
405 usingBlock:(void (^)(int32_t value, NSUInteger idx, BOOL *stop))block {
409 for (NSUInteger i = 0, count = _count; i < count; ++i) {
414 for (NSUInteger i = _count; i > 0; --i) {
421 - (int32_t)valueAtIndex:(NSUInteger)index { argument
430 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
446 - (void)addValues:(const int32_t [])values count:(NSUInteger)count { argument
448 NSUInteger initialCount = _count;
449 NSUInteger newCount = initialCount + count;
460 - (void)insertValue:(int32_t)value atIndex:(NSUInteger)index { argument
466 NSUInteger initialCount = _count;
467 NSUInteger newCount = initialCount + 1;
481 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(int32_t)value { argument
494 - (void)removeValueAtIndex:(NSUInteger)index { argument
500 NSUInteger newCount = _count - 1;
517 - (void)exchangeValueAtIndex:(NSUInteger)idx1
518 withValueAtIndex:(NSUInteger)idx2 { argument
544 NSUInteger _count;
545 NSUInteger _capacity;
564 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
578 - (instancetype)initWithValues:(const uint32_t [])values count:(NSUInteger)count { argument
598 - (instancetype)initWithCapacity:(NSUInteger)count { argument
629 - (NSUInteger)hash {
636 for (NSUInteger i = 0, count = _count; i < count; ++i) {
647 - (void)enumerateValuesWithBlock:(void (^)(uint32_t value, NSUInteger idx, BOOL *stop))block {
652 usingBlock:(void (^)(uint32_t value, NSUInteger idx, BOOL *stop))block {
656 for (NSUInteger i = 0, count = _count; i < count; ++i) {
661 for (NSUInteger i = _count; i > 0; --i) {
668 - (uint32_t)valueAtIndex:(NSUInteger)index { argument
677 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
693 - (void)addValues:(const uint32_t [])values count:(NSUInteger)count { argument
695 NSUInteger initialCount = _count;
696 NSUInteger newCount = initialCount + count;
707 - (void)insertValue:(uint32_t)value atIndex:(NSUInteger)index { argument
713 NSUInteger initialCount = _count;
714 NSUInteger newCount = initialCount + 1;
728 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(uint32_t)value { argument
741 - (void)removeValueAtIndex:(NSUInteger)index { argument
747 NSUInteger newCount = _count - 1;
764 - (void)exchangeValueAtIndex:(NSUInteger)idx1
765 withValueAtIndex:(NSUInteger)idx2 { argument
791 NSUInteger _count;
792 NSUInteger _capacity;
811 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
825 - (instancetype)initWithValues:(const int64_t [])values count:(NSUInteger)count { argument
845 - (instancetype)initWithCapacity:(NSUInteger)count { argument
876 - (NSUInteger)hash {
883 for (NSUInteger i = 0, count = _count; i < count; ++i) {
894 - (void)enumerateValuesWithBlock:(void (^)(int64_t value, NSUInteger idx, BOOL *stop))block {
899 usingBlock:(void (^)(int64_t value, NSUInteger idx, BOOL *stop))block {
903 for (NSUInteger i = 0, count = _count; i < count; ++i) {
908 for (NSUInteger i = _count; i > 0; --i) {
915 - (int64_t)valueAtIndex:(NSUInteger)index { argument
924 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
940 - (void)addValues:(const int64_t [])values count:(NSUInteger)count { argument
942 NSUInteger initialCount = _count;
943 NSUInteger newCount = initialCount + count;
954 - (void)insertValue:(int64_t)value atIndex:(NSUInteger)index { argument
960 NSUInteger initialCount = _count;
961 NSUInteger newCount = initialCount + 1;
975 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(int64_t)value { argument
988 - (void)removeValueAtIndex:(NSUInteger)index { argument
994 NSUInteger newCount = _count - 1;
1011 - (void)exchangeValueAtIndex:(NSUInteger)idx1
1012 withValueAtIndex:(NSUInteger)idx2 { argument
1038 NSUInteger _count;
1039 NSUInteger _capacity;
1058 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
1072 - (instancetype)initWithValues:(const uint64_t [])values count:(NSUInteger)count { argument
1092 - (instancetype)initWithCapacity:(NSUInteger)count { argument
1123 - (NSUInteger)hash {
1130 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1141 - (void)enumerateValuesWithBlock:(void (^)(uint64_t value, NSUInteger idx, BOOL *stop))block {
1146 usingBlock:(void (^)(uint64_t value, NSUInteger idx, BOOL *stop))block {
1150 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1155 for (NSUInteger i = _count; i > 0; --i) {
1162 - (uint64_t)valueAtIndex:(NSUInteger)index { argument
1171 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
1187 - (void)addValues:(const uint64_t [])values count:(NSUInteger)count { argument
1189 NSUInteger initialCount = _count;
1190 NSUInteger newCount = initialCount + count;
1201 - (void)insertValue:(uint64_t)value atIndex:(NSUInteger)index { argument
1207 NSUInteger initialCount = _count;
1208 NSUInteger newCount = initialCount + 1;
1222 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(uint64_t)value { argument
1235 - (void)removeValueAtIndex:(NSUInteger)index { argument
1241 NSUInteger newCount = _count - 1;
1258 - (void)exchangeValueAtIndex:(NSUInteger)idx1
1259 withValueAtIndex:(NSUInteger)idx2 { argument
1285 NSUInteger _count;
1286 NSUInteger _capacity;
1305 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
1319 - (instancetype)initWithValues:(const float [])values count:(NSUInteger)count { argument
1339 - (instancetype)initWithCapacity:(NSUInteger)count { argument
1370 - (NSUInteger)hash {
1377 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1388 - (void)enumerateValuesWithBlock:(void (^)(float value, NSUInteger idx, BOOL *stop))block {
1393 usingBlock:(void (^)(float value, NSUInteger idx, BOOL *stop))block {
1397 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1402 for (NSUInteger i = _count; i > 0; --i) {
1409 - (float)valueAtIndex:(NSUInteger)index { argument
1418 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
1434 - (void)addValues:(const float [])values count:(NSUInteger)count { argument
1436 NSUInteger initialCount = _count;
1437 NSUInteger newCount = initialCount + count;
1448 - (void)insertValue:(float)value atIndex:(NSUInteger)index { argument
1454 NSUInteger initialCount = _count;
1455 NSUInteger newCount = initialCount + 1;
1469 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(float)value { argument
1482 - (void)removeValueAtIndex:(NSUInteger)index { argument
1488 NSUInteger newCount = _count - 1;
1505 - (void)exchangeValueAtIndex:(NSUInteger)idx1
1506 withValueAtIndex:(NSUInteger)idx2 { argument
1532 NSUInteger _count;
1533 NSUInteger _capacity;
1552 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
1566 - (instancetype)initWithValues:(const double [])values count:(NSUInteger)count { argument
1586 - (instancetype)initWithCapacity:(NSUInteger)count { argument
1617 - (NSUInteger)hash {
1624 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1635 - (void)enumerateValuesWithBlock:(void (^)(double value, NSUInteger idx, BOOL *stop))block {
1640 usingBlock:(void (^)(double value, NSUInteger idx, BOOL *stop))block {
1644 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1649 for (NSUInteger i = _count; i > 0; --i) {
1656 - (double)valueAtIndex:(NSUInteger)index { argument
1665 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
1681 - (void)addValues:(const double [])values count:(NSUInteger)count { argument
1683 NSUInteger initialCount = _count;
1684 NSUInteger newCount = initialCount + count;
1695 - (void)insertValue:(double)value atIndex:(NSUInteger)index { argument
1701 NSUInteger initialCount = _count;
1702 NSUInteger newCount = initialCount + 1;
1716 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(double)value { argument
1729 - (void)removeValueAtIndex:(NSUInteger)index { argument
1735 NSUInteger newCount = _count - 1;
1752 - (void)exchangeValueAtIndex:(NSUInteger)idx1
1753 withValueAtIndex:(NSUInteger)idx2 { argument
1779 NSUInteger _count;
1780 NSUInteger _capacity;
1799 + (instancetype)arrayWithCapacity:(NSUInteger)count { argument
1813 - (instancetype)initWithValues:(const BOOL [])values count:(NSUInteger)count { argument
1833 - (instancetype)initWithCapacity:(NSUInteger)count { argument
1864 - (NSUInteger)hash {
1871 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1882 - (void)enumerateValuesWithBlock:(void (^)(BOOL value, NSUInteger idx, BOOL *stop))block {
1887 usingBlock:(void (^)(BOOL value, NSUInteger idx, BOOL *stop))block {
1891 for (NSUInteger i = 0, count = _count; i < count; ++i) {
1896 for (NSUInteger i = _count; i > 0; --i) {
1903 - (BOOL)valueAtIndex:(NSUInteger)index { argument
1912 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
1928 - (void)addValues:(const BOOL [])values count:(NSUInteger)count { argument
1930 NSUInteger initialCount = _count;
1931 NSUInteger newCount = initialCount + count;
1942 - (void)insertValue:(BOOL)value atIndex:(NSUInteger)index { argument
1948 NSUInteger initialCount = _count;
1949 NSUInteger newCount = initialCount + 1;
1963 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(BOOL)value { argument
1976 - (void)removeValueAtIndex:(NSUInteger)index { argument
1982 NSUInteger newCount = _count - 1;
1999 - (void)exchangeValueAtIndex:(NSUInteger)idx1
2000 withValueAtIndex:(NSUInteger)idx2 { argument
2026 NSUInteger _count;
2027 NSUInteger _capacity;
2053 capacity:(NSUInteger)count { argument
2077 count:(NSUInteger)count { argument
2098 capacity:(NSUInteger)count { argument
2135 - (NSUInteger)hash {
2142 for (NSUInteger i = 0, count = _count; i < count; ++i) {
2153 - (void)enumerateRawValuesWithBlock:(void (^)(int32_t value, NSUInteger idx, BOOL *stop))block {
2158 usingBlock:(void (^)(int32_t value, NSUInteger idx, BOOL *stop))block {
2162 for (NSUInteger i = 0, count = _count; i < count; ++i) {
2167 for (NSUInteger i = _count; i > 0; --i) {
2175 - (int32_t)valueAtIndex:(NSUInteger)index { argument
2192 - (int32_t)rawValueAtIndex:(NSUInteger)index { argument
2205 - (void)enumerateValuesWithBlock:(void (^)(int32_t value, NSUInteger idx, BOOL *stop))block {
2210 usingBlock:(void (^)(int32_t value, NSUInteger idx, BOOL *stop))block {
2217 for (NSUInteger i = 0; scan < end; ++i, ++scan) {
2228 for (NSUInteger i = (_count - 1); scan >= end; --i, --scan) {
2242 - (void)internalResizeToCapacity:(NSUInteger)newCapacity { argument
2258 - (void)addRawValues:(const int32_t [])values count:(NSUInteger)count { argument
2260 NSUInteger initialCount = _count;
2261 NSUInteger newCount = initialCount + count;
2272 - (void)insertRawValue:(int32_t)value atIndex:(NSUInteger)index { argument
2278 NSUInteger initialCount = _count;
2279 NSUInteger newCount = initialCount + 1;
2293 - (void)replaceValueAtIndex:(NSUInteger)index withRawValue:(int32_t)value { argument
2306 - (void)removeValueAtIndex:(NSUInteger)index { argument
2312 NSUInteger newCount = _count - 1;
2329 - (void)exchangeValueAtIndex:(NSUInteger)idx1
2330 withValueAtIndex:(NSUInteger)idx2 { argument
2353 - (void)addValues:(const int32_t [])values count:(NSUInteger)count { argument
2356 for (NSUInteger i = 0; i < count; ++i) {
2363 NSUInteger initialCount = _count;
2364 NSUInteger newCount = initialCount + count;
2375 - (void)insertValue:(int32_t)value atIndex:(NSUInteger)index { argument
2386 NSUInteger initialCount = _count;
2387 NSUInteger newCount = initialCount + 1;
2401 - (void)replaceValueAtIndex:(NSUInteger)index withValue:(int32_t)value { argument
2418 //% for (NSUInteger i = 0; i < count; ++i) {
2452 - (NSUInteger)count {
2456 - (id)objectAtIndex:(NSUInteger)idx { argument
2465 - (void)insertObject:(id)anObject atIndex:(NSUInteger)idx { argument
2480 - (void)removeObjectAtIndex:(NSUInteger)idx { argument
2499 - (void)replaceObjectAtIndex:(NSUInteger)idx withObject:(id)anObject { argument
2519 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state
2521 count:(NSUInteger)len { argument
2525 - (void)enumerateObjectsUsingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block {
2530 usingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block {