Searched refs:nleft (Results 1 - 11 of 11) sorted by relevance

/external/ltp/testcases/kernel/sched/clisrv/
H A Dwriten.c33 int nleft, nwritten; local
35 nleft = nbytes;
36 while (nleft > 0) {
37 nwritten = write(fd, ptr, nleft);
40 nleft -= nwritten;
43 return (nbytes - nleft);
/external/ltp/testcases/kernel/fs/doio/
H A Dpattern.c42 int nb, ncmp, nleft; local
49 nleft = buflen;
59 if (nleft < nb) {
60 return (memcmp(cp, pat + patshift, nleft) ? -1 : 0);
65 nleft -= nb;
71 if (nleft < nb) {
72 return (memcmp(cp, pat, nleft) ? -1 : 0);
77 nleft -= nb;
89 nb = (ncmp < nleft) ? ncmp : nleft;
103 int trans, ncopied, nleft; local
[all...]
/external/mesa3d/include/c11/
H A Dthreads_win32.h211 int nleft = 0; local
226 if ((nleft = cond->to_unblock) != 0) {
237 nleft = 0;
251 if (nleft == 1) {
/external/freetype/src/cff/
H A Dcffload.c953 FT_UInt nleft; local
968 if ( FT_READ_USHORT( nleft ) )
973 if ( FT_READ_BYTE( nleft ) )
977 /* try to rescue some of the SIDs if `nleft' is too large */
978 if ( glyph_sid > 0xFFFFL - nleft )
981 " nleft=%d -> %d\n", nleft, 0xFFFFL - glyph_sid ));
982 nleft = ( FT_UInt )( 0xFFFFL - glyph_sid );
985 /* Fill in the range of sids -- `nleft + 1' glyphs. */
986 for ( i = 0; j < num_glyphs && i <= nleft;
1707 FT_UInt nleft; local
[all...]
/external/python/cpython3/Modules/
H A D_winapi.c1124 DWORD nread, navail, nleft; local
1138 &navail, &nleft);
1146 return Py_BuildValue("Nii", buf, navail, nleft);
1150 ret = PeekNamedPipe(handle, NULL, 0, NULL, &navail, &nleft);
1155 return Py_BuildValue("ii", navail, nleft);
/external/iputils/
H A Dping.c954 register int nleft = len; local
965 while (nleft > 1) {
967 nleft -= 2;
971 if (nleft == 1)
H A Drdisc.c923 register int nleft = len; local
934 while( nleft > 1 ) {
936 nleft -= 2;
940 if( nleft == 1 )
/external/elfutils/src/
H A Dar.c594 size_t nleft; local
595 char *data = elf_rawfile (subelf, &nleft);
653 while ((n = TEMP_FAILURE_RETRY (write (xfd, data, nleft))) != -1)
655 nleft -= n;
656 if (nleft == 0)
/external/libcups/filter/
H A Dpstops.c526 size_t nleft; /* Number of bytes left/remaining */ local
529 nleft = length;
537 while (nleft > 0 || length == 0)
539 if (nleft > sizeof(buffer) || length == 0)
542 nbytes = (ssize_t)nleft;
547 nleft -= (size_t)nbytes;
/external/mdnsresponder/mDNSShared/
H A Duds_daemon.c3571 mDNSu32 nleft = sizeof(ipc_msg_hdr) - req->hdr_bytes; local
3572 int nread = udsSupportReadFD(req->sd, (char *)&req->hdr + req->hdr_bytes, nleft, 0, req->platform_data);
3605 mDNSu32 nleft = req->hdr.datalen - req->data_bytes; local
3608 struct iovec vec = { req->msgbuf + req->data_bytes, nleft }; // Tell recvmsg where we want the bytes put
3621 nread = udsSupportReadFD(req->sd, (char *)req->msgbuf + req->data_bytes, nleft, 0, req->platform_data);
/external/robolectric/v3/libs/
H A Dvtd-xml-2.11.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ximpleware/ com/ximpleware/extended/ com/ximpleware/extended/parser/ ...

Completed in 684 milliseconds