Lines Matching refs:code
23 uint16_t code; member
372 static const char* getCodeName(uint16_t code, const CodeEntry* table) { in getCodeName() argument
375 if (entry->code == code) in getCodeName()
382 const char* MtpDebug::getOperationCodeName(MtpOperationCode code) { in getOperationCodeName() argument
383 return getCodeName(code, sOperationCodes); in getOperationCodeName()
386 const char* MtpDebug::getFormatCodeName(MtpObjectFormat code) { in getFormatCodeName() argument
387 if (code == 0) in getFormatCodeName()
389 return getCodeName(code, sFormatCodes); in getFormatCodeName()
392 const char* MtpDebug::getObjectPropCodeName(MtpPropertyCode code) { in getObjectPropCodeName() argument
393 if (code == 0) in getObjectPropCodeName()
395 return getCodeName(code, sObjectPropCodes); in getObjectPropCodeName()
398 const char* MtpDebug::getDevicePropCodeName(MtpPropertyCode code) { in getDevicePropCodeName() argument
399 if (code == 0) in getDevicePropCodeName()
401 return getCodeName(code, sDevicePropCodes); in getDevicePropCodeName()