Home
last modified time | relevance | path

Searched refs:imode (Results 1 – 5 of 5) 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/e2fsprogs/contrib/android/
Dperms.c106 unsigned int uid = 0, gid = 0, imode = 0; in set_perms_and_caps() local
117 params->target_out, &uid, &gid, &imode, in set_perms_and_caps()
121 inode.i_mode = (inode.i_mode & S_IFMT) | (imode & 0xffff); in set_perms_and_caps()
/external/f2fs-tools/fsck/
Ddump.c354 u32 imode = le32_to_cpu(inode->i_mode); in dump_file() local
362 if (!S_ISREG(imode) || namelen == 0 || namelen > F2FS_NAME_LEN) { in dump_file()