/openbsd-src/usr.sbin/tcpdump/ |
H A D | privsep_pcap.c | 58 struct bpf_program fcode; in setfilter() local 78 if (pcap_compile(&hpcap, &fcode, filter, oflag, netmask)) in setfilter() 82 if (bpfd >= 0 && ioctl(bpfd, BIOCSETF, &fcode) == -1) { in setfilter() 85 pcap_freecode(&fcode); in setfilter() 88 if (fcode.bf_len > 0) { in setfilter() 90 must_write(sock, &fcode.bf_len, sizeof(fcode.bf_len)); in setfilter() 91 must_write(sock, fcode.bf_insns, in setfilter() 92 fcode.bf_len * sizeof(struct bpf_insn)); in setfilter() 95 pcap_freecode(&fcode); in setfilter() 100 pcap_freecode(&fcode); in setfilter() [all …]
|
H A D | tcpdump.c | 215 struct bpf_program *fcode; in main() local 478 fcode = priv_pcap_setfilter(pd, Oflag, netmask); in main() 480 if (fcode == NULL) in main() 483 bpf_dump(fcode, dflag); in main()
|
/openbsd-src/usr.bin/fgen/ |
H A D | fgen.l | 71 static struct fcode *dictionary = NULL; 328 static int fadd(struct fcode *, struct fcode *); 329 static struct fcode *flookup(struct fcode *, const char *); 346 static struct fcode fcodes[] = { 833 fadd(struct fcode *dict, struct fcode *new) 874 static struct fcode * 875 flookup(struct fcode *dict, const char *str) 959 struct fcode *code = fcodes; 1104 struct fcode *fcode; 1257 fcode = emalloc(sizeof(*fcode)); [all …]
|
H A D | fgen.h | 46 struct fcode { struct 50 struct fcode *l; argument 51 struct fcode *r; argument
|
/openbsd-src/sys/arch/sparc64/stand/bootblk/ |
H A D | genassym.sh | 33 fcode=0 # generate Forth code 50 fcode=1 198 ' ccode="$ccode" fcode="$fcode" > "${genassym_temp}/assym.c" || exit 1 203 elif [ "$fcode" = 1 ]; then
|
/openbsd-src/gnu/gcc/gcc/ |
H A D | convert.c | 131 enum built_in_function fcode = builtin_mathfn_code (expr); in convert_to_real() local 141 switch (fcode) in convert_to_real() 196 tree fn = mathfn_built_in (newtype, fcode); in convert_to_real() 212 && (((fcode == BUILT_IN_FLOORL in convert_to_real() 213 || fcode == BUILT_IN_CEILL in convert_to_real() 214 || fcode == BUILT_IN_ROUNDL in convert_to_real() 215 || fcode == BUILT_IN_RINTL in convert_to_real() 216 || fcode == BUILT_IN_TRUNCL in convert_to_real() 217 || fcode == BUILT_IN_NEARBYINTL) in convert_to_real() 220 || ((fcode == BUILT_IN_FLOOR in convert_to_real() [all …]
|
H A D | builtins.c | 1625 fcode = BUILT_IN_MATHFN; fcodef = BUILT_IN_MATHFN##F ; \ 1633 enum built_in_function fcode, fcodef, fcodel; in mathfn_built_in() local 1721 return implicit_built_in_decls[fcode]; in mathfn_built_in() 3433 enum built_in_function fcode; in expand_builtin_memset() local 3527 fcode = DECL_FUNCTION_CODE (fndecl); in expand_builtin_memset() 3528 gcc_assert (fcode == BUILT_IN_MEMSET || fcode == BUILT_IN_BZERO); in expand_builtin_memset() 3530 if (fcode == BUILT_IN_MEMSET) in expand_builtin_memset() 5666 enum built_in_function fcode = DECL_FUNCTION_CODE (fndecl); in expand_builtin() local 5677 && fcode != BUILT_IN_ALLOCA) in expand_builtin() 5710 switch (fcode) in expand_builtin() [all …]
|
H A D | tree-ssa-ccp.c | 2537 enum built_in_function fcode; in execute_fold_all_builtins() local 2550 fcode = DECL_FUNCTION_CODE (callee); in execute_fold_all_builtins() 2607 || DECL_FUNCTION_CODE (callee) == fcode) in execute_fold_all_builtins()
|
/openbsd-src/sys/net/ |
H A D | bsd-comp.c | 108 u_int32_t fcode; member 461 u_int32_t accm = 0, fcode; in bsd_compress() local 562 fcode = BSD_KEY(ent, c); in bsd_compress() 569 if (dictp->f.fcode == fcode) { in bsd_compress() 583 } while (dictp->f.fcode != fcode); in bsd_compress() 605 dictp->f.fcode = fcode; in bsd_compress() 671 u_int32_t fcode; in bsd_incomp() local 707 fcode = BSD_KEY(ent, c); in bsd_incomp() 714 if (dictp->f.fcode == fcode) { in bsd_incomp() 728 } while (dictp->f.fcode != fcode); in bsd_incomp() [all …]
|
H A D | bpf.c | 148 struct bpf_insn *fcode = NULL; in bpf_movein() local 247 fcode = bps->bps_bf.bf_insns; in bpf_movein() 248 slen = bpf_filter(fcode, mtod(m, u_char *), len, len); in bpf_movein() 1119 struct bpf_insn *fcode; 1133 fcode = mallocarray(flen, sizeof(*fp->bf_insns), M_DEVBUF, in bpf_setf() 1135 if (fcode == NULL) in bpf_setf() 1139 if (copyin(fp->bf_insns, fcode, size) != 0 || in bpf_setf() 1140 bpf_validate(fcode, (int)flen) == 0) { in bpf_setf() 1141 free(fcode, M_DEVBUF, size); in bpf_setf() 1148 bps->bps_bf.bf_insns = fcode; in bpf_setf() 1124 struct bpf_insn *fcode; bpf_setf() local 1372 struct bpf_insn *fcode = NULL; _bpf_mtap() local [all...] |
/openbsd-src/lib/libpcap/ |
H A D | pcap-bpf.c | 358 pcap_freecode(&p->fcode); in pcap_cleanup_bpf() 906 if (p->fcode.bf_insns != NULL) in pcap_setfilter() 907 pcap_freecode(&p->fcode); in pcap_setfilter() 908 p->fcode.bf_len = fp->bf_len; in pcap_setfilter() 909 p->fcode.bf_insns = reallocarray(NULL, in pcap_setfilter() 911 if (p->fcode.bf_insns == NULL) { in pcap_setfilter() 916 memcpy(p->fcode.bf_insns, fp->bf_insns, in pcap_setfilter()
|
H A D | savefile.c | 361 struct bpf_insn *fcode = p->fcode.bf_insns; in pcap_offline_read() local 392 if (fcode == NULL || in pcap_offline_read() 393 bpf_filter(fcode, p->buffer, h.len, h.caplen)) { in pcap_offline_read()
|
H A D | pcap.c | 664 struct bpf_insn *fcode = fp->bf_insns; in pcap_offline_filter() local 666 if (fcode != NULL) in pcap_offline_filter() 667 return (bpf_filter(fcode, pkt, h->len, h->caplen)); in pcap_offline_filter()
|
H A D | pcap-int.h | 110 struct bpf_program fcode; member
|
/openbsd-src/games/backgammon/common_source/ |
H A D | table.c | 44 int fcode; member 165 switch (atmata[i].fcode) { in dotable()
|
/openbsd-src/gnu/usr.bin/perl/cpan/Pod-Checker/lib/Pod/ |
H A D | Checker.pm | 812 # Check for an fcode inside another of the same fcode 1036 my ($self, $fcode) = @_; 1037 unshift @{$self->{'_fcode_stack'}}, $fcode; 1047 $self->_check_fcode(shift @{$self->{'_fcode_stack'}}, # current fcode removed
|
/openbsd-src/gnu/gcc/gcc/cp/ |
H A D | call.c | 590 enum tree_code fcode, tcode; in standard_conversion() local 612 fcode = TREE_CODE (from); in standard_conversion() 616 if (fcode == FUNCTION_TYPE || fcode == ARRAY_TYPE) in standard_conversion() 619 fcode = TREE_CODE (from); in standard_conversion() 631 fcode = TREE_CODE (from); in standard_conversion() 638 if (tcode == COMPLEX_TYPE && fcode == COMPLEX_TYPE) in standard_conversion() 663 else if ((tcode == INTEGER_TYPE && fcode == POINTER_TYPE) in standard_conversion() 664 || (tcode == POINTER_TYPE && fcode == INTEGER_TYPE)) in standard_conversion() 671 else if (tcode == ENUMERAL_TYPE && fcode == INTEGER_TYPE) in standard_conversion() 678 else if ((tcode == POINTER_TYPE && fcode == POINTER_TYPE) in standard_conversion() [all …]
|
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/ |
H A D | call.c | 742 enum tree_code fcode, tcode; local 765 fcode = TREE_CODE (from); 770 if (fcode == FUNCTION_TYPE) 773 fcode = TREE_CODE (from); 776 else if (fcode == ARRAY_TYPE) 779 fcode = TREE_CODE (from); 786 if (tcode == COMPLEX_TYPE && fcode == COMPLEX_TYPE) 813 else if ((tcode == INTEGER_TYPE && fcode == POINTER_TYPE) 814 || (tcode == POINTER_TYPE && fcode == INTEGER_TYPE)) 821 else if (tcode == ENUMERAL_TYPE && fcode == INTEGER_TYPE [all …]
|
/openbsd-src/gnu/gcc/gcc/config/frv/ |
H A D | frv.c | 9221 unsigned fcode = (unsigned)DECL_FUNCTION_CODE (fndecl); in frv_expand_builtin() local 9225 if (fcode < FRV_BUILTIN_FIRST_NONMEDIA && !TARGET_MEDIA) in frv_expand_builtin() 9231 switch (fcode) in frv_expand_builtin() 9318 switch (fcode) in frv_expand_builtin() 9382 if (d->code == fcode) in frv_expand_builtin() 9386 if (d->code == fcode) in frv_expand_builtin() 9390 if (d->code == fcode) in frv_expand_builtin() 9394 if (d->code == fcode) in frv_expand_builtin() 9398 if (d->code == fcode) in frv_expand_builtin() 9402 if (d->code == fcode) in frv_expand_builtin() [all …]
|
/openbsd-src/gnu/usr.bin/gcc/gcc/config/rs6000/ |
H A D | rs6000.c | 4525 unsigned int fcode = DECL_FUNCTION_CODE (fndecl); local 4531 switch (fcode) 4581 unsigned int fcode = DECL_FUNCTION_CODE (fndecl); local 4587 switch (fcode) 4635 unsigned int fcode = DECL_FUNCTION_CODE (fndecl); local 4647 if (d->code == fcode) 4705 unsigned int fcode = DECL_FUNCTION_CODE (fndecl); local 4721 switch (fcode) 4798 if (d->code == fcode) 4804 if (dp->code == fcode) [all …]
|
/openbsd-src/gnu/gcc/gcc/config/bfin/ |
H A D | bfin.c | 4245 unsigned int fcode = DECL_FUNCTION_CODE (fndecl); in bfin_expand_builtin() local 4250 switch (fcode) in bfin_expand_builtin() 4263 icode = (fcode == BFIN_BUILTIN_DIFFHL_2X16 in bfin_expand_builtin() 4341 tmp1 = (fcode == BFIN_BUILTIN_CPLX_MAC_16 ? const1_rtx : const0_rtx); in bfin_expand_builtin() 4342 tmp2 = (fcode == BFIN_BUILTIN_CPLX_MAC_16 ? const0_rtx : const1_rtx); in bfin_expand_builtin() 4355 if (d->code == fcode) in bfin_expand_builtin() 4360 if (d->code == fcode) in bfin_expand_builtin()
|
/openbsd-src/gnu/gcc/gcc/config/rs6000/ |
H A D | rs6000-c.c | 2485 unsigned int fcode = DECL_FUNCTION_CODE (fndecl); in altivec_resolve_overloaded_builtin() local 2491 if (fcode < ALTIVEC_BUILTIN_OVERLOADED_FIRST in altivec_resolve_overloaded_builtin() 2492 || fcode > ALTIVEC_BUILTIN_OVERLOADED_LAST) in altivec_resolve_overloaded_builtin() 2552 if (fcode == ALTIVEC_BUILTIN_VEC_STEP) in altivec_resolve_overloaded_builtin() 2561 desc->code && desc->code != fcode; desc++) in altivec_resolve_overloaded_builtin() 2566 for (; desc->code == fcode; desc++) in altivec_resolve_overloaded_builtin()
|
H A D | rs6000.c | 7121 unsigned int fcode = DECL_FUNCTION_CODE (fndecl); in altivec_expand_ld_builtin() local 7127 switch (fcode) in altivec_expand_ld_builtin() 7175 unsigned int fcode = DECL_FUNCTION_CODE (fndecl); in altivec_expand_st_builtin() local 7181 switch (fcode) in altivec_expand_st_builtin() 7227 unsigned int fcode = DECL_FUNCTION_CODE (fndecl); in altivec_expand_dst_builtin() local 7239 if (d->code == fcode) in altivec_expand_dst_builtin() 7400 unsigned int fcode = DECL_FUNCTION_CODE (fndecl); in altivec_expand_builtin() local 7402 if (fcode >= ALTIVEC_BUILTIN_OVERLOADED_FIRST in altivec_expand_builtin() 7403 && fcode <= ALTIVEC_BUILTIN_OVERLOADED_LAST) in altivec_expand_builtin() 7424 switch (fcode) in altivec_expand_builtin() [all …]
|
/openbsd-src/gnu/gcc/gcc/config/arm/ |
H A D | arm.c | 12718 int fcode = DECL_FUNCTION_CODE (fndecl); in arm_expand_builtin() local 12725 switch (fcode) in arm_expand_builtin() 12733 icode = (fcode == ARM_BUILTIN_TEXTRMSB ? CODE_FOR_iwmmxt_textrmsb in arm_expand_builtin() 12734 : fcode == ARM_BUILTIN_TEXTRMUB ? CODE_FOR_iwmmxt_textrmub in arm_expand_builtin() 12735 : fcode == ARM_BUILTIN_TEXTRMSH ? CODE_FOR_iwmmxt_textrmsh in arm_expand_builtin() 12736 : fcode == ARM_BUILTIN_TEXTRMUH ? CODE_FOR_iwmmxt_textrmuh in arm_expand_builtin() 12768 icode = (fcode == ARM_BUILTIN_TINSRB ? CODE_FOR_iwmmxt_tinsrb in arm_expand_builtin() 12769 : fcode == ARM_BUILTIN_TINSRH ? CODE_FOR_iwmmxt_tinsrh in arm_expand_builtin() 12864 icode = (fcode == ARM_BUILTIN_WMACS ? CODE_FOR_iwmmxt_wmacs in arm_expand_builtin() 12865 : fcode == ARM_BUILTIN_WMACU ? CODE_FOR_iwmmxt_wmacu in arm_expand_builtin() [all …]
|
/openbsd-src/gnu/usr.bin/gcc/gcc/config/frv/ |
H A D | frv.c | 9632 unsigned fcode = (unsigned)DECL_FUNCTION_CODE (fndecl); local 9642 switch (fcode) 9689 switch (fcode) 9722 if (d->code == fcode) 9726 if (d->code == fcode) 9730 if (d->code == fcode) 9734 if (d->code == fcode) 9741 if (d->code == fcode) 9749 if (d->code == fcode) 9757 if (d->code == fcode) [all …]
|