Searched refs:id_size (Results 1 - 2 of 2) sorted by relevance

/external/webrtc/talk/media/devices/
H A Dmacdeviceinfo.cc34 const int id_size = 4; local
35 if (device.id.size() < 2 * id_size) {
40 const size_t vid_location = device.id.size() - 2 * id_size;
41 std::string id_vendor = device.id.substr(vid_location, id_size);
42 const size_t pid_location = device.id.size() - id_size;
43 std::string id_product = device.id.substr(pid_location, id_size);
H A Dwin32deviceinfo.cc34 const int id_size = 4; local
38 vid_location + sizeof(vid) - 1 + id_size > device.id.size()) {
44 pid_location + sizeof(pid) - 1 + id_size > device.id.size()) {
48 id_size);
50 id_size);

Completed in 80 milliseconds