Home
last modified time | relevance | path

Searched refs:nwritten (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/sched/clisrv/
Dwriten.c33 int nleft, nwritten; local
37 nwritten = write(fd, ptr, nleft);
38 if (nwritten <= 0)
39 return (nwritten); /* error */
40 nleft -= nwritten;
41 ptr += nwritten;
/external/mksh/src/
Dshf.c779 ssize_t nwritten = 0; in shf_vfprintf() local
789 nwritten++; in shf_vfprintf()
1019 nwritten++; in shf_vfprintf()
1023 nwritten++; in shf_vfprintf()
1029 nwritten++; in shf_vfprintf()
1035 nwritten += field; in shf_vfprintf()
1044 nwritten += precision; in shf_vfprintf()
1049 nwritten += field; in shf_vfprintf()
1054 return (shf_error(shf) ? -1 : nwritten); in shf_vfprintf()
Dfuncs.c576 ssize_t nwritten; in c_print() local
578 if ((nwritten = write(po.fd, s, len)) < 0) { in c_print()
592 s += nwritten; in c_print()
593 len -= nwritten; in c_print()
/external/mdnsresponder/mDNSShared/
DDebugServices.c1204 size_t nwritten = 0; in DebugSNPrintFVAList() local
1215 if (++nwritten >= buflen) goto exit; in DebugSNPrintFVAList()
1573 if (F.hSize) * (short *) s = (short)nwritten; in DebugSNPrintFVAList()
1574 else if (F.lSize) * (long *) s = (long)nwritten; in DebugSNPrintFVAList()
1575 else * (int *) s = (int)nwritten; in DebugSNPrintFVAList()
1582 if (++nwritten >= buflen) goto exit; in DebugSNPrintFVAList()
1589 if (++nwritten >= buflen) goto exit; in DebugSNPrintFVAList()
1592 if (i > buflen - nwritten) // Make sure we don't truncate in the middle of a UTF-8 character in DebugSNPrintFVAList()
1593 { i = buflen - nwritten; while (i>0 && (s[i] & 0xC0) == 0x80) i--; } in DebugSNPrintFVAList()
1595 nwritten += i; in DebugSNPrintFVAList()
[all …]
/external/libpcap/
Dpcap-sita.c366 int nwritten; local
370 if ((nwritten = write(fd, str, len)) <= 0) {
377 len -= nwritten;
378 str += nwritten;
/external/mdnsresponder/mDNSCore/
DDNSCommon.c2867 mDNSu32 nwritten = 0; in mDNS_vsnprintf() local
2878 if (++nwritten >= buflen) goto exit; in mDNS_vsnprintf()
3101 if (F.hSize) * (short *) s = (short)nwritten; in mDNS_vsnprintf()
3102 else if (F.lSize) * (long *) s = (long)nwritten; in mDNS_vsnprintf()
3103 else * (int *) s = (int)nwritten; in mDNS_vsnprintf()
3110 if (++nwritten >= buflen) goto exit; in mDNS_vsnprintf()
3117 if (++nwritten >= buflen) goto exit; in mDNS_vsnprintf()
3125 if (i > buflen - nwritten) in mDNS_vsnprintf()
3126 { i = buflen - nwritten; while (i>0 && (s[i] & 0xC0) == 0x80) i--; } in mDNS_vsnprintf()
3128 nwritten += i; in mDNS_vsnprintf()
[all …]
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-darwin.c3731 vki_uint64_t *, nwritten, struct sf_hdtr *, sf_header, int, flags); in PRE()
3741 vki_uint64_t *, nwritten, struct sf_hdtr *, sf_header, int, flags); in PRE()