Searched refs:mode (Results 226 - 250 of 3483) sorted by relevance

1234567891011>>

/macosx-10.9.5/ksh-20/ksh/src/lib/libast/sfio/
H A Dsfsize.c36 reg int mode; local
42 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0)
81 if(f->here != s && (f->mode&SF_READ) )
100 else if(f->mode&SF_WRITE)
H A Dsfstack.c55 if(f1 && (f1->mode&SF_RDWR) != f1->mode && _sfmode(f1,0,0) < 0)
57 if(f2 && (f2->mode&SF_RDWR) != f2->mode && _sfmode(f2,0,0) < 0)
68 f2->mode &= ~SF_PUSH;
100 f2->mode |= SF_PUSH;
106 f1->mode &= ~SF_PUSH;
/macosx-10.9.5/ncurses-42/ncurses/test/
H A Dlrtest.c43 int y, x, mode, dir, inc; member in struct:__anon11185
55 if (m->mode == 0) { /* along the x-direction */
61 m->mode = 1;
66 m->mode = 1;
74 m->mode = 0;
79 m->mode = 0;
158 if (marks[n].mode == 0) { /* moving along x-direction */
/macosx-10.9.5/ruby-104/ruby/lib/
H A Dtempfile.rb88 # writable by the owner) and opens it with mode "w+".
137 mode = File::RDWR|File::CREAT|File::EXCL
140 mode |= opts.delete(:mode) || 0
146 @data[1] = @tmpfile = File.open(tmpname, mode, opts)
148 @mode = mode & ~(File::CREAT|File::EXCL)
156 # Opens or reopens the file with mode "r+".
159 @tmpfile = File.open(@tmpname, @mode, @opts)
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/page/
H A Dgen_peg_cpkg.tcl44 [list $sym [$t get $def mode] [cpkg::peOf $t $eroot] $l]
48 foreach {sym mode rule l} $e break
49 cpkg::Rule $chan $sym $mode $rule [expr {$max - $l}]
78 proc ::page::gen::peg::cpkg::Rule {chan sym mode pe off} {
81 puts $chan " Define $ms($mode) $sym$off [printTclExpr $pe]"
147 proc ::@@::Define {mode sym pe} {
150 $gr nonterminal mode $sym $mode
/macosx-10.9.5/emacs-92/emacs/lisp/emacs-lisp/
H A Dgeneric.el31 ;; The macro `define-generic-mode' can be used to define small modes
34 ;; small for a "real" mode, but still have a regular syntax, comment
37 ;; Each generic mode can define the following:
42 ;; the mode's syntax table with "comment starter" syntax. If the
59 ;; * List of regular expressions to be placed in auto-mode-alist.
65 ;; perhaps you should be writing a major mode instead!
69 ;; You can use `define-generic-mode' like this:
71 ;; (define-generic-mode 'foo-generic-mode
78 ;; to define a new generic-mode `fo
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/vmalloc/
H A Dvmopen.c48 Vmalloc_t* vmopen(Vmdisc_t* disc, Vmethod_t* meth, int mode) argument
50 Vmalloc_t* vmopen(disc, meth, mode)
53 int mode; /* type of region */
91 if((vd->mode&meth->meth) != 0)
120 vd->mode = (mode&VM_FLAGS) | meth->meth;
125 if(vd->mode&(VM_TRACE|VM_MTDEBUG))
126 vd->mode &= ~VM_TRUST;
128 if(vd->mode&(VM_MTBEST|VM_MTDEBUG|VM_MTPROFILE))
163 if(vd->mode
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libcmd/
H A Dpathchk.c103 static int pathchk(char* path, int mode) argument
112 if (mode & PATH)
116 if(mode & COMPONENTS)
199 if((mode & PATH) && *cp == '-')
205 if((mode & COMPONENTS) && !isport(c))
233 register int mode = 0; local
242 mode |= COMPONENTS|PATH;
245 mode |= COMPONENTS;
248 mode |= PATH;
263 pathchk(s, mode);
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/unix/
H A DtclXunixDup.c74 * o mode (I) - The channel mode.
82 TclXOSDupChannel (interp, srcChannel, mode, targetChannelId)
85 int mode;
97 if (mode & TCL_READABLE) {
141 mode);
170 int mode = 0;
178 * Make sure file is open and determine the access mode and file type.
186 mode = TCL_READABLE;
189 mode
167 int mode = 0; local
[all...]
/macosx-10.9.5/xnu-2422.115.4/tools/tests/superpages/
H A Dmeasure_tlbs.c22 testt(boolean_t superpages, int mode, int write, int kb) { argument
44 switch (mode) {
111 int mode; local
116 for (mode=0; mode<=2; mode++) {
118 time1 = testt(TRUE, mode, 0, kb); // read super
119 time2 = testt(FALSE, mode, 0, kb); // read base
120 time3 = testt(TRUE, mode, 1, kb); // write super
121 time4 = testt(FALSE, mode,
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/os/
H A Dos_open.c21 __os_open(env, name, page_size, flags, mode, fhpp)
25 int mode;
51 * If there's a binary-mode open flag, set it, we never want any
53 * e.g., with Cygwin, the default mode for an open() is set by the
54 * mode of the mount that underlies the file.
99 ret = __os_qnx_region_open(env, name, oflags, mode, &fhp);
102 ret = __os_openhandle(env, name, oflags, mode, &fhp);
118 (void)fchmod(fhp->fd, mode);
/macosx-10.9.5/postfix-252/postfix/mantools/
H A Dxpostconf19 # %CLASS class-name mode
20 # %PARAM param-name mode
104 ($category, $name, $mode) = split(/\s+/, substr($_, 1));
114 if ($mode eq "i") {
116 } elsif ($mode eq "b") {
118 } elsif ($mode ne "p") {
119 die "Unknown mode: $mode. Need b or p or i,\n";
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-core/PyObjCTest/
H A Dtest_filepointer.py21 self.assertEquals(fp.mode, 'r')
32 self.assertEquals(fp.mode, 'w')
47 self.assertEquals(fp.mode, 'w+')
50 # We can't reliably detect append mode, don't bother testing for it.
54 self.assertEquals(fp.mode, 'a')
59 self.assertEquals(fp.mode, 'a+')
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/PyObjCTest/
H A Dtest2_filepointer.py25 self.assertEquals(fp.mode, 'r')
36 self.assertEquals(fp.mode, 'w')
51 self.assertEquals(fp.mode, 'w+')
54 # We can't reliably detect append mode, don't bother testing for it.
58 self.assertEquals(fp.mode, 'a')
63 self.assertEquals(fp.mode, 'a+')
/macosx-10.9.5/CF-855.17/
H A DCFRunLoop.h80 CF_EXPORT void CFRunLoopAddCommonMode(CFRunLoopRef rl, CFStringRef mode);
82 CF_EXPORT CFAbsoluteTime CFRunLoopGetNextTimerFireDate(CFRunLoopRef rl, CFStringRef mode);
85 CF_EXPORT SInt32 CFRunLoopRunInMode(CFStringRef mode, CFTimeInterval seconds, Boolean returnAfterSourceHandled);
91 CF_EXPORT void CFRunLoopPerformBlock(CFRunLoopRef rl, CFTypeRef mode, void (^block)(void)) CF_AVAILABLE(10_6, 4_0);
94 CF_EXPORT Boolean CFRunLoopContainsSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
95 CF_EXPORT void CFRunLoopAddSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
96 CF_EXPORT void CFRunLoopRemoveSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
98 CF_EXPORT Boolean CFRunLoopContainsObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode);
99 CF_EXPORT void CFRunLoopAddObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode);
100 CF_EXPORT void CFRunLoopRemoveObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode);
[all...]
/macosx-10.9.5/CPANInternal-140/Log-Dispatch-2.34/lib/Log/Dispatch/
H A DFile.pm44 mode => {
74 $self->{mode} = '>>';
77 exists $p{mode}
78 && defined $p{mode}
80 $p{mode} =~ /^(?:>>|append)$/
81 || ( $p{mode} =~ /^\d+$/
82 && $p{mode} == O_APPEND() )
85 $self->{mode} = '>>';
88 $self->{mode} = '>';
100 open my $fh, $self->{mode},
[all...]
/macosx-10.9.5/ntp-88/include/
H A Dtimepps-Solaris.h93 * Device/implementation parameters (mode)
108 * Kernel actions (mode)
126 #define PPS_KC_HARDPPS_PLL 1 /* phase-lock mode */
127 #define PPS_KC_HARDPPS_FLL 2 /* frequency-lock mode */
155 int current_mode; /* current mode bits */
170 int mode; /* mode bits */ member in struct:pps_params
267 punit->params.mode = PPS_CAPTUREASSERT | PPS_TSFMT_TSPEC;
308 int mode, mode_in; local
337 mode_in = params->mode;
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/pt/
H A Dpt_peg_op.tcl82 array set mode [$container modes]
83 # mode = array (x -> mode-of-x)
93 # Ignore chains where mode changes form a barrier.
95 ($mode($symbol) ne "value") &&
96 (($mode($symbol) ne "void") ||
97 ($mode($called) ne "void"))
124 # 1. If a symbol X with mode 'value' calls no other symbols,
126 # this can be represented simpler by using mode leaf.
129 # or 'void' then this symbol should have mode 'voi
[all...]
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/contrib/slapd-modules/comp_match/
H A Dcomponentlib.c83 GDecComponentBits ( void* mem_op, GenBuf *b, void *v, AsnLen *bytesDecoded, int mode )
93 if ( mode & DEC_ALLOC_MODE_0 ) {
114 BDecComponentBitsTag ( void* mem_op, GenBuf *b, void *v, AsnLen *bytesDecoded, int mode ) {
115 return BDecComponentBits ( mem_op, b, 0, 0, v, bytesDecoded, mode|CALL_TAG_DECODER );
120 AsnLen *bytesDecoded, int mode )
130 if ( mode & DEC_ALLOC_MODE_0 ) {
137 if ( mode & CALL_TAG_DECODER ){
138 mode = mode & CALL_CONTENT_DECODER;
173 GDecComponentBMPString ( void* mem_op, GenBuf *b, void *v, AsnLen *bytesDecoded, int mode) argument
267 GDecComponentUTF8String( void* mem_op, GenBuf *b, void *v, AsnLen *bytesDecoded, int mode) argument
359 GDecComponentTeletexString( void* mem_op, GenBuf *b, void *v, AsnLen *bytesDecoded, int mode) argument
751 GDecComponentInt( void* mem_op, GenBuf * b, void *v, AsnLen *bytesDecoded, int mode) argument
1822 BEncComponentAny( void* mem_op, GenBuf *b, ComponentAny *result, AsnLen *bytesDecoded, int mode) argument
1864 BDecComponentAny( void* mem_op, GenBuf *b, ComponentAny *result, AsnLen *bytesDecoded, int mode) argument
1904 GDecComponentAny( void* mem_op, GenBuf *b, ComponentAny *result, AsnLen *bytesDecoded, int mode) argument
2164 BDecComponentTop( ber_decoder_func *decoder _AND_ void* mem_op _AND_ GenBuf *b _AND_ AsnTag tag _AND_ AsnLen elmtLen _AND_ void **v _AND_ AsnLen *bytesDecoded _AND_ int mode) argument
[all...]
H A Dcomponentlib.h64 int GDecComponentBits (void* mem_op, GenBuf *b, void *result, AsnLen *bytesDecoded, int mode);
65 int BDecComponentBits (void* mem_op, GenBuf *b, AsnTag tagId, AsnLen len, void *result, AsnLen *bytesDecoded, int mode);
81 int GDecComponentBMPString (void* mem_op, GenBuf *b, void *result, AsnLen *bytesDecoded, int mode);
82 int BDecComponentBMPString (void* mem_op, GenBuf *b, AsnTag tagId, AsnLen len, void *result, AsnLen *bytesDecoded, int mode);
99 int GDecComponentBool ( void* mem_op, GenBuf *b, void *result, AsnLen *bytesDecoded, int mode);
100 int BDecComponentBool ( void* mem_op, GenBuf *b, AsnTag tagId, AsnLen len, void *result, AsnLen *bytesDecoded, int mode);
118 int GDecComponentEnum ( void* mem_op, GenBuf *a, void *result, AsnLen *bytesDecoded,int mode);
119 int BDecComponentEnum ( void* mem_op, GenBuf *b, AsnTag tagId, AsnLen len, void *result, AsnLen *bytesDecoded, int mode);
138 BDecComponentIA5StringTag ( void* mem_op, GenBuf *b, void *v, AsnLen *bytesDecoded, int mode );
139 int BDecComponentIA5String ( void* mem_op, GenBuf *b, AsnTag tagId, AsnLen len, void *result, AsnLen *bytesDecoded, int mode);
[all...]
H A Dcrl.h78 int BDecComponentAlgorithmIdentifier PROTO ((void* mem_op, GenBuf * b, AsnTag tagId0, AsnLen elmtLen0, ComponentAlgorithmIdentifier **v, AsnLen *bytesDecoded, int mode));
81 int GDecComponentAlgorithmIdentifier PROTO (( void* mem_op, GenBuf * b, ComponentAlgorithmIdentifier **v, AsnLen *bytesDecoded, int mode));
109 int BDecComponentTime PROTO ((void* mem_op, GenBuf * b, AsnTag tagId0, AsnLen elmtLen0, ComponentTime **v, AsnLen *bytesDecoded, int mode));
112 int GDecComponentTime PROTO (( void* mem_op, GenBuf * b, ComponentTime **v, AsnLen *bytesDecoded, int mode));
133 int BDecComponentExtension PROTO ((void* mem_op, GenBuf * b, AsnTag tagId0, AsnLen elmtLen0, ComponentExtension **v, AsnLen *bytesDecoded, int mode));
136 int GDecComponentExtension PROTO (( void* mem_op, GenBuf * b, ComponentExtension **v, AsnLen *bytesDecoded, int mode));
156 int BDecComponentAttributeTypeAndValue PROTO ((void* mem_op, GenBuf * b, AsnTag tagId0, AsnLen elmtLen0, ComponentAttributeTypeAndValue **v, AsnLen *bytesDecoded, int mode));
159 int GDecComponentAttributeTypeAndValue PROTO (( void* mem_op, GenBuf * b, ComponentAttributeTypeAndValue **v, AsnLen *bytesDecoded, int mode));
171 int BDecComponentExtensions PROTO ((void* mem_op, GenBuf * b, AsnTag tagId0, AsnLen elmtLen0, ComponentExtensions **v, AsnLen *bytesDecoded, int mode));
174 int GDecComponentExtensions PROTO (( void* mem_op, GenBuf * b, ComponentExtensions **v, AsnLen *bytesDecoded, int mode));
[all...]
/macosx-10.9.5/sudo-72/src/zlib/
H A Dinflate.c114 state->mode = HEAD;
637 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */
643 switch (state->mode) {
646 state->mode = TYPEDO;
655 state->mode = FLAGS;
667 state->mode = BAD;
672 state->mode = BAD;
681 state->mode = BAD;
687 state->mode
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/trf/trf/generic/
H A Ddig_opt.c59 int* mode));
127 o->mode = TRF_UNKNOWN_MODE;
226 * TRF_ATTACH: -mode required
229 * access mode of attached channel. If a channel
235 if ((o->mode != TRF_UNKNOWN_MODE) ||
246 if (o->mode == TRF_UNKNOWN_MODE) {
247 Tcl_AppendResult (interp, "attach: -mode not defined", (char*) NULL);
251 } else if (o->mode == TRF_ABSORB_HASH) {
259 } else if ((o->mode == TRF_WRITE_HASH) || (o->mode
269 int mode; local
292 int mode; local
[all...]
/macosx-10.9.5/zlib-53/zlib/
H A Dinflate.c113 state->mode = HEAD;
617 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */
623 switch (state->mode) {
626 state->mode = TYPEDO;
635 state->mode = FLAGS;
647 state->mode = BAD;
652 state->mode = BAD;
661 state->mode = BAD;
667 state->mode
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_csp/open_ssl/
H A Dcryptlib.c125 static void (MS_FAR *locking_callback)(int mode,int type,
165 void (*CRYPTO_get_locking_callback(void))(int mode,int type,const char *file,
185 void CRYPTO_set_locking_callback(void (*func)(int mode,int type, argument
240 void CRYPTO_lock(int mode, int type, const char *file, int line) argument
246 if (mode & CRYPTO_LOCK)
248 else if (mode & CRYPTO_UNLOCK)
253 if (mode & CRYPTO_READ)
255 else if (mode & CRYPTO_WRITE)
267 locking_callback(mode,type,file,line);

Completed in 517 milliseconds

1234567891011>>