HomeSort by relevance Sort by last modified time
    Searched defs:buf2 (Results 1 - 25 of 188) sorted by null

1 2 3 4 5 6 7 8

  /bionic/tests/
sys_uio_test.cpp 27 char buf2[] = "world"; local
28 iovec ios[] = { { buf1, 5 }, { buf2, 5 } };
35 memset(buf2, '2', sizeof(buf2));
38 buf1[5] = buf2[5] = '\0';
40 ASSERT_STREQ("world", buf2);
bug_26110743_test.cpp 31 char buf2[1024]; local
38 ASSERT_NE(-1, readlink(buf, buf2, sizeof(buf2))) << ERRORMSG;
39 ASSERT_STREQ("/dev/null", buf2);
73 char buf2[1024]; local
82 ASSERT_NE(-1, readlink(buf, buf2, sizeof(buf2))) << ERRORMSG;
83 ASSERT_STREQ("/dev/null", buf2);
fcntl_test.cpp 231 char buf2[BUFSIZ]; local
234 ASSERT_TRUE(fgets(buf2, sizeof(buf2), fp2) != NULL);
238 ASSERT_STREQ(expected, buf2);
netdb_test.cpp 209 char buf2[512]; local
210 result = gethostbyname_r("localhost", &hent2, buf2, sizeof(buf2), &hp2, &err);
231 char buf2[512]; local
232 result = gethostbyname2_r("localhost", AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err);
260 char buf2[512]; local
261 result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err);
  /external/valgrind/none/tests/s390x/
ex_clone.c 17 char buf2[40]; local
20 memset(buf2, 0, sizeof(buf2));
32 ::"a" (buf2), "a" (source)
34 printf("%s\n", buf2);
ex_sig.c 17 char buf2[40]; local
25 ::"a" (buf2), "a" (source)
xc.c 8 char buf2[20] = "*U\0*\0\0UU*\0U*AUAA*UU\n"; local
18 "Q"(*buf2):"memory");
26 char buf2[20] = "*U\0*\0\0UU*\0U*AUAA*UU\n"; local
36 "Q"(*buf2):"memory");
45 char buf2[20] = "*U\0*\0\0UU*\0U*AUAA*UU\n"; local
86 "a"(buf2):"memory");
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_printf_test.cc 112 char buf2[1024]; local
113 snprintf(buf2, sizeof(buf2), fmt, arg1, arg2);
115 EXPECT_STREQ(buf2, buf);
  /external/curl/src/
tool_homedir.c 36 char buf1[1024], buf2[1024]; local
48 /* buf2 == variable if not expanded */
49 rc = ExpandEnvironmentStrings (variable, buf2, sizeof(buf2));
50 if(rc > 0 && rc < sizeof(buf2) &&
51 !strchr(buf2, '%')) /* no vars still unexpanded */
52 env = buf2;
  /external/valgrind/none/tests/amd64/
asorep.c 5 char buf1[64], buf2[64]; variable
11 uintptr_t b1 = (uintptr_t) buf1, b2 = (uintptr_t) buf2;
23 if (memcmp (buf2, "abcd", 5) != 0
24 || rdi != (uintptr_t) buf2 + 4
34 if (memcmp (buf2, "0 0 0 ", 7) != 0
35 || rdi != (uintptr_t) buf2 + 6
43 if (rsi != (uintptr_t) buf2 + 4
48 memcpy (buf2, "abcdefghijklmnO", 16);
52 if (rdi != (uintptr_t) buf2 + 15
57 memcpy (buf2, "ababababababababcdab", 20)
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
cstring_test.cpp 45 char buf1[1], buf2[1]; local
46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL );
47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL );
  /ndk/tests/device/test-stlport/unit/
cstring_test.cpp 45 char buf1[1], buf2[1]; local
46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL );
47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL );
  /external/opencv3/modules/cudaarithm/test/
