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

12

/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
H A DLittleMock.java60 * doReturn("hello").when(mockFoo).aString(anyInt()); // Stub the mock to return "hello".
61 * doThrow(new IOException("oh noes")).when(mockFoo).doSomething();
106 * between using one framework to using the other, e.g., when developing both an Android application
199 /** The list of outstanding calls to when() that haven't finished, used to check for errors. */
337 /** Recurse up the class hierarchy injecting mocks as we go, stopping when we reach Object. */
499 public <T> T when(T mock) { method in class:LittleMock.BehaviourImpl
514 * required that the anyInt() method store the value somewhere for use when the someMethod
618 * <p>It is not null when in the verification state, and it is actually used to determine if we
629 * <p>It is not null when in the stubbing state, and it is actually used to determine if we are
792 // when al
[all...]
/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/chromium/chrome/browser/net/
H A Durl_info.cc290 MinMaxAverage queue, when; local
299 HoursMinutesSeconds(when.sample(
/external/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/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 );
H A Dsysdeps_posix.c317 SysTime when; member in struct:SysTimerRec_
377 SysTime when,
387 if (now >= when) {
394 if (node == NULL || node->when >= when) {
401 timer->when = when;
436 if (first->when <= now) {
440 SysTime diff = first->when - now;
492 if (timer->when > no
376 sys_timer_set( SysTimer timer, SysTime when, SysCallback callback, void* opaque ) argument
[all...]
/external/webkit/Source/WebCore/webaudio/
H A DAudioBufferSourceNode.cpp119 // With a bit of work, it should be possible to avoid going through the resampler completely when the pitchRate == 1,
240 // If we're not looping, then stop playing when we get to the end.
371 void AudioBufferSourceNode::noteOn(double when) argument
378 m_startTime = when;
383 void AudioBufferSourceNode::noteGrainOn(double when, double grainOffset, double grainDuration) argument
409 m_startTime = when;
420 // FIXME: the "when" argument to this method is ignored.
/external/zlib/src/examples/
H A Dgun.c53 1.2.4) is on the same file, when gun is linked with zlib 1.2.2. Also the
519 struct utimbuf when; local
532 when.actime = was.st_atime;
533 when.modtime = was.st_mtime;
534 (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/compiler-rt/lib/asan/
H A Dasan_mac.cc273 void dispatch_after_f(dispatch_time_t when, dispatch_queue_t dq, void *ctxt,
349 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, argument
358 return REAL(dispatch_after_f)(when, dq, (void*)asan_ctxt,
389 void dispatch_after(dispatch_time_t when, dispatch_queue_t queue,
418 dispatch_time_t when, dispatch_queue_t queue, void(^work)(void)) {
420 REAL(dispatch_after)(when, queue, asan_block);
417 INTERCEPTOR(void, dispatch_after, dispatch_time_t when, dispatch_queue_t queue, void(^work)(void)) argument
/external/icu4c/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));
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Dport.cc85 // We will restrict RTT estimates (when used for determining state) to be
428 // we destroy it when it drops to zero connections.
827 uint32 when = talk_base::Time() - request->Elapsed(); local
830 if (pings_since_last_response_[failures] > when) {
/external/icu4c/test/cintltst/
H A Dcdattst.c239 log_err("FAIL: udat_parse(\"bad string\") passed when it should have failed\n");
773 UDate when; local
832 when = ucal_getMillis(cal, &ec);
837 udat_format(full, when, buf, sizeof(buf), NULL, &ec);
844 if (when == 986517900000.0) {
/external/icu4c/test/intltest/
H A Dcaltest.cpp295 UDate when = date(90, UCAL_APRIL, 15); local
308 cal->setTime(when, status);
309 cal2->setTime(when, status);
321 logln("cal2->setTime(when+1000)");
322 cal2->setTime(when + 1000, status);
535 * This test confirms the correct behavior of add when incrementing
1187 * it should not vary depending on when and whether the get method is
1347 * Test that the days of the week progress properly when add is called repeatedly
1367 * identically when adding. YEAR should keep the month/dom
H A Ddtfmttst.cpp789 * Verify the correct behavior when handling invalid input strings.
822 UDate when = df->parse(text, status); local
823 if (when == 0 && U_SUCCESS(status)) {
835 full->format(when, format);
904 * Verify the correct behavior when parsing an array of inputs against an
1177 UDate when; local
1232 when = cal->getTime(ec);
1238 full->format(when, str);
1240 if (when == 986517900000.0) {
3527 errln("FAIL, err when expecte
[all...]
/external/valgrind/main/coregrind/m_aspacemgr/
H A Daspacemgr-linux.c87 client areas widely separated when possible. If address space
173 when the choice to do so is ours. Reservation segments are
916 for when each mapping was created. In order to cope with this we
918 mode we allow the kernel to report execute permission when we weren't
972 allow segment to have X permission when we weren't expecting
1128 rate exceeding 90% when running OpenOffice.
1308 a second time when possible. It is always correct to just
1380 translations made from it. This is used to determine when to
1584 execute, and so later m_translate will segfault the client when
2195 again. Note, this isn't really right when th
3609 get_changed_segments( const HChar* when, const HChar* where, ChangedSeg* css, Int css_size, Int* css_used) argument
[all...]
/external/icu4c/i18n/
H A Dcalendar.cpp17 * 05/20/97 aliu Changed logic of when to compute fields and time
242 // when calendar keyword is not available or not supported, read supplementalData
643 // back out to fields is made when necessary. This is implemented by the
647 // ranges when they are regenerated.
943 Calendar::equals(const Calendar& when, UErrorCode& status) const argument
945 return (this == &when ||
946 getTime(status) == when.getTime(status));
952 Calendar::before(const Calendar& when, UErrorCode& status) const argument
954 return (this != &when &&
955 getTimeInMillis(status) < when
961 after(const Calendar& when, UErrorCode& status) const argument
1926 fieldDifference(UDate when, EDateFields field, UErrorCode& status) argument
[all...]
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-darwin.c235 should be unnecessary since the flag should be cleared when the
623 void ML_(sync_mappings)(const HChar *when, const HChar *where, Int num) argument
639 when, where, num);
649 ok = VG_(get_changed_segments)(when, where, css, css_size, &css_used);
672 action, cs->start, cs->end + 1, where, when);
2728 // to be run only in the case when we are not simulating them, that
2796 // ok, etc. We allow setuid executables to run only in the case when
3777 // We must record the aiocbp for each aio_read() in a table so that when
6469 // the new pthread struct is still unmapped when we return to libc,
6478 // GrP fixme semaphore destroy needed when threa
[all...]
/external/quake/quake/src/QW/scitech/include/
H A Dmgraph.h280 * default palette will have been programmed to contain these values when a
496 * when the user presses one of the corresponding keys indicating that
500 * when the user switches back to your application. The MGL takes care of
863 ulong when; /* Clock ticks since midnight */ member in struct:__anon11546
933 extern "C" { /* Use "C" linkage when in C++ mode */
1057 * original DC when a new context is enabled with MGL_makeCurrentDC().
/external/quake/quake/src/WinQuake/scitech/INCLUDE/
H A DMGRAPH.H280 * default palette will have been programmed to contain these values when a
496 * when the user presses one of the corresponding keys indicating that
500 * when the user switches back to your application. The MGL takes care of
863 ulong when; /* Clock ticks since midnight */ member in struct:__anon11845
933 extern "C" { /* Use "C" linkage when in C++ mode */
1057 * original DC when a new context is enabled with MGL_makeCurrentDC().
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...

Completed in 3044 milliseconds

12