Home
last modified time | relevance | path

Searched refs:gotnow (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/xserver/os/
H A Dio.c231 unsigned int gotnow, needed; in ReadRequestFromClient() local
266 gotnow = oci->bufcnt + oci->buffer - oci->bufptr; in ReadRequestFromClient()
274 else if (gotnow < sizeof(xReq)) { in ReadRequestFromClient()
290 if (gotnow < sizeof(xBigReq)) { in ReadRequestFromClient()
301 if (gotnow < needed) { in ReadRequestFromClient()
315 oci->ignoreBytes = needed - gotnow; in ReadRequestFromClient()
316 oci->lenLastReq = gotnow; in ReadRequestFromClient()
319 if ((gotnow == 0) || ((oci->bufptr - oci->buffer + needed) > oci->size)) { in ReadRequestFromClient()
322 if ((gotnow > 0) && (oci->bufptr != oci->buffer)) in ReadRequestFromClient()
324 memmove(oci->buffer, oci->bufptr, gotnow); in ReadRequestFromClient()
[all …]
/OK3568_Linux_fs/external/xserver/
H A DChangeLog103258 'gotnow' from oci->ignoreBytes. If needed < gotnow, simply subtract
103259 the two, leaving gotnow equal to the number of extra bytes read.