Home
last modified time | relevance | path

Searched refs:oflag (Results 1 – 9 of 9) sorted by relevance

/hardware/google/aemu/base/
DSharedMemory_posix.cpp50 int oflag = O_RDONLY; in open() local
53 oflag = O_RDWR; in open()
56 return openInternal(oflag, mode); in open()
85 int SharedMemory::openInternal(int oflag, int mode, bool doMapping) { in openInternal() argument
94 mFd = shm_open(mName.c_str(), oflag, mode); in openInternal()
99 mFd = ::open(mName.c_str(), oflag, mode); in openInternal()
112 if (oflag & O_CREAT) { in openInternal()
130 if (oflag & O_RDWR || oflag & O_CREAT) { in openInternal()
142 mCreate |= (oflag & O_CREAT); in openInternal()
/hardware/google/graphics/common/libgscaler/
Dexynos_subdev.c50 static int __subdev_open(const char *filename, int oflag, va_list ap) in __subdev_open() argument
55 if (oflag & O_CREAT) in __subdev_open()
58 fd = open(filename, oflag, mode); in __subdev_open()
63 int exynos_subdev_open(const char *filename, int oflag, ...) in exynos_subdev_open() argument
68 va_start(ap, oflag); in exynos_subdev_open()
69 fd = __subdev_open(filename, oflag, ap); in exynos_subdev_open()
75 int exynos_subdev_get_node_num(const char *devname, int __UNUSED__ oflag, ...) in exynos_subdev_get_node_num() argument
134 int exynos_subdev_open_devname(const char *devname, int oflag, ...) in exynos_subdev_open_devname() argument
188 va_start(ap, oflag); in exynos_subdev_open_devname()
189 fd = __subdev_open(filename, oflag, ap); in exynos_subdev_open_devname()
Dlibgscaler_media.h32 int exynos_subdev_open(const char *filename, int oflag, ...);
34 int exynos_subdev_get_node_num(const char *devname, int oflag, ...);
36 int exynos_subdev_open_devname(const char *devname, int oflag, ...);
Dlibgscaler_obj.cpp126 static int exynos_v4l2_open_devname(const char *devname, int oflag, ...) in exynos_v4l2_open_devname() argument
181 va_start(ap, oflag); in exynos_v4l2_open_devname()
182 fd = open(filename, oflag, ap); in exynos_v4l2_open_devname()
/hardware/google/graphics/common/libv4l2/
Dexynos_subdev.c47 static int __subdev_open(const char *filename, int oflag, va_list ap) in __subdev_open() argument
52 if (oflag & O_CREAT) in __subdev_open()
55 fd = open(filename, oflag, mode); in __subdev_open()
60 int exynos_subdev_open(const char *filename, int oflag, ...) in exynos_subdev_open() argument
65 va_start(ap, oflag); in exynos_subdev_open()
66 fd = __subdev_open(filename, oflag, ap); in exynos_subdev_open()
72 int exynos_subdev_get_node_num(const char *devname, int oflag, ...) in exynos_subdev_get_node_num() argument
131 int exynos_subdev_open_devname(const char *devname, int oflag, ...) in exynos_subdev_open_devname() argument
185 va_start(ap, oflag); in exynos_subdev_open_devname()
186 fd = __subdev_open(filename, oflag, ap); in exynos_subdev_open_devname()
Dexynos_v4l2.h47 int exynos_v4l2_open(const char *filename, int oflag, ...);
49 int exynos_v4l2_open_devname(const char *devname, int oflag, ...);
103 int exynos_subdev_open(const char *filename, int oflag, ...);
105 int exynos_subdev_get_node_num(const char *devname, int oflag, ...);
107 int exynos_subdev_open_devname(const char *devname, int oflag, ...);
Dexynos_v4l2.c79 static int __v4l2_open(const char *filename, int oflag, va_list ap) in __v4l2_open() argument
84 if (oflag & O_CREAT) in __v4l2_open()
87 fd = open(filename, oflag, mode); in __v4l2_open()
92 int exynos_v4l2_open(const char *filename, int oflag, ...) in exynos_v4l2_open() argument
99 va_start(ap, oflag); in exynos_v4l2_open()
100 fd = __v4l2_open(filename, oflag, ap); in exynos_v4l2_open()
108 int exynos_v4l2_open_devname(const char *devname, int oflag, ...) in exynos_v4l2_open_devname() argument
165 va_start(ap, oflag); in exynos_v4l2_open_devname()
166 fd = __v4l2_open(filename, oflag, ap); in exynos_v4l2_open_devname()
/hardware/google/gchips/include/
Dexynos_v4l2.h47 int exynos_v4l2_open(const char *filename, int oflag, ...);
49 int exynos_v4l2_open_devname(const char *devname, int oflag, ...);
103 int exynos_subdev_open(const char *filename, int oflag, ...);
105 int exynos_subdev_get_node_num(const char *devname, int oflag, ...);
107 int exynos_subdev_open_devname(const char *devname, int oflag, ...);
/hardware/google/aemu/base/include/aemu/base/memory/
DSharedMemory.h229 int openInternal(int oflag, int mode, bool doMapping = true);