Home
last modified time | relevance | path

Searched refs:NumRead (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/llvm/utils/count/
Dcount.c13 unsigned Count, NumLines, NumRead; in main() local
31 NumRead = fread(Buffer, 1, sizeof(Buffer), stdin); in main()
33 for (i = 0; i != NumRead; ++i) in main()
36 } while (NumRead == sizeof(Buffer)); in main()
/external/llvm/utils/count/
Dcount.c14 unsigned Count, NumLines, NumRead; in main() local
32 NumRead = fread(Buffer, 1, sizeof(Buffer), stdin); in main()
34 for (i = 0; i != NumRead; ++i) in main()
37 } while (NumRead == sizeof(Buffer)); in main()
/external/llvm/lib/Support/
DMemoryBuffer.cpp395 ssize_t NumRead = ::pread(FD, BufPtr, BytesLeft, MapSize-BytesLeft+Offset); in getOpenFileImpl() local
397 ssize_t NumRead = ::read(FD, BufPtr, BytesLeft); in getOpenFileImpl()
399 if (NumRead == -1) { in getOpenFileImpl()
405 if (NumRead == 0) { in getOpenFileImpl()
409 BytesLeft -= NumRead; in getOpenFileImpl()
410 BufPtr += NumRead; in getOpenFileImpl()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DMemoryBuffer.cpp395 ssize_t NumRead = ::pread(FD, BufPtr, BytesLeft, MapSize-BytesLeft+Offset); in getOpenFileImpl() local
397 ssize_t NumRead = ::read(FD, BufPtr, BytesLeft); in getOpenFileImpl()
399 if (NumRead == -1) { in getOpenFileImpl()
405 if (NumRead == 0) { in getOpenFileImpl()
409 BytesLeft -= NumRead; in getOpenFileImpl()
410 BufPtr += NumRead; in getOpenFileImpl()
/external/llvm-project/compiler-rt/lib/builtins/
Dos_version_check.c189 size_t NumRead = fread(PListBuf, 1, (size_t)PListFileSize, PropertyList); in _initializeAvailabilityCheck() local
190 if (NumRead != (size_t)PListFileSize) in _initializeAvailabilityCheck()
196 NULL, PListBuf, (CFIndex)NumRead, AllocatorNull); in _initializeAvailabilityCheck()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp140 ssize_t NumRead = read(CmdLineFD, ExeName, PATH_MAX+1); in checkForOProfileProcEntry() local
149 while (Idx < NumRead-1 && ExeName[Idx] != 0) { in checkForOProfileProcEntry()
/external/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp140 ssize_t NumRead = read(CmdLineFD, ExeName, PATH_MAX+1); in checkForOProfileProcEntry() local
149 while (Idx < NumRead-1 && ExeName[Idx] != 0) { in checkForOProfileProcEntry()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp140 ssize_t NumRead = read(CmdLineFD, ExeName, PATH_MAX+1); in checkForOProfileProcEntry() local
149 while (Idx < NumRead-1 && ExeName[Idx] != 0) { in checkForOProfileProcEntry()
/external/llvm-project/clang/lib/DirectoryWatcher/linux/
DDirectoryWatcher-linux.cpp235 ssize_t NumRead = llvm::sys::RetryAfterSignal(-1, read, InotifyFD, Buf, in InotifyPollingLoop() local
237 for (char *P = Buf; P < Buf + NumRead;) { in InotifyPollingLoop()
238 if (P + sizeof(struct inotify_event) > Buf + NumRead) { in InotifyPollingLoop()
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DQueueChannel.h122 ++NumRead; in readBytes()
154 uint64_t NumRead = 0; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DPath.inc1038 ssize_t NumRead =
1040 if (ssize_t(NumRead) == -1)
1042 return NumRead;
1048 ssize_t NumRead =
1053 ssize_t NumRead =
1056 if (NumRead == -1)
1058 return NumRead;
/external/llvm-project/llvm/lib/Support/Unix/
DPath.inc1077 ssize_t NumRead =
1079 if (ssize_t(NumRead) == -1)
1081 return NumRead;
1092 ssize_t NumRead =
1097 ssize_t NumRead =
1100 if (NumRead == -1)
1102 return NumRead;