Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF8.java71 int char32, bytesExpected, bytesSoFar; in decodeLoop() local
79 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 …]
/external/xmlrpcpp/src/
DXmlRpcSocket.cpp204 XmlRpcSocket::nbWrite(int fd, std::string& s, int *bytesSoFar) in nbWrite() argument
206 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()
DXmlRpcSocket.h34 static bool nbWrite(int socket, std::string& s, int *bytesSoFar);