/external/linux-kselftest/tools/testing/selftests/powerpc/copyloops/ |
D | validate.c | 12 #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/ |
D | string.c | 23 #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/ |
D | cve-2014-0196.c | 39 #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/ |
D | malloc_io.c | 108 #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/ |
D | util.c | 163 #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/ |
D | zoolib.c | 135 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()
|
D | zoolib.h | 47 #define BUFLEN 81 macro
|
/external/icu/icu4c/source/common/ |
D | locutil.cpp | 148 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/ |
D | minigzip.c | 135 #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/ |
D | minigzip.c | 135 #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/ |
D | PR5086-ambig-resolution-enum.cpp | 12 enum {BUFLEN = 128 }; in foo() enumerator 13 const char *p = rc.fun1(BUFLEN - 2, C::e1); in foo()
|
/external/oss-fuzz/projects/zlib/ |
D | minigzip_fuzzer.c | 57 #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/ |
D | doimage.c | 18 #define BUFLEN 512 macro 49 uint8_t buf[BUFLEN]; in main()
|
/external/u-boot/arch/arm/mach-orion5x/ |
D | cpu.c | 19 #define BUFLEN 16 macro
|
/external/ipsec-tools/src/racoon/ |
D | ipsec_doi.c | 4394 #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 …]
|