Searched refs:fileBuf (Results 1 – 7 of 7) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | dcfmtest.cpp | 475 char *fileBuf = NULL; in ReadAndConvertFile() local 502 fileBuf = new char[fileSize]; in ReadAndConvertFile() 504 amtRead = fread(fileBuf, 1, fileSize, f); in ReadAndConvertFile() 517 fileBufNoBOM = fileBuf + 3; in ReadAndConvertFile() 519 if (fileSize<3 || uprv_strncmp(fileBuf, "\xEF\xBB\xBF", 3) != 0) { in ReadAndConvertFile() 522 fileBufNoBOM = fileBuf; in ReadAndConvertFile() 544 delete[] fileBuf; in ReadAndConvertFile()
|
D | itspoof.cpp | 342 LocalArray<char> fileBuf(new char[fileSize]); in testConfData() local 344 int32_t amt_read = fread(fileBuf.getAlias(), 1, fileSize, f.getAlias()); in testConfData() 350 … UnicodeString confusablesTxt = UnicodeString::fromUTF8(StringPiece(fileBuf.getAlias(), fileSize)); in testConfData()
|
D | rbbitst.cpp | 1150 char *fileBuf = NULL; in ReadAndConvertFile() local 1176 fileBuf = new char[fileSize]; in ReadAndConvertFile() 1178 amt_read = fread(fileBuf, 1, fileSize, f); in ReadAndConvertFile() 1191 fileBufC = fileBuf; in ReadAndConvertFile() 1193 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile() 1233 delete []fileBuf; in ReadAndConvertFile()
|
D | regextst.cpp | 3836 char *fileBuf = NULL; in ReadAndConvertFile() local 3862 fileBuf = new char[fileSize]; in ReadAndConvertFile() 3864 amt_read = fread(fileBuf, 1, fileSize, f); in ReadAndConvertFile() 3877 fileBufC = fileBuf; in ReadAndConvertFile() 3879 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile() 3923 delete[] fileBuf; in ReadAndConvertFile()
|
/external/ltp/testcases/kernel/fs/scsi/ltpfs/ |
D | main.c | 65 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()
|
/external/clang/lib/ARCMigrate/ |
D | FileRemapper.cpp | 66 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> fileBuf = in initFromFile() local 68 if (!fileBuf) in initFromFile() 72 fileBuf.get()->getBuffer().split(lines, "\n"); in initFromFile()
|
/external/webrtc/webrtc/modules/audio_device/test/ |
D | func_test_manager.cc | 467 int16_t fileBuf[480]; in NeedMorePlayData() local 470 int32_t len = _playFile.Read((int8_t*) fileBuf, 2 * nSamples); in NeedMorePlayData() 474 _playFile.Read((int8_t*) fileBuf, 2 * nSamples); in NeedMorePlayData() 480 memcpy(audioSamples, fileBuf, 2 * nSamples); in NeedMorePlayData() 488 (*audio16) = fileBuf[i]; // left in NeedMorePlayData() 490 (*audio16) = fileBuf[i]; // right in NeedMorePlayData()
|