HomeSort by relevance Sort by last modified time
    Searched defs:ebuf (Results 1 - 15 of 15) sorted by null

  /external/libpcap/tests/
reactivatetest.c 40 char ebuf[PCAP_ERRBUF_SIZE]; local
44 pd = pcap_open_live("lo0", 65535, 0, 1000, ebuf);
46 pd = pcap_open_live("lo", 65535, 0, 1000, ebuf);
49 ebuf);
opentest.c 55 char ebuf[PCAP_ERRBUF_SIZE]; local
117 pd = pcap_create(device, ebuf);
119 error("%s", ebuf);
162 *ebuf = '\0';
163 pd = pcap_open_live(device, 65535, 0, 1000, ebuf);
165 error("%s", ebuf);
166 else if (*ebuf)
167 warning("%s", ebuf);
capturetest.c 68 char ebuf[PCAP_ERRBUF_SIZE]; local
120 device = pcap_lookupdev(ebuf);
122 error("%s", ebuf);
124 *ebuf = '\0';
125 pd = pcap_create(device, ebuf);
127 error("%s", ebuf);
157 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) {
160 warning("%s", ebuf);
169 if (pcap_setnonblock(pd, nonblock, ebuf) == -1)
170 error("pcap_setnonblock failed: %s", ebuf);
    [all...]
selpolltest.c 62 char ebuf[PCAP_ERRBUF_SIZE]; local
116 device = pcap_lookupdev(ebuf);
118 error("%s", ebuf);
120 *ebuf = '\0';
121 pd = pcap_open_live(device, 65535, 0, 1000, ebuf);
123 error("%s", ebuf);
124 else if (*ebuf)
125 warning("%s", ebuf);
126 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) {
129 warning("%s", ebuf);
    [all...]
valgrindtest.c 215 char ebuf[PCAP_ERRBUF_SIZE]; local
272 device = pcap_lookupdev(ebuf);
275 ebuf);
302 pd = pcap_create(device, ebuf);
304 error("%s: pcap_create() failed: %s", device, ebuf);
339 *ebuf = '\0';
340 pd = pcap_open_live(device, 65535, 1, 1000, ebuf);
342 error("%s", ebuf);
343 else if (*ebuf)
344 warning("%s", ebuf);
    [all...]
  /ndk/sources/host-tools/nawk-20071023/
lex.c 538 char ebuf[300]; variable
539 char *ep = ebuf;
560 if (ep >= ebuf + sizeof ebuf)
561 ep = ebuf;
572 if (--ep < ebuf)
573 ep = ebuf + sizeof(ebuf) - 1;
  /external/iputils/ninfod/
ninfod.c 167 char ebuf[512]; local
173 for (buf = ebuf, buflen = sizeof(ebuf);
175 free(buf != ebuf ? buf : NULL), buf = NULL, buflen *= 2) {
199 free(buf != ebuf ? buf : NULL);
  /ndk/sources/android/support/src/stdio/
vfprintf.c 239 char ebuf0[3*sizeof(int)], *ebuf=&ebuf0[3*sizeof(int)], *estr; local
286 estr=fmt_u(e2<0 ? -e2 : e2, ebuf);
287 if (estr==ebuf) *--estr='0';
300 l = (p+2) + (ebuf-estr);
302 l = (s-buf) + (ebuf-estr);
308 pad(f, '0', l-(ebuf-estr)-(s-buf), 0, 0);
309 out(f, estr, ebuf-estr);
414 estr=fmt_u(e<0 ? -e : e, ebuf);
415 while(ebuf-estr<2) *--estr='0';
418 l += ebuf-estr
    [all...]
  /external/libpcap/
pcap.c 488 pcap_alloc_pcap_t(char *ebuf, size_t size)
501 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
532 pcap_create_common(const char *source, char *ebuf, size_t size)
536 p = pcap_alloc_pcap_t(ebuf, size);
542 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
815 pcap_open_offline_common(char *ebuf, size_t size)
819 p = pcap_alloc_pcap_t(ebuf, size);
826 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
1528 static char ebuf[15+10+1]; local
    [all...]
  /external/opencv/cv/src/
cvstereogc.cpp 669 GCEdge* ebuf = (GCEdge*)state->edgeBuf->data.ptr; local
692 ebuf[k].dst = 0;
693 ebuf[k].next = 0;
694 ebuf[k].weight = 0;
743 delta, delta, 0, ebuf, nedges );
746 E += icvAddTerm( var, var1, 0, INFINITY, 0, 0, ebuf, nedges );
759 E += icvAddTerm( var, var1, 0, E0a, Ea0, Eaa, ebuf, nedges );
781 E += icvAddTerm( var, var1, E00, E0a, Ea0, 0, ebuf, nedges );
792 E += icvAddTerm( var, var1, E00, E0a, Ea0, 0, ebuf, nedges );
805 E += icvAddTerm( var, var1, 0, INFINITY, 0, 0, ebuf, nedges )
    [all...]
  /external/tcpdump/
tcpdump.c 571 char ebuf[PCAP_ERRBUF_SIZE]; local
574 if (pcap_findalldevs(&devpointer, ebuf) < 0)
575 error("%s", ebuf);
1016 char ebuf[PCAP_ERRBUF_SIZE]; local
1068 if (abort_on_misalignment(ebuf, sizeof(ebuf)) < 0)
1069 error("%s", ebuf);
1186 if (pcap_findalldevs(&devpointer, ebuf) < 0)
1187 error("%s", ebuf);
    [all...]
  /external/ipsec-tools/src/racoon/
crypto_openssl.c 1213 static char ebuf[512]; local
1228 n = snprintf(ebuf + len, sizeof(ebuf) - len,
1232 if (n < 0 || n >= sizeof(ebuf) - len)
1235 if (sizeof(ebuf) < len)
1239 return ebuf;
    [all...]
  /ndk/sources/host-tools/make-3.81/
read.c 129 static long readline PARAMS ((struct ebuffer *ebuf));
132 struct ebuffer *ebuf));
306 struct ebuffer ebuf;
313 ebuf.floc.filenm = strcache_add (filename);
314 ebuf.floc.lineno = 1;
341 ebuf.fp = fopen (filename, "r");
348 if (ebuf.fp == 0 && (flags & RM_INCLUDED) && *filename != '/')
354 ebuf.fp = fopen (included, "r");
355 if (ebuf.fp)
386 if (ebuf.fp == 0
303 struct ebuffer ebuf; local
418 struct ebuffer ebuf; local
    [all...]
  /external/icu/icu4c/source/test/intltest/
regextst.cpp 204 char *ebuf = (char*)malloc(bufLen); local
205 uprv_eastrncpy((unsigned char*)ebuf, (const unsigned char*)buf, bufLen);
206 uprv_strncpy(buf, ebuf, bufLen);
207 free((void*)ebuf);
    [all...]
  /external/mksh/src/
edit.c 3493 static struct edstate ebuf; variable in typeref:struct:edstate
    [all...]

Completed in 3542 milliseconds