Home
last modified time | relevance | path

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

/external/autotest/client/tests/linus_stress/
Dlinus_stress.c10 #define CHUNKSIZE (1460) macro
11 #define NRCHUNKS (TARGETSIZE / CHUNKSIZE)
12 #define SIZE (NRCHUNKS * CHUNKSIZE)
16 memset(start, nr, CHUNKSIZE); in fillmem()
39 for (i = 0; i < CHUNKSIZE; i++) { in checkmem()
101 fillmem(mapping + chunk * CHUNKSIZE, chunk); in main()
112 checkmem(mapping + chunk * CHUNKSIZE, chunk); in main()
/external/dtc/tests/
Dincbin.c31 #define CHUNKSIZE 1024 macro
46 if (bufsize < (*len + CHUNKSIZE)) { in load_file()
47 buf = xrealloc(buf, *len + CHUNKSIZE); in load_file()
48 bufsize = *len + CHUNKSIZE; in load_file()
51 n = fread(buf + *len, 1, CHUNKSIZE, f); in load_file()
Dtestutils.c157 #define CHUNKSIZE 128 macro
/external/tremolo/Tremolo/
Dvorbisfile.c94 unsigned char *buffer=ogg_sync_bufferin(vf->oy,CHUNKSIZE); in _get_data()
95 long bytes=(vf->callbacks.read_func)(buffer,1,CHUNKSIZE,vf->datasource); in _get_data()
176 begin-=CHUNKSIZE; in _get_prev_page()
193 ret=_get_next_page(vf,og,CHUNKSIZE); in _get_prev_page()
221 if(endsearched-searched<CHUNKSIZE){ in _bisect_forward_serialno()
293 ogg_int64_t llret=_get_next_page(vf,&og,CHUNKSIZE); in _fetch_headers()
324 if(_get_next_page(vf,og_ptr,CHUNKSIZE)<0){ in _fetch_headers()
1198 if(end-begin<CHUNKSIZE){ in ov_pcm_seek_page()
1203 (target-begintime)*(end-begin)/(endtime-begintime) - CHUNKSIZE; in ov_pcm_seek_page()
1218 bisect-=CHUNKSIZE; in ov_pcm_seek_page()
[all …]
Dcodec_internal.h41 #define CHUNKSIZE 1024 macro
/external/libpcap/
Ddlpisubs.c29 #define CHUNKSIZE 65536 macro
35 #define PKTBUFSIZE CHUNKSIZE
340 chunksize = CHUNKSIZE; in pcap_conf_bufmod()
Dpcap-nit.c60 #define CHUNKSIZE (2*1024) macro
65 #define BUFSPACE (4*CHUNKSIZE)
242 nioc.nioc_chunksize = CHUNKSIZE; in nit_setflags()
Dpcap-snit.c72 #define CHUNKSIZE (2*1024) macro
77 #define BUFSPACE (4*CHUNKSIZE)
287 int chunksize = CHUNKSIZE; in pcap_activate_snit()
/external/elfutils/src/
Dstrings.c506 #define CHUNKSIZE 65536 in read_block_no_mmap() macro
507 unsigned char *buf = xmalloc (CHUNKSIZE + min_len_bytes in read_block_no_mmap()
514 MIN (fdlen, CHUNKSIZE))); in read_block_no_mmap()
/external/python/cpython2/Modules/
Dbz2module.c876 #define CHUNKSIZE 1000 in BZ2File_writelines() macro
908 list = PyList_New(CHUNKSIZE); in BZ2File_writelines()
916 for (index = 0; ; index += CHUNKSIZE) { in BZ2File_writelines()
919 list = PyList_GetSlice(seq, index, index+CHUNKSIZE); in BZ2File_writelines()
925 for (j = 0; j < CHUNKSIZE; j++) { in BZ2File_writelines()
983 if (j < CHUNKSIZE) in BZ2File_writelines()
995 #undef CHUNKSIZE in BZ2File_writelines()
/external/python/cpython2/Objects/
Dfileobject.c1893 #define CHUNKSIZE 1000 in file_writelines() macro
1919 list = PyList_New(CHUNKSIZE); in file_writelines()
1927 for (index = 0; ; index += CHUNKSIZE) { in file_writelines()
1930 list = PyList_GetSlice(seq, index, index+CHUNKSIZE); in file_writelines()
1936 for (j = 0; j < CHUNKSIZE; j++) { in file_writelines()
2002 if (j < CHUNKSIZE) in file_writelines()
2012 #undef CHUNKSIZE in file_writelines()