Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_util_files.c107 int8_t *filebufptr = NULL; in CC_CommonUtilCopyDataFromTextFile() local
148 filebufptr = (int8_t*)malloc(maxBytesToRead+1); in CC_CommonUtilCopyDataFromTextFile()
149 if (filebufptr == NULL) { in CC_CommonUtilCopyDataFromTextFile()
156 filebufptr[maxBytesToRead] = '\0'; in CC_CommonUtilCopyDataFromTextFile()
159 actualRead = fread(filebufptr, 1, maxBytesToRead, fd); in CC_CommonUtilCopyDataFromTextFile()
163 if (((filebufptr[i] >= '0') && (filebufptr[i] <= '9')) || in CC_CommonUtilCopyDataFromTextFile()
164 ((filebufptr[i] >= 'a') && (filebufptr[i] <= 'f')) || in CC_CommonUtilCopyDataFromTextFile()
165 ((filebufptr[i] >= 'A') && (filebufptr[i] <= 'F')) || in CC_CommonUtilCopyDataFromTextFile()
166 (filebufptr[i] == 'x') || (filebufptr[i] == 'X') && in CC_CommonUtilCopyDataFromTextFile()
168 str[k++] = filebufptr[i]; in CC_CommonUtilCopyDataFromTextFile()
[all …]