Home
last modified time | relevance | path

Searched refs:BUFLEN (Results 1 – 11 of 11) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c11 #define BUFLEN (MAX_LEN+MAX_OFFSET+2*MIN_REDZONE) macro
27 memset(src, POISON, BUFLEN); in do_one()
28 memset(dst, POISON, BUFLEN); in do_one()
55 if (memcmp(dstp+len, redzone, dst+BUFLEN-(dstp+len))) { in do_one()
68 src = memalign(BUFLEN, BUFLEN); in test_copy_loop()
69 dst = memalign(BUFLEN, BUFLEN); in test_copy_loop()
70 redzone = malloc(BUFLEN); in test_copy_loop()
71 fill = malloc(BUFLEN); in test_copy_loop()
78 memset(redzone, POISON, BUFLEN); in test_copy_loop()
81 for (i = 0; i < BUFLEN; i++) in test_copy_loop()
/external/jemalloc/test/unit/
Dutil.c163 #define BUFLEN 15 in TEST_BEGIN() macro
164 char buf[BUFLEN]; in TEST_BEGIN()
176 for (len = 1; len < BUFLEN; len++) { in TEST_BEGIN()
189 #undef BUFLEN in TEST_BEGIN()
196 #define BUFLEN 128 in TEST_BEGIN() macro
197 char buf[BUFLEN]; in TEST_BEGIN()
303 #undef BUFLEN in TEST_BEGIN()
/external/ltp/pan/
Dzoolib.c135 char buf[BUFLEN]; in zoo_mark()
149 if (fgets(buf, BUFLEN, fp) == NULL) in zoo_mark()
188 char new_entry[BUFLEN]; in zoo_mark_cmdline()
210 char buf[BUFLEN]; in zoo_clear()
224 if (fgets(buf, BUFLEN, fp) == NULL) in zoo_clear()
266 char buf[BUFLEN], *s; in zoo_getpid()
277 if (fgets(buf, BUFLEN, fp) == NULL) in zoo_getpid()
Dzoolib.h47 #define BUFLEN 81 macro
/external/icu/icu4c/source/common/
Dlocutil.cpp147 enum { BUFLEN = 128 }; // larger than ever needed in initLocaleFromName() enumerator
149 if (id.isBogus() || id.length() >= BUFLEN) { in initLocaleFromName()
170 char buffer[BUFLEN]; in initLocaleFromName()
177 id.extract(prev, INT32_MAX, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName()
181 id.extract(prev, i - prev, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName()
/external/zlib/src/test/
Dminigzip.c135 #define BUFLEN 16384 macro
242 unsigned char out[BUFLEN];
251 strm->avail_out = BUFLEN;
253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
301 unsigned char out[BUFLEN];
311 strm->avail_out = BUFLEN;
313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
366 local char buf[BUFLEN];
434 local char buf[BUFLEN];
/external/python/cpython2/Modules/zlib/
Dminigzip.c135 #define BUFLEN 16384 macro
242 unsigned char out[BUFLEN];
251 strm->avail_out = BUFLEN;
253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
301 unsigned char out[BUFLEN];
311 strm->avail_out = BUFLEN;
313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
366 local char buf[BUFLEN];
434 local char buf[BUFLEN];
/external/clang/test/SemaCXX/
DPR5086-ambig-resolution-enum.cpp12 enum {BUFLEN = 128 }; in foo() enumerator
13 const char *p = rc.fun1(BUFLEN - 2, C::e1); in foo()
/external/syslinux/gpxe/src/drivers/net/
Ddavicom.c122 #define BUFLEN 1536 macro
142 unsigned char txb[BUFLEN] __attribute__ ((aligned(4)));
144 unsigned char rxb[NRXD * BUFLEN] __attribute__ ((aligned(4)));
460 rxd[i].buf1addr = (void *)virt_to_bus(&rxb[i * BUFLEN]); in davicom_init_chain()
462 rxd[i].buf1sz = BUFLEN; in davicom_init_chain()
609 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen); in davicom_poll()
Dtulip.c371 #define BUFLEN 1536 macro
437 unsigned char txb[BUFLEN];
439 unsigned char rxb[RX_RING_SIZE * BUFLEN];
928 rx_ring[i].length = cpu_to_le32(BUFLEN); in tulip_init_ring()
929 rx_ring[i].buffer1 = virt_to_le32desc(&rxb[i * BUFLEN]); in tulip_init_ring()
933 rx_ring[i-1].length = cpu_to_le32(DESC_RING_WRAP | BUFLEN); in tulip_init_ring()
950 tx_ring[1].length = cpu_to_le32(DESC_RING_WRAP | BUFLEN); in tulip_init_ring()
1179 memcpy(nic->packet, rxb + tp->cur_rx * BUFLEN, nic->packetlen); in tulip_poll()
/external/ipsec-tools/src/racoon/
Dipsec_doi.c4394 #define BUFLEN 512 macro
4398 static char buf[BUFLEN];
4451 len = snprintf( buf, BUFLEN, "%s", saddrwop2str(saddr));
4507 len = snprintf( buf, BUFLEN, "%s/%i", saddrwop2str(saddr), plen);
4513 len = snprintf( buf, BUFLEN, "%s-", saddrwop2str(saddr));
4524 len += snprintf( buf + len, BUFLEN - len, "%s", saddrwop2str(saddr));
4531 len = snprintf( buf, BUFLEN, "%s-", saddrwop2str(saddr));
4546 len += snprintf( buf + len, BUFLEN - len, "%s", saddrwop2str(saddr));
4554 if (len > BUFLEN)
4555 len = BUFLEN;
[all …]