Searched refs:mode (Results 1 - 25 of 3483) sorted by relevance

1234567891011>>

/macosx-10.9.5/ksh-20/ksh/src/lib/libast/stdio/
H A D_stdopen.c29 _stdopen(int fd, const char* mode) argument
31 return fdopen(fd, mode);
H A Dfopen.c27 fopen(const char* path, const char* mode) argument
29 return sfopen(NiL, path, mode);
H A Dpopen.c27 popen(const char* cmd, const char* mode) argument
29 return sfpopen((Sfio_t*)(-1), cmd, mode);
H A Dfreopen.c27 freopen(const char* path, const char* mode, Sfio_t* f) argument
29 STDIO_PTR(f, "freopen", Sfio_t*, (const char*, const char*, Sfio_t*), (path, mode, f))
31 return sfopen(f, path, mode);
/macosx-10.9.5/rsync-42/rsync/lib/
H A Dpermstring.c26 /* Produce a string representation of Unix mode bits like that used by ls(1).
28 void permstring(char *perms, mode_t mode) argument
36 if (mode & (1 << i))
43 if (mode & S_ISUID)
44 perms[3] = (mode & S_IXUSR) ? 's' : 'S';
46 if (mode & S_ISGID)
47 perms[6] = (mode & S_IXGRP) ? 's' : 'S';
50 if (mode & S_ISVTX)
51 perms[9] = (mode & S_IXOTH) ? 't' : 'T';
54 if (S_ISDIR(mode))
[all...]
H A Dpermstring.h3 void permstring(char *perms, mode_t mode);
/macosx-10.9.5/ntp-88/libntp/
H A Dmodetoa.c2 * modetoa - return an asciized mode
11 int mode
27 if (mode < 0 || mode >= (sizeof modestrings)/sizeof(char *)) {
29 (void)sprintf(bp, "mode#%d", mode);
33 return modestrings[mode];
/macosx-10.9.5/Libc-997.90.3/gen/
H A Dget_compat.h26 extern bool compat_mode(const char *function, const char *mode);
32 #define COMPAT_MODE(func, mode) compat_mode(func, mode)
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/unix/
H A Dfileacc.c37 mode_t mode = 0; local
40 mode |= S_ISUID;
42 mode |= S_IRUSR;
44 mode |= S_IWUSR;
46 mode |= S_IXUSR;
49 mode |= S_ISGID;
51 mode |= S_IRGRP;
53 mode |= S_IWGRP;
55 mode |= S_IXGRP;
59 mode |
71 apr_unix_mode2perms(mode_t mode) argument
[all...]
/macosx-10.9.5/apr-30/apr/apr/file_io/unix/
H A Dfileacc.c37 mode_t mode = 0; local
40 mode |= S_ISUID;
42 mode |= S_IRUSR;
44 mode |= S_IWUSR;
46 mode |= S_IXUSR;
49 mode |= S_ISGID;
51 mode |= S_IRGRP;
53 mode |= S_IWGRP;
55 mode |= S_IXGRP;
59 mode |
71 apr_unix_mode2perms(mode_t mode) argument
[all...]
/macosx-10.9.5/CPANInternal-140/Apache2-SOAP/t/lib/TestSOAP/
H A Dconvert.pm7 my $mode = $args{mode};
9 my $response = ($mode eq 'uc') ? uc($string) : lc($string);
/macosx-10.9.5/CPANInternal-140/Apache2-SOAP-0.73/t/lib/TestSOAP/
H A Dconvert.pm7 my $mode = $args{mode};
9 my $response = ($mode eq 'uc') ? uc($string) : lc($string);
/macosx-10.9.5/Heimdal-323.92.1/packages/mac/
H A Dupdate-header.sh3 mode=$1
10 if [ $mode = build -o $mode = install ] ; then
14 elif [ $mode = clean ] ; then
/macosx-10.9.5/gnutar-452/gnutar/lib/
H A Dcreat-safer.c29 creat_safer (char const *file, mode_t mode) argument
31 return fd_safer (creat (file, mode));
/macosx-10.9.5/ksh-20/ksh/src/cmd/INIT/
H A Dmkdir.sh24 mode=
29 1) echo "mkdir: -m: mode argument expected" >&2
34 mode=$1
36 -m*) mode=`echo X$1 | sed 's/X-m//'`
58 if test "" != "$mode"
59 then $CHMOD "$mode" "$dir" || exit 1
66 if test "" != "$mode"
67 then $CHMOD "$mode" "$dir" || exit 1
74 if test "" != "$mode"
76 do $CHMOD "$mode" "
[all...]
/macosx-10.9.5/ruby-104/ruby/test/bigdecimal/
H A Dtestbase.rb6 @mode = BigDecimal.mode(BigDecimal::EXCEPTION_ALL)
7 BigDecimal.mode(BigDecimal::EXCEPTION_ALL, true)
8 BigDecimal.mode(BigDecimal::EXCEPTION_UNDERFLOW, true)
9 BigDecimal.mode(BigDecimal::EXCEPTION_OVERFLOW, true)
10 BigDecimal.mode(BigDecimal::ROUND_MODE, BigDecimal::ROUND_HALF_UP)
16 BigDecimal::EXCEPTION_UNDERFLOW, BigDecimal::EXCEPTION_OVERFLOW].each do |mode|
17 BigDecimal.mode(mode, !(@mode
[all...]
/macosx-10.9.5/gnudiff-19/diffutils/lib/
H A Dsetmode.h1 /* Set a file descriptor's mode to binary or to text.
25 # define set_binary_mode(fd, mode) 1
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/sfio/
H A Dsfopen.c31 Sfio_t* sfopen(Sfio_t* f, const char* file, const char* mode) argument
33 Sfio_t* sfopen(f,file,mode)
36 reg char* mode; /* mode of the stream */
39 return _sfopen(f, file, mode);
/macosx-10.9.5/xnu-2422.115.4/EXTERNAL_HEADERS/corecrypto/
H A Dccmode.h16 /* ECB mode. */
23 CC_INLINE size_t ccecb_context_size(const struct ccmode_ecb *mode) argument
25 return mode->size;
28 CC_INLINE unsigned long ccecb_block_size(const struct ccmode_ecb *mode) argument
30 return mode->block_size;
33 CC_INLINE void ccecb_init(const struct ccmode_ecb *mode, ccecb_ctx *ctx, argument
36 mode->init(mode, ctx, key_len, key);
39 CC_INLINE void ccecb_update(const struct ccmode_ecb *mode, const ccecb_ctx *ctx, argument
42 unsigned long numBlocks = (in_len / mode
46 ccecb_one_shot(const struct ccmode_ecb *mode, unsigned long key_len, const void *key, unsigned long in_len, const void *in, void *out) argument
83 cccbc_context_size(const struct ccmode_cbc *mode) argument
88 cccbc_block_size(const struct ccmode_cbc *mode) argument
93 cccbc_init(const struct ccmode_cbc *mode, cccbc_ctx *ctx, unsigned long key_len, const void *key) argument
99 cccbc_set_iv(const struct ccmode_cbc *mode, cccbc_iv *iv_ctx, const void *iv) argument
107 cccbc_update(const struct ccmode_cbc *mode, cccbc_ctx *ctx, cccbc_iv *iv, unsigned long nblocks, const void *in, void *out) argument
113 cccbc_one_shot(const struct ccmode_cbc *mode, unsigned long key_len, const void *key, const void *iv, unsigned long nblocks, const void *in, void *out) argument
135 cccfb_context_size(const struct ccmode_cfb *mode) argument
140 cccfb_block_size(const struct ccmode_cfb *mode) argument
145 cccfb_init(const struct ccmode_cfb *mode, cccfb_ctx *ctx, unsigned long key_len, const void *key, const void *iv) argument
151 cccfb_update(const struct ccmode_cfb *mode, cccfb_ctx *ctx, unsigned long in_len, const void *in, void *out) argument
157 cccfb_one_shot(const struct ccmode_cfb *mode, unsigned long key_len, const void *key, const void *iv, unsigned long in_len, const void *in, void *out) argument
174 cccfb8_context_size(const struct ccmode_cfb8 *mode) argument
179 cccfb8_block_size(const struct ccmode_cfb8 *mode) argument
184 cccfb8_init(const struct ccmode_cfb8 *mode, cccfb8_ctx *ctx, unsigned long key_len, const void *key, const void *iv) argument
190 cccfb8_update(const struct ccmode_cfb8 *mode, cccfb8_ctx *ctx, unsigned long in_len, const void *in, void *out) argument
196 cccfb8_one_shot(const struct ccmode_cfb8 *mode, unsigned long key_len, const void *key, const void *iv, unsigned long in_len, const void *in, void *out) argument
217 ccctr_context_size(const struct ccmode_ctr *mode) argument
222 ccctr_block_size(const struct ccmode_ctr *mode) argument
227 ccctr_init(const struct ccmode_ctr *mode, ccctr_ctx *ctx, unsigned long key_len, const void *key, const void *iv) argument
233 ccctr_update(const struct ccmode_ctr *mode, ccctr_ctx *ctx, unsigned long in_len, const void *in, void *out) argument
240 ccctr_one_shot(const struct ccmode_ctr *mode, unsigned long key_len, const void *key, const void *iv, unsigned long in_len, const void *in, void *out) argument
259 ccofb_context_size(const struct ccmode_ofb *mode) argument
264 ccofb_block_size(const struct ccmode_ofb *mode) argument
269 ccofb_init(const struct ccmode_ofb *mode, ccofb_ctx *ctx, unsigned long key_len, const void *key, const void *iv) argument
275 ccofb_update(const struct ccmode_ofb *mode, ccofb_ctx *ctx, unsigned long in_len, const void *in, void *out) argument
281 ccofb_one_shot(const struct ccmode_ofb *mode, unsigned long key_len, const void *key, const void *iv, unsigned long in_len, const void *in, void *out) argument
318 ccxts_context_size(const struct ccmode_xts *mode) argument
323 ccxts_block_size(const struct ccmode_xts *mode) argument
328 ccxts_init(const struct ccmode_xts *mode, ccxts_ctx *ctx, unsigned long key_len, const void *key, const void *tweak_key) argument
334 ccxts_set_tweak(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, const void *iv) argument
339 ccxts_update(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, unsigned long in_len, const void *in, void *out) argument
345 ccxts_one_shot(const struct ccmode_xts *mode, unsigned long key_len, const void *key, const void *tweak_key, const void* iv, unsigned long in_len, const void *in, void *out) argument
366 ccgcm_context_size(const struct ccmode_gcm *mode) argument
371 ccgcm_block_size(const struct ccmode_gcm *mode) argument
376 ccgcm_init(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, unsigned long key_len, const void *key) argument
382 ccgcm_set_iv(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t iv_size, const void *iv) argument
387 ccgcm_gmac(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, unsigned long nbytes, const void *in) argument
393 ccgcm_update(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, unsigned long nbytes, const void *in, void *out) argument
399 ccgcm_finalize(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t tag_size, void *tag) argument
405 ccgcm_reset(const struct ccmode_gcm *mode, ccgcm_ctx *ctx) argument
411 ccgcm_one_shot(const struct ccmode_gcm *mode, unsigned long key_len, const void *key, unsigned long iv_len, const void *iv, unsigned long nbytes, const void *in, void *out, unsigned long adata_len, const void* adata, size_t tag_len, void *tag) argument
435 ccomac_context_size(const struct ccmode_omac *mode) argument
440 ccomac_block_size(const struct ccmode_omac *mode) argument
445 ccomac_init(const struct ccmode_omac *mode, ccomac_ctx *ctx, unsigned long tweak_len, unsigned long key_len, const void *key) argument
451 ccomac_update(const struct ccmode_omac *mode, ccomac_ctx *ctx, unsigned long in_len, const void *tweak, const void *in, void *out) argument
457 ccomac_one_shot(const struct ccmode_omac *mode, unsigned long tweak_len, unsigned long key_len, const void *key, const void *tweak, unsigned long in_len, const void *in, void *out) argument
[all...]
/macosx-10.9.5/Libc-997.90.3/stdio/FreeBSD/
H A Dflags.c47 * Return the (stdio) flags for a given mode. Store the flags
52 __sflags(mode, optr)
53 const char *mode;
58 switch (*mode++) {
78 default: /* illegal mode */
84 if (*mode == 'b')
85 mode++;
86 if (*mode == '+') {
89 mode++;
90 if (*mode
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/comp/
H A Dmknod.c40 mknod(const char* path, mode_t mode, dev_t dev)
42 if (S_ISFIFO(mode))
43 return mkfifo(path, mode);
44 if (S_ISDIR(mode))
45 return mkdir(path, mode);
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/vmalloc/
H A Dvmset.c44 reg int mode, inuse; local
48 return vd->mode;
51 if(!(vd->mode&VM_TRUST) )
59 mode = vd->mode;
62 vd->mode |= (flags&VM_FLAGS);
63 else vd->mode &= ~(flags&VM_FLAGS);
65 if(vd->mode&(VM_TRACE|VM_MTDEBUG))
66 vd->mode &= ~VM_TRUST;
71 return mode;
[all...]
/macosx-10.9.5/xnu-2422.115.4/libsyscall/wrappers/unix03/
H A Dchmod.c32 extern int __chmod(const char *path, mode_t mode);
41 chmod(const char *path, mode_t mode) argument
43 int res = __chmod(path, mode);
45 if (res >= 0 || errno != EPERM || (mode & (S_ISUID | S_ISGID)) == 0)
47 if (mode & S_ISGID) {
48 res = __chmod(path, mode ^ S_ISGID);
52 if (mode & S_ISUID) {
53 res = __chmod(path, mode ^ S_ISUID);
57 if ((mode & (S_ISUID | S_ISGID)) == (S_ISUID | S_ISGID))
58 res = __chmod(path, mode
[all...]
H A Dfchmod.c32 extern int __fchmod(int fd, mode_t mode);
41 fchmod(int fd, mode_t mode) argument
43 int res = __fchmod(fd, mode);
45 if (res >= 0 || errno != EPERM || (mode & (S_ISUID | S_ISGID)) == 0)
47 if (mode & S_ISGID) {
48 res = __fchmod(fd, mode ^ S_ISGID);
52 if (mode & S_ISUID) {
53 res = __fchmod(fd, mode ^ S_ISUID);
57 if ((mode & (S_ISUID | S_ISGID)) == (S_ISUID | S_ISGID))
58 res = __fchmod(fd, mode
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/string/
H A Dfmtmode.c27 * return ls -l style file mode string given file mode bits
28 * if external!=0 then mode is modex canonical
34 fmtmode(register int mode, int external) argument
41 mode = modex(mode);
44 *s++ = p->name[((mode & p->mask1) >> p->shift1) | ((mode & p->mask2) >> p->shift2)];

Completed in 1794 milliseconds

1234567891011>>