Home
last modified time | relevance | path

Searched refs:fcode (Results 1 – 25 of 39) sorted by relevance

12

/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DLZWEncoder.java146 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/testprogs/
Dfiltertest.c209 struct bpf_program fcode; in main() local
317 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0) in main()
321 if (!bpf_validate(fcode.bf_insns, fcode.bf_len)) in main()
338 bpf_dump(&fcode, dflag); in main()
341 pcap_freecode (&fcode); in main()
Dcapturetest.c74 struct bpf_program fcode; in main() local
174 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0) in main()
177 if (pcap_setfilter(pd, &fcode) < 0) in main()
210 pcap_freecode(&fcode); in main()
Dthreadsignaltest.c188 struct bpf_program fcode; in main() local
264 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0) in main()
267 if (pcap_setfilter(pd, &fcode) < 0) in main()
305 pcap_freecode(&fcode); in main()
Dvalgrindtest.c248 struct bpf_program fcode; in main() local
409 if (pcap_compile(pd, &fcode, cmdbuf, 1, 0) < 0) in main()
411 if (pcap_setfilter(pd, &fcode) < 0) in main()
Dselpolltest.c74 struct bpf_program fcode; in main() local
154 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0) in main()
156 if (pcap_setfilter(pd, &fcode) < 0) in main()
/external/libpcap/
Dsavefile.c245 pcap_freecode(&p->fcode); in sf_cleanup()
472 struct bpf_insn *fcode; in pcap_offline_read() local
504 if ((fcode = p->fcode.bf_insns) == NULL || in pcap_offline_read()
505 bpf_filter(fcode, data, h.len, h.caplen)) { in pcap_offline_read()
Dpcap-enet.c58 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()
Dpcap-linux.c487 static int fix_program(pcap_t *handle, struct sock_fprog *fcode,
490 static int set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode);
2028 if (handlep->filter_in_userland && handle->fcode.bf_insns) {
2029 if (bpf_filter_with_aux_data(handle->fcode.bf_insns, bp,
2831 struct sock_fprog fcode; local
2862 if (handle->fcode.bf_len > USHRT_MAX) {
2870 fcode.len = 0;
2871 fcode.filter = NULL;
2890 switch (fix_program(handle, &fcode, is_mmapped)) {
2943 if ((err = set_kernel_filter(handle, &fcode)) == 0)
[all …]
Dpcap-septel.c138 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) { in septel_read()
Dpcap-usb-linux.c913 if (handle->fcode.bf_insns == NULL || in usb_read_linux()
914 bpf_filter(handle->fcode.bf_insns, handle->buffer, in usb_read_linux()
1082 if (handle->fcode.bf_insns == NULL || in usb_read_linux_bin()
1083 bpf_filter(handle->fcode.bf_insns, handle->buffer, in usb_read_linux_bin()
1164 if (handle->fcode.bf_insns == NULL || in usb_read_linux_mmap()
1165 bpf_filter(handle->fcode.bf_insns, (u_char*) hdr, in usb_read_linux_mmap()
Dpcap-bt-monitor-linux.c141 if (handle->fcode.bf_insns == NULL || in bt_monitor_read()
142 bpf_filter(handle->fcode.bf_insns, pktd, pkth.len, pkth.caplen)) { in bt_monitor_read()
Dpcap-dbus.c93 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()
Dpcap-bt-linux.c371 if (handle->fcode.bf_insns == NULL || in bt_read_linux()
372 bpf_filter(handle->fcode.bf_insns, pktd, pkth.len, pkth.caplen)) { in bt_read_linux()
Dpcap-snoop.c128 if (p->fcode.bf_insns == NULL || in pcap_read_snoop()
129 bpf_filter(p->fcode.bf_insns, cp, datalen, caplen)) { in pcap_read_snoop()
Dpcap-dos.c286 (!p->fcode.bf_insns || bpf_filter(p->fcode.bf_insns, p->buffer, pcap.len, pcap.caplen))) in pcap_read_one()
440 p->fcode = *fp; in pcap_setfilter_dos()
1030 pcap_save.fcode.bf_insns = NULL; in init_watt32()
Dpcap-snf.c179 if ((p->fcode.bf_insns == NULL) || in snf_read()
180 bpf_filter(p->fcode.bf_insns, req.pkt_addr, req.length, caplen)) { in snf_read()
Dpcap-rdmasniff.c158 if (handle->fcode.bf_insns == NULL || in rdmasniff_read()
159 bpf_filter(handle->fcode.bf_insns, pktd, pkth.len, pkth.caplen)) { in rdmasniff_read()
/external/python/cpython3/Lib/
Dprofile.py267 fcode = frame.f_code
268 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name)
/external/python/cpython2/Modules/
D_hotshot.c772 get_fileno(ProfilerObject *self, PyCodeObject *fcode) in get_fileno() argument
780 obj = PyDict_GetItem(self->filemap, fcode->co_filename); in get_fileno()
792 if (PyDict_SetItem(self->filemap, fcode->co_filename, obj)) { in get_fileno()
799 PyString_AS_STRING(fcode->co_filename)) < 0) in get_fileno()
808 obj = PyInt_FromLong(fcode->co_firstlineno); in get_fileno()
816 if (pack_define_func(self, fileno, fcode->co_firstlineno, in get_fileno()
817 PyString_AS_STRING(fcode->co_name)) < 0) { in get_fileno()
821 if (PyDict_SetItem(dict, obj, fcode->co_name)) { in get_fileno()
/external/python/cpython2/Lib/
Dprofile.py288 fcode = frame.f_code
289 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name)
/external/deqp/external/openglcts/modules/common/
DglcShaderNegativeTests.cpp176 std::string fcode = tcu::StringTemplate(fragment_source_template).specialize(args); in iterate() local
179 …ShaderProgram program(m_context.getRenderContext(), makeVtxFragSources(vcode.c_str(), fcode.c_str(… in iterate()
/external/ppp/pppd/include/
Dpcap-int.h95 struct bpf_program fcode; member
/external/tcpdump/
Dtcpdump.c1105 struct bpf_program fcode; in main() local
1764 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0) in main()
1767 bpf_dump(&fcode, dflag); in main()
1770 pcap_freecode(&fcode); in main()
1843 if (pcap_setfilter(pd, &fcode) < 0) in main()
2086 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0) in main()
2093 if (pcap_setfilter(pd, &fcode) < 0) in main()
2115 pcap_freecode(&fcode); in main()
/external/pdfium/third_party/libtiff/
Dtif_lzw.c886 register long fcode; in LZWEncode() local
930 fcode = ((long)c << BITS_MAX) + ent; in LZWEncode()
940 if (hp->hash == fcode) { in LZWEncode()
959 if (hp->hash == fcode) { in LZWEncode()
983 hp->hash = fcode; in LZWEncode()

12