Home
last modified time | relevance | path

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

/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()
/third_party/icu/icu4c/source/test/intltest/
Dintltest.cpp2349 char *fileBuf = NULL; in ReadAndConvertFile() local
2375 fileBuf = new char[fileSize]; in ReadAndConvertFile()
2377 amt_read = static_cast<int>(fread(fileBuf, 1, fileSize, f)); in ReadAndConvertFile()
2390 fileBufC = fileBuf; in ReadAndConvertFile()
2392 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile()
2432 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()