Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 38) sorted by relevance

12

/test/xts/acts/kernel_lite/fs_posix/src/
DFsStatTest.cpp65 struct stat buf; variable
100 struct stat buf; variable
135 struct stat buf; variable
239 struct stat buf; variable
DFileSystemTest.cpp69 char buf[lenMax]; in CheckFsMount() local
DFsOtherTest.cpp239 glob_t buf; variable
/test/xts/device_attest_lite/services/core/network/
Dattest_coap.c25 static int32_t CoapCreateHead(CoapPacket* pkt, uint8_t code, uint32_t transType, CoapRWBuffer* buf) in CoapCreateHead()
66 static int32_t CoapAddToken(CoapPacket* pkt, const CoapBuffer* token, CoapRWBuffer* buf) in CoapAddToken()
141 …nt32_t CoapEncodeExtensionMsg(uint8_t param, size_t contentLen, uint32_t *index, CoapRWBuffer *buf) in CoapEncodeExtensionMsg()
193 static int32_t CheckOptionParameter(CoapPacket* pkt, const CoapOption* opt, CoapRWBuffer* buf) in CheckOptionParameter()
230 static int32_t CoapAddOption(CoapPacket* pkt, const CoapOption* opt, CoapRWBuffer* buf) in CoapAddOption()
278 static int32_t CoapAddOptions(CoapPacket* pkt, const CoapPacketParam* param, CoapRWBuffer *buf) in CoapAddOptions()
297 static int32_t CoapAddData(CoapPacket* pkt, const CoapBuffer* payload, CoapRWBuffer* buf) in CoapAddData()
337 static int32_t CoapCopyMessage(CoapPacket* pkt, CoapRWBuffer *buf, CoapRWBuffer *outBuf) in CoapCopyMessage()
387 CoapRWBuffer buf; in CoapEncode() local
525 static int32_t CoapParseOption(CoapOption* option, uint16_t* runningDelta, const uint8_t** buf, siz… in CoapParseOption()
[all …]
Dattest_channel.c165 int32_t TLSWrite(const TLSSession* session, const uint8_t* buf, size_t len) in TLSWrite()
186 int32_t TLSRead(const TLSSession* session, uint8_t* buf, size_t len) in TLSRead()
/test/xts/dcts/common/
Dshm_utils.cpp76 int readDataFromShm(char* buf) in readDataFromShm()
97 int readDataFromShmNoClear(char* buf) in readDataFromShmNoClear()
150 int writeCodeDataToShm(int code, char* buf) in writeCodeDataToShm()
190 int writeDataToShm(char* buf) in writeDataToShm()
/test/xts/acts/security_lite/huks/common/
Dhks_test_file_operator.c99 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead()
146 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite()
187 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead()
222 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite()
273 uint32_t HksTestFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uin… in HksTestFileRead()
290 …FileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t le… in HksTestFileWrite()
Dhks_test_log.c29 char buf[MAX_LOG_BUFF_LEN] = { 0 }; in HksTestLog() local
/test/xts/acts/kernel_lite/mem_posix/src/
DMremapApiTest.cpp238 char buf[PAGE_SIZE * 2] = {0}; variable
290 char buf[PAGE_SIZE * 2] = {0}; variable
342 char buf[PAGE_SIZE * 2] = {0}; variable
398 char buf[PAGE_SIZE * 2] = {0}; variable
DMemApiTest.cpp561 char *buf = nullptr; variable
618 char buf[1024]; variable
671 char buf[1024]; variable
703 char buf[1024]; variable
732 char buf[1024]; variable
DMprotectApiTest.cpp224 char buf[PAGE_SIZE] = {testChar, (char)(testChar + 3)}; variable
274 char buf[PAGE_SIZE] = {0}; variable
373 char buf[PAGE_SIZE] = {0}; variable
DMmapApiTest.cpp321 char buf[PAGE_SIZE] = {0}; variable
367 char buf[PAGE_SIZE] = {0}; variable
413 char buf[PAGE_SIZE] = {0}; variable
453 char buf[PAGE_SIZE] = {0}; variable
/test/xts/acts/commonlibrary_lite/file_hal/src/
Dutils_file_reli_test.c262 char buf[LENGTH_OF_READ_BUF] = {0}; variable
303 char buf[LENGTH_OF_READ_BUF] = {0}; variable
340 char buf[LENGTH_OF_READ_BUF] = {0}; variable
378 char buf[LENGTH_OF_READ_BUF] = {0}; variable
/test/xts/acts/kernel_lite/io_posix/src/
DIoTestStdio.cpp72 static char buf[] = "HELLO WORLD"; variable
329 char *buf = nullptr; variable
420 char buf[100] = {0}; variable
437 char *buf = nullptr; variable
856 char buf[100] = {0}; variable
890 char buf[100] = {0}; variable
920 char buf[100] = {0}; variable
DIoTestOther.cpp201 char buf[50] = {0}; variable
/test/xts/acts/kernel_lite/sys_posix/src/
DSysApiTest.cpp267 void TestRegcomp(int flag, const char *pattern, const char *buf, const char *resOk) in TestRegcomp()
335 const char* buf = "harmony20000925@abcdef.com"; variable
370 const char* buf = "harmony20000925@abcdef.com"; variable
423 char buf[8]; variable
/test/xts/device_attest/services/oem_adapter/src/
Ddevice_attest_oem_adapter.c27 char buf[buffLen]; in ReadTokenWithFlag() local
49 char buf[buffLen]; in WriteTokenWithFlag() local
/test/xts/hats/kernel/prctl/
DPrctlApiTest.cpp94 char buf[BUFSIZ]; in read_fd_to_string() local
/test/xts/acts/bundlemanager/zlib/actszlibtest/
DActsZlibTest.cpp47 static unsigned pull(void *desc, unsigned char **buf) in pull()
60 static int push(void *desc, unsigned char *buf, unsigned len) in push()
612 const Bytef *buf = reinterpret_cast<const Bytef*>(DICTIONARY); variable
747 const Bytef *buf = reinterpret_cast<const Bytef*>(DICTIONARY); variable
/test/xts/acts/kernel_lite/ipc_posix/shared_memory/
DShmTest.cpp389 struct shminfo buf = {0}; variable
/test/xts/hats/powermgr/power/hdi_power/common/
Dhdi_power_test.cpp88 int32_t HdfPowerHdiTest::ReadFile(const char *path, char *buf, size_t size) in ReadFile()
/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/
Dhap_resource_test.cpp261 void *buf = nullptr; in LoadFromHap() local
/test/xts/hats/powermgr/thermal/hdi_thermal/common/
Dhdi_thermal_test.cpp88 int32_t HdfThermalHdiTest::ReadFile(const char *path, char *buf, size_t size) in ReadFile()
/test/testfwk/arkxtest/uitest/napi/
Duitest_napi.cpp60 char buf[NAPI_MAX_BUF_LEN] = {0}; in JsStrToCppStr() local
498 extern "C" __attribute__((visibility("default"))) void NAPI_UiTest_GetJSCode(const char **buf, int … in NAPI_UiTest_GetJSCode()
508 extern "C" __attribute__((visibility("default"))) void NAPI_UiTest_GetABCCode(const char **buf, int… in NAPI_UiTest_GetABCCode()
/test/xts/acts/communication_lite/lwip_posix/src/
DActsLwipTest.cpp183 static char buf[BUF_SIZE + 1] = {0}; in SampleTcpServerTask() local
271 static char buf[BUF_SIZE + 1] = {0}; in SampleTcpClientTask() local
535 char buf[BUF_SIZE + 1]; variable

12