MCPcopy Create free account
hub / github.com/Kitware/CMake / read

Method read

Source/cmDebuggerPosixPipeConnection.cxx:109–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109size_t cmDebuggerPipeConnection_POSIX::read(void* buffer, size_t n)
110{
111 size_t result = 0;
112 if (rw_pipe >= 0) {
113 result = ::read(rw_pipe, buffer, n);
114 if (result == 0) {
115 close();
116 }
117 }
118
119 return result;
120}
121
122bool cmDebuggerPipeConnection_POSIX::write(void const* buffer, size_t n)
123{

Callers 15

ByteHashStreamMethod · 0.45
Base64EncodeFileMethod · 0.45
peekFunction · 0.45
readFunction · 0.45
ReadMethod · 0.45
cmELFMethod · 0.45
ReadWithPrefixFunction · 0.45
RandomSeedMethod · 0.45
ReadMethod · 0.45
ImplMethod · 0.45
cmXCOFFMethod · 0.45
ReadPackageFunction · 0.45

Calls 1

readFunction · 0.70

Tested by 4

Base64EncodeFileMethod · 0.36
testBOMFunction · 0.36
testBOMIOFunction · 0.36