Home
last modified time | relevance | path

Searched refs:bufSize (Results 1 - 4 of 4) sorted by relevance

/test/testfwk/arkxtest/uitest/test/
H A Dextension_test.cpp198 static constexpr size_t bufSize = 16; in TEST_F() local
199 uint8_t buf[bufSize] = { 0 }; in TEST_F()
201 auto recv = ReceiveBuffer {.data = buf, .capacity = bufSize, .size = &outSize}; in TEST_F()
216 static constexpr size_t bufSize = 64; in TEST_F() local
217 uint8_t buf[bufSize] = { 0 }; in TEST_F()
219 auto recv = ReceiveBuffer {.data = buf, .capacity = bufSize, .size = &outSize}; in TEST_F()
/test/xts/acts/kernel_lite/mem_posix/src/
H A DMmapApiTest.cpp705 int bufSize = len / 4; in HWTEST_F() local
713 for (i = 0; i < (size_t)bufSize; i++) { in HWTEST_F()
718 EXPECT_TRUE(write(fd, wBuffer, bufSize) == bufSize) << "ERROR: write() != bufSize"; in HWTEST_F()
741 EXPECT_TRUE(read(fd, rBuffer, bufSize) == bufSize) << "ERROR: read() != bufSize"; in HWTEST_F()
744 for (i = 0; i < (size_t)bufSize; i++) { in HWTEST_F()
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
H A Dlibfs.cpp109 const int bufSize = 100 * 1024; in CopyFile() local
110 char buffer[bufSize]; in CopyFile()
/test/testfwk/arkxtest/uitest/napi/
H A Duitest_napi.cpp62 size_t bufSize = 0; in JsStrToCppStr() local
64 NAPI_CALL_BASE(env, napi_get_value_string_utf8(env, jsStr, buf, NAPI_MAX_BUF_LEN, &bufSize), ""); in JsStrToCppStr()
65 return string(buf, bufSize); in JsStrToCppStr()

Completed in 8 milliseconds