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

/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
H A Dtimestamp.js15 var then = null; variable
20 then = d.getTime();
22 shouldBeTrue('then != 0');
28 shouldBeTrue('t <= then + 1'); // Avoid rounding errors
/external/mockito/src/org/mockito/internal/stubbing/
H A DConsecutiveStubbing.java23 public OngoingStubbing<T> then(Answer<?> answer) { method in class:ConsecutiveStubbing
H A DOngoingStubbingImpl.java32 public OngoingStubbing<T> then(Answer<?> answer) { method in class:OngoingStubbingImpl
/external/mockito/src/org/mockito/stubbing/
H A DOngoingStubbing.java11 * Simply put: "<b>When</b> the x method is called <b>then</b> return y". E.g:
74 * If throwables contain a checked exception then it has to
80 * if throwable is null then exception will be thrown.
99 * If throwableClasses contain a checked exception then it has to
105 * if throwable is null then exception will be thrown.
130 * // if it isn't safe then you will have trouble stubbing it using this api. Use Mockito.doCallRealMethod() instead.
169 * //using 'then' alias:
170 * when(mock.foo()).then(returnCoolValue());
182 OngoingStubbing<T> then(Answer<?> answer); method in interface:OngoingStubbing
/external/qemu/distrib/sdl-1.2.15/src/timer/riscos/
H A DSDL_systimer.c86 Uint32 now,then,elapsed; local
103 then = SDL_GetTicks();
116 elapsed = (now-then);
117 then = now;
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestgamma.c83 Uint32 then, timeout; local
141 then = SDL_GetTicks();
143 while ( (SDL_GetTicks()-then) < timeout ) {
H A Dtestvidinfo.c79 Uint32 then, now; local
94 then = SDL_GetTicks();
121 seconds = (float)(now - then) / 1000.0f;
147 then = SDL_GetTicks();
150 seconds = (float)(now - then) / 1000.0f;
178 then = SDL_GetTicks();
181 seconds = (float)(now - then) / 1000.0f;
209 then = SDL_GetTicks();
212 seconds = (float)(now - then) / 1000.0f;
240 then
[all...]
H A Dtestwin.c244 Uint32 then, now; local
367 then = SDL_GetTicks();
370 printf("Time: %d milliseconds\n", now-then);
H A Dtestoverlay.c330 Uint32 then, now; local
552 then = SDL_GetTicks();
578 printf("Conversion Time: %d milliseconds\n", now-then);
583 then = SDL_GetTicks();
588 printf("Time: %d milliseconds\n", now-then);
H A Dtestsprite.c134 blits directly to it, then use page flipping.
161 Uint32 then, now, frames; local
290 then = SDL_GetTicks();
317 if ( now > then ) {
319 ((double)frames*1000)/(now-then));
/external/icu4c/test/cintltst/
H A Dcdtdptst.c197 UChar *pattern=NULL, *now=NULL, *then=NULL; local
214 else then=myDateFormat(format, date2);
215 log_verbose("%s\n", austrdup(then) );
/external/icu4c/test/intltest/
H A Dastrotst.cpp152 UDate then = cal->getTime(status); local
153 CalendarAstronomer *myastro = new CalendarAstronomer(then);
H A Ddtfmttst.cpp680 UnicodeString now, then; local
693 if (date2 == 0) then = "Parse stopped at " + pos.getIndex();
694 else ((DateFormat*)formatter)->format(date2, then);
695 logln(then);
1773 * If expect parse failure, then [i+2] should be NULL.
1855 * then parse string [i+3] and expect date [i+2].
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp58 if (IdentifierStr == "then") return tok_then;
142 /// IfExprAST - Expression class for if/then/else.
146 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) argument
147 : Cond(cond), Then(then), Else(_else) {}
273 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
282 return Error("expected then");
283 getNextToken(); // eat the then
521 // Create blocks for the then and else cases. Insert the 'then' block at the
523 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunctio
[all...]
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp61 if (IdentifierStr == "then") return tok_then;
157 /// IfExprAST - Expression class for if/then/else.
161 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) argument
162 : Cond(cond), Then(then), Else(_else) {}
301 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
310 return Error("expected then");
311 getNextToken(); // eat the then
625 // Create blocks for the then and else cases. Insert the 'then' block at the
627 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunctio
[all...]
/external/mdnsresponder/mDNSCore/
H A DDNSDigest.c305 * has to be at lest 32 bit wide, if it's wider, then
1433 mDNSs32 then; local
1481 then = (mDNSs32)NToH32(utc48 + sizeof(mDNSu16));
1487 delta = (now > then) ? now - then : then - now;
/external/v8/src/
H A Dscanner.h497 inline Token::Value Select(uc32 next, Token::Value then, Token::Value else_) { argument
501 return then;
/external/clang/lib/AST/
H A DStmt.cpp833 Stmt *then, SourceLocation EL, Stmt *elsev)
838 SubExprs[THEN] = then;
832 IfStmt(ASTContext &C, SourceLocation IL, VarDecl *var, Expr *cond, Stmt *then, SourceLocation EL, Stmt *elsev) argument
/external/libpng/contrib/gregbook/
H A Drpng2-x.c590 * that the file is a PNG image), then loop through the file and continue
645 struct timeval now, then; local
648 if (gettimeofday(&then, NULL) == 0) {
649 then.tv_sec += loop_interval;
676 if (now.tv_sec < then.tv_sec ||
677 (now.tv_sec == then.tv_sec && now.tv_usec < then.tv_usec))
680 long seconds_to_go = then.tv_sec - now.tv_sec;
706 if (now.tv_sec >= then.tv_sec)
708 seconds_to_go = then
[all...]
/external/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp64 if (IdentifierStr == "then") return tok_then;
162 /// IfExprAST - Expression class for if/then/else.
166 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) argument
167 : Cond(cond), Then(then), Else(_else) {}
319 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
328 return Error("expected then");
329 getNextToken(); // eat the then
721 // Create blocks for the then and else cases. Insert the 'then' block at the
723 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunctio
[all...]
/external/libvpx/libvpx/
H A Dvpxenc.c1436 int64_t now, then, sum_sz = 0, avg_bitrate; local
1448 then = now;
1455 then = hist->pts[i_idx];
1456 if(now - then > cfg->rc_buf_sz)
1461 if (now == then)
1464 avg_bitrate = sum_sz * 8 * 1000 / (now - then);
/external/dexmaker/lib/
H A Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.osgi_3.6.1.R36x_v20100806.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.osgi_3.6.2.R36x_v20101103.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.ide_3.6.2.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 538 milliseconds