/external/ltp/testcases/kernel/fs/doio/ |
D | pattern.c | 42 int nb, ncmp, nleft; in pattern_check() local 49 nleft = buflen; in pattern_check() 59 if (nleft < nb) { in pattern_check() 60 return (memcmp(cp, pat + patshift, nleft) ? -1 : 0); in pattern_check() 65 nleft -= nb; in pattern_check() 71 if (nleft < nb) { in pattern_check() 72 return (memcmp(cp, pat, nleft) ? -1 : 0); in pattern_check() 77 nleft -= nb; in pattern_check() 89 nb = (ncmp < nleft) ? ncmp : nleft; in pattern_check() 95 nleft -= nb; in pattern_check() [all …]
|
/external/iperf3/src/ |
D | net.c | 315 register size_t nleft = count; in Nread() local 317 while (nleft > 0) { in Nread() 318 r = read(fd, buf, nleft); in Nread() 327 nleft -= r; in Nread() 330 return count - nleft; in Nread() 342 register size_t nleft = count; in Nwrite() local 344 while (nleft > 0) { in Nwrite() 345 r = write(fd, buf, nleft); in Nwrite() 353 return count - nleft; in Nwrite() 363 nleft -= r; in Nwrite() [all …]
|
/external/ltp/testcases/kernel/sched/clisrv/ |
D | writen.c | 30 int nleft, nwritten; in writen() local 32 nleft = nbytes; in writen() 33 while (nleft > 0) { in writen() 34 nwritten = write(fd, ptr, nleft); in writen() 37 nleft -= nwritten; in writen() 40 return (nbytes - nleft); in writen()
|
/external/freetype/src/cff/ |
D | cffload.c | 953 FT_UInt nleft; in cff_charset_load() local 968 if ( FT_READ_USHORT( nleft ) ) in cff_charset_load() 973 if ( FT_READ_BYTE( nleft ) ) in cff_charset_load() 978 if ( glyph_sid > 0xFFFFL - nleft ) in cff_charset_load() 981 " nleft=%d -> %d\n", nleft, 0xFFFFL - glyph_sid )); in cff_charset_load() 982 nleft = ( FT_UInt )( 0xFFFFL - glyph_sid ); in cff_charset_load() 986 for ( i = 0; j < num_glyphs && i <= nleft; i++, j++, glyph_sid++ ) in cff_charset_load() 1714 FT_UInt nleft; in cff_encoding_load() local 1722 for ( j = 0; j < count; j++, i += nleft ) in cff_encoding_load() 1729 if ( FT_READ_BYTE( nleft ) ) in cff_encoding_load() [all …]
|
/external/mesa3d/include/c11/ |
D | threads_win32.h | 225 int nleft = 0; in impl_cond_do_wait() local 240 if ((nleft = cond->to_unblock) != 0) { in impl_cond_do_wait() 251 nleft = 0; in impl_cond_do_wait() 265 if (nleft == 1) { in impl_cond_do_wait()
|
/external/virglrenderer/src/gallium/include/c11/ |
D | threads_win32.h | 211 int nleft = 0; in impl_cond_do_wait() local 226 if ((nleft = cond->to_unblock) != 0) { in impl_cond_do_wait() 237 nleft = 0; in impl_cond_do_wait() 251 if (nleft == 1) { in impl_cond_do_wait()
|
/external/python/cpython3/Modules/ |
D | _winapi.c | 1335 DWORD nread, navail, nleft; in _winapi_PeekNamedPipe_impl() local 1349 &navail, &nleft); in _winapi_PeekNamedPipe_impl() 1357 return Py_BuildValue("NII", buf, navail, nleft); in _winapi_PeekNamedPipe_impl() 1361 ret = PeekNamedPipe(handle, NULL, 0, NULL, &navail, &nleft); in _winapi_PeekNamedPipe_impl() 1366 return Py_BuildValue("II", navail, nleft); in _winapi_PeekNamedPipe_impl()
|
/external/elfutils/src/ |
D | ar.c | 585 size_t nleft; in do_oper_extract() local 586 char *data = elf_rawfile (subelf, &nleft); in do_oper_extract() 644 while ((n = TEMP_FAILURE_RETRY (write (xfd, data, nleft))) != -1) in do_oper_extract() 646 nleft -= n; in do_oper_extract() 647 if (nleft == 0) in do_oper_extract()
|
/external/iputils/ |
D | ping.c | 954 register int nleft = len; in in_cksum() local 965 while (nleft > 1) { in in_cksum() 967 nleft -= 2; in in_cksum() 971 if (nleft == 1) in in_cksum()
|
D | rdisc.c | 923 register int nleft = len; in in_cksum() local 934 while( nleft > 1 ) { in in_cksum() 936 nleft -= 2; in in_cksum() 940 if( nleft == 1 ) in in_cksum()
|
/external/libcups/filter/ |
D | pstops.c | 525 size_t nleft; /* Number of bytes left/remaining */ in copy_bytes() local 528 nleft = length; in copy_bytes() 536 while (nleft > 0 || length == 0) in copy_bytes() 538 if (nleft > sizeof(buffer) || length == 0) in copy_bytes() 541 nbytes = (ssize_t)nleft; in copy_bytes() 546 nleft -= (size_t)nbytes; in copy_bytes()
|
/external/mdnsresponder/mDNSShared/ |
D | uds_daemon.c | 3571 mDNSu32 nleft = sizeof(ipc_msg_hdr) - req->hdr_bytes; in read_msg() local 3572 …int nread = udsSupportReadFD(req->sd, (char *)&req->hdr + req->hdr_bytes, nleft, 0, req->platform_… in read_msg() 3605 mDNSu32 nleft = req->hdr.datalen - req->data_bytes; in read_msg() local 3608 …struct iovec vec = { req->msgbuf + req->data_bytes, nleft }; // Tell recvmsg where we want the byt… in read_msg() 3621 …nread = udsSupportReadFD(req->sd, (char *)req->msgbuf + req->data_bytes, nleft, 0, req->platform_d… in read_msg()
|
/external/freetype/ |
D | ChangeLog.24 | 5261 * src/cff/cffload.c (cff_charset_load): Report the original `nleft' 5262 and truncated `nleft'.
|
D | ChangeLog.21 | 5075 * src/cff/cffload (cff_encoding_load): `nleft' must be FT_UInt,
|