Home
last modified time | relevance | path

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

/external/mksh/src/
Dshf.c772 ssize_t nwritten = 0; in shf_vfprintf() local
782 nwritten++; in shf_vfprintf()
1010 nwritten++; in shf_vfprintf()
1014 nwritten++; in shf_vfprintf()
1020 nwritten++; in shf_vfprintf()
1027 nwritten += -field; in shf_vfprintf()
1041 nwritten += precision; in shf_vfprintf()
1048 nwritten += field; in shf_vfprintf()
1054 return (shf_error(shf) ? -1 : nwritten); in shf_vfprintf()
Dfuncs.c476 ssize_t nwritten; in c_print() local
478 if ((nwritten = write(fd, s, len)) < 0) { in c_print()
492 s += nwritten; in c_print()
493 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()