HomeSort by relevance Sort by last modified time
    Searched refs:answer (Results 1 - 25 of 168) sorted by null

1 2 3 4 5 6 7

  /external/valgrind/main/memcheck/tests/
varinfo4.stdout.exp 0 answer is 0
xml1.stdout.exp 1 hello from frame3(). The answer is not 42.
  /external/valgrind/main/none/tests/
floored.stdout.exp 1 the answer is 3
  /external/easymock/src/org/easymock/
IAnswer.java 19 * 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
IExpectationSetters.java 46 * Sets an object that will be used to calculate the answer for the expected
49 * @param answer
50 * the object used to answer the invocation.
53 IExpectationSetters<T> andAnswer(IAnswer<? extends T> answer);
57 * method call will be delegated to it with the actual arguments. The answer
58 * returned by this call will then be the answer returned by the mock
85 * Sets a stub object that will be used to calculate the answer for the
88 * @param answer
89 * the object used to answer the invocation.
91 void andStubAnswer(IAnswer<? extends T> answer);
    [all...]
  /ndk/sources/host-tools/make-3.81/tests/scripts/targets/
SECONDARY 39 $answer = "cp foo.f foo.e\ncp foo.e foo.d\n";
40 &compare_output($answer, &get_logfile(1));
47 $answer = "$make_name: `foo.d' is up to date.\n";
48 &compare_output($answer, &get_logfile(1));
56 $answer = "cp foo.f foo.e\ncp foo.e foo.d\n";
57 &compare_output($answer, &get_logfile(1));
62 $answer = "cp foo.e foo.c\n";
63 &compare_output($answer, &get_logfile(1));
70 $answer = "$make_name: `foo.c' is up to date.\n";
71 &compare_output($answer, &get_logfile(1))
    [all...]
  /external/proguard/examples/annotations/examples/
NativeCallBack.java 17 * Suppose this is a native method that computes an answer.
40 int answer = new NativeCallBack().computeAnswer(); local
42 System.out.println("The answer is " + answer);
  /prebuilts/tools/common/proguard/proguard4.7/examples/annotations/examples/
NativeCallBack.java 17 * Suppose this is a native method that computes an answer.
40 int answer = new NativeCallBack().computeAnswer(); local
42 System.out.println("The answer is " + answer);
  /external/easymock/src/org/easymock/internal/
