Searched refs:id_size (Results 1 – 4 of 4) 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()
112 ID id_size = rb_intern("size"); in grpc_rb_hash_convert_to_channel_args0() local124 num_args = NUM2INT(rb_funcall(params->src_hash, id_size, 0)); in grpc_rb_hash_convert_to_channel_args0()
516 for (int i = 0; i < proto.id_size(); i++) { in GetUsbDetachableWhitelist()