Home
last modified time | relevance | path

Searched refs:spaceleft (Results 1 – 4 of 4) sorted by relevance

/external/libvncserver/libvncserver/
Drfbssl_gnutls.c196 int spaceleft = sizeof(ctx->peekbuf) - ctx->peeklen - ctx->peekstart; in rfbssl_gc_peekbuf() local
197 if (spaceleft < bufsize) { in rfbssl_gc_peekbuf()
/external/libmtp/src/
Dptp.c4275 ptp_render_ofc(PTPParams* params, uint16_t ofc, int spaceleft, char *txt) in ptp_render_ofc() argument
4282 return snprintf(txt, spaceleft, "%s", _(ptp_ofc_trans[i].format)); in ptp_render_ofc()
4288 return snprintf (txt, spaceleft,"M3U"); in ptp_render_ofc()
4296 return snprintf (txt, spaceleft,"CRW"); in ptp_render_ofc()
4305 return snprintf(txt, spaceleft, "%s", _(ptp_ofc_mtp_trans[i].format)); in ptp_render_ofc()
4310 return snprintf (txt, spaceleft,_("Unknown(%04x)"), ofc); in ptp_render_ofc()
4409 ptp_render_opcode(PTPParams* params, uint16_t opcode, int spaceleft, char *txt) in ptp_render_opcode() argument
4416 return snprintf(txt, spaceleft, "%s", _(ptp_opcode_trans[i].name)); in ptp_render_opcode()
4423 return snprintf(txt, spaceleft, "%s", _(ptp_opcode_mtp_trans[i].name)); in ptp_render_opcode()
4428 return snprintf (txt, spaceleft,_("Unknown (%04x)"), opcode); in ptp_render_opcode()
[all …]
Dptp.h2552 int ptp_render_ofc(PTPParams* params, uint16_t ofc, int spaceleft, char *txt);
2553 int ptp_render_opcode(PTPParams* params, uint16_t opcode, int spaceleft, char *txt);
2554 int ptp_render_mtp_propname(uint16_t propid, int spaceleft, char *txt);
/external/mdnsresponder/mDNSCore/
DuDNS.c2904 mDNSs32 spaceleft = 0; in SendGroupUpdates() local
2950 if (AuthInfo && AuthInfo->AutoTunnel) spaceleft = AbsoluteMaxDNSMessageData; in SendGroupUpdates()
2951 else spaceleft = NormalMaxDNSMessageData; in SendGroupUpdates()
2954 spaceleft -= RRAdditionalSize(m, AuthInfo); in SendGroupUpdates()
2955 if (spaceleft <= 0) in SendGroupUpdates()
2961 limit = next + spaceleft; in SendGroupUpdates()
2971 spaceleft -= zoneSize; in SendGroupUpdates()
2972 if (spaceleft <= 0) in SendGroupUpdates()
2990 if ((spaceleft - rrSize) < 0) in SendGroupUpdates()
2996 …Updates: Skipping message %s, spaceleft %d, rrSize %d", ARDisplayString(m, rr), spaceleft, rrSize); in SendGroupUpdates()
[all …]