Lines Matching refs:libudev_
46 libudev_.Unload(); in ~ScopedLibUdev()
49 LibUDevSymbolTable* instance() { return &libudev_; } in instance()
55 return libudev_.Load() && in Init()
56 !IsWrongLibUDevAbiVersion(libudev_.GetDllHandle()); in Init()
59 LibUDevSymbolTable libudev_; member in cricket::ScopedLibUdev
64 explicit ScopedUdev(LibUDevSymbolTable* libudev) : libudev_(libudev) { in ScopedUdev()
65 udev_ = libudev_->udev_new()(); in ScopedUdev()
68 if (udev_) libudev_->udev_unref()(udev_); in ~ScopedUdev()
74 LibUDevSymbolTable* libudev_; member in cricket::ScopedUdev
81 : libudev_(libudev) { in ScopedUdevEnumerate()
82 enumerate_ = libudev_->udev_enumerate_new()(udev); in ScopedUdevEnumerate()
85 if (enumerate_) libudev_->udev_enumerate_unref()(enumerate_); in ~ScopedUdevEnumerate()
91 LibUDevSymbolTable* libudev_; member in cricket::ScopedUdevEnumerate