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

1 2 3 4 5 6 7

  /external/valgrind/main/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...]
  /external/valgrind/main/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");
  /system/core/toolbox/
cmp.c 14 char buf1[4096], buf2[4096]; local
64 res2 = read(fd2, &buf2, sizeof(buf2));
70 if(buf1[i] != buf2[i]) {
73 printf(" 0x%02x 0x%02x", buf1[i], buf2[i]);
  /development/tools/line_endings/
line_endings.c 10 static void unix_to_dos(char* buf2, const char* buf);
84 char buf2[(BUFSIZE*2)+3]; local
85 unix_to_dos(buf2, buf);
86 strcpy(node->buf, buf2);
140 unix_to_dos(char* buf2, const char* buf)
143 char* q = buf2;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
ByteArrayInputStreamTest.java 95 byte[] buf2 = new byte[100];
100 is.read(buf2, 0, buf2.length);
103 buf1.length).equals(new String(buf2, 0, buf2.length)));
140 byte[] buf2 = new byte[10];
144 is.read(buf2, 0, 10);
147 .equals(new String(buf2, 0, buf2.length)));
  /external/valgrind/main/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);
  /libcore/luni/src/test/java/libcore/java/io/
OldByteArrayInputStreamTest.java 105 byte[] buf2 = new byte[100];
111 is.read(buf2, 0, buf2.length);
114 buf1.length).equals(new String(buf2, 0, buf2.length)));
182 byte[] buf2 = new byte[10];
187 is.read(buf2, 0, 10);
190 .equals(new String(buf2, 0, buf2.length)));
OldBufferedInputStreamTest.java 128 byte[] buf2 = new byte[100];
143 is.read(buf2, 0, buf2.length);
146 new String(buf1, 0, buf1.length).equals(new String(buf2, 0, buf2.length)));
156 is.read(buf2, 0, buf2.length);
159 new String(buf1, 0, buf1.length).equals(new String(buf2, 0, buf2.length)));
OldPushbackInputStreamTest.java 192 byte[] buf2 = new byte[25];
193 pis.read(buf2, 0, buf2.length);
194 assertTrue("b) Incorrect bytes read", new String(buf2)
204 byte[] buf2 = str2.getBytes();
208 tobj.unread(buf2);
211 tobj.unread(buf2);
220 tobj.read(buf2);
244 byte[] buf2 = (str2 + str2 + str2).getBytes();
248 tobj.unread(buf2, 15, 10)
    [all...]
OldPushbackReaderTest.java 248 char[] buf2 = str2.toCharArray(); local
252 tobj.unread(buf2);
254 tobj.unread(buf2);
263 tobj.read(buf2);
308 char[] buf2 = (str2 + str2 + str2).toCharArray(); local
312 tobj.unread(buf2, 15, 10);
314 tobj.unread(buf2, 15, 10);
323 tobj.read(buf2, 15, 10);
  /external/llvm/test/CodeGen/PowerPC/
stack-protector.ll 15 %buf2 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1]
16 %2 = call i32 (i8*, ...)* @printf(i8* getelementptr ([11 x i8]* @"\01LC", i32 0, i32 0), i8* %buf2) nounwind ; <i32> [#uses=0]
  /external/valgrind/main/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);
  /external/oprofile/libutil++/
child_reader.cpp 34 buf2(0), sz_buf2(0),
49 if (buf2) {
51 free(buf2);
142 buf2 = (char *)xrealloc(buf2, sz_buf2);
145 ssize_t temp = read(fd2, buf2 + end2, sz_buf2 - end2);
212 err.write(buf2, end2);
  /libcore/luni/src/test/java/libcore/java/lang/
OldStringBufferTest.java 49 StringBuffer buf2 = new StringBuffer(""); local
51 buf2.getChars(-1, 0, new char[5], 2);
58 buf2.getChars(0, -1, new char[5], 2);
65 buf2.getChars(0, -1, new char[5], 2);
72 buf2.getChars(2, 1, new char[5], 2);
79 buf2.getChars(0, 6, new char[5], 2);
86 buf2.getChars(0, 6, new char[10], 5);
  /external/stlport/test/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 );
  /frameworks/base/graphics/java/android/renderscript/
ScriptC.java 77 byte[] buf2 = new byte[pgm.length * 2];
78 System.arraycopy(pgm, 0, buf2, 0, pgm.length);
79 pgm = buf2;
  /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/astl/tests/
test_sstream.cpp 48 stringbuf buf2(str, std::ios_base::in);
52 EXPECT_TRUE(buf2.str() == str);
62 stringbuf buf2(str, std::ios_base::in);
67 std::streamsize len2 = buf2.in_avail();
  /external/llvm/test/CodeGen/X86/
stack-protector-linux.ll 18 %buf2 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1]
19 %2 = call i32 (i8*, ...)* @printf(i8* getelementptr ([11 x i8]* @"\01LC", i32 0, i32 0), i8* %buf2) nounwind ; <i32> [#uses=0]
  /external/valgrind/main/memcheck/tests/amd64/
fxsave-amd64.c 152 unsigned char* buf2 = memalign16(512); local
161 memset(buf2, 0x55, 512);
172 do_fxsave(buf2, 0);
174 show(buf2, xx);
185 memset(buf2, 0x55, 512);
196 do_fxsave(buf2, 1);
198 show(buf2, xx);
207 free(buf1); free(buf2); free(buf3);
  /external/bluetooth/glib/tests/
mainloop-test.c 106 char buf2[32]; local
113 !read_all (source, buf2, 32))
119 sprintf (result, "%d", atoi(buf1) + atoi(buf2));
217 char buf2[32]; local
220 sprintf (buf2, "%d", b);
223 write_all (in, buf2, 32);

Completed in 1076 milliseconds

1 2 3 4 5 6 7