test_buffer_pool.cpp 76 GpuMat buf2 = pool.getBuffer(Size(1280, 1024), CV_32SC1); local
77 EXPECT_FALSE( buf2.empty() );
79 buf2.setTo(Scalar::all(2), stream);
81 buf2.download(dst_2, stream);
  /external/toybox/toys/posix/
cmp.c 35 char *buf2 = toybuf+size; local
48 len2 = readall(fd, buf2, size);
52 if (toybuf[i] != buf2[i]) {
55 printf("%ld %o %o\n", byte_no, toybuf[i], buf2[i]);
  /external/valgrind/VEX/test/
frstor.c 67 unsigned short* buf2 = malloc(54*sizeof(short)); local
76 /* Reload it into buf2. */
78 do_fsave(buf2);
79 show_fpustate( (unsigned char*)buf2, xx );
fxsave.c 106 unsigned char* buf2 = memalign(16,512); local
112 memset(buf2, 0x55, 512);
123 do_fxsave(buf2);
125 show(buf2, xx);
133 free(buf1); free(buf2); free(buf3);
  /external/valgrind/memcheck/tests/amd64/
fxsave-amd64.c 160 unsigned char* buf2 = memalign16(512); local
169 memset(buf2, 0x55, 512);
180 do_fxsave(buf2, 0);
182 show(buf2, xx);
193 memset(buf2, 0x55, 512);
204 do_fxsave(buf2, 1);
206 show(buf2, xx);
215 free(buf1); free(buf2); free(buf3);
  /external/valgrind/memcheck/tests/
writev1.c 16 static char buf2[K_1]; variable
31 buf_list[1] = buf2;
  /external/valgrind/memcheck/tests/x86/
fxsave.c 107 unsigned char* buf2 = memalign16(512); local
113 memset(buf2, 0x55, 512);
124 do_fxsave(buf2);
126 show(buf2, xx);
134 free(buf1); free(buf2); free(buf3);
  /ndk/sources/host-tools/toolbox/
cmp_win.c 69 char buf1[BUFSIZE], buf2[BUFSIZE]; local
73 n2 = fread(buf2, 1, BUFSIZE, f2);
74 ret = (n1 != n2) || memcmp(buf1, buf2, n1) != 0;
  /external/icu/icu4c/source/tools/gencolusb/
extract_unsafe_backwards.cpp 82 char buf2[2048]; local
83 int32_t len2 = pattern.extract(0, pattern.length(), buf2, "utf-8");
84 buf2[len2]=0;
85 fprintf(stderr,"===\n%s\n===\n", buf2);
  /external/iproute2/tc/
m_nat.c 173 char buf2[256]; local
195 format_host(AF_INET, 4, &sel->new_addr, buf2, sizeof(buf2)),
  /external/libavc/decoder/
ih264d_mem_request.h 60 void * buf2; /** memory location for buf2 */ member in struct:PicMemBlock
68 UWORD32 u4_size2; /** Size of the buf2 in PicMemBlock */
  /external/libyuv/files/util/
compare.cc 33 uint8 buf2[kBlockSize]; local
44 amt2 = static_cast<int>(fread(buf2, 1, kBlockSize, fin2));
45 if (amt2 > 0) hash2 = libyuv::HashDjb2(buf2, amt2, hash2);
48 sum_square_err += libyuv::ComputeSumSquareError(buf1, buf2, amt_min);
  /external/guava/guava-tests/test/com/google/common/io/
CharSequenceReaderTest.java 212 CharBuffer buf2 = CharBuffer.allocate(expected.length()); local
213 assertEquals(expected.length() == 0 ? -1 : expected.length(), reader.read(buf2));
214 buf2.flip();
215 assertEquals(expected, buf2.toString());
220 buf2 = CharBuffer.allocate(5);
222 while (reader.read(buf2) != -1) {
223 buf2.flip();
224 builder.append(buf2);
225 buf2.clear();

Completed in 1597 milliseconds

1 2 3 4 5 6 7 8