Lines Matching defs:id

146         unsafe fn valueWithPoint(_: Self, point: NSPoint) -> id {  in valueWithPoint()
150 unsafe fn valueWithSize(_: Self, size: NSSize) -> id { in valueWithSize()
155 impl NSValue for id { implementation
184 unsafe fn new(_: Self) -> id { in new()
192 impl NSAutoreleasePool for id { implementation
193 unsafe fn autorelease(self) -> id { in autorelease()
203 unsafe fn processInfo(_: Self) -> id { in processInfo()
207 unsafe fn processName(self) -> id; in processName()
210 impl NSProcessInfo for id { implementation
211 unsafe fn processName(self) -> id { in processName()
219 unsafe fn array(_: Self) -> id { in array()
223 unsafe fn arrayWithObjects(_: Self, objects: &[id]) -> id { in arrayWithObjects()
228 unsafe fn arrayWithObject(_: Self, object: id) -> id { in arrayWithObject()
232 unsafe fn arrayByAddingObjectFromArray(self, object: id) -> id; in arrayByAddingObjectFromArray()
233 unsafe fn arrayByAddingObjectsFromArray(self, objects: id) -> id; in arrayByAddingObjectsFromArray()
236 impl NSArray for id { implementation
237 unsafe fn arrayByAddingObjectFromArray(self, object: id) -> id { in arrayByAddingObjectFromArray()
241 unsafe fn arrayByAddingObjectsFromArray(self, objects: id) -> id { in arrayByAddingObjectsFromArray()
247 unsafe fn dictionary(_: Self) -> id { in dictionary()
251 unsafe fn dictionaryWithContentsOfFile_(_: Self, path: id) -> id { in dictionaryWithContentsOfFile_()
255 unsafe fn dictionaryWithContentsOfURL_(_: Self, aURL: id) -> id { in dictionaryWithContentsOfURL_()
259 unsafe fn dictionaryWithDictionary_(_: Self, otherDictionary: id) -> id { in dictionaryWithDictionary_()
263 unsafe fn dictionaryWithObject_forKey_(_: Self, anObject: id, aKey: id) -> id { in dictionaryWithObject_forKey_()
267 unsafe fn dictionaryWithObjects_forKeys_(_: Self, objects: id, keys: id) -> id { in dictionaryWithObjects_forKeys_()
271 …dictionaryWithObjects_forKeys_count_(_: Self, objects: *const id, keys: *const id, count: NSUInteg… in dictionaryWithObjects_forKeys_count_()
275 unsafe fn dictionaryWithObjectsAndKeys_(_: Self, firstObject: id) -> id { in dictionaryWithObjectsAndKeys_()
279 unsafe fn init(self) -> id; in init()
280 unsafe fn initWithContentsOfFile_(self, path: id) -> id; in initWithContentsOfFile_()
281 unsafe fn initWithContentsOfURL_(self, aURL: id) -> id; in initWithContentsOfURL_()
282 unsafe fn initWithDictionary_(self, otherDicitonary: id) -> id; in initWithDictionary_()
283 unsafe fn initWithDictionary_copyItems_(self, otherDicitonary: id, flag: BOOL) -> id; in initWithDictionary_copyItems_()
284 unsafe fn initWithObjects_forKeys_(self, objects: id, keys: id) -> id; in initWithObjects_forKeys_()
285 unsafe fn initWithObjects_forKeys_count_(self, objects: id, keys: id, count: NSUInteger) -> id; in initWithObjects_forKeys_count_()
286 unsafe fn initWithObjectsAndKeys_(self, firstObject: id) -> id; in initWithObjectsAndKeys_()
288 unsafe fn sharedKeySetForKeys_(_: Self, keys: id) -> id { in sharedKeySetForKeys_()
296 unsafe fn allKeys(self) -> id; in allKeys()
297 unsafe fn allKeysForObject_(self, anObject: id) -> id; in allKeysForObject_()
298 unsafe fn allValues(self) -> id; in allValues()
299 unsafe fn objectForKey_(self, aKey: id) -> id; in objectForKey_()
300 unsafe fn objectForKeyedSubscript_(self, key: id) -> id; in objectForKeyedSubscript_()
301 unsafe fn objectsForKeys_notFoundMarker_(self, keys: id, anObject: id) -> id; in objectsForKeys_notFoundMarker_()
302 unsafe fn valueForKey_(self, key: id) -> id; in valueForKey_()
304 unsafe fn keyEnumerator(self) -> id; in keyEnumerator()
305 unsafe fn objectEnumerator(self) -> id; in objectEnumerator()
306 unsafe fn enumerateKeysAndObjectsUsingBlock_(self, block: *mut Block<(id, id, *mut BOOL), ()>); in enumerateKeysAndObjectsUsingBlock_()
308block: *mut Block<(id, id, *mut BOOL), ()>); in enumerateKeysAndObjectsWithOptions_usingBlock_()
310 unsafe fn keysSortedByValueUsingSelector_(self, comparator: SEL) -> id; in keysSortedByValueUsingSelector_()
311 unsafe fn keysSortedByValueUsingComparator_(self, cmptr: NSComparator) -> id; in keysSortedByValueUsingComparator_()
312 …edByValueWithOptions_usingComparator_(self, opts: NSEnumerationOptions, cmptr: NSComparator) -> id; in keysSortedByValueWithOptions_usingComparator_()
314 … unsafe fn keysOfEntriesPassingTest_(self, predicate: *mut Block<(id, id, *mut BOOL), BOOL>) -> id; in keysOfEntriesPassingTest_() argument
316predicate: *mut Block<(id, id, *mut BOOL), BOOL>) -> id; in keysOfEntriesWithOptions_PassingTest_() argument
318 unsafe fn writeToFile_atomically_(self, path: id, flag: BOOL) -> BOOL; in writeToFile_atomically_()
319 unsafe fn writeToURL_atomically_(self, aURL: id, flag: BOOL) -> BOOL; in writeToURL_atomically_()
321 unsafe fn fileCreationDate(self) -> id; in fileCreationDate()
323 unsafe fn fileGroupOwnerAccountID(self) -> id; in fileGroupOwnerAccountID()
324 unsafe fn fileGroupOwnerAccountName(self) -> id; in fileGroupOwnerAccountName()
327 unsafe fn fileModificationDate(self) -> id; in fileModificationDate()
328 unsafe fn fileOwnerAccountID(self) -> id; in fileOwnerAccountID()
329 unsafe fn fileOwnerAccountName(self) -> id; in fileOwnerAccountName()
334 unsafe fn fileType(self) -> id; in fileType()
336 unsafe fn description(self) -> id; in description()
337 unsafe fn descriptionInStringsFileFormat(self) -> id; in descriptionInStringsFileFormat()
338 unsafe fn descriptionWithLocale_(self, locale: id) -> id; in descriptionWithLocale_()
339 unsafe fn descriptionWithLocale_indent_(self, locale: id, indent: NSUInteger) -> id; in descriptionWithLocale_indent_()
342 impl NSDictionary for id { implementation
343 unsafe fn init(self) -> id { in init()
347 unsafe fn initWithContentsOfFile_(self, path: id) -> id { in initWithContentsOfFile_()
351 unsafe fn initWithContentsOfURL_(self, aURL: id) -> id { in initWithContentsOfURL_()
355 unsafe fn initWithDictionary_(self, otherDictionary: id) -> id { in initWithDictionary_()
359 unsafe fn initWithDictionary_copyItems_(self, otherDictionary: id, flag: BOOL) -> id { in initWithDictionary_copyItems_()
363 unsafe fn initWithObjects_forKeys_(self, objects: id, keys: id) -> id { in initWithObjects_forKeys_()
367 unsafe fn initWithObjects_forKeys_count_(self, objects: id, keys: id, count: NSUInteger) -> id { in initWithObjects_forKeys_count_()
371 unsafe fn initWithObjectsAndKeys_(self, firstObject: id) -> id { in initWithObjectsAndKeys_()
383 unsafe fn allKeys(self) -> id { in allKeys()
387 unsafe fn allKeysForObject_(self, anObject: id) -> id { in allKeysForObject_()
391 unsafe fn allValues(self) -> id { in allValues()
395 unsafe fn objectForKey_(self, aKey: id) -> id { in objectForKey_()
399 unsafe fn objectForKeyedSubscript_(self, key: id) -> id { in objectForKeyedSubscript_()
403 unsafe fn objectsForKeys_notFoundMarker_(self, keys: id, anObject: id) -> id { in objectsForKeys_notFoundMarker_()
407 unsafe fn valueForKey_(self, key: id) -> id { in valueForKey_()
411 unsafe fn keyEnumerator(self) -> id { in keyEnumerator()
415 unsafe fn objectEnumerator(self) -> id { in objectEnumerator()
419 unsafe fn enumerateKeysAndObjectsUsingBlock_(self, block: *mut Block<(id, id, *mut BOOL), ()>) { in enumerateKeysAndObjectsUsingBlock_()
424 block: *mut Block<(id, id, *mut BOOL), ()>) { in enumerateKeysAndObjectsWithOptions_usingBlock_()
428 unsafe fn keysSortedByValueUsingSelector_(self, comparator: SEL) -> id { in keysSortedByValueUsingSelector_()
432 unsafe fn keysSortedByValueUsingComparator_(self, cmptr: NSComparator) -> id { in keysSortedByValueUsingComparator_()
436 …dByValueWithOptions_usingComparator_(self, opts: NSEnumerationOptions, cmptr: NSComparator) -> id { in keysSortedByValueWithOptions_usingComparator_()
441 …unsafe fn keysOfEntriesPassingTest_(self, predicate: *mut Block<(id, id, *mut BOOL), BOOL>) -> id { in keysOfEntriesPassingTest_() argument
446predicate: *mut Block<(id, id, *mut BOOL), BOOL>) -> id { in keysOfEntriesWithOptions_PassingTest_() argument
450 unsafe fn writeToFile_atomically_(self, path: id, flag: BOOL) -> BOOL { in writeToFile_atomically_()
454 unsafe fn writeToURL_atomically_(self, aURL: id, flag: BOOL) -> BOOL { in writeToURL_atomically_()
458 unsafe fn fileCreationDate(self) -> id { in fileCreationDate()
466 unsafe fn fileGroupOwnerAccountID(self) -> id { in fileGroupOwnerAccountID()
470 unsafe fn fileGroupOwnerAccountName(self) -> id { in fileGroupOwnerAccountName()
482 unsafe fn fileModificationDate(self) -> id { in fileModificationDate()
486 unsafe fn fileOwnerAccountID(self) -> id { in fileOwnerAccountID()
490 unsafe fn fileOwnerAccountName(self) -> id { in fileOwnerAccountName()
510 unsafe fn fileType(self) -> id { in fileType()
514 unsafe fn description(self) -> id { in description()
518 unsafe fn descriptionInStringsFileFormat(self) -> id { in descriptionInStringsFileFormat()
522 unsafe fn descriptionWithLocale_(self, locale: id) -> id { in descriptionWithLocale_()
526 unsafe fn descriptionWithLocale_indent_(self, locale: id, indent: NSUInteger) -> id { in descriptionWithLocale_indent_()
549 unsafe fn alloc(_: Self) -> id { in alloc()
553 unsafe fn stringByAppendingString_(self, other: id) -> id; in stringByAppendingString_()
560 impl NSString for id { implementation
567 unsafe fn stringByAppendingString_(self, other: id) -> id { in stringByAppendingString_()
571 unsafe fn init_str(self, string: &str) -> id { in init_str()
588 unsafe fn distantPast(_: Self) -> id { in distantPast()
592 unsafe fn distantFuture(_: Self) -> id { in distantFuture()
597 impl NSDate for id { implementation
623 fn next(&mut self) -> Option<id> { in next()
656 impl NSFastEnumeration for id { implementation
679 target: id, in performSelector_target_argument_order_modes_()
680 anArgument: id, in performSelector_target_argument_order_modes_()
682 modes: id); in performSelector_target_argument_order_modes_()
685 impl NSRunLoop for id { implementation
692 target: id, in performSelector_target_argument_order_modes_()
693 anArgument: id, in performSelector_target_argument_order_modes_()
695 modes: id) { in performSelector_target_argument_order_modes_()
705 unsafe fn data(_: Self) -> id { in data()
709 unsafe fn dataWithBytes_length_(_: Self, bytes: *const c_void, length: NSUInteger) -> id { in dataWithBytes_length_()
713 unsafe fn dataWithBytesNoCopy_length_(_: Self, bytes: *const c_void, length: NSUInteger) -> id { in dataWithBytesNoCopy_length_()
718 … length: NSUInteger, freeWhenDone: BOOL) -> id { in dataWithBytesNoCopy_length_freeWhenDone_()
722 unsafe fn dataWithContentsOfFile_(_: Self, path: id) -> id { in dataWithContentsOfFile_()
726 unsafe fn dataWithContentsOfFile_options_error_(_: Self, path: id, mask: NSDataReadingOptions, in dataWithContentsOfFile_options_error_()
727 errorPtr: *mut id) -> id { in dataWithContentsOfFile_options_error_()
731 unsafe fn dataWithContentsOfURL_(_: Self, aURL: id) -> id { in dataWithContentsOfURL_()
735 unsafe fn dataWithContentsOfURL_options_error_(_: Self, aURL: id, mask: NSDataReadingOptions, in dataWithContentsOfURL_options_error_()
736 errorPtr: *mut id) -> id { in dataWithContentsOfURL_options_error_()
740 unsafe fn dataWithData_(_: Self, aData: id) -> id { in dataWithData_()
744 …unsafe fn initWithBase64EncodedData_options_(self, base64Data: id, options: NSDataBase64DecodingOp… in initWithBase64EncodedData_options_()
745 -> id; in initWithBase64EncodedData_options_()
746 …unsafe fn initWithBase64EncodedString_options_(self, base64String: id, options: NSDataBase64Decodi… in initWithBase64EncodedString_options_()
747 -> id; in initWithBase64EncodedString_options_()
748 unsafe fn initWithBytes_length_(self, bytes: *const c_void, length: NSUInteger) -> id; in initWithBytes_length_()
749 unsafe fn initWithBytesNoCopy_length_(self, bytes: *const c_void, length: NSUInteger) -> id; in initWithBytesNoCopy_length_()
752 -> id; in initWithBytesNoCopy_length_deallocator_()
754 … length: NSUInteger, freeWhenDone: BOOL) -> id; in initWithBytesNoCopy_length_freeWhenDone_()
755 unsafe fn initWithContentsOfFile_(self, path: id) -> id; in initWithContentsOfFile_()
756 …unsafe fn initWithContentsOfFile_options_error(self, path: id, mask: NSDataReadingOptions, errorPt… in initWithContentsOfFile_options_error()
757 -> id; in initWithContentsOfFile_options_error()
758 unsafe fn initWithContentsOfURL_(self, aURL: id) -> id; in initWithContentsOfURL_()
759 …unsafe fn initWithContentsOfURL_options_error_(self, aURL: id, mask: NSDataReadingOptions, errorPt… in initWithContentsOfURL_options_error_()
760 -> id; in initWithContentsOfURL_options_error_()
761 unsafe fn initWithData_(self, data: id) -> id; in initWithData_()
764 unsafe fn description(self) -> id; in description()
768 unsafe fn subdataWithRange_(self, range: NSRange) -> id; in subdataWithRange_()
769 …unsafe fn rangeOfData_options_range_(self, dataToFind: id, options: NSDataSearchOptions, searchRan… in rangeOfData_options_range_()
772 unsafe fn base64EncodedDataWithOptions_(self, options: NSDataBase64EncodingOptions) -> id; in base64EncodedDataWithOptions_()
773 unsafe fn base64EncodedStringWithOptions_(self, options: NSDataBase64EncodingOptions) -> id; in base64EncodedStringWithOptions_()
775 unsafe fn isEqualToData_(self, otherData: id) -> id; in isEqualToData_()
778 unsafe fn writeToFile_atomically_(self, path: id, atomically: BOOL) -> BOOL; in writeToFile_atomically_()
779 …unsafe fn writeToFile_options_error_(self, path: id, mask: NSDataWritingOptions, errorPtr: *mut id… in writeToFile_options_error_()
780 unsafe fn writeToURL_atomically_(self, aURL: id, atomically: BOOL) -> BOOL; in writeToURL_atomically_()
781 …unsafe fn writeToURL_options_error_(self, aURL: id, mask: NSDataWritingOptions, errorPtr: *mut id)… in writeToURL_options_error_()
784 impl NSData for id { implementation
785 …unsafe fn initWithBase64EncodedData_options_(self, base64Data: id, options: NSDataBase64DecodingOp… in initWithBase64EncodedData_options_()
786 -> id { in initWithBase64EncodedData_options_()
790 …unsafe fn initWithBase64EncodedString_options_(self, base64String: id, options: NSDataBase64Decodi… in initWithBase64EncodedString_options_()
791 -> id { in initWithBase64EncodedString_options_()
795 unsafe fn initWithBytes_length_(self, bytes: *const c_void, length: NSUInteger) -> id { in initWithBytes_length_()
799 unsafe fn initWithBytesNoCopy_length_(self, bytes: *const c_void, length: NSUInteger) -> id { in initWithBytesNoCopy_length_()
805 -> id { in initWithBytesNoCopy_length_deallocator_()
810 … length: NSUInteger, freeWhenDone: BOOL) -> id { in initWithBytesNoCopy_length_freeWhenDone_()
814 unsafe fn initWithContentsOfFile_(self, path: id) -> id { in initWithContentsOfFile_()
818 …unsafe fn initWithContentsOfFile_options_error(self, path: id, mask: NSDataReadingOptions, errorPt… in initWithContentsOfFile_options_error()
819 -> id { in initWithContentsOfFile_options_error()
823 unsafe fn initWithContentsOfURL_(self, aURL: id) -> id { in initWithContentsOfURL_()
827 …unsafe fn initWithContentsOfURL_options_error_(self, aURL: id, mask: NSDataReadingOptions, errorPt… in initWithContentsOfURL_options_error_()
828 -> id { in initWithContentsOfURL_options_error_()
832 unsafe fn initWithData_(self, data: id) -> id { in initWithData_()
840 unsafe fn description(self) -> id { in description()
856 unsafe fn subdataWithRange_(self, range: NSRange) -> id { in subdataWithRange_()
860 …unsafe fn rangeOfData_options_range_(self, dataToFind: id, options: NSDataSearchOptions, searchRan… in rangeOfData_options_range_()
865 unsafe fn base64EncodedDataWithOptions_(self, options: NSDataBase64EncodingOptions) -> id { in base64EncodedDataWithOptions_()
869 unsafe fn base64EncodedStringWithOptions_(self, options: NSDataBase64EncodingOptions) -> id { in base64EncodedStringWithOptions_()
873 unsafe fn isEqualToData_(self, otherData: id) -> id { in isEqualToData_()
881 unsafe fn writeToFile_atomically_(self, path: id, atomically: BOOL) -> BOOL { in writeToFile_atomically_()
885 …unsafe fn writeToFile_options_error_(self, path: id, mask: NSDataWritingOptions, errorPtr: *mut id… in writeToFile_options_error_()
889 unsafe fn writeToURL_atomically_(self, aURL: id, atomically: BOOL) -> BOOL { in writeToURL_atomically_()
893 …unsafe fn writeToURL_options_error_(self, aURL: id, mask: NSDataWritingOptions, errorPtr: *mut id)… in writeToURL_options_error_()