Home | History | Annotate | Download | only in mtp

Lines Matching defs:code

23     uint16_t code;
371 static const char* getCodeName(uint16_t code, const CodeEntry* table) {
374 if (entry->code == code)
381 const char* MtpDebug::getOperationCodeName(MtpOperationCode code) {
382 return getCodeName(code, sOperationCodes);
385 const char* MtpDebug::getFormatCodeName(MtpObjectFormat code) {
386 if (code == 0)
388 return getCodeName(code, sFormatCodes);
391 const char* MtpDebug::getObjectPropCodeName(MtpPropertyCode code) {
392 if (code == 0)
394 return getCodeName(code, sObjectPropCodes);
397 const char* MtpDebug::getDevicePropCodeName(MtpPropertyCode code) {
398 if (code == 0)
400 return getCodeName(code, sDevicePropCodes);