/bionic/tests/ |
sys_uio_test.cpp | 26 char buf1[] = "hello"; local 28 iovec ios[] = { { buf1, 5 }, { buf2, 5 } }; 34 memset(buf1, '1', sizeof(buf1)); 38 buf1[5] = buf2[5] = '\0'; 39 ASSERT_STREQ("hello", buf1);
|
fcntl_test.cpp | 225 char buf1[BUFSIZ]; local 228 ASSERT_TRUE(fgets(buf1, sizeof(buf1), fp1) != NULL); 237 ASSERT_STREQ(expected, buf1);
|
buffer_tests.cpp | 308 uint8_t* buf1 = new uint8_t[3*max_test_size]; local 320 buf1, g_double_aligns[i][0], g_double_aligns[i][1])); 347 delete[] buf1; 423 uint8_t* buf1 = &memory1[pagesize-i]; local 426 test_cmp_func(buf1, buf2, i); 437 uint8_t* buf1 = &memory1[pagesize-i]; local 444 test_miscmp_func(buf1, buf2, i, j);
|
/external/curl/src/ |
tool_homedir.c | 36 char buf1[1024], buf2[1024]; local 40 * started. Don't accept truncated results (i.e. rc >= sizeof(buf1)). */ 42 rc = GetEnvironmentVariable(variable, buf1, sizeof(buf1)); 43 if(rc > 0 && rc < sizeof(buf1)) { 44 env = buf1; 45 variable = buf1;
|
/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; 18 memcpy (buf1, "abcde", 4); 25 || rsi != (uintptr_t) buf1 + 4 47 memcpy (buf1, "abcdefghijklmno", 16); 53 || rsi != (uintptr_t) buf1 + 15
|
/external/valgrind/none/tests/s390x/ |
xc.c | 7 char buf1[20] = "UUUUU*UUU****U*\0\0\0\0\n"; local 17 asm volatile ("oc %O0(19,%R0),%1\n"::"Q" (*buf1), 20 dump_field(buf1, 20); 25 char buf1[20] = "UUUUU*UUU****U*\0\0\0\0\n"; local 35 asm volatile ("nc %O0(19,%R0),%1\n"::"Q" (*buf1), 38 dump_field(buf1, 20); 44 char buf1[20] = "UUUUU*UUU****U*\0\0\0\0\n"; local 85 asm volatile ("xc 0(19,%0),0(%1)\n"::"a" (buf1), 88 dump_field(buf1, 20);
|
clcl.c | 193 uint8_t buf1[4] = "yyyy"; local 194 run_test(buf1, 4, NULL, 0, 'y'); // equal 195 run_test(buf1, 4, NULL, 0, 'x'); // greater 196 run_test(buf1, 4, NULL, 0, 'z'); // less
|
/external/webrtc/webrtc/base/ |
buffer_unittest.cc | 68 Buffer buf1(kTestData), buf2(buf1); 72 EXPECT_NE(buf1.data(), buf2.data()); 73 EXPECT_EQ(buf1, buf2); 77 Buffer buf1, buf2(kTestData, sizeof(kTestData), 256); local 78 EXPECT_NE(buf1, buf2); 79 buf1 = buf2; 80 EXPECT_EQ(buf1, buf2); 81 EXPECT_NE(buf1.data(), buf2.data()); 139 Buffer buf1(kTestData, 3, 40) [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 ); 48 CPPUNIT_CHECK( std::memset(buf1, 0, 1) != 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 ); 48 CPPUNIT_CHECK( std::memset(buf1, 0, 1) != NULL );
|
/external/opencv3/modules/cudaarithm/test/ |
test_buffer_pool.cpp | 67 GpuMat buf1 = pool.getBuffer(Size(640, 480), CV_8UC1); local 68 EXPECT_FALSE( buf1.empty() ); 70 buf0.convertTo(buf1, buf1.type(), 1.0, 1.0, stream); 72 buf1.download(dst_1, stream);
|
/external/valgrind/VEX/test/ |
frstor.c | 66 unsigned short* buf1 = malloc(54*sizeof(short)); local 73 do_fsave_interesting_stuff(buf1); 74 show_fpustate( (unsigned char*)buf1, xx ); 77 do_frstor(buf1);
|
fxsave.c | 105 unsigned char* buf1 = memalign(16,512); local 111 memset(buf1, 0x55, 512); 116 do_setup_then_fxsave(buf1); 118 show(buf1, xx); 127 /* Reload x87/xmm state from buf1 and dump it in buf3. */ 128 do_fxrstor(buf1); 133 free(buf1); free(buf2); free(buf3);
|
/external/valgrind/memcheck/tests/amd64/ |
fxsave-amd64.c | 159 unsigned char* buf1 = memalign16(512); local 168 memset(buf1, 0x55, 512); 173 do_setup_then_fxsave(buf1, 0); 175 show(buf1, xx); 184 /* Reload x87/xmm state from buf1 and dump it in buf3. */ 185 do_fxrstor(buf1, 0); 192 memset(buf1, 0x55, 512); 197 do_setup_then_fxsave(buf1, 1); 199 show(buf1, xx); 208 /* Reload x87/xmm state from buf1 and dump it in buf3. * [all...] |
/external/valgrind/memcheck/tests/ |
writev1.c | 15 static char buf1[K_1]; variable 30 buf_list[0] = buf1;
|
/external/valgrind/memcheck/tests/x86/ |
fxsave.c | 106 unsigned char* buf1 = memalign16(512); local 112 memset(buf1, 0x55, 512); 117 do_setup_then_fxsave(buf1); 119 show(buf1, xx); 128 /* Reload x87/xmm state from buf1 and dump it in buf3. */ 129 do_fxrstor(buf1); 134 free(buf1); free(buf2); free(buf3);
|
/ndk/sources/host-tools/toolbox/ |
cmp_win.c | 69 char buf1[BUFSIZE], buf2[BUFSIZE]; local 72 n1 = fread(buf1, 1, BUFSIZE, f1); 74 ret = (n1 != n2) || memcmp(buf1, buf2, n1) != 0;
|
/external/iproute2/tc/ |
m_nat.c | 172 char buf1[256]; local 193 format_host(AF_INET, 4, &sel->old_addr, buf1, sizeof(buf1)),
|
/external/libavc/decoder/ |
ih264d_mem_request.h | 59 void * buf1; /** memory location for buf1 */ member in struct:PicMemBlock 67 UWORD32 u4_size1; /** Size of the buf1 in PicMemBlock */
|
/external/libyuv/files/util/ |
compare.cc | 32 uint8 buf1[kBlockSize]; local 41 amt1 = static_cast<int>(fread(buf1, 1, kBlockSize, fin1)); 42 if (amt1 > 0) hash1 = libyuv::HashDjb2(buf1, amt1, hash1); 48 sum_square_err += libyuv::ComputeSumSquareError(buf1, buf2, amt_min);
|
/external/v8/test/cctest/heap/ |
test-array-buffer-tracker.cc | 122 Handle<JSArrayBuffer> buf1 = v8::Utils::OpenHandle(*ab1); local 123 CHECK(IsTracked(*buf1)); 127 Page* page_before_gc = Page::FromAddress(buf1->address()); 129 CHECK(IsTracked(*buf1)); 133 Page* page_after_gc = Page::FromAddress(buf1->address()); 134 CHECK(IsTracked(*buf1)); 307 Handle<JSArrayBuffer> buf1 = v8::Utils::OpenHandle(*ab1); local 311 CHECK_NE(Page::FromAddress(buf1->address()),
|
/hardware/intel/img/psb_video/fw/msvdx/ |
msvdx_bin.c | 139 unsigned int buf1[(MTX_SIZE1 + sizeof(fw))/4]; local 140 fread(buf1, 1, LINKED_LIST_SIZE, fp_ll_dma); 141 fwrite(buf1, 1, LINKED_LIST_SIZE, ptr); 143 memset(buf1, UNINITILISE_MEM, MTX_SIZE1 + sizeof(fw)); 144 buf1[((MTX_SIZE1 + sizeof(fw))/4) - 1] = STACKGUARDWORD; 146 fwrite(buf1, 1, MTX_SIZE1 + sizeof(fw), ptr);
|
/system/core/libion/tests/ |
device_test.cpp | 117 void *buf1 = malloc(bigger_than_cache); local 119 memset(buf1, 0xaa, bigger_than_cache); 120 memcpy(buf2, buf1, bigger_than_cache); 121 free(buf1);
|
/system/extras/simpleperf/ |
record_test.cpp | 70 std::vector<char> buf1 = r1.BinaryFormat(); local 75 cache.Push(buf1.data(), buf1.size());
|
/toolchain/binutils/binutils-2.25/gprof/ |
source.c | 201 struct stat buf1, buf2; 203 if (stat (filename, &buf1) == 0 205 && buf1.st_ino == buf2.st_ino) 200 struct stat buf1, buf2; local
|