Home
last modified time | relevance | path

Searched refs:eflags (Results 1 – 25 of 85) sorted by relevance

1234

/trueos/contrib/vis/
HDvis.c58 static int eflags, fold, foldwidth = 80, none, markeol; variable
76 eflags |= VIS_NOSLASH; in main()
79 eflags |= VIS_CSTYLE; in main()
100 eflags |= VIS_HTTPSTYLE; in main()
106 eflags |= VIS_MIMESTYLE; in main()
114 eflags |= VIS_OCTAL; in main()
117 eflags |= VIS_SAFE; in main()
120 eflags |= VIS_TAB; in main()
123 eflags |= VIS_WHITE; in main()
133 if ((eflags & (VIS_HTTPSTYLE|VIS_MIMESTYLE)) == in main()
[all …]
/trueos/contrib/unvis/
HDunvis.c57 int ch, eflags = 0; in main() local
63 eflags |= VIS_NOESCAPE; in main()
66 eflags |= VIS_HTTP1866; in main()
69 eflags |= VIS_HTTP1808; in main()
72 eflags |= VIS_MIMESTYLE; in main()
84 switch (eflags & (VIS_HTTP1808|VIS_HTTP1866|VIS_MIMESTYLE)) { in main()
97 process(fp, *argv, eflags); in main()
103 process(stdin, "<stdin>", eflags); in main()
108 process(FILE *fp, const char *filename, int eflags) in process() argument
117 switch(ret = unvis(&outc, (char)c, &state, eflags)) { in process()
[all …]
/trueos/usr.bin/grep/regex/
HDfastmatch.c130 size_t nmatch, regmatch_t pmatch[], int eflags) in tre_fastnexec() argument
134 if (eflags & REG_STARTEND) in tre_fastnexec()
136 type, nmatch, pmatch, eflags)); in tre_fastnexec()
139 pmatch, eflags); in tre_fastnexec()
144 regmatch_t pmatch[], int eflags) in tre_fastexec() argument
146 return tre_fastnexec(preg, string, (size_t)-1, nmatch, pmatch, eflags); in tre_fastexec()
151 size_t nmatch, regmatch_t pmatch[], int eflags) in tre_fastwnexec() argument
155 if (eflags & REG_STARTEND) in tre_fastwnexec()
157 type, nmatch, pmatch, eflags)); in tre_fastwnexec()
160 pmatch, eflags); in tre_fastwnexec()
[all …]
HDfastmatch.h45 regmatch_t pmatch[], int eflags);
58 size_t nmatch, regmatch_t pmatch[], int eflags);
70 size_t nmatch, regmatch_t pmatch[], int eflags);
80 size_t nmatch, regmatch_t pmatch[], int eflags);
/trueos/sys/vm/
HDvm_map.c151 !((e)->eflags & MAP_ENTRY_NEEDS_COPY)))
475 if ((entry->eflags & MAP_ENTRY_VN_WRITECNT) != 0) { in vm_map_process_deferred()
480 KASSERT((entry->eflags & MAP_ENTRY_IS_SUB_MAP) == 0, in vm_map_process_deferred()
805 entry->eflags = (entry->eflags & ~MAP_ENTRY_BEHAV_MASK) | in vm_map_entry_set_behavior()
1230 (prev_entry->eflags == protoeflags) && in vm_map_insert()
1269 !(prev_entry->eflags & MAP_ENTRY_NEEDS_COPY)) { in vm_map_insert()
1290 new_entry->eflags = protoeflags; in vm_map_insert()
1534 if (entry->eflags & (MAP_ENTRY_IN_TRANSITION | MAP_ENTRY_IS_SUB_MAP)) in vm_map_simplify_entry()
1544 (prev->eflags == entry->eflags) && in vm_map_simplify_entry()
1585 (next->eflags == entry->eflags) && in vm_map_simplify_entry()
[all …]
/trueos/contrib/gdb/gdb/
HDi386fbsd-nat.c53 ULONGEST eflags; in child_resume() local
66 &eflags); in child_resume()
67 if (eflags & 0x0100) in child_resume()
69 eflags & ~0x0100); in child_resume()
/trueos/contrib/nvi/regex/
HDregexec.c160 regexec(const regex_t *preg, const RCHAR_T *string, size_t nmatch, regmatch_t *pmatch, int eflags) in regexec() argument
174 eflags = GOODFLAGS(eflags); in regexec()
176 if (g->nstates <= (int)(CHAR_BIT*sizeof(states1)) && !(eflags&REG_LARGE)) in regexec()
177 return(smatcher(g, string, nmatch, pmatch, eflags)); in regexec()
179 return(lmatcher(g, string, nmatch, pmatch, eflags)); in regexec()
HDengine.c75 int eflags; member
95 …er __P((struct re_guts *g, const RCHAR_T *string, size_t nmatch, regmatch_t pmatch[], int eflags));
125 #define NOTE(str) { if (m->eflags&REG_TRACE) printf("=%s\n", (str)); }
138 matcher(g, string, nmatch, pmatch, eflags) in matcher() argument
143 int eflags;
158 if (eflags&REG_STARTEND) {
180 m->eflags = eflags;
226 if (!g->backrefs && !(m->eflags&REG_BACKR)) {
538 if ( (sp == m->beginp && !(m->eflags&REG_NOTBOL)) ||
546 if ( (sp == m->endp && !(m->eflags&REG_NOTEOL)) ||
[all …]
/trueos/contrib/llvm/lib/Support/
HDregexec.c142 llvm_regmatch_t pmatch[], int eflags) in llvm_regexec() argument
156 eflags = GOODFLAGS(eflags); in llvm_regexec()
158 if (g->nstates <= (long)(CHAR_BIT*sizeof(states1)) && !(eflags&REG_LARGE)) in llvm_regexec()
159 return(smatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec()
161 return(lmatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec()
HDregengine.inc73 int eflags;
119 #define NOTE(str) { if (m->eflags&REG_TRACE) (void)printf("=%s\n", (str)); }
133 int eflags)
148 if (eflags&REG_STARTEND) {
170 m->eflags = eflags;
218 if (!g->backrefs && !(m->eflags&REG_BACKR)) {
521 if ( (sp == m->beginp && !(m->eflags&REG_NOTBOL)) ||
529 if ( (sp == m->endp && !(m->eflags&REG_NOTEOL)) ||
537 if (( (sp == m->beginp && !(m->eflags&REG_NOTBOL)) ||
548 if (( (sp == m->endp && !(m->eflags&REG_NOTEOL)) ||
[all …]
/trueos/lib/libc/regex/
HDregexec.c211 int eflags) in regexec() argument
225 eflags = GOODFLAGS(eflags); in regexec()
228 return(mmatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
229 else if (g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags&REG_LARGE)) in regexec()
230 return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
232 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
HDengine.c83 int eflags; member
104 …int matcher(struct re_guts *g, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
137 #define NOTE(str) { if (m->eflags&REG_TRACE) printf("=%s\n", (str)); }
154 int eflags) in matcher() argument
176 if (eflags&REG_STARTEND) { in matcher()
232 m->eflags = eflags; in matcher()
290 if (!g->backrefs && !(m->eflags&REG_BACKR)) { in matcher()
609 if ( (sp == m->beginp && !(m->eflags&REG_NOTBOL)) || in backref()
617 if ( (sp == m->endp && !(m->eflags&REG_NOTEOL)) || in backref()
625 if (( (sp == m->beginp && !(m->eflags&REG_NOTBOL)) || in backref()
[all …]
/trueos/sys/x86/iommu/
HDintel_gas.c625 dmar_gaddr_t size, int offset, u_int eflags, u_int flags, vm_page_t *ma, in dmar_gas_map() argument
653 entry->flags |= eflags; in dmar_gas_map()
657 ((eflags & DMAR_MAP_ENTRY_READ) != 0 ? DMAR_PTE_R : 0) | in dmar_gas_map()
658 ((eflags & DMAR_MAP_ENTRY_WRITE) != 0 ? DMAR_PTE_W : 0) | in dmar_gas_map()
659 ((eflags & DMAR_MAP_ENTRY_SNOOP) != 0 ? DMAR_PTE_SNP : 0) | in dmar_gas_map()
660 ((eflags & DMAR_MAP_ENTRY_TM) != 0 ? DMAR_PTE_TM : 0), in dmar_gas_map()
675 u_int eflags, u_int flags, vm_page_t *ma) in dmar_gas_map_region() argument
692 entry->flags |= eflags; in dmar_gas_map_region()
699 ((eflags & DMAR_MAP_ENTRY_READ) != 0 ? DMAR_PTE_R : 0) | in dmar_gas_map_region()
700 ((eflags & DMAR_MAP_ENTRY_WRITE) != 0 ? DMAR_PTE_W : 0) | in dmar_gas_map_region()
[all …]
/trueos/sys/ia64/ia32/
HDia32_trap.c154 register_t eflags; in ia32_syscall() local
159 eflags = ia64_get_eflag(); in ia32_syscall()
166 if ((eflags & PSL_T) && !(eflags & PSL_VM)) { in ia32_syscall()
/trueos/libexec/rtld-elf/i386/
HDrtld_start.S74 pushf # Save eflags
89 popf # Restore eflags
90 leal 4(%esp),%esp # Discard reloff, do not change eflags
/trueos/sys/i386/i386/
HDmachdep.c830 int eflags, error; local
838 eflags = scp->sc_ps;
839 if (eflags & PSL_VM) {
854 if ((eflags & PSL_VIP) && (eflags & PSL_VIF)) {
863 eflags = (tf->tf_eflags & ~VME_USERCHANGE) |
864 (eflags & VME_USERCHANGE) | PSL_VM;
866 vm86->vm86_eflags = eflags; /* save VIF, VIP */
867 eflags = (tf->tf_eflags & ~VM_USERCHANGE) |
868 (eflags & VM_USERCHANGE) | PSL_VM;
881 if (!EFL_SECURE(eflags, regs->tf_eflags)) {
[all …]
/trueos/sys/boot/i386/libi386/
HDbootinfo64.c137 int eflags; in bi_checkcpu() local
141 eflags = read_eflags(); in bi_checkcpu()
142 write_eflags(eflags ^ PSL_ID); in bi_checkcpu()
143 if (!((eflags ^ read_eflags()) & PSL_ID)) in bi_checkcpu()
/trueos/sys/boot/userboot/userboot/
HDbootinfo64.c138 int eflags, regs[4]; in bi_checkcpu()
141 eflags = read_eflags(); in bi_checkcpu()
142 write_eflags(eflags ^ PSL_ID); in bi_checkcpu()
143 if (!((eflags ^ read_eflags()) & PSL_ID)) in bi_checkcpu()
/trueos/sys/i386/include/
HDvm86.h67 reg86_t eflags; member
99 #define vmf_flags eflags.r_w.r_x
100 #define vmf_eflags eflags.r_ex
HDcpufunc.h52 extern void write_eflags(u_int eflags);
706 register_t eflags; in intr_disable() local
708 eflags = read_eflags(); in intr_disable()
710 return (eflags); in intr_disable()
714 intr_restore(register_t eflags) in intr_restore() argument
716 write_eflags(eflags); in intr_restore()
/trueos/sys/boot/i386/btx/lib/
HDbtxv86.s39 .set V86_EFL,0x28 # V86 eflags
68 pushf # Put eflags
72 popf # in eflags
/trueos/sys/boot/pc98/btx/lib/
HDbtxv86.s39 .set V86_EFL,0x28 # V86 eflags
68 pushf # Put eflags
72 popf # in eflags
/trueos/sys/amd64/ia32/
HDia32_signal.c713 int eflags, error; in ofreebsd32_sigreturn() local
721 eflags = scp->sc_eflags; in ofreebsd32_sigreturn()
722 if (!EFL_SECURE(eflags, regs->tf_rflags)) { in ofreebsd32_sigreturn()
750 regs->tf_rflags = eflags; in ofreebsd32_sigreturn()
778 int cs, eflags, error; local
786 eflags = ucp->uc_mcontext.mc_eflags;
790 if (!EFL_SECURE(eflags, regs->tf_rflags)) {
792 td->td_proc->p_pid, td->td_name, eflags);
854 int cs, eflags, error, ret; local
862 eflags = ucp->uc_mcontext.mc_eflags;
[all …]
/trueos/contrib/libgnuregex/
HDregexec.c20 static reg_errcode_t match_ctx_init (re_match_context_t *cache, int eflags,
42 int eflags) internal_function;
220 regexec (preg, string, nmatch, pmatch, eflags) in regexec() argument
225 int eflags;
231 if (eflags & ~(REG_NOTBOL | REG_NOTEOL | REG_STARTEND))
234 if (eflags & REG_STARTEND)
248 length, 0, NULL, eflags);
251 length, nmatch, pmatch, eflags);
267 regmatch_t pmatch[], int eflags) in __compat_regexec() argument
270 eflags & (REG_NOTBOL | REG_NOTEOL)); in __compat_regexec()
[all …]
/trueos/sys/security/mac/
HDmac_process.c269 if (vme->eflags & MAP_ENTRY_IS_SUB_MAP) { in mac_proc_vm_revoke_recurse()
277 if (vme->eflags & (MAP_ENTRY_COW | MAP_ENTRY_NOSYNC) || in mac_proc_vm_revoke_recurse()
354 vme->eflags |= MAP_ENTRY_COW | in mac_proc_vm_revoke_recurse()

1234