HomeSort by relevance Sort by last modified time
    Searched full:buf1 (Results 1 - 25 of 257) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/compiler-rt/test/asan/TestCases/
coverage-pc-buffer.cc 35 uintptr_t *buf1 = NULL; local
36 uintptr_t sz1 = __sanitizer_get_coverage_pc_buffer(&buf1);
37 assertNotZeroPcs(buf1, sz1);
38 assert(buf1 == buf);
47 uintptr_t *buf1 = NULL; local
48 uintptr_t sz1 = __sanitizer_get_coverage_pc_buffer(&buf1);
49 assertNotZeroPcs(buf1, sz1);
50 assert(buf1 == buf);
59 uintptr_t *buf1 = NULL; local
60 uintptr_t sz1 = __sanitizer_get_coverage_pc_buffer(&buf1);
    [all...]
  /external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.assign/
member_swap.pass.cpp 23 std::stringbuf buf1("testing");
25 buf.swap(buf1);
27 assert(buf1.str() == "");
30 std::stringbuf buf1("testing", std::ios_base::in);
32 buf.swap(buf1);
34 assert(buf1.str() == "");
37 std::stringbuf buf1("testing", std::ios_base::out);
39 buf.swap(buf1);
41 assert(buf1.str() == "");
44 std::wstringbuf buf1(L"testing")
    [all...]
nonmember_swap.pass.cpp 25 std::stringbuf buf1("testing");
27 swap(buf, buf1);
29 assert(buf1.str() == "");
32 std::stringbuf buf1("testing", std::ios_base::in);
34 swap(buf, buf1);
36 assert(buf1.str() == "");
39 std::stringbuf buf1("testing", std::ios_base::out);
41 swap(buf, buf1);
43 assert(buf1.str() == "");
46 std::wstringbuf buf1(L"testing")
    [all...]
move.pass.cpp 23 std::stringbuf buf1("testing");
25 buf = move(buf1);
29 std::stringbuf buf1("testing", std::ios_base::in);
31 buf = move(buf1);
35 std::stringbuf buf1("testing", std::ios_base::out);
37 buf = move(buf1);
41 std::wstringbuf buf1(L"testing");
43 buf = move(buf1);
47 std::wstringbuf buf1(L"testing", std::ios_base::in);
49 buf = move(buf1);
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.assign/
member_swap.pass.cpp 23 std::stringbuf buf1("testing");
25 buf.swap(buf1);
27 assert(buf1.str() == "");
30 std::stringbuf buf1("testing", std::ios_base::in);
32 buf.swap(buf1);
34 assert(buf1.str() == "");
37 std::stringbuf buf1("testing", std::ios_base::out);
39 buf.swap(buf1);
41 assert(buf1.str() == "");
44 std::wstringbuf buf1(L"testing")
    [all...]
nonmember_swap.pass.cpp 25 std::stringbuf buf1("testing");
27 swap(buf, buf1);
29 assert(buf1.str() == "");
32 std::stringbuf buf1("testing", std::ios_base::in);
34 swap(buf, buf1);
36 assert(buf1.str() == "");
39 std::stringbuf buf1("testing", std::ios_base::out);
41 swap(buf, buf1);
43 assert(buf1.str() == "");
46 std::wstringbuf buf1(L"testing")
    [all...]
move.pass.cpp 23 std::stringbuf buf1("testing");
25 buf = move(buf1);
29 std::stringbuf buf1("testing", std::ios_base::in);
31 buf = move(buf1);
35 std::stringbuf buf1("testing", std::ios_base::out);
37 buf = move(buf1);
41 std::wstringbuf buf1(L"testing");
43 buf = move(buf1);
47 std::wstringbuf buf1(L"testing", std::ios_base::in);
49 buf = move(buf1);
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/string.streams/stringbuf/stringbuf.assign/
member_swap.pass.cpp 23 std::stringbuf buf1("testing");
25 buf.swap(buf1);
27 assert(buf1.str() == "");
30 std::stringbuf buf1("testing", std::ios_base::in);
32 buf.swap(buf1);
34 assert(buf1.str() == "");
37 std::stringbuf buf1("testing", std::ios_base::out);
39 buf.swap(buf1);
41 assert(buf1.str() == "");
44 std::wstringbuf buf1(L"testing")
    [all...]
