Home
last modified time | relevance | path

Searched refs:buf3 (Results 1 – 25 of 35) sorted by relevance

12

/external/volley/src/test/java/com/android/volley/toolbox/
DByteArrayPoolTest.java36 byte[] buf3 = pool.getBuf(16); in reusesBuffer()
38 assertTrue(buf3 == buf1 || buf3 == buf2); in reusesBuffer()
40 assertTrue(buf3 != buf4); in reusesBuffer()
49 byte[] buf3 = pool.getBuf(16); in obeysSizeLimit()
53 pool.returnBuf(buf3); in obeysSizeLimit()
59 assertTrue(buf4 == buf2 || buf4 == buf3); in obeysSizeLimit()
60 assertTrue(buf5 == buf2 || buf5 == buf3); in obeysSizeLimit()
62 assertTrue(buf6 != buf1 && buf6 != buf2 && buf6 != buf3); in obeysSizeLimit()
75 byte[] buf3 = pool.getBuf(15); in returnsBufferWithRightSize()
76 assertSame(buf3, buf1); in returnsBufferWithRightSize()
/external/ltp/testcases/kernel/syscalls/times/
Dtimes03.c94 struct tms buf1, buf2, buf3; in verify_times() local
161 if (times(&buf3) == -1) in verify_times()
164 if (buf2.tms_utime > buf3.tms_utime) { in verify_times()
166 buf2.tms_utime, buf3.tms_utime); in verify_times()
169 buf2.tms_utime, buf3.tms_utime); in verify_times()
172 if (buf2.tms_stime > buf3.tms_stime) { in verify_times()
174 buf2.tms_stime, buf3.tms_stime); in verify_times()
177 buf2.tms_stime, buf3.tms_stime); in verify_times()
180 if (buf3.tms_cutime == 0) in verify_times()
183 tst_res(TPASS, "buf3.tms_cutime = %ld", buf3.tms_cutime); in verify_times()
[all …]
/external/nanopb-c/tests/fuzztest/
Dfuzzstub.c71 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_static_roundtrip() local
98 pb_ostream_t stream = pb_ostream_from_buffer(buf3, BUFSIZE); in do_static_roundtrip()
105 assert(memcmp(buf2, buf3, msglen2) == 0); in do_static_roundtrip()
110 free_with_check(buf3); in do_static_roundtrip()
118 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip() local
145 pb_ostream_t stream = pb_ostream_from_buffer(buf3, BUFSIZE); in do_pointer_roundtrip()
152 assert(memcmp(buf2, buf3, msglen2) == 0); in do_pointer_roundtrip()
159 free_with_check(buf3); in do_pointer_roundtrip()
Dfuzztest.c277 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_static_roundtrip() local
304 pb_ostream_t stream = pb_ostream_from_buffer(buf3, BUFSIZE); in do_static_roundtrip()
311 assert(memcmp(buf2, buf3, msglen2) == 0); in do_static_roundtrip()
316 free_with_check(buf3); in do_static_roundtrip()
324 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip() local
351 pb_ostream_t stream = pb_ostream_from_buffer(buf3, BUFSIZE); in do_pointer_roundtrip()
358 assert(memcmp(buf2, buf3, msglen2) == 0); in do_pointer_roundtrip()
365 free_with_check(buf3); in do_pointer_roundtrip()
/external/grpc-grpc/third_party/nanopb/tests/fuzztest/
Dfuzzstub.c71 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_static_roundtrip() local
98 pb_ostream_t stream = pb_ostream_from_buffer(buf3, BUFSIZE); in do_static_roundtrip()
105 assert(memcmp(buf2, buf3, msglen2) == 0); in do_static_roundtrip()
110 free_with_check(buf3); in do_static_roundtrip()
118 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip() local
145 pb_ostream_t stream = pb_ostream_from_buffer(buf3, BUFSIZE); in do_pointer_roundtrip()
152 assert(memcmp(buf2, buf3, msglen2) == 0); in do_pointer_roundtrip()
159 free_with_check(buf3); in do_pointer_roundtrip()
Dfuzztest.c277 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_static_roundtrip() local
304 pb_ostream_t stream = pb_ostream_from_buffer(buf3, BUFSIZE); in do_static_roundtrip()
311 assert(memcmp(buf2, buf3, msglen2) == 0); in do_static_roundtrip()
316 free_with_check(buf3); in do_static_roundtrip()
324 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip() local
351 pb_ostream_t stream = pb_ostream_from_buffer(buf3, BUFSIZE); in do_pointer_roundtrip()
358 assert(memcmp(buf2, buf3, msglen2) == 0); in do_pointer_roundtrip()
365 free_with_check(buf3); in do_pointer_roundtrip()
/external/boringssl/src/crypto/pool/
Dpool_test.cc72 bssl::UniquePtr<CRYPTO_BUFFER> buf, buf2, buf3; in TEST() local
80 buf3.reset(CRYPTO_BUFFER_new(kData2, sizeof(kData2), pool.get())); in TEST()
87 ASSERT_TRUE(buf3); in TEST()
89 EXPECT_NE(buf.get(), buf3.get()) in TEST()
93 EXPECT_EQ(Bytes(kData2), Bytes(CRYPTO_BUFFER_data(buf3.get()), in TEST()
94 CRYPTO_BUFFER_len(buf3.get()))); in TEST()
143 std::thread thread2([&] { buf3.reset(); }); in TEST()
/external/boringssl/src/crypto/rand_extra/
Drand_test.cc139 uint8_t buf1[16], buf2[16], buf3[16]; in TEST() local
142 RAND_bytes(buf3, sizeof(buf3)); in TEST()
146 EXPECT_NE(Bytes(buf2), Bytes(buf3)); in TEST()
147 EXPECT_NE(Bytes(buf1), Bytes(buf3)); in TEST()
150 EXPECT_NE(Bytes(buf3), Bytes(kZeros)); in TEST()
/external/u-boot/arch/m68k/cpu/mcf5445x/
Dcpu.c81 char buf1[32], buf2[32], buf3[32]; in print_cpuinfo() local
88 strmhz(buf3, gd->arch.flb_clk)); in print_cpuinfo()
93 strmhz(buf3, gd->arch.vco_clk)); in print_cpuinfo()
/external/eigen/unsupported/test/
DFFTW.cpp150 ComplexVector buf3; in test_complex_generic() local
156 fft.inv( buf3 , outbuf); in test_complex_generic()
158 VERIFY( T(dif_rmse(inbuf,buf3)) < test_precision<T>() );// gross check in test_complex_generic()
170 fft.inv( buf3 , outbuf); in test_complex_generic()
171 VERIFY( T(dif_rmse(inbuf,buf3)) < test_precision<T>() );// gross check in test_complex_generic()
/external/u-boot/arch/m68k/cpu/mcf5227x/
Dcpu.c48 char buf1[32], buf2[32], buf3[32]; in print_cpuinfo() local
55 strmhz(buf3, gd->arch.flb_clk)); in print_cpuinfo()
/external/python/cpython3/Modules/_blake2/impl/
Dblake2s-round.h83 LOAD_MSG_ ##r ##_3(buf3); \
84 G1(row1,row2,row3,row4,buf3); \
/external/icu/icu4c/source/test/cintltst/
Dutransts.c306 char buf1[BUF_CAP], buf2[BUF_CAP], buf3[BUF_CAP]; in TestClone() local
325 utrans_getID(t3, buf3, BUF_CAP); in TestClone()
327 if(strcmp(buf1, buf3) != 0 || in TestClone()
332 utrans_getID(t4, buf3, BUF_CAP); in TestClone()
334 if(strcmp(buf2, buf3) != 0 || in TestClone()
335 strcmp(buf1, buf3) == 0) { in TestClone()
/external/u-boot/drivers/mtd/ubi/
Dcrc32.c486 unsigned char buf3[SIZE + 4]; in main() local
496 buf3[j] = buf1[j] ^ buf2[j]; in main()
501 crc3 = test_step(INIT1 ^ INIT2, buf3, i); in main()
/external/ltp/testcases/kernel/syscalls/readv/
Dreadv02.c61 char buf1[K_1], buf2[K_1], buf3[K_1]; variable
199 buf_list[2] = buf3; in setup()
/external/oj-libjdwp/src/share/npt/
Dutf.c459 unsigned short buf3[MAX]; in test() local
472 len3 = utf8ToUtf16(ui, (jbyte*)buf1, len1, (jchar*)buf3, 1024); in test()
476 len1 = utf16ToUtf8m(ui, (jchar*)buf3, len3, (jbyte*)buf1, 1024); in test()
/external/libavc/decoder/
Dih264d_mem_request.h61 void * buf3; /** memory location for buf3 */ member
/external/ltp/testcases/kernel/syscalls/writev/
Dwritev05.c65 char buf3[K_1]; variable
/external/mesa3d/src/mesa/swrast/
Ds_context.c808 swrast->stencil_temp.buf3 = malloc(SWRAST_MAX_WIDTH * sizeof(GLubyte)); in _swrast_CreateContext()
813 !swrast->stencil_temp.buf3 || in _swrast_CreateContext()
837 free(swrast->stencil_temp.buf3); in _swrast_DestroyContext()
Ds_context.h330 GLubyte *buf1, *buf2, *buf3, *buf4; member
/external/freetype/src/autofit/
Dafhints.c332 char buf1[16], buf2[16], buf3[16], buf4[16]; in af_glyph_hints_dump_points() local
348 af_print_idx( buf3, in af_glyph_hints_dump_points()
420 char buf1[16], buf2[16], buf3[16]; in af_glyph_hints_dump_segments() local
451 af_print_idx( buf3, AF_INDEX_NUM( seg->edge, edges ) ), in af_glyph_hints_dump_segments()
/external/webrtc/webrtc/p2p/base/
Dstun_unittest.cc1239 rtc::ByteBuffer buf3; in TEST_F() local
1240 EXPECT_TRUE(msg2.Write(&buf3)); in TEST_F()
1242 reinterpret_cast<const char*>(buf3.Data()), buf3.Length(), in TEST_F()
/external/deqp-deps/glslang/Test/baseResults/
Dreflection.vert.out75 buf3.runtimeArray: offset 4, type 1406, size 0, index 14, binding -1, stages 1
97 buf3: offset -1, type ffffffff, size 4, index -1, binding -1, stages 0
/external/deqp-deps/glslang/Test/
Dreflection.vert146 buffer buf3 {
/external/tensorflow/tensorflow/core/graph/
Dgraph_constructor_test.cc2770 char buf3[100]; in TEST_F() local
2773 snprintf(buf3, sizeof(buf3), "t1"); in TEST_F()
2777 opts.return_tensors.push_back(TensorId(buf3, 0)); in TEST_F()
2781 snprintf(buf3, sizeof(buf3), "xxxxxxxxxxxxxxxxxxxx"); in TEST_F()

12