Searched refs:theMap (Results 1 – 2 of 2) sorted by relevance
830 const std::string &MtpPacketTool::CodeToStrByMap(int type, const std::map<int, std::string> &theMap) in CodeToStrByMap() argument832 auto codeSearch = theMap.find(type); in CodeToStrByMap()833 return (codeSearch != theMap.end()) ? codeSearch->second : UNKNOWN_STR; in CodeToStrByMap()836 …string &MtpPacketTool::CodeToStrByMap(uint32_t code, const std::map<uint32_t, std::string> &theMap) in CodeToStrByMap() argument838 auto codeSearch = theMap.find(code); in CodeToStrByMap()839 return (codeSearch != theMap.end()) ? codeSearch->second : UNKNOWN_STR; in CodeToStrByMap()
101 static const std::string &CodeToStrByMap(int type, const std::map<int, std::string> &theMap);102 …ic const std::string &CodeToStrByMap(uint32_t code, const std::map<uint32_t, std::string> &theMap);