Home
last modified time | relevance | path

Searched refs:COPY_BUFSIZE (Results 1 - 2 of 2) sorted by relevance

/third_party/lwip/src/apps/http/makefsdata/
H A Dmakefsdata.c30 #define COPY_BUFSIZE (1024*1024) /* 1 MByte */ macro
44 #define COMP_OUT_BUF_SIZE COPY_BUFSIZE
48 #define OUT_BUF_SIZE COPY_BUFSIZE
129 static char file_buffer_c[COPY_BUFSIZE * 5 + ((COPY_BUFSIZE / HEX_BYTES_PER_LINE) * 3)];
414 buf = malloc(COPY_BUFSIZE); in copy_file()
415 while ((len = fread(buf, 1, COPY_BUFSIZE, fin)) > 0) { in copy_file()
586 LWIP_ASSERT("out_bytes <= COPY_BUFSIZE", out_bytes <= OUT_BUF_SIZE); in get_file_data()
/third_party/python/Lib/
H A Dshutil.py42 COPY_BUFSIZE = 1024 * 1024 if _WINDOWS else 64 * 1024 variable
170 def _copyfileobj_readinto(fsrc, fdst, length=COPY_BUFSIZE):
192 length = COPY_BUFSIZE
276 _copyfileobj_readinto(fsrc, fdst, min(file_size, COPY_BUFSIZE))

Completed in 5 milliseconds