Lines Matching refs:spaceleft
4275 ptp_render_ofc(PTPParams* params, uint16_t ofc, int spaceleft, char *txt)
4282 return snprintf(txt, spaceleft, "%s", _(ptp_ofc_trans[i].format));
4288 return snprintf (txt, spaceleft,"M3U");
4296 return snprintf (txt, spaceleft,"CRW");
4305 return snprintf(txt, spaceleft, "%s", _(ptp_ofc_mtp_trans[i].format));
4310 return snprintf (txt, spaceleft,_("Unknown(%04x)"), ofc);
4409 ptp_render_opcode(PTPParams* params, uint16_t opcode, int spaceleft, char *txt)
4416 return snprintf(txt, spaceleft, "%s", _(ptp_opcode_trans[i].name));
4423 return snprintf(txt, spaceleft, "%s", _(ptp_opcode_mtp_trans[i].name));
4428 return snprintf (txt, spaceleft,_("Unknown (%04x)"), opcode);
4607 ptp_render_mtp_propname(uint16_t propid, int spaceleft, char *txt) {
4611 return snprintf(txt, spaceleft, "%s", ptp_opc_trans[i].name);
4612 return snprintf (txt, spaceleft,"unknown(%04x)", propid);