Searched refs:answer (Results 1 - 25 of 218) sorted by relevance

123456789

/external/v8/tools/gyp/test/win/lib-crosscompile/
H A Danswer.h5 int answer()
H A Danswer.cc5 #include "answer.h"
7 int answer() { function
/external/v8/tools/gyp/test/win/lib-flags/
H A Danswer.h5 int answer()
H A Danswer.cc5 #include "answer.h"
7 int answer() { function
/external/valgrind/memcheck/tests/
H A Dsuppvarinfo5.stderr.exp0 answer is 0
H A Dvarinfo4.stdout.exp0 answer is 0
H A Dxml1.stdout.exp1 hello from frame3(). The answer is not 42.
/external/valgrind/none/tests/
H A Dfloored.stdout.exp1 the answer is 3
/external/v8/test/mjsunit/
H A Dmod.js30 var answer = 1;
32 if (answer == i) answer = 0;
34 print(j + " % " + i + " = " + answer);
36 assertEquals(answer, m, j + " % " + i);
38 assertEquals(answer, m, j + " % -" + i);
41 assertEquals(-answer, m, j + " % " + i);
43 if (answer == 0) assertEquals(-Infinity, 1/m);
45 assertEquals(-answer, m, j + " % -" + i);
47 if (answer
[all...]
/external/easymock/src/org/easymock/
H A DIAnswer.java19 * Used to answer expected calls.
24 * is called by EasyMock to answer an expected call.
25 * The answer may be to return a value, or to throw an exception.
26 * The arguments of the call for which the answer is generated
33 T answer() throws Throwable; method in interface:IAnswer
/external/mockito/src/org/mockito/internal/stubbing/answers/
H A DAnswersValidator.java15 public void validate(Answer<?> answer, Invocation invocation) { argument
17 if (answer instanceof ThrowsException) {
18 validateException((ThrowsException) answer, methodInfo);
21 if (answer instanceof Returns) {
22 validateReturnValue((Returns) answer, methodInfo);
25 if (answer instanceof DoesNothing) {
26 validateDoNothing((DoesNothing) answer, methodInfo);
29 if (answer instanceof CallsRealMethods) {
30 validateMockingConcreteClass((CallsRealMethods) answer, methodInfo);
33 if (answer instanceo
51 validateMockingConcreteClass(CallsRealMethods answer, MethodInfo methodInfo) argument
57 validateDoNothing(DoesNothing answer, MethodInfo methodInfo) argument
63 validateReturnValue(Returns answer, MethodInfo methodInfo) argument
77 validateException(ThrowsException answer, MethodInfo methodInfo) argument
[all...]
/external/mockito/src/org/mockito/internal/stubbing/
H A DConsecutiveStubbing.java18 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { argument
19 invocationContainerImpl.addConsecutiveAnswer(answer);
23 public OngoingStubbing<T> then(Answer<?> answer) { argument
24 return thenAnswer(answer);
27 public DeprecatedOngoingStubbing<T> toAnswer(Answer<?> answer) { argument
28 invocationContainerImpl.addConsecutiveAnswer(answer);
H A DOngoingStubbingImpl.java23 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { argument
28 invocationContainerImpl.addAnswer(answer);
32 public OngoingStubbing<T> then(Answer<?> answer) { argument
33 return thenAnswer(answer);
36 public DeprecatedOngoingStubbing<T> toAnswer(Answer<?> answer) { argument
37 invocationContainerImpl.addAnswer(answer);
H A DStubbedInvocationMatcher.java23 public StubbedInvocationMatcher(InvocationMatcher invocation, Answer answer) { argument
25 this.answers.add(answer);
28 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:StubbedInvocationMatcher
34 return a.answer(invocation);
37 public void addAnswer(Answer answer) { argument
38 answers.add(answer);
/external/proguard/examples/annotations/examples/
H A DNativeCallBack.java18 * Suppose this is a native method that computes an answer.
48 int answer = new NativeCallBack().computeAnswer();
50 System.out.println("The answer is " + answer);
/external/webrtc/webrtc/tools/rtcbot/test/
H A Dping_pong.js14 function gotAnswer(answer) {
15 test.log('bot > ' + answer);
/external/v8/tools/gyp/test/mac/framework-dirs/
H A Dcalculate.c9 char* answer);
/external/mockito/src/org/mockito/stubbing/
H A DAnswer.java10 * Generic interface to be used for configuring mock's answer.
13 * Example of stubbing a mock with custom answer:
17 * Object answer(InvocationOnMock invocation) {
38 T answer(InvocationOnMock invocation) throws Throwable; method in interface:Answer
/external/easymock/src/org/easymock/internal/
H A DIMocksControlState.java30 void andAnswer(IAnswer<?> answer); argument
32 void andDelegateTo(Object answer); argument
38 void andStubAnswer(IAnswer<?> answer); argument
H A DResult.java41 public Object answer() throws Throwable {
58 public Object answer() throws Throwable {
75 public Object answer() throws Throwable {
98 public static Result createAnswerResult(IAnswer<?> answer) { argument
99 return new Result(answer, false);
102 public Object answer() throws Throwable { method in class:Result
103 return value.answer();
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
H A DGloballyConfiguredAnswer.java23 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:GloballyConfiguredAnswer
24 return new GlobalConfiguration().getDefaultAnswer().answer(invocation);
/external/v8/src/snapshot/
H A Dsnapshot-source-sink.h47 uint32_t answer = data_[position_];
48 answer |= data_[position_ + 1] << 8;
49 answer |= data_[position_ + 2] << 16;
50 answer |= data_[position_ + 3] << 24;
51 int bytes = (answer & 3) + 1;
55 answer &= mask;
56 answer >>= 2;
57 return answer;
/external/libnl/src/lib/
H A Dutils.c116 int answer; local
124 answer = tolower(getchar());
125 if (answer == '\n')
126 answer = default_yes ? 'y' : 'n';
127 } while (answer != 'y' && answer != 'n');
129 return answer == 'y';
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DSortedListsTest.java37 void assertModelAgrees(List<Integer> list, Integer key, int answer, argument
42 assertEquals(list.indexOf(key), answer);
48 assertEquals(list.lastIndexOf(key), answer);
54 assertEquals(key, list.get(answer));
60 assertEquals(list.lastIndexOf(key) + 1, answer);
66 assertEquals(list.indexOf(key) - 1, answer);
80 assertEquals(nextHigherIndex - 1, answer);
83 assertEquals(nextHigherIndex, answer);
86 assertEquals(-1 - nextHigherIndex, answer);
/external/guava/guava-tests/test/com/google/common/collect/
H A DSortedListsTest.java39 void assertModelAgrees(List<Integer> list, Integer key, int answer, argument
44 assertEquals(list.indexOf(key), answer);
50 assertEquals(list.lastIndexOf(key), answer);
56 assertEquals(key, list.get(answer));
62 assertEquals(list.lastIndexOf(key) + 1, answer);
68 assertEquals(list.indexOf(key) - 1, answer);
82 assertEquals(nextHigherIndex - 1, answer);
85 assertEquals(nextHigherIndex, answer);
88 assertEquals(-1 - nextHigherIndex, answer);

Completed in 5022 milliseconds

123456789