Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/test/intltest/
Ddcfmtest.cpp495 char *fileBuf = NULL; in ReadAndConvertFile() local
522 fileBuf = new char[fileSize]; in ReadAndConvertFile()
524 amtRead = static_cast<int32_t>(fread(fileBuf, 1, fileSize, f)); in ReadAndConvertFile()
537 fileBufNoBOM = fileBuf + 3; in ReadAndConvertFile()
539 if (fileSize<3 || uprv_strncmp(fileBuf, "\xEF\xBB\xBF", 3) != 0) { in ReadAndConvertFile()
542 fileBufNoBOM = fileBuf; in ReadAndConvertFile()
564 delete[] fileBuf; in ReadAndConvertFile()
Ditspoof.cpp357 LocalArray<char> fileBuf(new char[fileSize]); in testConfData() local
359 int32_t amt_read = static_cast<int32_t>(fread(fileBuf.getAlias(), 1, fileSize, f.getAlias())); in testConfData()
365 … UnicodeString confusablesTxt = UnicodeString::fromUTF8(StringPiece(fileBuf.getAlias(), fileSize)); in testConfData()
Drbbitst.cpp1192 char *fileBuf = NULL; in ReadAndConvertFile() local
1218 fileBuf = new char[fileSize]; in ReadAndConvertFile()
1220 amt_read = static_cast<int>(fread(fileBuf, 1, fileSize, f)); in ReadAndConvertFile()
1233 fileBufC = fileBuf; in ReadAndConvertFile()
1235 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile()
1275 delete []fileBuf; in ReadAndConvertFile()
Dregextst.cpp3878 char *fileBuf = NULL; in ReadAndConvertFile() local
3904 fileBuf = new char[fileSize]; in ReadAndConvertFile()
3906 amt_read = static_cast<int32_t>(fread(fileBuf, 1, fileSize, f)); in ReadAndConvertFile()
3919 fileBufC = fileBuf; in ReadAndConvertFile()
3921 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile()
3965 delete[] fileBuf; in ReadAndConvertFile()
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
Dmain.c65 char *fileBuf; variable
113 fileBuf = malloc(statBuf.st_size); in main()
115 if (fileBuf) { in main()
117 read(tmpHandle, fileBuf, in main()
120 write(ltp_fileHandle, fileBuf, in main()
124 read(ltp_fileHandle, fileBuf, in main()
126 write(ltp_fileHandle, fileBuf, in main()