IMocksControlState.java 30 void andAnswer(IAnswer<?> answer);
32 void andDelegateTo(Object answer);
38 void andStubAnswer(IAnswer<?> answer);
Result.java 41 public Object answer() throws Throwable { method in class:Result.ThrowingAnswer
47 return "Answer throwing " + throwable;
58 public Object answer() throws Throwable { method in class:Result.ReturningAnswer
64 return "Answer returning " + value;
75 public Object answer() throws Throwable { method in class:Result.DelegatingAnswer
98 public static Result createAnswerResult(IAnswer<?> answer) {
99 return new Result(answer, false);
102 public Object answer() throws Throwable { method in class:Result
103 return value.answer();
ReplayState.java 59 return result.answer();
103 public void andAnswer(IAnswer<?> answer) {
107 public void andDelegateTo(Object answer) {
119 public void andStubAnswer(IAnswer<?> answer) {
  /packages/apps/Email/
remove-exchange-support.sh 33 read answer
34 if [[ "$answer" != y ]] ; then
  /external/guava/guava-tests/test/com/google/common/collect/
SortedListsTest.java 41 void assertModelAgrees(List<Integer> list, Integer key, int answer,
46 assertEquals(list.indexOf(key), answer); local
52 assertEquals(list.lastIndexOf(key), answer); local
58 assertEquals(key, list.get(answer));
64 assertEquals(list.lastIndexOf(key) + 1, answer); local
70 assertEquals(list.indexOf(key) - 1, answer); local
84 assertEquals(nextHigherIndex - 1, answer);
87 assertEquals(nextHigherIndex, answer);
90 assertEquals(-1 - nextHigherIndex, answer);
  /frameworks/base/tools/aidl/
options_test.cpp 8 struct Answer {
57 test(const Answer& answer)
60 while (answer.argv[argc]) {
67 int result = parse_options(argc, answer.argv, &options);
70 if (((bool)result) != ((bool)answer.result)) {
72 answer.result << endl;
82 if (!match_arrays(answer.systemSearchPath, options.systemSearchPath)) {
86 print_array(" ", answer.systemSearchPath);
91 if (!match_arrays(answer.localSearchPath, options.localSearchPath))
    [all...]
  /bionic/libc/private/
resolv_cache.h 75 /* or the answer buffer is too small */
77 RESOLV_CACHE_FOUND /* the cache found the answer */
84 void* answer,
88 /* add a (query,answer) to the cache, only call if _resolv_cache_lookup
95 const void* answer,
  /external/qemu/telephony/
modem_driver.c 94 const char* answer; local
103 answer = amodem_send(android_modem, md->in_buff);
104 if (answer != NULL) {
105 D( "%s: >> %s\n", __FUNCTION__, answer );
106 len = strlen(answer);
107 if (len == 2 && answer[0] == '>' && answer[1] == ' ')
110 qemu_chr_write(md->cs, (const uint8_t*)answer, len);
113 D( "%s: -- NO ANSWER\n", __FUNCTION__ );
  /external/v8/test/mjsunit/
mod.js 30 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 == 0) assertEquals(-Infinity, 1/m)
    [all...]
  /external/mdnsresponder/mDNSPosix/
Identify.c 67 static volatile int StopNow; // 0 means running, 1 means stop because we got an answer, 2 means stop because of Ctrl-C
107 mDNSlocal void NameCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
113 if (answer->rrtype == kDNSType_PTR || answer->rrtype == kDNSType_CNAME)
115 ConvertDomainNameToCString(&answer->rdata->u.name, hostname);
117 mprintf("%##s %s %##s\n", answer->name->c, DNSTypeName(answer->rrtype), answer->rdata->u.name.c);
121 mDNSlocal void InfoCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
126 if (answer->rrtype == kDNSType_A
    [all...]
  /external/openssh/openbsd-compat/
getrrsetbyname.c 170 struct dns_rr *answer; member in struct:dns_response
200 u_char answer[ANSWER_BUFFER_SIZE]; local
238 answer, sizeof(answer));
254 response = parse_dns_response(answer, length);
273 rrset->rri_ttl = response->answer->ttl;
282 /* copy name from answer section */
283 rrset->rri_name = strdup(response->answer->name);
290 rrset->rri_nrdatas = count_dns_rr(response->answer, rrset->rri_rdclass,
292 rrset->rri_nsigs = count_dns_rr(response->answer, rrset->rri_rdclass
    [all...]
  /ndk/sources/host-tools/make-3.81/tests/
run_make_tests.pl 77 # [2] (string): Answer we should get back.
84 local ($makestring, $options, $answer, $err_code) = @_;
115 # Do the same processing on $answer as we did on $makestring.
117 $answer && $answer !~ /\n$/s and $answer .= "\n";
118 $answer =~ s/#MAKEFILE#/$makefile/g;
119 $answer =~ s/#MAKEPATH#/$mkpath/g;
120 $answer =~ s/#MAKE#/$make_name/g;
121 $answer =~ s/#PWD#/$pwd/g
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/protocols/
talkd.h 62 u_char answer; /* not used */ member in struct:__anon23476
81 u_char answer; /* response to request message, see below */ member in struct:__anon23477
95 /* answer values */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/protocols/
talkd.h 62 u_char answer; /* not used */ member in struct:__anon25066
81 u_char answer; /* response to request message, see below */ member in struct:__anon25067
95 /* answer values */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/protocols/
talkd.h 62 u_char answer; /* not used */ member in struct:__anon26578
81 u_char answer; /* response to request message, see below */ member in struct:__anon26579
95 /* answer values */
  /external/jmdns/src/javax/jmdns/impl/tasks/state/
Canceler.java 104 for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())) {
105 newOut = this.addAnswer(newOut, null, answer);
117 for (DNSRecord answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalHost())) {
118 newOut = this.addAnswer(newOut, null, answer);
  /hardware/libhardware/include/hardware/
qemud.h 68 char answer[2]; local
93 /* read answer from daemon */
94 if (qemud_fd_read(fd, answer, 2) != 2 ||
95 answer[0] != 'O' || answer[1] != 'K') {

Completed in 934 milliseconds

1 2 3 4 5 6 7