Home
last modified time | relevance | path

Searched refs:subsystem (Results 1 - 7 of 7) sorted by relevance

/foundation/multimedia/media_utils_lite/interfaces/kits/
H A Dmedia_errors.h52 * @brief Generates a start error code with a unique identifier based on specified subsystem and module bit numbers.
54 * @param subsystem Indicates the subsystem bit number.
60 constexpr ErrCode ErrCodeOffset(unsigned int subsystem, unsigned int module = 0) in ErrCodeOffset() argument
62 return (subsystem << SUBSYSTEM_BIT_NUM) | (module << MODULE_BIT_NUM); in ErrCodeOffset()
/foundation/multimodalinput/input/libudev/include/
H A Dlibudev.h77 struct udev *udev, const char *subsystem, const char *sysname);
87 struct udev_device *udev_device, const char *subsystem, const char *devtype);
129 struct udev_monitor *udev_monitor, const char *subsystem, const char *devtype);
143 int udev_enumerate_add_match_subsystem(struct udev_enumerate *udev_enumerate, const char *subsystem);
144 int udev_enumerate_add_nomatch_subsystem(struct udev_enumerate *udev_enumerate, const char *subsystem);
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Derrors.h42 * @brief Value of 'Subsystem' segment of ErrCode for every subsystem.
98 // be used to init the subsystem errorno.
101 * subsystem.
103 * @param subsystem Value of 'Subsystem' segment.
108 constexpr ErrCode ErrCodeOffset(unsigned int subsystem, unsigned int module = 0) in ErrCodeOffset() argument
112 return (subsystem << SUBSYSTEM_BIT_NUM) | (module << MODULE_BIT_NUM); in ErrCodeOffset()
118 * in commonlibrary subsystem.
124 * in commonlibrary subsystem.
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_errors.h52 constexpr ErrCode ErrCodeOffset(unsigned int subsystem, unsigned int module = 0) in ErrCodeOffset() argument
54 return (subsystem << SUBSYSTEM_BIT_NUM) | (module << MODULE_BIT_NUM); in ErrCodeOffset()
/foundation/multimedia/image_framework/mock/native/include/
H A Derrors.h85 // be used to init the subsystem errorno.
86 constexpr ErrCode ErrCodeOffset(unsigned int subsystem, unsigned int module = 0) in ErrCodeOffset() argument
90 return (subsystem << SUBSYSTEM_BIT_NUM) | (module << MODULE_BIT_NUM); in ErrCodeOffset()
/foundation/distributeddatamgr/kv_store/kvstoremock/interfaces/mock/base/
H A Derrors.h83 // be used to init the subsystem errorno.
84 constexpr ErrCode ErrCodeOffset(unsigned int subsystem, unsigned int module = 0) in ErrCodeOffset() argument
88 return (subsystem << SUBSYSTEM_BIT_NUM) | (module << MODULE_BIT_NUM); in ErrCodeOffset()
/foundation/multimodalinput/input/libudev/src/
H A Dudev_device.cpp237 udev_device *GetParentWithSubsystem(const std::string &subsystem) in GetParentWithSubsystem()
242 if (parentSubsystem.has_value() && parentSubsystem.value() == subsystem) { in GetParentWithSubsystem()
582 auto res = GetLinkValue("subsystem", syspath); in GetSubsystem()
583 // read "subsystem" link in GetSubsystem()
671 udev_device *udev_device_get_parent_with_subsystem_devtype(udev_device *device, const char *subsystem, in udev_device_get_parent_with_subsystem_devtype() argument
675 if (subsystem == nullptr) { in udev_device_get_parent_with_subsystem_devtype()
681 return device->GetParentWithSubsystem(subsystem); in udev_device_get_parent_with_subsystem_devtype()

Completed in 4 milliseconds