/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
D | LZWEncoder.java | 146 int fcode; in compress() local 171 for (fcode = hsize; fcode < 65536; fcode *= 2) in compress() 182 fcode = (c << maxbits) + ent; in compress() 185 if (htab[i] == fcode) { in compress() 197 if (htab[i] == fcode) { in compress() 207 htab[i] = fcode; in compress()
|
/external/libpcap/tests/ |
D | filtertest.c | 195 struct bpf_program fcode; in main() local 284 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0) in main() 287 if (!bpf_validate(fcode.bf_insns, fcode.bf_len)) in main() 301 bpf_dump(&fcode, dflag); in main()
|
D | capturetest.c | 67 struct bpf_program fcode; in main() local 164 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0) in main() 167 if (pcap_setfilter(pd, &fcode) < 0) in main()
|
D | selpolltest.c | 61 struct bpf_program fcode; in main() local 133 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0) in main() 136 if (pcap_setfilter(pd, &fcode) < 0) in main()
|
D | valgrindtest.c | 228 struct bpf_program fcode; in main() local 388 if (pcap_compile(pd, &fcode, cmdbuf, 1, 0) < 0) in main() 390 if (pcap_setfilter(pd, &fcode) < 0) in main()
|
/external/libpcap/ |
D | savefile.c | 165 pcap_freecode(&p->fcode); in sf_cleanup() 375 struct bpf_insn *fcode; in pcap_offline_read() local 407 if ((fcode = p->fcode.bf_insns) == NULL || in pcap_offline_read() 408 bpf_filter(fcode, data, h.len, h.caplen)) { in pcap_offline_read()
|
D | pcap-enet.c | 58 register struct bpf_insn *fcode = fp->bf_insns; in readloop() local 78 if (bpf_filter(fcode, (char *)ph->packet, in readloop() 92 if (bpf_filter(fcode, buf.hdr.packet, cc, caplen)) { in readloop()
|
D | pcap-septel.c | 137 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) { in septel_read()
|
D | pcap-linux.c | 433 static int fix_program(pcap_t *handle, struct sock_fprog *fcode, 436 static int set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode); 1801 if (handlep->filter_in_userland && handle->fcode.bf_insns) { 1802 if (bpf_filter_with_aux_data(handle->fcode.bf_insns, bp, 2415 struct sock_fprog fcode; local 2446 if (handle->fcode.bf_len > USHRT_MAX) { 2454 fcode.len = 0; 2455 fcode.filter = NULL; 2474 switch (fix_program(handle, &fcode, is_mmapped)) { 2527 if ((err = set_kernel_filter(handle, &fcode)) == 0) [all …]
|
D | pcap-usb-linux.c | 655 if (handle->fcode.bf_insns == NULL || in usb_read_linux() 656 bpf_filter(handle->fcode.bf_insns, handle->buffer, in usb_read_linux() 824 if (handle->fcode.bf_insns == NULL || in usb_read_linux_bin() 825 bpf_filter(handle->fcode.bf_insns, handle->buffer, in usb_read_linux_bin() 905 if (handle->fcode.bf_insns == NULL || in usb_read_linux_mmap() 906 bpf_filter(handle->fcode.bf_insns, (u_char*) hdr, in usb_read_linux_mmap()
|
D | pcap-bt-monitor-linux.c | 120 if (handle->fcode.bf_insns == NULL || in bt_monitor_read() 121 bpf_filter(handle->fcode.bf_insns, &handle->buffer[handle->offset], in bt_monitor_read()
|
D | pcap-win32.c | 276 p->fcode.bf_insns == NULL || in pcap_read_win32_npf() 277 bpf_filter(p->fcode.bf_insns, datap, bhp->bh_datalen, caplen)) { in pcap_read_win32_npf() 428 if (p->fcode.bf_insns) in pcap_read_win32_dag() 430 if (bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen) == 0) in pcap_read_win32_dag()
|
D | pcap-dbus.c | 93 if (handle->fcode.bf_insns == NULL || in dbus_read() 94 bpf_filter(handle->fcode.bf_insns, (u_char *)raw_msg, pkth.len, pkth.caplen)) { in dbus_read()
|
D | pcap-bt-linux.c | 359 if (handle->fcode.bf_insns == NULL || in bt_read_linux() 360 bpf_filter(handle->fcode.bf_insns, &handle->buffer[handle->offset], in bt_read_linux()
|
D | pcap-snoop.c | 128 if (p->fcode.bf_insns == NULL || in pcap_read_snoop() 129 bpf_filter(p->fcode.bf_insns, cp, datalen, caplen)) { in pcap_read_snoop()
|
D | pcap-dos.c | 275 (!p->fcode.bf_insns || bpf_filter(p->fcode.bf_insns, rx_buf, pcap.len, pcap.caplen))) in pcap_read_one() 418 p->fcode = *fp; in pcap_setfilter_dos() 998 pcap_save.fcode.bf_insns = NULL; in init_watt32()
|
D | pcap-snf.c | 177 if ((p->fcode.bf_insns == NULL) || in snf_read() 178 bpf_filter(p->fcode.bf_insns, req.pkt_addr, req.length, caplen)) { in snf_read()
|
D | pcap-int.h | 213 struct bpf_program fcode; member
|
D | pcap.c | 1799 pcap_freecode(&p->fcode); in pcap_cleanup_live_common() 1903 const struct bpf_insn *fcode = fp->bf_insns; in pcap_offline_filter() local 1905 if (fcode != NULL) in pcap_offline_filter() 1906 return (bpf_filter(fcode, pkt, h->len, h->caplen)); in pcap_offline_filter()
|
D | pcap-netfilter-linux.c | 186 if (handle->fcode.bf_insns == NULL || in netfilter_read_linux() 187 bpf_filter(handle->fcode.bf_insns, payload, pkth.len, pkth.caplen)) in netfilter_read_linux()
|
D | dlpisubs.c | 179 if (bpf_filter(p->fcode.bf_insns, pk, origlen, caplen)) { in pcap_process_pkts()
|
/external/ppp/pppd/include/ |
D | pcap-int.h | 95 struct bpf_program fcode; member
|
/external/pdfium/third_party/libtiff/ |
D | tif_lzw.c | 872 register long fcode; in LZWEncode() local 916 fcode = ((long)c << BITS_MAX) + ent; in LZWEncode() 926 if (hp->hash == fcode) { in LZWEncode() 945 if (hp->hash == fcode) { in LZWEncode() 968 hp->hash = fcode; in LZWEncode()
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_lzw.c | 863 register long fcode; in LZWEncode() local 906 fcode = ((long)c << BITS_MAX) + ent; in LZWEncode() 916 if (hp->hash == fcode) { in LZWEncode() 935 if (hp->hash == fcode) { in LZWEncode() 958 hp->hash = fcode; in LZWEncode()
|
/external/tcpdump/ |
D | tcpdump.c | 1009 struct bpf_program fcode; in main() local 1778 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0) in main() 1781 bpf_dump(&fcode, dflag); in main() 1850 if (pcap_setfilter(pd, &fcode) < 0) in main() 2069 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0) in main() 2071 if (pcap_setfilter(pd, &fcode) < 0) in main()
|