Searched defs:when (Results 1 - 25 of 51) sorted by relevance

123

/external/jmonkeyengine/engine/src/core/checkers/quals/
H A DUnused.java11 * when} element value qualifier.
15 * lock is used when a {@code Table} instance is shared across threads. When
22 * private @Unused(when=LocalToThread.class) final Lock lock;
40 * receiver that is annotated with the "when" annotation.
42 Class<? extends Annotation> when(); method in interface:Unused
H A DDependent.java19 * private @Nullable @Dependent(result=NonNull.class, when=ThreadSafe.class)
37 Class<? extends Annotation> when(); method in interface:Dependent
/external/littlemock/src/com/google/testing/littlemock/
H A DBehaviour.java26 public <T> T when(T mock); method in interface:Behaviour
/external/chromium_org/chrome/browser/resources/google_now/
H A Dcards.js28 var alarmInfo = {when: opt_timeHide};
121 when: Date.now() + card.trigger.showTimeSec * MS_IN_SECOND
/external/chromium_org/chrome/browser/drive/
H A Devent_logger.h33 base::Time when; // When the event occurred. member in struct:drive::EventLogger::Event
/external/mockito/src/org/mockito/stubbing/
H A DStubber.java10 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
14 * doThrow(new RuntimeException()).when(mockedList).clear();
20 * Also useful when stubbing consecutive calls:
25 * .when(mock).someVoidMethod();
45 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
50 * .when(mockedList).clear();
72 <T> T when(T mock); method in interface:Stubber
79 * .when(mock).someVoidMethod();
83 * @param toBeThrown to be thrown when the stubbed method is called
93 * .when(moc
[all...]
/external/mockito/src/org/mockito/internal/stubbing/
H A DStubberImpl.java22 public <T> T when(T mock) { method in class:StubberImpl
/external/chromium_org/ppapi/cpp/extensions/dev/
H A Dalarms_dev.h61 OptionalDictField<double> when; member in class:pp::ext::alarms::AlarmCreateInfo_Dev
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowMessage.java17 private long when; field in class:ShadowMessage
115 return when;
118 public void setWhen(long when) { argument
119 this.when = when;
H A DShadowNotification.java23 public void __constructor__(int icon, CharSequence tickerText, long when) { argument
26 realNotification.when = when;
/external/chromium_org/remoting/base/
H A Dplugin_thread_task_runner.cc11 base::TimeDelta CalcTimeDelta(base::TimeTicks when) { argument
12 return std::max(when - base::TimeTicks::Now(), base::TimeDelta());
137 // Post tasks to the plugin thread when it is availabe or spin the shutdown
150 void PluginThreadTaskRunner::PostDelayedRunTasks(base::TimeTicks when) { argument
156 // Schedule RunDelayedTasks() to be called at |when| if it hasn't been
158 if (scheduled_timers_.insert(when).second) {
159 base::TimeDelta delay = CalcTimeDelta(when);
161 base::Bind(&PluginThreadTaskRunner::RunDelayedTasks, this, when);
196 void PluginThreadTaskRunner::RunDelayedTasks(base::TimeTicks when) { argument
199 scheduled_timers_.erase(when);
222 base::TimeTicks when = delayed_queue_.top().delayed_run_time; local
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DAudioScheduledSourceNode.cpp137 void AudioScheduledSourceNode::start(double when) argument
143 m_startTime = when;
147 void AudioScheduledSourceNode::stop(double when) argument
153 when = max(0.0, when);
154 m_endTime = when;
157 void AudioScheduledSourceNode::noteOn(double when) argument
159 start(when);
162 void AudioScheduledSourceNode::noteOff(double when) argument
164 stop(when);
[all...]
H A DAudioBufferSourceNode.cpp47 // Higher than expected rates can be useful when playing back oversampled buffers
148 // If we're not looping, then stop playing when we get to the end.
375 void AudioBufferSourceNode::startGrain(double when, double grainOffset) argument
378 startGrain(when, grainOffset, 0);
381 void AudioBufferSourceNode::startGrain(double when, double grainOffset, double grainDuration) argument
408 m_startTime = when;
419 void AudioBufferSourceNode::noteGrainOn(double when, double grainOffset, double grainDuration) argument
421 startGrain(when, grainOffset, grainDuration);
/external/dhcpcd/
H A Deloop.c51 struct timeval when; member in struct:timeout
114 const struct timeval *when, void (*callback)(void *), void *arg)
120 timeradd(&now, when, &w);
148 t->when.tv_sec = w.tv_sec;
149 t->when.tv_usec = w.tv_usec;
158 if (!timeouts || timercmp(&t->when, &timeouts->when, <)) {
164 if (timercmp(&t->when, &tt->next->when, <)) {
174 add_q_timeout_sec(int queue, time_t when, voi argument
113 add_q_timeout_tv(int queue, const struct timeval *when, void (*callback)(void *), void *arg) argument
[all...]
/external/icu4c/samples/date/
H A Ddate.c47 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, UErrorCode *status);
76 UDate when; local
160 /* get the 'when' (or now) */
161 when = getWhen(millis, seconds, format, style, parse, tz, &status);
167 date(when, tz, style, format, &status);
240 date(UDate when, argument
255 printf("%.0f\n", when);
258 printf("%.3f\n", when/1000.0);
268 len = udat_format(fmt, when, 0, len, 0, status);
273 udat_format(fmt, when,
296 UDate when=0; local
[all...]
/external/mockito/src/org/mockito/internal/
H A DMockitoCore.java74 public <T> OngoingStubbing<T> when(T methodCall) { method in class:MockitoCore
/external/chromium/chrome/browser/net/
H A Durl_info.cc290 MinMaxAverage queue, when; local
299 HoursMinutesSeconds(when.sample(
/external/libvpx/libvpx/examples/includes/PHP-SmartyPants-1.5.1e/
H A Dsmartypants.php147 $in_pre = 0; # Keep track of when we're inside <pre> or <code> tags.
245 # Special case to handle quotes at the very end of $text when preceded by
256 $in_pre = 0; # Keep track of when we're inside <pre> or <code> tags
345 $in_pre = 0; # Keep track of when we're inside <pre> or <code> tags
382 $in_pre = 0; # Keep track of when we're inside <pre> or <code> tags
562 # entries written before SmartyPants 1.1, back when "--" was
724 This is useful, for example, when you want to use straight quotes as
742 One situation in which quotes will get curled the wrong way is when
748 single-quote, when in fact it should be a closing one. I don't think
790 function when loade function
[all...]
/external/mockito/src/org/mockito/
H A DMockito.java101 * when(mockedList.get(0)).thenReturn("first");
102 * when(mockedList.get(1)).thenThrow(new RuntimeException());
131 * <li> Last stubbing is more important - when you stubbed the same method with
134 * e.g. when stubbing exactly the same method calls or sometimes when argument matchers are used, etc.</li>
143 * Sometimes, when extra flexibility is required then you might use argument matchers:
147 * when(mockedList.get(anyInt())).thenReturn("element");
150 * when(mockedList.contains(argThat(isValid()))).thenReturn("element");
239 * doThrow(new RuntimeException()).when(mockedList).clear();
335 * <code>verifyNoMoreInteractions()</code> is a handy assertion from the interaction testing toolkit. Use it only when i
1442 public static <T> OngoingStubbing<T> when(T methodCall) { method in class:Mockito
[all...]
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestpalette.c64 static void sdlerr(char *when) argument
66 fprintf(stderr, "SDL error: %s: %s\n", when, SDL_GetError());
196 * Proper palette management is important when playing games with the
/external/qemu/telephony/
H A Dsysdeps_qemu.c106 sys_timer_set( SysTimer timer, SysTime when, SysCallback _callback, void* opaque ) argument
134 qemu_mod_timer( timer->timer, when );
/external/zlib/src/examples/
H A Dgun.c54 1.2.4) is on the same file, when gun is linked with zlib 1.2.2. Also the
520 struct utimbuf when; local
533 when.actime = was.st_atime;
534 when.modtime = was.st_mtime;
535 (void)utime(to, &when);
/external/chromium/third_party/libevent/test/
H A Dregress_http.c261 struct timeval when = { 0, 0 }; local
269 http_chunked_trickle_cb, state, &when);
279 struct timeval when = { 0, 0 }; local
291 event_once(-1, EV_TIMEOUT, http_chunked_trickle_cb, state, &when);
/external/chromium_org/chrome/browser/net/
H A Durl_info.cc309 MinMaxAverage queue, when; local
318 HoursMinutesSeconds(when.sample(
/external/chromium_org/third_party/icu/source/tools/genrb/
H A Dderb.c60 static void reportError(const char *pname, UErrorCode *status, const char *when);
726 static void reportError(const char *pname, UErrorCode *status, const char *when) { argument
727 fprintf(stderr, "%s: error %d while %s: %s\n", pname, *status, when, u_errorName(*status));

Completed in 1054 milliseconds

123