Home
last modified time | relevance | path

Searched refs:imode (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Modules/
Dsunaudiodev.c55 int imode; in newsadobject() local
64 imode = 0; in newsadobject()
66 imode = 1; in newsadobject()
68 imode = 2; in newsadobject()
70 imode = -1; in newsadobject()
92 if (imode < 0) { in newsadobject()
98 fd = open(basedev, imode); in newsadobject()
115 xp->x_isctl = (imode < 0); in newsadobject()
Dlinuxaudiodev.c83 int fd, afmts, imode; in newladobject() local
100 imode = O_RDONLY; in newladobject()
102 imode = O_WRONLY; in newladobject()
123 if ((fd = open(basedev, imode)) == -1) { in newladobject()
127 if (imode == O_WRONLY && ioctl(fd, SNDCTL_DSP_NONBLOCK, NULL) == -1) { in newladobject()
141 xp->x_mode = imode; in newladobject()
Dossaudiodev.c79 int fd, afmts, imode; in newossobject() local
96 imode = O_RDONLY; in newossobject()
98 imode = O_WRONLY; in newossobject()
100 imode = O_RDWR; in newossobject()
118 if ((fd = open(devicename, imode|O_NONBLOCK)) == -1) { in newossobject()
143 self->mode = imode; in newossobject()
/external/f2fs-tools/fsck/
Dsload.c108 unsigned int uid = 0, gid = 0, imode = 0; in set_perms_and_caps() local
128 c.target_out_dir, &uid, &gid, &imode, in set_perms_and_caps()
132 de->mode = (de->mode & S_IFMT) | (imode & 0xffff); in set_perms_and_caps()
Ddump.c485 u32 imode = le16_to_cpu(inode->i_mode); in dump_file() local
498 if ((!S_ISREG(imode) && !S_ISLNK(imode)) || in dump_file()
/external/e2fsprogs/contrib/android/
Dperms.c125 unsigned int uid = 0, gid = 0, imode = 0; in set_perms_and_caps() local
141 params->target_out, &uid, &gid, &imode, in set_perms_and_caps()
149 inode.i_mode = (inode.i_mode & S_IFMT) | (imode & 0xffff); in set_perms_and_caps()
/external/python/cpython3/Modules/
Dossaudiodev.c82 int fd, afmts, imode; in newossobject() local
99 imode = O_RDONLY; in newossobject()
101 imode = O_WRONLY; in newossobject()
103 imode = O_RDWR; in newossobject()
121 fd = _Py_open(devicename, imode|O_NONBLOCK); in newossobject()
145 self->mode = imode; in newossobject()