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

1 2 3 4 5

  /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)));
PushbackInputStreamTest.java 168 byte[] buf2 = new byte[25];
169 pis.read(buf2, 0, buf2.length);
170 assertTrue("b) Incorrect bytes read", new String(buf2, "UTF-8")
  /external/openssl/crypto/err/
err_prn.c 71 char buf2[4096]; local
82 BIO_snprintf(buf2, sizeof(buf2), "%lu:%s:%s:%d:%s\n", es, buf,
84 if (cb(buf2, strlen(buf2), u) <= 0)
  /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]);
  /libcore/luni/src/test/java/libcore/java/io/
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)));
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)));
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...]
OldFilterInputStreamTest.java 98 byte[] buf2 = new byte[bufSize];
110 is.read(buf2, 0, bufSize);
112 Arrays.equals(buf1, buf2));
123 is.read(buf2, 0, bufSize);
125 Arrays.equals(buf1, buf2));
264 byte[] buf2 = new byte[bufSize];
273 is.read(buf2, 0, bufSize);
275 Arrays.equals(buf1, buf2));
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);
  /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/valgrind/main/exp-ptrcheck/tests/
syscall.c 33 char *buf = malloc(sizeof(char)*6), *buf2 = malloc(sizeof(char)*6); local
35 int diff = buf2 - buf;
  /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/chromium/net/base/
nss_memio.h 72 * |buf1|, |len1| and |buf2|, |len2|.
76 const char **buf2, unsigned int *len2);
  /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);
child_reader.h 32 * child. in this case child stderr is acumulated in buf2 and can be read
89 // already input in the pipe buffer or in buf2.
102 char * buf2; member in class:child_reader
  /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 );
  /ndk/sources/host-tools/sed-4.2.1/sed/
utils.c 350 static char *buf1, *buf2;
360 buf2 = ck_malloc (PATH_MAX + 1);
367 if (buf == buf2)
369 strcpy (buf1, buf2);
373 while ((rc = readlink (buf, buf2, buf_size)) == buf_size)
377 buf2 = ck_realloc (buf2, buf_size);
382 buf2 [rc] = '\0';
384 if (buf2[0] != '/' && (c = strrchr (buf, '/')) != NULL)
387 buf2 to be big enough. *
348 static char *buf1, *buf2; local
    [all...]
  /external/srec/srec/clib/
voc_read.c 278 void* buf2 = 0; local
311 buf2 = mmap(0, inflateSize(size2), PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0);
312 if (buf2 == (void*)-1) goto FAILED;
315 if (decompress_zipentry(ze, buf2, size2)) goto FAILED;
325 *buf = buf2;
333 if (buf2) munmap(buf2, inflateSize(size2));
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DigestInputStream2Test.java 113 byte buf2[] = new byte[bytesToRead + 5];
119 int bytesRead2 = inStream1.read(buf2, 5, bytesToRead);
126 if (buf1[i] != buf2[i]) {
  /frameworks/base/core/jni/
android_util_Log.cpp 74 char buf2[200]; local
75 snprintf(buf2, sizeof(buf2), "Log tag \"%s\" exceeds limit of %d characters\n",
81 jniThrowException(env, "java/lang/IllegalArgumentException", buf2);

Completed in 1861 milliseconds

1 2 3 4 5