/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)
|
/libcore/luni/src/main/java/org/apache/harmony/archive/util/ |
Util.java | 58 * @param buf2 62 public static boolean asciiEqualsIgnoreCase(byte[] buf1, byte[] buf2) { 63 if (buf1 == null || buf2 == null) { 66 if (buf1 == buf2) { 69 if (buf1.length != buf2.length) { 75 byte b2 = buf2[i];
|
/system/core/toolbox/ |
cmp.c | 13 char buf1[4096], buf2[4096]; local 63 res2 = read(fd2, &buf2, sizeof(buf2)); 69 if(buf1[i] != buf2[i]) { 72 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/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/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 );
|
/libcore/luni/src/test/java/tests/api/java/io/ |
PushbackInputStreamTest.java | 275 byte[] buf2 = new byte[25]; 276 pis.read(buf2, 0, buf2.length); 277 assertTrue("b) Incorrect bytes read", new String(buf2) 296 byte[] buf2 = str2.getBytes(); 300 tobj.unread(buf2); 303 tobj.unread(buf2); 312 tobj.read(buf2); 345 byte[] buf2 = (str2 + str2 + str2).getBytes(); 349 tobj.unread(buf2, 15, 10) [all...] |
ByteArrayInputStreamTest.java | 155 byte[] buf2 = new byte[100]; 161 is.read(buf2, 0, buf2.length); 164 buf1.length).equals(new String(buf2, 0, buf2.length))); 267 byte[] buf2 = new byte[10]; 272 is.read(buf2, 0, 10); 275 .equals(new String(buf2, 0, buf2.length)));
|
BufferedInputStreamTest.java | 246 byte[] buf2 = new byte[100]; 261 is.read(buf2, 0, buf2.length); 264 new String(buf1, 0, buf1.length).equals(new String(buf2, 0, buf2.length))); 274 is.read(buf2, 0, buf2.length); 277 new String(buf1, 0, buf1.length).equals(new String(buf2, 0, buf2.length)));
|
FilterInputStreamTest.java | 146 byte[] buf2 = new byte[bufSize]; 158 is.read(buf2, 0, bufSize); 160 Arrays.equals(buf1, buf2)); 171 is.read(buf2, 0, bufSize); 173 Arrays.equals(buf1, buf2)); 379 byte[] buf2 = new byte[bufSize]; 388 is.read(buf2, 0, bufSize); 390 Arrays.equals(buf1, buf2));
|
PushbackReaderTest.java | 378 char[] buf2 = str2.toCharArray(); local 382 tobj.unread(buf2); 384 tobj.unread(buf2); 393 tobj.read(buf2); 509 char[] buf2 = (str2 + str2 + str2).toCharArray(); local 513 tobj.unread(buf2, 15, 10); 515 tobj.unread(buf2, 15, 10); 524 tobj.read(buf2, 15, 10);
|
/ndk/sources/android/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 );
|
/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));
|
/frameworks/base/core/jni/ |
android_util_Log.cpp | 77 char buf2[200]; 78 snprintf(buf2, sizeof(buf2), "Log tag \"%s\" exceeds limit of %d characters\n", 84 env->ThrowNew(clazz, buf2);
|
/external/clearsilver/util/ |
neo_err.c | 295 char buf2[1024]; local 331 snprintf (buf2, sizeof(buf2), 334 string_append(str, buf2); 338 snprintf (buf2, sizeof(buf2), " File \"%s\", line %d, in %s()\n", 340 string_append(str, buf2); 343 snprintf (buf2, sizeof(buf2), " %s\n", err->desc); 344 string_append(str, buf2); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
StringBuffer2Test.java | 121 char[] buf2 = { 'W', 'o', 'r', 'l', 'd' }; local 124 sb.append(buf2, 0, buf2.length); 144 char buf2 = 'W'; local 147 sb.append(buf2); 270 String buf2 = "World"; local 273 sb.append(buf2); 453 StringBuffer buf2 = new StringBuffer(""); local 455 buf2.getChars(-1, 0, new char[5], 2); 462 buf2.getChars(0, -1, new char[5], 2) [all...] |
/external/iproute2/tc/ |
m_nat.c | 173 char buf2[256]; local 195 format_host(AF_INET, 4, &sel->new_addr, buf2, sizeof(buf2)),
|
/frameworks/base/graphics/java/android/renderscript/ |
ScriptC.java | 78 byte[] buf2 = new byte[buf.length * 2]; 79 System.arraycopy(buf, 0, buf2, 0, buf.length); 80 buf = 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/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);
|
/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 | 119 unsigned char buf[SHA256_DIGEST_LENGTH],buf2[SHA256_DIGEST_LENGTH]; local 194 memcpy(buf2, seed, qsize); 205 EVP_Digest(buf, qsize, buf2, NULL, evpmd, NULL); 207 md[i]^=buf2[i];
|
/device/samsung/crespo/alsa-lib/src/control/ |
namehint.c | 218 char *buf, *buf1 = NULL, *buf2; local 360 buf2 = realloc((char *)str, level + 1); 361 if (buf2 != NULL) { 363 str = strchr(buf2, '|'); 365 memmove(buf2 + (level - strlen(str)), str, strlen(str)); 367 str = buf2 + strlen(buf2); 370 buf2[level] = '\0'; 373 buf1 = buf2;
|
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
DoubleBufferTest.java | 850 * following usecases: 1. case for check DoubleBuffer buf2 properties 2. 851 * case for check equal between buf2 and double array[] 3. case for check a 852 * buf2 dependens to array[] 863 DoubleBuffer buf2 = DoubleBuffer.wrap(array); local 865 // case: DoubleBuffer buf2 properties is satisfy the conditions 867 assertEquals(buf2.capacity(), array.length); 868 assertEquals(buf2.limit(), array.length); 869 assertEquals(buf2.position(), 0); 871 // case: DoubleBuffer buf2 is equal to double array[] 872 assertContentEquals(buf2, array, 0, array.length) 897 DoubleBuffer buf2 = DoubleBuffer.wrap(array, offset, length); local [all...] |
FloatBufferTest.java | 857 * following usecases: 1. case for check FloatBuffer buf2 properties 2. case 858 * for check equal between buf2 and float array[] 3. case for check a buf2 870 FloatBuffer buf2 = FloatBuffer.wrap(array); local 872 // case: FloatBuffer buf2 properties is satisfy the conditions 874 assertEquals(buf2.capacity(), array.length); 875 assertEquals(buf2.limit(), array.length); 876 assertEquals(buf2.position(), 0); 878 // case: FloatBuffer buf2 is equal to float array[] 879 assertContentEquals(buf2, array, 0, array.length) 904 FloatBuffer buf2 = FloatBuffer.wrap(array, offset, length); local [all...] |