Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 220) sorted by relevance

123456789

/ndk/sources/host-tools/sed-4.2.1/lib/
Dset-mode-acl.c37 chmod_or_fchmod (const char *name, int desc, mode_t mode) in chmod_or_fchmod() argument
40 return fchmod (desc, mode); in chmod_or_fchmod()
42 return chmod (name, mode); in chmod_or_fchmod()
54 qset_acl (char const *name, int desc, mode_t mode) in qset_acl() argument
80 acl = acl_from_mode (mode); in qset_acl()
98 if (mode & S_IRUSR) acl_text[ 3] = 'r'; in qset_acl()
99 if (mode & S_IWUSR) acl_text[ 4] = 'w'; in qset_acl()
100 if (mode & S_IXUSR) acl_text[ 5] = 'x'; in qset_acl()
101 if (mode & S_IRGRP) acl_text[10] = 'r'; in qset_acl()
102 if (mode & S_IWGRP) acl_text[11] = 'w'; in qset_acl()
[all …]
Dcopy-acl.c43 int dest_desc, mode_t mode) in qcopy_acl() argument
61 return qset_acl (dst_name, dest_desc, mode); in qcopy_acl()
77 return chmod_or_fchmod (dst_name, dest_desc, mode); in qcopy_acl()
82 chmod_or_fchmod (dst_name, dest_desc, mode); in qcopy_acl()
90 if (mode & (S_ISUID | S_ISGID | S_ISVTX)) in qcopy_acl()
95 if (chmod_or_fchmod (dst_name, dest_desc, mode) != 0) in qcopy_acl()
99 if (S_ISDIR (mode)) in qcopy_acl()
148 return qset_acl (dst_name, dest_desc, mode); in qcopy_acl()
164 return chmod_or_fchmod (dst_name, dest_desc, mode); in qcopy_acl()
169 chmod_or_fchmod (dst_name, dest_desc, mode); in qcopy_acl()
[all …]
Dacl-internal.h51 # define fchmod(fd, mode) (-1) argument
117 # define acl_from_mode(mode) (NULL) argument
Dsys_stat.in.h311 extern int mkdir (char const *name, mode_t mode);
319 rpl_mkdir (char const *name, mode_t mode)
345 extern int lchmod (const char *filename, mode_t mode);
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0010-Add-enough-symlink-to-rename-file-path-with-replace-.patch38 …create mode 120000 test/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.inse…
39 …create mode 120000 test/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.in…
40 …create mode 120000 test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op…
41 create mode 120000 test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+EQ
42 create mode 120000 test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-EQ
43 create mode 120000 test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.opEQ
44 …create mode 120000 test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter…
45 …create mode 120000 test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter…
46 …create mode 120000 test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter…
47 …create mode 120000 test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter…
[all …]
/ndk/sources/host-tools/sed-4.2.1/build-aux/
Dinstall-sh85 mode=0755
144 -m) mode=$2
145 case $mode in
148 echo "$0: invalid mode: $mode" >&2
207 case $mode in
218 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
225 cp_umask=$mode$u_plus_rw;;
329 mkdir_mode=-m$mode
442 test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
464 { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_win32io.cpp46 static ios_base::openmode flag_to_openmode(int mode) { in flag_to_openmode() argument
49 switch (mode & O_ACCMODE) { in flag_to_openmode()
58 if (mode & O_APPEND) in flag_to_openmode()
61 if (mode & O_BINARY) in flag_to_openmode()
137 int mode = 0; variable
139 mode |= O_APPEND;
142 mode |= O_TEXT;
144 mode |= O_BINARY;
151 mode |= O_RDWR;
153 mode |= O_RDONLY;
[all …]
Dfstream_unistd.cpp78 static ios_base::openmode flag_to_openmode(int mode) in flag_to_openmode() argument
82 switch ( mode & O_ACCMODE ) { in flag_to_openmode()
94 if ( mode & O_APPEND ) in flag_to_openmode()
232 int mode = fcntl(file_no, F_GETFL); in _M_open() local
234 if (mode == -1) in _M_open()
237 _M_openmode = flag_to_openmode(mode); in _M_open()
Dfstream_stdio.cpp281 int mode = buf.st_mode; in _M_open() local
283 switch ( mode & (S_IWRITE | S_IREAD) ) { in _M_open()
/ndk/tests/abcc/jni/mman-win32/
Dtest.c98 mode_t mode = S_IRUSR | S_IWUSR; in test_file_map_readwrite() local
99 int o = open(map_file_name, O_TRUNC | O_BINARY | O_RDWR | O_CREAT, mode); in test_file_map_readwrite()
128 mode_t mode = S_IRUSR | S_IWUSR; in test_file_map_mlock_munlock() local
129 int o = open(map_file_name, O_TRUNC | O_BINARY | O_RDWR | O_CREAT, mode); in test_file_map_mlock_munlock()
178 mode_t mode = S_IRUSR | S_IWUSR; in test_file_map_msync() local
179 int o = open(map_file_name, O_TRUNC | O_BINARY | O_RDWR | O_CREAT, mode); in test_file_map_msync()
/ndk/sources/cxx-stl/stlport/src/
Dstrstream.cpp193 ios_base::seekdir dir, ios_base::openmode mode) { in seekoff() argument
197 if ((mode & (ios_base::in | ios_base::out)) == in seekoff()
201 else if (mode & ios_base::in) in seekoff()
203 else if (mode & ios_base::out) in seekoff()
256 strstreambuf::seekpos(pos_type pos, ios_base::openmode mode) { in seekpos() argument
257 return seekoff(pos - pos_type(off_type(0)), ios_base::beg, mode); in seekpos()
330 ostrstream::ostrstream(char* s, int n, ios_base::openmode mode) in ostrstream() argument
332 _M_buf(s, n, mode & ios_base::app ? s + strlen(s) : s) { in ostrstream()
363 strstream::strstream(char* s, int n, ios_base::openmode mode) in strstream() argument
365 _M_buf(s, n, mode & ios_base::app ? s + strlen(s) : s) { in strstream()
Diostream.cpp168 _Stl_create_filebuf(_Tp x, ios_base::openmode mode ) { in _Stl_create_filebuf() argument
170 result->open(_Stl_extract_open_param(x), mode); in _Stl_create_filebuf()
180 _Stl_create_wfilebuf(FILE* f, ios_base::openmode mode) { in _Stl_create_wfilebuf() argument
182 result->_M_open(_FILE_fd(f), mode); in _Stl_create_wfilebuf()
/ndk/sources/host-tools/sed-4.2.1/sed/
Dutils.h25 FILE *ck_fopen P_((const char *name, const char *mode, int fail));
26 FILE *ck_fdopen P_((int fd, const char *name, const char *mode, int fail));
Dutils.c152 ck_fopen(name, mode, fail) in ck_fopen() argument
154 const char *mode;
159 fp = fopen (name, mode);
174 ck_fdopen(fd, name, mode, fail) in ck_fdopen() argument
177 const char *mode;
182 fp = fdopen (fd, mode);
/ndk/sources/android/support/src/stdio/
Dwcio.h46 #define _SET_ORIENTATION(fp, mode) ((void)0) argument
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_wrappers.cpp70 void* WrapDlopen(const char* path, int mode) { in WrapDlopen() argument
80 mode, in WrapDlopen()
91 void* system_lib = ::dlopen(path, mode); in WrapDlopen()
/ndk/sources/host-tools/make-3.81/
Dar.c76 long int datapos, long int size, long int date, int uid, int gid, int mode, char *name));
126 int uid UNUSED, int gid UNUSED, int mode UNUSED, char *name) in ar_member_date_1()
214 int gid UNUSED, int mode UNUSED, struct ar_glob_state *state) in ar_glob_match()
Dmake.h184 # define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) argument
187 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) argument
/ndk/sources/cxx-stl/stlport/stlport/stl/config/
Dcompat.h78 # error STLport do not support anymore the wrapper mode. If you want to use STLport \
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dlocale.cpp1780 unsigned long Maxcode = 0x10FFFF, codecvt_mode mode = codecvt_mode(0)) in utf16_to_utf8() argument
1784 if (mode & generate_header) in utf16_to_utf8()
1857 unsigned long Maxcode = 0x10FFFF, codecvt_mode mode = codecvt_mode(0)) in utf16_to_utf8() argument
1861 if (mode & generate_header) in utf16_to_utf8()
1934 unsigned long Maxcode = 0x10FFFF, codecvt_mode mode = codecvt_mode(0)) in utf8_to_utf16() argument
1938 if (mode & consume_header) in utf8_to_utf16()
2055 unsigned long Maxcode = 0x10FFFF, codecvt_mode mode = codecvt_mode(0)) in utf8_to_utf16() argument
2059 if (mode & consume_header) in utf8_to_utf16()
2176 codecvt_mode mode = codecvt_mode(0)) in utf8_to_utf16_length() argument
2179 if (mode & consume_header) in utf8_to_utf16_length()
[all …]
/ndk/sources/host-tools/nawk-20071023/
Drun.c398 int mode; in getline() local
407 mode = ptoi(a[1]); in getline()
408 if (mode == '|') /* input pipe */ in getline()
409 mode = LE; /* arbitrary flag */ in getline()
410 fp = openfile(mode, getsval(x)); in getline()
577 int (*mf)(fa *, const char *) = match, mode = 0; in matchop() local
581 mode = 1; in matchop()
590 pfa = makedfa(t, mode); in matchop()
1615 int mode; /* '|', 'a', 'w' => LE/LT, GT */ member
1639 if (a == files[i].mode || (a==APPEND && files[i].mode==GT)) in openfile()
[all …]
/ndk/sources/cxx-stl/stlport/stlport/
Dunordered_set38 // mode:C++
Dunordered_map38 // mode:C++
/ndk/build/core/
Dadd-application.mk259 $(call ndk_log,Selecting optimization mode through Application.mk: $(APP_OPTIM))
262 $(call ndk_log,Selecting debug optimization mode (app is debuggable))
265 $(call ndk_log,Selecting release optimization mode (app is not debuggable))
/ndk/sources/host-tools/make-3.81/tests/scripts/options/
Dgeneral16 …(-j) are not supported on this platform.\n$make_name: Resetting to single job (-j1) mode.\n1foo\n";

123456789