Home
last modified time | relevance | path

Searched refs:MAX_DATA_LENGTH (Results 1 – 1 of 1) sorted by relevance

/test/xts/dcts/common/
Dshm_utils.cpp21 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()