Home
last modified time | relevance | path

Searched refs:want (Results 1 – 25 of 2017) sorted by relevance

12345678910>>...81

/external/vboot_reference/tests/
Dstateful_util_tests.c84 char want[129]; in StatefulMemset_rTest() local
86 memset(want, 0, sizeof(want)); in StatefulMemset_rTest()
108 memset(want, 'C', 128); in StatefulMemset_rTest()
109 TEST_EQ(0, memcmp(want, buf, sizeof(want)), "StatefulMemset_r(all) contents"); in StatefulMemset_rTest()
116 TEST_EQ(0, memcmp(want, buf, sizeof(want)), "StatefulMemset_r(0) contents"); in StatefulMemset_rTest()
123 TEST_EQ(0, memcmp(want, buf, sizeof(want)), "StatefulMemset_r(+1) contents"); in StatefulMemset_rTest()
134 TEST_EQ(0, memcmp(want, buf, sizeof(want)), "StatefulMemset_r(+1) contents"); in StatefulMemset_rTest()
141 TEST_EQ(0, memcmp(want, buf, sizeof(want)), "StatefulMemset_r(+1) contents"); in StatefulMemset_rTest()
149 char want[129]; in StatefulMemcpy_rTest() local
154 memset(want, 0, sizeof(want)); in StatefulMemcpy_rTest()
[all …]
/external/curl/docs/examples/
Dfopen.c128 static int fill_buffer(URL_FILE *file, size_t want) in fill_buffer() argument
140 if((!file->still_running) || (file->buffer_pos > want)) in fill_buffer()
206 } while(file->still_running && (file->buffer_pos < want)); in fill_buffer()
211 static int use_buffer(URL_FILE *file, size_t want) in use_buffer() argument
214 if((file->buffer_pos - want) <=0) { in use_buffer()
224 &file->buffer[want], in use_buffer()
225 (file->buffer_pos - want)); in use_buffer()
227 file->buffer_pos -= want; in use_buffer()
336 size_t want; in url_fread() local
340 want=fread(ptr, size, nmemb, file->handle.file); in url_fread()
[all …]
/external/boringssl/src/crypto/asn1/
Da_d2i_fp.c151 size_t want = HEADER_SIZE; in asn1_d2i_read_bio() local
164 if (want >= (len - off)) { in asn1_d2i_read_bio()
165 want -= (len - off); in asn1_d2i_read_bio()
167 if (len + want < len || !BUF_MEM_grow_clean(b, len + want)) { in asn1_d2i_read_bio()
171 i = BIO_read(in, &(b->data[len]), want); in asn1_d2i_read_bio()
209 want = HEADER_SIZE; in asn1_d2i_read_bio()
216 want = HEADER_SIZE; in asn1_d2i_read_bio()
219 want = c.slen; in asn1_d2i_read_bio()
220 if (want > (len - off)) { in asn1_d2i_read_bio()
222 want -= (len - off); in asn1_d2i_read_bio()
[all …]
/external/regex-re2/re2/testing/
Dregexp_test.cc53 map<string, int> want; in TEST() local
54 want["g1"] = 1; in TEST()
55 want["g2"] = 3; in TEST()
56 EXPECT_EQ(want, *have); in TEST()
71 map<int, string> want; in TEST() local
72 want[1] = "g1"; in TEST()
73 want[3] = "g2"; in TEST()
74 want[4] = "g1"; in TEST()
76 EXPECT_EQ(want, *have); in TEST()
/external/protobuf/examples/
Dlist_people_test.go25 want := `Person ID: 1234
30 if got != want {
31 t.Errorf("writePerson(%s) =>\n\t%q, want %q", p.String(), got, want)
76 want := strings.Split(`Person ID: 101
98 if len(got) != len(want) {
104 len(want))
107 if lines > len(want) {
108 lines = len(want)
111 if got[i] != want[i] {
117 want[i])
Dadd_person_test.go39 want := []*pb.Person_PhoneNumber{
45 if len(got.Phones) != len(want) {
46 t.Errorf("want %d phone numbers, got %d", len(want), len(got.Phones))
49 if phones > len(want) {
50 phones = len(want)
53 if !proto.Equal(got.Phones[i], want[i]) {
54 t.Errorf("want phone %q, got %q", *want[i], *got.Phones[i])
/external/valgrind/none/tests/x86/
Dfaultstatus.c33 static int testsig(int sig, int want) in testsig() argument
35 if (sig != want) { in testsig()
36 fprintf(stderr, " FAIL: expected signal %d, not %d\n", want, sig); in testsig()
42 static int testcode(int code, int want) in testcode() argument
44 if (code != want) { in testcode()
45 fprintf(stderr, " FAIL: expected si_code==%d, not %d\n", want, code); in testcode()
51 static int testaddr(void *addr, volatile void *want) in testaddr() argument
53 if (addr != want) { in testaddr()
54 fprintf(stderr, " FAIL: expected si_addr==%p, not %p\n", want, addr); in testaddr()
/external/valgrind/none/tests/amd64/
Dfaultstatus.c30 static int testsig(int sig, int want) in testsig() argument
32 if (sig != want) { in testsig()
33 fprintf(stderr, " FAIL: expected signal %d, not %d\n", want, sig); in testsig()
39 static int testcode(int code, int want) in testcode() argument
41 if (code != want) { in testcode()
42 fprintf(stderr, " FAIL: expected si_code==%d, not %d\n", want, code); in testcode()
48 static int testaddr(void *addr, volatile void *want) in testaddr() argument
50 if (addr != want) { in testaddr()
51 fprintf(stderr, " FAIL: expected si_addr==%p, not %p\n", want, addr); in testaddr()
/external/valgrind/none/tests/
Dfaultstatus.c64 static int testsig(int sig, int want) in testsig() argument
66 if (sig != want) { in testsig()
67 fprintf(stderr, " FAIL: expected signal %d, not %d\n", want, sig); in testsig()
73 static int testcode(int code, int want) in testcode() argument
75 if (code != want) { in testcode()
76 fprintf(stderr, " FAIL: expected si_code==%d, not %d\n", want, code); in testcode()
82 static int testaddr(void *addr, volatile void *want) argument
87 if (addr != (void *) ((unsigned long) want & ~0xffful)) {
89 if (addr != want) {
91 fprintf(stderr, " FAIL: expected si_addr==%p, not %p\n", want, addr);
/external/curl/tests/data/
Dtest102418 Set-Cookie: firstcookie=want; path=/want/
28 Location: ../want/10240003.txt
49 Set-Cookie: firstcookie=want; path=/want/
55 Location: ../want/10240003.txt
78 http://%HOSTIP:%HTTPPORT/want/1024 -L -c log/jar1024
88 GET /want/1024 HTTP/1.1
96 GET /want/10240003.txt HTTP/1.1
99 Cookie: firstcookie=want
Dtest102518 Set-Cookie: firstcookie=want; path=/want/
28 Location: ../want/10250003.txt
49 Set-Cookie: firstcookie=want; path=/want/
55 Location: ../want/10250003.txt
78 http://%HOSTIP:%HTTPPORT/want/1025 -L -c log/jar1025 -b forcedcookie=yes
88 GET /want/1025 HTTP/1.1
98 GET /want/10250003.txt HTTP/1.1
101 Cookie: firstcookie=want; forcedcookie=yes
Dtest6232 http://%HOSTIP:%HTTPPORT/we/want/62 http://%HOSTIP:%HTTPPORT/we/want?hoge=fuga -b log/jar62.txt -H …
39 #HttpOnly_.foo.com TRUE /we/want/ FALSE 2054030187 test yes
40 .host.foo.com TRUE /we/want/ FALSE 2054030187 test2 yes
41 .fake.host.foo.com TRUE /we/want/ FALSE 2054030187 test4 yes
53 GET /we/want/62 HTTP/1.1
58 GET /we/want?hoge=fuga HTTP/1.1
Dtest108033 http://%HOSTIP:%HTTPPORT/we/want/our/1080 http://%HOSTIP:%HTTPPORT/we/want/our/1080 -w '%{redirect_…
43 GET /we/want/our/1080 HTTP/1.1
47 GET /we/want/our/1080 HTTP/1.1
59 http://%HOSTIP:%HTTPPORT/we/want/our/data/10800002.txt?coolsite=yes
66 http://%HOSTIP:%HTTPPORT/we/want/our/data/10800002.txt?coolsite=yes
Dtest4645 %HOSTIP:%HTTPPORT/want/46 -c log/jar46 -b log/injar46
55 #HttpOnly_%HOSTIP FALSE /want FALSE 1739150993 mooo2 indeed2
56 %HOSTIP FALSE /want FALSE 0 empty
66 GET /want/46 HTTP/1.1
80 #HttpOnly_%HOSTIP FALSE /want FALSE 1739150993 mooo2 indeed2
81 %HOSTIP FALSE /want FALSE 0 empty
86 %HOSTIP FALSE /want/ FALSE 0 simplyhuge zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz…
Dtest114115 Location: http:///foo.example.com/want/11410001
29 Location: http:///foo.example.com/want/11410001
48 %HOSTIP:%HTTPPORT/want/1141 -L -x http://%HOSTIP:%HTTPPORT
58 GET http://%HOSTIP:%HTTPPORT/want/1141 HTTP/1.1
62 GET http://foo.example.com/want/11410001 HTTP/1.1
Dtest2570 http://%HOSTIP:%HTTPPORT/want/25 -L --max-redirs 5
80 GET /want/25 HTTP/1.1
85 GET /want/data/reply/25 HTTP/1.1
90 GET /want/data/reply/data/reply/25 HTTP/1.1
95 GET /want/data/reply/data/reply/data/reply/25 HTTP/1.1
100 GET /want/data/reply/data/reply/data/reply/data/reply/25 HTTP/1.1
105 GET /want/data/reply/data/reply/data/reply/data/reply/data/reply/25 HTTP/1.1
Dtest2730 "http://%HOSTIP:%HTTPPORT/want/{27,27,27}" -b none
40 GET /want/27 HTTP/1.1
44 GET /want/27 HTTP/1.1
49 GET /want/27 HTTP/1.1
Dtest108141 http://%HOSTIP:%HTTPPORT/we/want/our/1081 http://%HOSTIP:%HTTPPORT/we/want/our/10810002 -w '%{redir…
51 GET /we/want/our/1081 HTTP/1.1
55 GET /we/want/our/10810002 HTTP/1.1
67 http://%HOSTIP:%HTTPPORT/we/want/our/data/10810099.txt?coolsite=yes
/external/clang/docs/
DTooling.rst14 you want to use. Consider the other interfaces only when you have a good
24 * want to interface with clang from other languages than C++
26 * want powerful high-level abstractions, like iterating through an AST with a
27 cursor, and don't want to learn all the nitty gritty details of Clang's AST.
31 * want full control over the Clang AST
49 * want your tool to make or break a build
54 * want to run tools outside of your build environment
55 * want full control on how Clang is set up, including mapping of in-memory
72 * want to run tools over a single file, or a specific subset of files,
74 * want full control over the Clang AST
[all …]
/external/autotest/utils/
Dreindent.py196 want = thislevel * 4
197 if want < 0:
203 want = have2want.get(have, -1)
204 if want < 0:
210 want = jlevel * 4
212 if want < 0: # Maybe it's a hanging
219 want = have + getlspace(after[jline-1]) - \
222 if want < 0:
224 want = have
226 want = 0
[all …]
/external/valgrind/none/tests/mips32/
DSignalException.c21 static int testsig(int sig, int want) in testsig() argument
23 if (sig != want) { in testsig()
24 fprintf(stderr, " FAIL: expected signal %d, not %d\n", want, sig); in testsig()
30 static int testcode(int code, int want) in testcode() argument
32 if (code != want) { in testcode()
33 fprintf(stderr, " FAIL: expected si_code==%d, not %d\n", want, code); in testcode()
/external/toolchain-utils/go/patch/
Dgo6.patch31 want := "no goroutines (main called runtime.Goexit) - deadlock!"
32 if !strings.Contains(output, want) {
39 want := "no goroutines (main called runtime.Goexit) - deadlock!"
40 if !strings.Contains(output, want) {
48 want := "fatal error: no goroutines (main called runtime.Goexit) - deadlock!"
55 want := "fatal error: no goroutines (main called runtime.Goexit) - deadlock!"
56 if !strings.HasPrefix(output, want) {
/external/owasp/sanitizer/src/tests/org/owasp/html/
DSanitizersTest.java93 String want = input; in testStylesAndFormatting() local
94 assertEquals(want, got); in testStylesAndFormatting()
208 String want = ( in testExplicitlyAllowedProtocolsAreCaseInsensitive() local
213 assertEquals(want, s.sanitize(input)); in testExplicitlyAllowedProtocolsAreCaseInsensitive()
283 String want = "text<textarea disabled=\"disabled\"></textarea>" in testSkipIfEmptyUnionsProperly() local
285 assertEquals(want, policy.sanitize(input)); in testSkipIfEmptyUnionsProperly()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
DNOTES12 You may want to add -DVERBOSE=2 to have verbose tests,
18 You may want to add -DSCALABILITY_FACTOR=X, where X is an integer,
21 You may want to add -DPLOT_OUTPUT if you want data for plotting.
26 where <bin> is the executable you want to build and <source> is the source file.
30 If you want diagrams showing the result:
/external/swiftshader/third_party/LLVM/test/Transforms/LoopUnroll/
D2007-05-05-UnrollMiscomp.ll11 …%want = alloca [1 x %struct.__mpz_struct], align 16 ; <[1 x %struct.__mpz_struct]*> [#…
12 …%want1 = getelementptr [1 x %struct.__mpz_struct]* %want, i32 0, i32 0 ; <%struct.__mpz_s…
14 …%want27 = getelementptr [1 x %struct.__mpz_struct]* %want, i32 0, i32 0 ; <%struct.__mpz_s…
15 …%want3 = getelementptr [1 x %struct.__mpz_struct]* %want, i32 0, i32 0 ; <%struct.__mpz_s…
16 …%want2 = getelementptr [1 x %struct.__mpz_struct]* %want, i32 0, i32 0 ; <%struct.__mpz_s…

12345678910>>...81