Searched refs:maxBytesToRead (Results 1 – 1 of 1) sorted by relevance
29 size_t maxBytesToRead = 0; in CC_CommonUtilCopyDataFromRawTextFile() local60 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() local139 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 …]