HomeSort by relevance Sort by last modified time
    Searched refs:buf2 (Results 26 - 50 of 155) sorted by null

12 3 4 5 6 7

  /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/compiler-rt/lib/sanitizer_common/tests/
sanitizer_printf_test.cc 110 char buf2[1024]; local
111 snprintf(buf2, sizeof(buf2), fmt, min, max);
113 EXPECT_STREQ(buf2, buf);
  /external/jmonkeyengine/engine/src/test/jme3test/app/
TestReleaseDirectMemory.java 66 FloatBuffer buf2 = BufferUtils.createFloatBuffer(500000); local
67 BufferUtils.destroyDirectBuffer(buf2);
  /libcore/luni/src/test/java/libcore/java/io/
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);
  /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]) {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
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")
BufferedInputStreamTest.java 198 byte[] buf2 = new byte[100];
203 is.read(buf2, 0, buf2.length);
206 buf1.length).equals(new String(buf2, 0, buf2.length)));
384 byte[] buf2 = new byte[10];
388 is.read(buf2, 0, 10);
391 .equals(new String(buf2, 0, buf2.length)));
  /external/oprofile/libutil++/
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
  /frameworks/base/core/jni/
android_util_Log.cpp 87 char buf2[200]; local
88 snprintf(buf2, sizeof(buf2), "Log tag \"%s\" exceeds limit of %d characters\n",
91 jniThrowException(env, "java/lang/IllegalArgumentException", buf2);
  /external/valgrind/main/memcheck/tests/
writev1.c 16 static char buf2[K_1]; variable
31 buf_list[1] = buf2;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
StringBuffer2Test.java 84 char[] buf2 = { 'W', 'o', 'r', 'l', 'd' }; local
87 sb.append(buf2, 0, buf2.length);
101 char buf2 = 'W'; local
104 sb.append(buf2);
191 String buf2 = "World"; local
194 sb.append(buf2);
311 StringBuffer buf2 = new StringBuffer(""); local
312 buf2.getChars(0, 0, new char[5], 2);
  /external/iproute2/tc/
m_nat.c 173 char buf2[256]; local
195 format_host(AF_INET, 4, &sel->new_addr, buf2, sizeof(buf2)),
  /libcore/luni/src/test/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]) {
  /external/liblzf/
lzf.c 181 u8 buf2[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; local
187 cs = lzf_compress (&buf1[MAX_HDR_SIZE], us, &buf2[MAX_HDR_SIZE], us > 4 ? us - 4 : us);
190 header = &buf2[MAX_HDR_SIZE - TYPE1_HDR_SIZE];
223 u8 buf2[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; local
296 if (lzf_decompress (buf1, cs, buf2, us) != us)
302 if (wwrite (to, buf2, us))
  /external/bison/lib/
localcharset.c 191 char buf2[50+1]; local
211 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
214 l2 = strlen (buf2);
234 strcpy (res_ptr + res_size - (l2 + 1), buf2);
  /external/e2fsprogs/intl/
localcharset.c 146 char buf2[50+1]; local
169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
172 l2 = strlen (buf2);
190 strcpy (res_ptr + res_size - (l2 + 1), buf2);
  /external/openssl/crypto/dsa/
dsa_gen.c 140 unsigned char buf[SHA256_DIGEST_LENGTH],buf2[SHA256_DIGEST_LENGTH]; local
215 memcpy(buf2, seed, qsize);
227 if (!EVP_Digest(buf, qsize, buf2, NULL, evpmd, NULL))
230 md[i]^=buf2[i];
  /ndk/sources/host-tools/sed-4.2.1/lib/
localcharset.c 161 char buf2[50+1]; local
181 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
184 l2 = strlen (buf2);
205 strcpy (res_ptr + res_size - (l2 + 1), buf2);
  /external/valgrind/main/coregrind/m_gdbserver/
remote-utils.c 695 char *buf2; local
699 buf2 = malloc (PBUFSIZ);
701 /* Copy the packet into buffer BUF2, encapsulating it
704 p = buf2;
726 if (VG_(write) (write_remote_desc, buf2, p - buf2) != p - buf2) {
732 dlog(1, "putpkt (\"%s\"); [no ack]\n", buf2);
734 dlog(1,"putpkt (\"%s\"); [looking for ack]\n", buf2);
749 free (buf2);
    [all...]
  /external/icu4c/test/cintltst/
utransts.c 138 char buf[BUF_CAP], buf2[BUF_CAP]; local
169 utrans_getID(trans, buf2, BUF_CAP);
170 if (0 != strcmp(buf, buf2)) {
172 buf, buf2);
298 char buf1[BUF_CAP], buf2[BUF_CAP], buf3[BUF_CAP]; local
316 utrans_getID(t2, buf2, BUF_CAP);
320 strcmp(buf1, buf2) == 0) {
326 if(strcmp(buf2, buf3) != 0 ||
  /external/stlport/src/c_locale_dummy/
c_locale_dummy.c 274 char buf1[64], buf2[64]; local
279 _STLP_STRNCPY(buf2, 64, s2, bufsize2); buf2[bufsize2] = 0;
281 ret = strcmp(buf1, buf2);
294 wchar_t buf1[64], buf2[64]; local
299 _STLP_WCSNCPY(buf2, 64, s2, bufsize2); buf2[bufsize2] = 0;
301 ret = wcscmp(buf1, buf2);
  /external/stlport/src/c_locale_glibc/
c_locale_glibc2.c 366 char buf1[64], buf2[64]; local
371 strncpy(buf2, s2, bufsize2); buf2[bufsize2] = 0;
373 ret = strcoll_l(buf1, buf2, (locale_t)__loc);
386 wchar_t buf1[64], buf2[64]; local
391 wcsncpy(buf2, s2, bufsize2); buf2[bufsize2] = 0;
393 ret = wcscoll_l(buf1, buf2, (locale_t)__loc);

Completed in 987 milliseconds

12 3 4 5 6 7