Searched refs:MAX_DATA_LENGTH (Results 1 – 3 of 3) sorted by relevance
/test/xts/dcts/common/ |
D | shm_utils.cpp | 21 const int MAX_DATA_LENGTH = 1024; variable 71 memset_s(shared->data, MAX_DATA_LENGTH, 0, MAX_DATA_LENGTH); in initShm() 89 memset_s(shared->data, MAX_DATA_LENGTH, 0, MAX_DATA_LENGTH); in readDataFromShm() 119 char str[MAX_DATA_LENGTH] = { 0 }; in waitDataWithCode() 153 char* str = (char*)malloc(MAX_DATA_LENGTH); in writeCodeDataToShm() 158 (void)memset_s(str, MAX_DATA_LENGTH, 0, MAX_DATA_LENGTH); in writeCodeDataToShm() 167 if (strcpy_s(str, MAX_DATA_LENGTH, codeStr) != EOK) { in writeCodeDataToShm() 171 if (strcat_s(str, MAX_DATA_LENGTH, ":") != EOK) { in writeCodeDataToShm() 180 if (strcat_s(str, MAX_DATA_LENGTH, buf) != EOK) { in writeCodeDataToShm()
|
/test/xts/dcts/server/disServer/ |
D | net_trans_common.cpp | 35 const int MAX_DATA_LENGTH = 1024; variable 300 unsigned int maxLen = MAX_DATA_LENGTH; in DataMessageReceived() 303 char* buf = (char*)malloc(MAX_DATA_LENGTH); in DataMessageReceived() 304 (void)memset_s(buf, MAX_DATA_LENGTH, 0, MAX_DATA_LENGTH); in DataMessageReceived() 305 if (strncpy_s(buf, MAX_DATA_LENGTH, (char*)data, dataLen) != RET_SUCCESS) { in DataMessageReceived() 362 int size = MAX_DATA_LENGTH; in SendDataMsgToRemote() 417 unsigned int maxLen = MAX_DATA_LENGTH; in OnDataMessageReceived() 420 char* buf = (char*)malloc(MAX_DATA_LENGTH); in OnDataMessageReceived() 421 if (strcpy_s(buf, MAX_DATA_LENGTH, data) != RET_SUCCESS) { in OnDataMessageReceived() 462 char str[MAX_DATA_LENGTH] = { 0 }; in SendMsgTask() [all …]
|
/test/xts/dcts/distributeddatamgr/cpptest/process_common/ |
D | process_msg.cpp | 41 const int MAX_DATA_LENGTH = 1024; variable 110 char str[MAX_DATA_LENGTH] = { 0 }; in getParam() 175 char result[NUMTHREE][MAX_DATA_LENGTH] = { { 0 }, { 0 }, { 0 } }; in processDeletetData() 176 memset_s(result, NUMTHREE * MAX_DATA_LENGTH, 0, NUMTHREE * MAX_DATA_LENGTH); in processDeletetData() 198 char result[NUMTHREE][MAX_DATA_LENGTH] = { { 0 }, { 0 }, { 0 } }; in processPutData() 199 memset_s(result, NUMTHREE * MAX_DATA_LENGTH, 0, NUMTHREE * MAX_DATA_LENGTH); in processPutData() 256 char result[NUMTHREE][MAX_DATA_LENGTH] = { { 0 }, { 0 }, { 0 } }; in processGetData() 257 memset_s(result, NUMTHREE * MAX_DATA_LENGTH, 0, NUMTHREE * MAX_DATA_LENGTH); in processGetData()
|