Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c12 #define BUFLEN (MAX_LEN+MAX_OFFSET+2*MIN_REDZONE) macro
28 memset(src, POISON, BUFLEN); in do_one()
29 memset(dst, POISON, BUFLEN); in do_one()
56 if (memcmp(dstp+len, redzone, dst+BUFLEN-(dstp+len))) { in do_one()
69 src = memalign(BUFLEN, BUFLEN); in test_copy_loop()
70 dst = memalign(BUFLEN, BUFLEN); in test_copy_loop()
71 redzone = malloc(BUFLEN); in test_copy_loop()
72 fill = malloc(BUFLEN); in test_copy_loop()
79 memset(redzone, POISON, BUFLEN); in test_copy_loop()
82 for (i = 0; i < BUFLEN; i++) in test_copy_loop()
/external/u-boot/test/lib/
Dstring.c23 #define BUFLEN (SWEEP + 33) macro
37 for (i = 0; i < BUFLEN; ++i) in init_buffer()
56 for (i = 0; i < BUFLEN; ++i) { in test_memset()
76 u8 buf[BUFLEN]; in lib_memset()
81 for (len = 1; len < BUFLEN - SWEEP; ++len) { in lib_memset()
113 for (i = 0; i < BUFLEN; ++i) { in test_memmove()
133 u8 buf1[BUFLEN]; in lib_memcpy()
134 u8 buf2[BUFLEN]; in lib_memcpy()
142 for (len = 1; len < BUFLEN - SWEEP; ++len) { in lib_memcpy()
171 u8 buf[BUFLEN]; in lib_memmove()
[all …]
/external/ltp/testcases/cve/
Dcve-2014-0196.c39 #define BUFLEN 512 macro
44 static char buf[BUFLEN];
73 SAFE_WRITE(0, slave_fd, buf, BUFLEN - 1); in overwrite_thread_fn()
74 SAFE_WRITE(0, slave_fd, buf, BUFLEN - 1); in overwrite_thread_fn()
75 SAFE_WRITE(0, slave_fd, buf, BUFLEN); in overwrite_thread_fn()
/external/jemalloc_new/test/unit/
Dmalloc_io.c108 #define BUFLEN 15 in TEST_BEGIN() macro
109 char buf[BUFLEN]; in TEST_BEGIN()
121 for (len = 1; len < BUFLEN; len++) { in TEST_BEGIN()
134 #undef BUFLEN in TEST_BEGIN()
140 #define BUFLEN 128 in TEST_BEGIN() macro
141 char buf[BUFLEN]; in TEST_BEGIN()
247 #undef BUFLEN in TEST_BEGIN()
/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.cpp148 enum { BUFLEN = 128 }; // larger than ever needed in initLocaleFromName() enumerator
150 if (id.isBogus() || id.length() >= BUFLEN) { in initLocaleFromName()
171 char buffer[BUFLEN]; in initLocaleFromName()
178 id.extract(prev, INT32_MAX, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName()
182 id.extract(prev, i - prev, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName()
/external/zlib/contrib/minigzip/
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/oss-fuzz/projects/zlib/
Dminigzip_fuzzer.c57 #define BUFLEN 16384 /* read buffer size */ macro
58 #define BUFLENW (BUFLEN * 3) /* write buffer size */
124 gz->buf = malloc(gz->write ? BUFLENW : BUFLEN); in gz_open()
196 strm->avail_in = (uint32_t)fread(gz->buf, 1, BUFLEN, gz->file); in gzread()
280 char buf[BUFLEN]; in gz_compress()
447 char buf[BUFLEN]; in LLVMFuzzerTestOneInput()
/external/arm-trusted-firmware/tools/amlogic/
Ddoimage.c18 #define BUFLEN 512 macro
49 uint8_t buf[BUFLEN]; in main()
/external/u-boot/arch/arm/mach-orion5x/
Dcpu.c19 #define BUFLEN 16 macro
/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 …]