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

1234567891011>>

/macosx-10.10.1/ksh-23/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.10.1/rsync-45/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.10.1/ntp-92/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.10.1/Libc-1044.1.2/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.10.1/apr-32/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.10.1/xnu-2782.1.97/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 mode
45 ccecb_one_shot(const struct ccmode_ecb *mode, size_t key_len, const void *key, unsigned long nblocks, const void *in, void *out) argument
81 cccbc_context_size(const struct ccmode_cbc *mode) argument
86 cccbc_block_size(const struct ccmode_cbc *mode) argument
91 cccbc_init(const struct ccmode_cbc *mode, cccbc_ctx *ctx, size_t key_len, const void *key) argument
97 cccbc_set_iv(const struct ccmode_cbc *mode, cccbc_iv *iv_ctx, const void *iv) argument
106 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
136 cccfb_context_size(const struct ccmode_cfb *mode) argument
141 cccfb_block_size(const struct ccmode_cfb *mode) argument
146 cccfb_init(const struct ccmode_cfb *mode, cccfb_ctx *ctx, size_t key_len, const void *key, const void *iv) argument
153 cccfb_update(const struct ccmode_cfb *mode, cccfb_ctx *ctx, size_t nbytes, const void *in, void *out) argument
159 cccfb_one_shot(const struct ccmode_cfb *mode, size_t key_len, const void *key, const void *iv, size_t nbytes, const void *in, void *out) argument
176 cccfb8_context_size(const struct ccmode_cfb8 *mode) argument
181 cccfb8_block_size(const struct ccmode_cfb8 *mode) argument
186 cccfb8_init(const struct ccmode_cfb8 *mode, cccfb8_ctx *ctx, size_t key_len, const void *key, const void *iv) argument
192 cccfb8_update(const struct ccmode_cfb8 *mode, cccfb8_ctx *ctx, size_t nbytes, const void *in, void *out) argument
198 cccfb8_one_shot(const struct ccmode_cfb8 *mode, size_t key_len, const void *key, const void *iv, size_t nbytes, const void *in, void *out) argument
219 ccctr_context_size(const struct ccmode_ctr *mode) argument
224 ccctr_block_size(const struct ccmode_ctr *mode) argument
229 ccctr_init(const struct ccmode_ctr *mode, ccctr_ctx *ctx, size_t key_len, const void *key, const void *iv) argument
235 ccctr_update(const struct ccmode_ctr *mode, ccctr_ctx *ctx, size_t nbytes, const void *in, void *out) argument
241 ccctr_one_shot(const struct ccmode_ctr *mode, size_t key_len, const void *key, const void *iv, size_t nbytes, 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, size_t key_len, const void *key, const void *iv) argument
275 ccofb_update(const struct ccmode_ofb *mode, ccofb_ctx *ctx, size_t nbytes, const void *in, void *out) argument
281 ccofb_one_shot(const struct ccmode_ofb *mode, size_t key_len, const void *key, const void *iv, size_t nbytes, 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, size_t key_len, const void *key, const void *tweak_key) argument
335 ccxts_set_tweak(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, const void *iv) argument
341 ccxts_update(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, unsigned long nblocks, const void *in, void *out) argument
347 ccxts_one_shot(const struct ccmode_xts *mode, size_t key_len, const void *key, const void *tweak_key, const void *iv, unsigned long nblocks, const void *in, void *out) argument
368 ccgcm_context_size(const struct ccmode_gcm *mode) argument
373 ccgcm_block_size(const struct ccmode_gcm *mode) argument
378 ccgcm_init(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t key_len, const void *key) argument
384 ccgcm_set_iv(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t iv_size, const void *iv) argument
390 ccgcm_gmac(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t nbytes, const void *in) argument
396 ccgcm_update(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t nbytes, const void *in, void *out) argument
402 ccgcm_finalize(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t tag_size, void *tag) argument
408 ccgcm_reset(const struct ccmode_gcm *mode, ccgcm_ctx *ctx) argument
414 ccgcm_one_shot(const struct ccmode_gcm *mode, size_t key_len, const void *key, size_t iv_len, const void *iv, size_t adata_len, const void *adata, size_t nbytes, const void *in, void *out, size_t tag_len, void *tag) argument
440 ccccm_context_size(const struct ccmode_ccm *mode) argument
445 ccccm_block_size(const struct ccmode_ccm *mode) argument
450 ccccm_init(const struct ccmode_ccm *mode, ccccm_ctx *ctx, size_t key_len, const void *key) argument
456 ccccm_set_iv(const struct ccmode_ccm *mode, ccccm_ctx *ctx, ccccm_nonce *nonce_ctx, size_t nonce_len, const void *nonce, size_t mac_size, size_t auth_len, size_t data_len) argument
463 ccccm_cbcmac(const struct ccmode_ccm *mode, ccccm_ctx *ctx, ccccm_nonce *nonce_ctx, size_t nbytes, const void *in) argument
469 ccccm_update(const struct ccmode_ccm *mode, ccccm_ctx *ctx, ccccm_nonce *nonce_ctx, size_t nbytes, const void *in, void *out) argument
475 ccccm_finalize(const struct ccmode_ccm *mode, ccccm_ctx *ctx, ccccm_nonce *nonce_ctx, void *mac) argument
481 ccccm_reset(const struct ccmode_ccm *mode, ccccm_ctx *ctx, ccccm_nonce *nonce_ctx) argument
487 ccccm_one_shot(const struct ccmode_ccm *mode, unsigned long key_len, const void *key, unsigned nonce_len, const void *nonce, unsigned long nbytes, const void *in, void *out, unsigned adata_len, const void* adata, unsigned mac_size, void *mac) argument
514 ccomac_context_size(const struct ccmode_omac *mode) argument
519 ccomac_block_size(const struct ccmode_omac *mode) argument
524 ccomac_init(const struct ccmode_omac *mode, ccomac_ctx *ctx, size_t tweak_len, size_t key_len, const void *key) argument
530 ccomac_update(const struct ccmode_omac *mode, ccomac_ctx *ctx, unsigned long nblocks, const void *tweak, const void *in, void *out) argument
536 ccomac_one_shot(const struct ccmode_omac *mode, size_t tweak_len, size_t key_len, const void *key, const void *tweak, unsigned long nblocks, const void *in, void *out) argument
[all...]
/macosx-10.10.1/Heimdal-398.1.2/packages/mac/
H A Dupdate-header.sh3 mode=$1
10 if [ $mode = build -o $mode = install ] ; then
14 elif [ $mode = clean ] ; then
/macosx-10.10.1/gnutar-453/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.10.1/ksh-23/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.10.1/ruby-106/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.10.1/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.10.1/ksh-23/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.10.1/ksh-23/ksh/src/lib/libast/vmalloc/
H A Dvmset.c44 int mode; local
48 return vd->mode;
52 mode = vd->mode;
54 vd->mode |= (flags&VM_FLAGS);
55 else vd->mode &= ~(flags&VM_FLAGS);
59 return mode;
/macosx-10.10.1/Libc-1044.1.2/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.10.1/ksh-23/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.10.1/xnu-2782.1.97/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.10.1/ksh-23/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)];
/macosx-10.10.1/libarchive-30/libarchive/libarchive/
H A Darchive_entry_strmode.c45 mode_t mode; local
51 mode = archive_entry_mode(entry);
68 if (!(mode & permbits[i]))
71 if (mode & S_ISUID) {
72 if (mode & 0100) bp[3] = 's';
75 if (mode & S_ISGID) {
76 if (mode & 0010) bp[6] = 's';
79 if (mode & S_ISVTX) {
80 if (mode & 0001) bp[9] = 't';
/macosx-10.10.1/WTF-7600.1.24/wtf/
H A DSchedulePairMac.mm36 SchedulePair::SchedulePair(NSRunLoop* runLoop, CFStringRef mode)
40 if (mode)
41 m_mode = adoptCF(CFStringCreateCopy(0, mode));
/macosx-10.10.1/ksh-23/ksh/src/lib/libcmd/
H A Dwc.c74 static void printout(register Wc_t *wp, register char *name,register int mode) argument
76 if (mode&WC_LINES)
78 if (mode&WC_WORDS)
80 if (mode&WC_CHARS)
82 if (mode&WC_LONGEST)
93 register int mode=0, n; local
105 mode |= WC_CHARS;
108 mode |= WC_LINES;
111 mode |= WC_LONGEST;
115 mode |
[all...]

Completed in 300 milliseconds

1234567891011>>