Home
last modified time | relevance | path

Searched refs:maxBytesToRead (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.c29 size_t maxBytesToRead = 0; in CC_CommonUtilCopyDataFromRawTextFile() local
60 maxBytesToRead = (actualFileLen > (*outBuffLen))?(*outBuffLen):actualFileLen; in CC_CommonUtilCopyDataFromRawTextFile()
61 if (0 == maxBytesToRead) { in CC_CommonUtilCopyDataFromRawTextFile()
68 actualRead = fread(outBuff, 1, maxBytesToRead, fd); in CC_CommonUtilCopyDataFromRawTextFile()
106 size_t maxBytesToRead = 0; in CC_CommonUtilCopyDataFromTextFile() local
139 maxBytesToRead = (actualFileLen > (*outBuffLen*5))?(*outBuffLen*5):actualFileLen; in CC_CommonUtilCopyDataFromTextFile()
140 if (0 == maxBytesToRead) { in CC_CommonUtilCopyDataFromTextFile()
148 filebufptr = (int8_t*)malloc(maxBytesToRead+1); in CC_CommonUtilCopyDataFromTextFile()
156 filebufptr[maxBytesToRead] = '\0'; in CC_CommonUtilCopyDataFromTextFile()
159 actualRead = fread(filebufptr, 1, maxBytesToRead, fd); in CC_CommonUtilCopyDataFromTextFile()
[all …]