Searched refs:bytesSoFar (Results 1 – 3 of 3) sorted by relevance
71 int char32, bytesExpected, bytesSoFar; in decodeLoop() local79 bytesSoFar = 1; in decodeLoop()84 bytesSoFar = toULength; in decodeLoop()92 if (bytesSoFar < bytesExpected) { in decodeLoop()98 toULength = bytesSoFar; in decodeLoop()102 toUBytesArray[bytesSoFar] = ch = sourceArray[sourceIndex++]; in decodeLoop()103 if (!UTF8.isValidTrail(char32, ch, bytesSoFar, bytesExpected) in decodeLoop()104 … && !(isCESU8 && bytesSoFar == 1 && char32 == 0xd && UTF8.isTrail(ch))) { in decodeLoop()106 toULength = bytesSoFar; in decodeLoop()107 cr = CoderResult.malformedForLength(bytesSoFar); in decodeLoop()[all …]
204 XmlRpcSocket::nbWrite(int fd, std::string& s, int *bytesSoFar) in nbWrite() argument206 int nToWrite = int(s.length()) - *bytesSoFar; in nbWrite()207 char *sp = const_cast<char*>(s.c_str()) + *bytesSoFar; in nbWrite()220 *bytesSoFar += n; in nbWrite()
34 static bool nbWrite(int socket, std::string& s, int *bytesSoFar);