Home
last modified time | relevance | path

Searched refs:NSDate (Results 1 – 25 of 63) sorted by relevance

123

/external/clang/test/SemaObjCXX/
Dcxxoperator-selector.mm4 @class NSDate;
15 - (void)dataSetForValuesBetween:(NSDate *)startDate and:(NSDate *)endDate; argument
23 - (void)dataSetForValuesBetween:(NSDate *)startDate and:(NSDate *)endDate { return; } argument
/external/chromium/chrome/browser/ui/cocoa/
Dconfirm_quit_panel_controller.mm158 - (NSEvent*)pumpEventQueueForKeyUp:(NSApplication*)app untilDate:(NSDate*)date; argument
219 static NSDate* lastQuitAttempt; // Initially nil, as it's static.
220 NSDate* timeNow = [NSDate date];
233 untilDate:[NSDate distantFuture]];
237 if ([[NSDate date] timeIntervalSinceDate:timeNow] < kDoubleTapTimeDelta)
252 NSDate* targetDate = [NSDate dateWithTimeIntervalSinceNow:kTimeToConfirmQuit];
259 NSDate* waitDate = [NSDate dateWithTimeIntervalSinceNow:
266 NSDate* now = [NSDate date];
368 - (NSEvent*)pumpEventQueueForKeyUp:(NSApplication*)app untilDate:(NSDate*)date { argument
Ddraggable_button.mm65 withExpiration:(NSDate*)expiration
126 withExpiration:(NSDate*)expiration { argument
197 NSDate* date = [NSDate dateWithTimeIntervalSinceNow:kDragExpirationTimeout];
Dclickhold_button_cell.mm88 NSDate* clickHoldBailTime = [NSDate dateWithTimeIntervalSinceNow:timeout];
/external/clang/test/SemaObjC/
Dobjc-literal-nsnumber.m44 @interface NSDate : NSObject interface
45 + (NSDate *) date;
69 @"date" : [NSDate date],
76 @"date" : [NSDate date] };
Dcomptypes-9.m63 @class NSDate, NSDictionary, NSError, NSException, NSNotification;
/external/chromium_org/chrome/browser/ui/cocoa/
Dconfirm_quit_panel_controller.mm172 - (NSEvent*)pumpEventQueueForKeyUp:(NSApplication*)app untilDate:(NSDate*)date; argument
238 static NSDate* lastQuitAttempt; // Initially nil, as it's static.
239 NSDate* timeNow = [NSDate date];
252 untilDate:[NSDate distantFuture]];
256 if ([[NSDate date] timeIntervalSinceDate:timeNow] < kDoubleTapTimeDelta)
271 NSDate* targetDate = [NSDate dateWithTimeIntervalSinceNow:kTimeToConfirmQuit];
278 NSDate* waitDate = [NSDate dateWithTimeIntervalSinceNow:
285 NSDate* now = [NSDate date];
369 - (NSEvent*)pumpEventQueueForKeyUp:(NSApplication*)app untilDate:(NSDate*)date { argument
Ddraggable_button_mixin.mm32 withExpiration:(NSDate*)expiration; argument
34 withExpiration:(NSDate*)expiration
90 NSDate* date = [NSDate dateWithTimeIntervalSinceNow:kDragExpirationTimeout];
163 withExpiration:(NSDate*)expiration { argument
175 withExpiration:(NSDate*)expiration
Dclickhold_button_cell.mm95 NSDate* clickHoldBailTime = [NSDate dateWithTimeIntervalSinceNow:timeout];
/external/clang/test/Rewriter/
Drewrite-modern-container-literal.mm43 @interface NSDate interface
48 NSArray *array = @[ @"Hello", NSUserName(), [NSDate date], [NSNumber numberWithInt:42]];
50 NSDictionary *dictionary = @{ @"name" : NSUserName(), @"date" : [NSDate date], @"process" : @"proce…
/external/chromium_org/device/bluetooth/
Dbluetooth_adapter_mac.h24 @class NSDate;
30 class NSDate; variable
125 NSDate* recently_accessed_device_timestamp_;
/external/clang/test/Analysis/
Dretain-release-gc-only.m123 @interface NSDate : NSObject <NSCopying, NSCoding> - (NSTimeInterval)timeIntervalSinceReferenceDat… interface
133 @end @class NSLocale, NSDate, NSCalendar, NSTimeZone, NSError, NSArray, NSMutableDictionary;
179 @end @class NSDate, NSDictionary, NSError, NSException, NSNotification;
370 - (NSDate*) returnsCFRetained __attribute__((cf_returns_retained));
371 - (NSDate*) alsoReturnsRetained;
372 - (NSDate*) returnsNSRetained __attribute__((ns_returns_retained));
381 - (NSDate*) returnsCFRetained {
382 return (NSDate*) returnsRetainedCFDate(); // No leak.
385 - (NSDate*) alsoReturnsRetained {
386 return (NSDate*) returnsRetainedCFDate(); // expected-warning{{leak}}
[all …]
Dretain-release-region-store.m60 @interface NSDate : NSObject <NSCopying, NSCoding> - (NSTimeInterval)timeIntervalSinceReferenceDat… interface
100 NSDate* f;
112 [((NSDate*) date) retain];
115 x.f = (NSDate*) date;
116 [((NSDate*) date) release];
/external/clang/test/CodeGenObjC/
Dobjc-literal-tests.m44 @interface NSDate interface
45 + (NSDate *) date;
85 @"date" : [NSDate date] };
/external/chromium_org/base/test/
Dtest_listener_ios.mm28 NSDate* stop_date = [NSDate dateWithTimeIntervalSinceNow:0.001];
/external/chromium_org/base/mac/
Dfoundation_util_unittest.mm164 id test_date = [NSDate date];
198 EXPECT_EQ(test_date, ObjCCast<NSDate>(test_date));
220 EXPECT_FALSE(ObjCCast<NSDate>(test_set_mutable));
228 EXPECT_FALSE(ObjCCast<NSDate>(nil));
242 EXPECT_EQ(test_date, ObjCCastStrict<NSDate>(test_date));
260 EXPECT_FALSE(ObjCCastStrict<NSDate>(nil));
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dthrobber_view.mm171 // needed, but its next-fire date is set to [NSDate distantFuture].
173 // comparing its fireDate to [NSDate distantFuture], though, so a separate
218 [timer_ setFireDate:[NSDate distantFuture]];
258 NSDate* fireDate;
260 fireDate = [NSDate dateWithTimeIntervalSinceNow:kAnimationIntervalSeconds];
262 fireDate = [NSDate distantFuture];
Dtab_view.mm123 [NSDate timeIntervalSinceReferenceDate] + kHoverHoldDuration;
312 untilDate:[NSDate distantFuture]
418 NSDate* targetDwellDate = nil; // The date this target was first chosen.
446 targetDwellDate = [NSDate date];
450 tearTime_ = [NSDate timeIntervalSinceReferenceDate];
484 tearTime_ = [NSDate timeIntervalSinceReferenceDate];
502 [NSDate timeIntervalSinceReferenceDate] - tearTime_;
823 [NSDate timeIntervalSinceReferenceDate] + kGlowUpdateInterval;
888 lastGlowUpdate_ = [NSDate timeIntervalSinceReferenceDate];
892 return [NSDate timeIntervalSinceReferenceDate] - lastGlowUpdate_;
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dthrobber_view.mm172 // needed, but its next-fire date is set to [NSDate distantFuture].
174 // comparing its fireDate to [NSDate distantFuture], though, so a separate
219 [timer_ setFireDate:[NSDate distantFuture]];
259 NSDate* fireDate;
261 fireDate = [NSDate dateWithTimeIntervalSinceNow:kAnimationIntervalSeconds];
263 fireDate = [NSDate distantFuture];
/external/chromium_org/ui/base/cocoa/
Devents_mac_unittest.mm165 timestamp:[NSDate timeIntervalSinceReferenceDate]
189 timestamp:[NSDate timeIntervalSinceReferenceDate]
204 timestamp:[NSDate timeIntervalSinceReferenceDate]
219 timestamp:[NSDate timeIntervalSinceReferenceDate]
/external/clang/test/ARCMT/
Dobjcmt-instancetype-2.m66 @interface NSDate interface
70 @interface NSCalendarDate : NSDate
Dobjcmt-instancetype-2.m.result66 @interface NSDate
70 @interface NSCalendarDate : NSDate
/external/chromium_org/chrome/browser/storage_monitor/
Dimage_capture_device_manager_unittest.mm161 base::scoped_nsobject<NSDate> date_;
175 date_.reset([[NSDate dateWithNaturalLanguageString:@"12/12/12"] retain]);
196 - (NSDate*)modificationDate {
200 - (NSDate*)creationDate {
/external/chromium/base/mac/
Dmac_util.h164 CF_TO_NS_CAST_DECL(CFDate, NSDate);
/external/chromium_org/chrome/browser/media_galleries/mac/
Dmtp_device_delegate_impl_mac_unittest.mm124 base::scoped_nsobject<NSDate> date_;
136 date_.reset([[NSDate dateWithNaturalLanguageString:@"12/12/12"] retain]);
149 - (NSDate*)modificationDate {
153 - (NSDate*)creationDate {

123