Searched refs:id_size (Results 1 – 5 of 5) sorted by relevance
34 const int id_size = 4; in GetUsbId() local35 if (device.id.size() < 2 * id_size) { in GetUsbId()40 const size_t vid_location = device.id.size() - 2 * id_size; in GetUsbId()41 std::string id_vendor = device.id.substr(vid_location, id_size); in GetUsbId()42 const size_t pid_location = device.id.size() - id_size; in GetUsbId()43 std::string id_product = device.id.substr(pid_location, id_size); in GetUsbId()
34 const int id_size = 4; in GetUsbId() local38 vid_location + sizeof(vid) - 1 + id_size > device.id.size()) { in GetUsbId()44 pid_location + sizeof(pid) - 1 + id_size > device.id.size()) { in GetUsbId()48 id_size); in GetUsbId()50 id_size); in GetUsbId()
173 UINT32 id_size; in GetDeviceNamesMediaFoundation() local176 &id_size); in GetDeviceNamesMediaFoundation()180 base::SysWideToUTF8(std::wstring(id, id_size)), in GetDeviceNamesMediaFoundation()
201 int id_size = 0; in EnqueuePacket() local205 &id_size); in EnqueuePacket()214 MakeSideData(id_data, id_data + id_size, in EnqueuePacket()
59 for (int i = 0; i < selective_ack.id_size(); ++i) { in BuildPersistentIdListFromProto()