/test/xts/hats/kernel/dmabuffer/ |
H A D | dmabuf_alloc.cpp | 36 const int BUFFER_SIZE = 128;
member 85 DmabufHeapBuffer buffer = { .size = BUFFER_SIZE, .heapFlags = 0 };
in HWTEST_F() 88 void *ptr = mmap(nullptr, BUFFER_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, buffer.fd, 0);
in HWTEST_F() 93 ASSERT_GE(sprintf_s((char *)ptr, BUFFER_SIZE, "libdmabufheap"), 0);
in HWTEST_F() 99 ASSERT_EQ(0, munmap(ptr, BUFFER_SIZE));
in HWTEST_F() 113 DmabufHeapBuffer buffer = { .size = BUFFER_SIZE, .heapFlags = 0 };
in HWTEST_F() 116 void *ptr = mmap(nullptr, BUFFER_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, buffer.fd, 0);
in HWTEST_F() 121 ASSERT_GE(sprintf_s((char *)ptr, BUFFER_SIZE, "parent"), 0);
in HWTEST_F() 129 ptr = mmap(nullptr, BUFFER_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, buffer.fd, 0);
in HWTEST_F() 136 ASSERT_GE(sprintf_s((char *)ptr, BUFFER_SIZE, "chil in HWTEST_F() [all...] |
/test/xts/hats/kernel/syscalls/fileio/lsetxattr/ |
H A D | LsetxattrApiTest.cpp | 82 const int BUFFER_SIZE = 128; variable 95 char targetFilePath[BUFFER_SIZE] = {0}; in HWTEST_F() 96 int num = sprintf_s(targetFilePath, BUFFER_SIZE, "%s/%s", OPEN_API_TEST_FILE, targetFile); in HWTEST_F() 129 char targetFilePath[BUFFER_SIZE] = {0}; in HWTEST_F() 130 int num = sprintf_s(targetFilePath, BUFFER_SIZE, "%s/%s", OPEN_API_TEST_FILE, targetFile); in HWTEST_F() 174 char targetFilePath[BUFFER_SIZE] = {0}; in HWTEST_F() 175 int num = sprintf_s(targetFilePath, BUFFER_SIZE, "%s/%s", OPEN_API_TEST_FILE, targetFile); in HWTEST_F() 208 char targetFilePath[BUFFER_SIZE] = {0}; in HWTEST_F() 209 int num = sprintf_s(targetFilePath, BUFFER_SIZE, "%s/%s", OPEN_API_TEST_FILE, targetFile); in HWTEST_F() 240 char targetFilePath[BUFFER_SIZE] in HWTEST_F() [all...] |
/test/xts/hats/kernel/syscalls/net/data_handle/ |
H A D | DataHandleApiTest.cpp | 35 static const int BUFFER_SIZE = 1024; variable 112 char buffer[BUFFER_SIZE] = { 0 }; in TcpClient() 131 size = recv(clientFd, static_cast<void *>(buffer), BUFFER_SIZE, 0); in TcpClient() 143 char buffer[BUFFER_SIZE] = { 0 }; in UdpClient() 163 size = recvfrom(clientFd, static_cast<void *>(buffer), BUFFER_SIZE, 0, in UdpClient() 168 size = recvfrom(clientFd, static_cast<void *>(buffer), BUFFER_SIZE, 0, in UdpClient() 189 char buffer[BUFFER_SIZE] = { 0 }; in HWTEST_F() 196 size = recvfrom(g_udpFd, static_cast<void *>(buffer), BUFFER_SIZE, 0, in HWTEST_F() 219 char buffer[BUFFER_SIZE] = { 0 }; in HWTEST_F() 226 size = recvfrom(BAD_SOCKET_FD, static_cast<void *>(buffer), BUFFER_SIZE, in HWTEST_F() [all...] |
/test/xts/hats/kernel/syscalls/fileio/lremovexattr/ |
H A D | LremovexattrApiTest.cpp | 53 const int BUFFER_SIZE = 128; variable 103 char tmpPath[BUFFER_SIZE] = {0}; in HWTEST_F() 104 int num = sprintf_s(tmpPath, BUFFER_SIZE, "%s/non_existing_dir", OPEN_API_TEST_FILE); in HWTEST_F() 123 char tmpPath[BUFFER_SIZE] = {0}; in HWTEST_F() 124 int num = sprintf_s(tmpPath, BUFFER_SIZE, "%s/existing_file.txt", OPEN_API_TEST_FILE); in HWTEST_F() 155 char tmpPath[BUFFER_SIZE] = {0}; in HWTEST_F() 156 int num = sprintf_s(tmpPath, BUFFER_SIZE, "%s/existing_file.txt", OPEN_API_TEST_FILE); in HWTEST_F() 181 char tmpPath[BUFFER_SIZE] = {0}; in HWTEST_F() 182 int num = sprintf_s(tmpPath, BUFFER_SIZE, "%s/non_existing_file.txt", OPEN_API_TEST_FILE); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/llistxattr/ |
H A D | LlistxattrApiTest.cpp | 53 const int BUFFER_SIZE = 128; variable 87 char tmpPath[BUFFER_SIZE] = {0}; in HWTEST_F() 88 int num = sprintf_s(tmpPath, BUFFER_SIZE, "%s/existing_file.txt", OPEN_API_TEST_FILE); in HWTEST_F() 118 char tmpPath[BUFFER_SIZE] = {0}; in HWTEST_F() 119 int num = sprintf_s(tmpPath, BUFFER_SIZE, "%s/non_existing_file.txt", OPEN_API_TEST_FILE); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/fgetxattr/ |
H A D | FgetxattrApiTest.cpp | 33 #define BUFFER_SIZE 128 macro 73 char buf[BUFFER_SIZE] = {0}; in HWTEST_F() 98 char buf[BUFFER_SIZE] = {0}; in HWTEST_F() 116 char buf[BUFFER_SIZE] = {0}; in HWTEST_F() 140 char buf[BUFFER_SIZE] = {0}; in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/fsetxattr/ |
H A D | FsetxattrApiTest.cpp | 33 static const int BUFFER_SIZE = 128; variable 73 char buf[BUFFER_SIZE] = {0}; in HWTEST_F() 117 char buf[BUFFER_SIZE] = {0}; in HWTEST_F() 146 char buf[BUFFER_SIZE] = {0}; in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/getcwd/ |
H A D | GetcwdApiTest.cpp | 51 const int BUFFER_SIZE = 128; variable 62 char buff[BUFFER_SIZE] = {0}; in HWTEST_F()
|
/test/xts/hats/hdf/codec/hdi_component_additional/ |
H A D | codec_component_test.cpp | 52 constexpr int32_t BUFFER_SIZE = WIDTH * HEIGHT * 3; member in __anon451::PortIndex 78 buffer.allocLen = BUFFER_SIZE; in InitOmxCodecBuffer() 1936 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in HWTEST_F() 1939 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); in HWTEST_F() 1956 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in HWTEST_F() 1959 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); in HWTEST_F() 1976 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in HWTEST_F() 1979 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); in HWTEST_F() 1996 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in HWTEST_F() 1999 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); in HWTEST_F() [all...] |
/test/xts/hats/kernel/syscalls/net/get_info/ |
H A D | GetInfoApiTest.cpp | 35 static const int BUFFER_SIZE = 1024; variable 90 char buffer[BUFFER_SIZE] = { 0 }; in ClientConnect() 104 size = recv(clientFd, static_cast<void *>(buffer), BUFFER_SIZE, 0); in ClientConnect()
|
/test/xts/tools/lite/checksum/src/ |
H A D | checksum_file.c | 31 #define BUFFER_SIZE 4096 macro 146 unsigned char buffer[BUFFER_SIZE]; in CalcSingleFileSha256() 148 size_t size = fread(buffer, 1, BUFFER_SIZE, fp); in CalcSingleFileSha256()
|
H A D | main.c | 30 #define BUFFER_SIZE 4096 macro
|
/test/xts/hats/kernel/syscalls/fileio/getxattr/ |
H A D | GetxattrApiTest.cpp | 32 static const int BUFFER_SIZE = 128; variable 92 char value[BUFFER_SIZE] = {0}; in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/process/prctl/ |
H A D | PrctlApiTest.cpp | 26 static const int BUFFER_SIZE = 1024; variable 63 char buffer[BUFFER_SIZE] = { 0 }; in HWTEST_F()
|
/test/xts/hats/hdf/codec/benchmarktest/ |
H A D | codec_benchmark_omx_test.cpp | 54 constexpr int32_t BUFFER_SIZE = WIDTH * HEIGHT * 3;
member 80 buffer.allocLen = BUFFER_SIZE;
in InitOmxCodecBuffer() 354 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE);
in BENCHMARK_F() 357 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE);
in BENCHMARK_F()
|
/test/xts/acts/multimedia_lite/camera_lite_posix/camera_native/src/ |
H A D | ActsMediaCameraTest.h | 29 const int32_t BUFFER_SIZE = 1024;
member
|
H A D | ActsMediaCameraTest.cpp | 346 surface->SetSize(BUFFER_SIZE * BUFFER_SIZE);
in StartRecord()
|
/test/xts/hats/hdf/codec/hdi_omx/ |
H A D | codec_hdi_omx_test.cpp | 48 constexpr int32_t BUFFER_SIZE = WIDTH * HEIGHT * 3; member 60 buffer.allocLen = BUFFER_SIZE; in InitCodecBuffer() 1082 buffer.allocLen = BUFFER_SIZE; in HWTEST_F() 1088 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in HWTEST_F() 1091 BUFFER_SIZE); in HWTEST_F() 1152 allocBuffer.allocLen = BUFFER_SIZE; in HWTEST_F() 1173 allocBuffer.allocLen = BUFFER_SIZE; in HWTEST_F() 1260 allocBuffer.allocLen = BUFFER_SIZE; in HWTEST_F() 1304 allocBuffer.allocLen = BUFFER_SIZE; in HWTEST_F()
|
/test/xts/hats/hdf/codec/hdi_idlomx/ |
H A D | codec_function_utils.h | 40 constexpr int32_t BUFFER_SIZE = WIDTH * HEIGHT * 3;
variable
|
H A D | codec_hdi_omx_enc_test.cpp | 750 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in HWTEST_F() 753 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); in HWTEST_F()
|
H A D | codec_function_utils.cpp | 52 buffer.allocLen = BUFFER_SIZE;
in InitOmxCodecBuffer()
|
/test/xts/acts/bundlemanager/zlib/actszlibtest/ |
H A D | ActsZlibTest.cpp | 42 static unsigned BUFFER_SIZE = 8192;
member 801 err = gzbuffer(file, BUFFER_SIZE);
in HWTEST_F()
|
/test/xts/acts/bundlemanager/zlib/actszlibndktest/entry/src/main/cpp/ |
H A D | zlibndk.cpp | 54 static unsigned BUFFER_SIZE = 8192;
variable 1508 err = gzbuffer(file, BUFFER_SIZE);
in GzClearErr() 1538 err = gzbuffer(file, BUFFER_SIZE);
in GzBuffer()
|
/test/xts/acts/multimedia_lite/media_lite_posix/audio_native/src/ |
H A D | ActsMediaAudioTest.cpp | 25 const int32_t BUFFER_SIZE = 1024;
member
|