nonmember_swap.pass.cpp 25 std::stringbuf buf1("testing");
27 swap(buf, buf1);
29 assert(buf1.str() == "");
32 std::stringbuf buf1("testing", std::ios_base::in);
34 swap(buf, buf1);
36 assert(buf1.str() == "");
39 std::stringbuf buf1("testing", std::ios_base::out);
41 swap(buf, buf1);
43 assert(buf1.str() == "");
46 std::wstringbuf buf1(L"testing")
    [all...]
move.pass.cpp 23 std::stringbuf buf1("testing");
25 buf = move(buf1);
29 std::stringbuf buf1("testing", std::ios_base::in);
31 buf = move(buf1);
35 std::stringbuf buf1("testing", std::ios_base::out);
37 buf = move(buf1);
41 std::wstringbuf buf1(L"testing");
43 buf = move(buf1);
47 std::wstringbuf buf1(L"testing", std::ios_base::in);
49 buf = move(buf1);
    [all...]
  /external/libnetfilter_conntrack/include/internal/
bitops.h 28 set_bitmask_u32(uint32_t *buf1, const uint32_t *buf2, int len)
33 buf1[i] |= buf2[i];
37 unset_bitmask_u32(uint32_t *buf1, const uint32_t *buf2, int len)
42 buf1[i] &= ~buf2[i];
51 test_bitmask_u32(const uint32_t *buf1, const uint32_t *buf2, int len)
56 if ((buf1[i] & buf2[i]) != buf2[i]) {
64 test_bitmask_u32_or(const uint32_t *buf1, const uint32_t *buf2, int len)
69 if (buf1[i] & buf2[i]) {
  /external/webrtc/webrtc/base/
buffer_unittest.cc 68 Buffer buf1(kTestData), buf2(buf1);
72 EXPECT_NE(buf1.data(), buf2.data());
73 EXPECT_EQ(buf1, buf2);
77 Buffer buf1, buf2(kTestData, sizeof(kTestData), 256); local
78 EXPECT_NE(buf1, buf2);
79 buf1 = buf2;
80 EXPECT_EQ(buf1, buf2);
81 EXPECT_NE(buf1.data(), buf2.data());
139 Buffer buf1(kTestData, 3, 40)
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue7690.go 21 buf1 := make([]byte, 1000)
24 runtime.Stack(buf1, false) // CALL is last instruction on this line
27 buf1 = buf1[:bytes.IndexByte(buf1, 0)]
31 m1 := re.FindStringSubmatch(string(buf1))
46 println(string(buf1))
issue4099.go 21 var buf1 [10]byte
22 F1(buf1[:]) // ERROR "buf1 does not escape"
  /prebuilts/go/linux-x86/test/fixedbugs/
issue7690.go 21 buf1 := make([]byte, 1000)
24 runtime.Stack(buf1, false) // CALL is last instruction on this line
27 buf1 = buf1[:bytes.IndexByte(buf1, 0)]
31 m1 := re.FindStringSubmatch(string(buf1))
46 println(string(buf1))
issue4099.go 21 var buf1 [10]byte
22 F1(buf1[:]) // ERROR "buf1 does not escape"
  /external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/
move.pass.cpp 23 std::stringbuf buf1("testing");
24 std::stringbuf buf(move(buf1));
28 std::stringbuf buf1("testing", std::ios_base::in);
29 std::stringbuf buf(move(buf1));
33 std::stringbuf buf1("testing", std::ios_base::out);
34 std::stringbuf buf(move(buf1));
38 std::wstringbuf buf1(L"testing");
39 std::wstringbuf buf(move(buf1));
43 std::wstringbuf buf1(L"testing", std::ios_base::in);
44 std::wstringbuf buf(move(buf1));
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.cons/
move.pass.cpp 23 std::stringbuf buf1("testing");
24 std::stringbuf buf(move(buf1));
28 std::stringbuf buf1("testing", std::ios_base::in);
29 std::stringbuf buf(move(buf1));
33 std::stringbuf buf1("testing", std::ios_base::out);
34 std::stringbuf buf(move(buf1));
38 std::wstringbuf buf1(L"testing");
39 std::wstringbuf buf(move(buf1));
43 std::wstringbuf buf1(L"testing", std::ios_base::in);
44 std::wstringbuf buf(move(buf1));
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/string.streams/stringbuf/stringbuf.cons/
move.pass.cpp 23 std::stringbuf buf1("testing");
24 std::stringbuf buf(move(buf1));
28 std::stringbuf buf1("testing", std::ios_base::in);
29 std::stringbuf buf(move(buf1));
33 std::stringbuf buf1("testing", std::ios_base::out);
34 std::stringbuf buf(move(buf1));
38 std::wstringbuf buf1(L"testing");
39 std::wstringbuf buf(move(buf1));
43 std::wstringbuf buf1(L"testing", std::ios_base::in);
44 std::wstringbuf buf(move(buf1));
    [all...]
  /external/volley/src/test/java/com/android/volley/toolbox/
ByteArrayPoolTest.java 30 byte[] buf1 = pool.getBuf(16);
33 pool.returnBuf(buf1);
38 assertTrue(buf3 == buf1 || buf3 == buf2);
39 assertTrue(buf4 == buf1 || buf4 == buf2);
46 byte[] buf1 = pool.getBuf(16);
50 pool.returnBuf(buf1);
61 assertTrue(buf6 != buf1 && buf6 != buf2 && buf6 != buf3);
67 byte[] buf1 = pool.getBuf(16);
68 pool.returnBuf(buf1);
71 assertNotSame(buf2, buf1);
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldByteArrayInputStreamTest.java 104 byte[] buf1 = new byte[100];
109 is.read(buf1, 0, buf1.length);
113 assertTrue("Failed to mark correct position", new String(buf1, 0,
114 buf1.length).equals(new String(buf2, 0, buf2.length)));
141 byte[] buf1 = new byte[20];
144 is.read(buf1, 0, buf1.length);
146 new String(buf1, 0, buf1.length).equals
    [all...]
OldFilterInputStreamTest.java 95 byte[] buf1 = new byte[bufSize];
100 is.read(buf1, 0, bufSize);
102 is.read(buf1, 0, bufSize);
110 Arrays.equals(buf1, buf2));
117 is.read(buf1, 0, bufSize);
119 is.read(buf1, 0, bufSize);
123 Arrays.equals(buf1, buf2));
158 byte[] buf1 = new byte[100];
159 is.read(buf1);
161 new String(buf1, 0, buf1.length).equals
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ByteArrayInputStreamTest.java 94 byte[] buf1 = new byte[100];
98 is.read(buf1, 0, buf1.length);
102 assertTrue("Failed to mark correct position", new String(buf1, 0,
103 buf1.length).equals(new String(buf2, 0, buf2.length)));
127 byte[] buf1 = new byte[20];
130 is.read(buf1, 0, buf1.length);
131 assertTrue("Failed to read correct data", new String(buf1, 0,
132 buf1.length).equals(fileString.substring(50, 70)))
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/json/
fold_test.go 56 buf1 := make([]byte, 0, bufSize)
99 buf1 := append(buf1[:0], 'x')
101 buf1 = buf1[:1+utf8.EncodeRune(buf1[1:bufSize], r)]
103 buf1 = append(buf1, 'x')
105 want := bytes.EqualFold(buf1, buf2)
106 if got := ff.fold(buf1, buf2); got != want
    [all...]
  /prebuilts/go/linux-x86/src/encoding/json/
fold_test.go 56 buf1 := make([]byte, 0, bufSize)
99 buf1 := append(buf1[:0], 'x')
101 buf1 = buf1[:1+utf8.EncodeRune(buf1[1:bufSize], r)]
103 buf1 = append(buf1, 'x')
105 want := bytes.EqualFold(buf1, buf2)
106 if got := ff.fold(buf1, buf2); got != want
    [all...]

Completed in 1567 milliseconds

1 2 3 4 5 6 7 8 91011