Home
last modified time | relevance | path

Searched refs:BLOCKSIZE (Results 1 – 19 of 19) sorted by relevance

/external/ltp/testcases/kernel/io/writetest/
Dwritetest.c47 #define BLOCKSIZE (1024*1024) macro
70 for (i = 0; i < BLOCKSIZE; i++) { in buf_fill()
81 uint8_t buf[BLOCKSIZE]; in write_file()
97 rv = write(fd, buf, BLOCKSIZE); in write_file()
98 if (rv != BLOCKSIZE) { in write_file()
116 uint8_t buf_actual[BLOCKSIZE]; in verify_file()
117 char buf_read[BLOCKSIZE]; in verify_file()
133 rv = read(fd, buf_read, BLOCKSIZE); in verify_file()
134 if (rv != BLOCKSIZE) { in verify_file()
138 for (n = 0; n < BLOCKSIZE; n++) { in verify_file()
[all …]
/external/e2fsprogs/tests/f_badsymlinks2/
Dmkimage.sh7 BLOCKSIZE=4096
73 symlink $((BLOCKSIZE - 1 - overhead)) $dir/slow_max > /dev/null
75 ino=$(symlink $((BLOCKSIZE - 1 - overhead)) $dir/one_too_long)
76 echo "set_inode_field <$ino> i_size $BLOCKSIZE"
79 set_encrypted_symlink_len $ino $((BLOCKSIZE - overhead))
82 ino=$(symlink $((BLOCKSIZE - 1 - overhead)) $dir/too_long)
86 set_encrypted_symlink_len $ino $((BLOCKSIZE + 1000 - overhead))
111 mke2fs -O 'encrypt,^extents,^64bit' -b $BLOCKSIZE -I 256 image
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/compression/
DCompressionTableGenerator.java88 final static int BLOCKSIZE = 0xFF; field in CompressionTableGenerator
98 int [] offsetTable = new int [ BLOCKSIZE + 1 ]; in printOffsetTable()
139 boolean [] singleTagTable = new boolean [ BLOCKSIZE + 1 ]; in printSingleTagTable()
141 for( i = 0x00; i <= BLOCKSIZE; i++ ) { in printSingleTagTable()
186 boolean [] unicodeTagTable = new boolean [ BLOCKSIZE + 1 ]; in printUnicodeTagTable()
188 for( i = 0x00; i <= BLOCKSIZE; i++ ) { in printUnicodeTagTable()
/external/e2fsprogs/e2fsck/
Dmtrace.h106 #define BLOCKSIZE (1 << BLOCKLOG) macro
107 #define BLOCKIFY(SIZE) (((SIZE) + BLOCKSIZE - 1) / BLOCKSIZE)
154 #define BLOCK(A) (((char *) (A) - _heapbase) / BLOCKSIZE + 1)
155 #define ADDRESS(B) ((__ptr_t) (((B) - 1) * BLOCKSIZE + _heapbase))
/external/zlib/src/contrib/untgz/
Duntgz.c65 #define BLOCKSIZE 512 macro
91 char buffer[BLOCKSIZE];
394 char fname[BLOCKSIZE]; in tar()
404 len = gzread(in, &buffer, BLOCKSIZE); in tar()
411 if (len != BLOCKSIZE) in tar()
506 if (remaining < 0 || remaining >= BLOCKSIZE) in tar()
511 len = gzread(in, fname, BLOCKSIZE); in tar()
514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar()
529 unsigned int bytes = (remaining > BLOCKSIZE) ? BLOCKSIZE : remaining; in tar()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DChunkedIntArray.java270 final int BLOCKSIZE = 64; field in ChunkedIntArray.ChunksVector
271 int[] m_map[] = new int[BLOCKSIZE][];
272 int m_mapSize = BLOCKSIZE;
290 m_mapSize+=BLOCKSIZE; in addElement()
/external/ltp/testcases/kernel/syscalls/fsync/
Dfsync02.c59 #define BLOCKSIZE 8192 macro
103 offset = i * ((BLOCKSIZE * max_block) / data_blocks); in main()
174 f_bavail = (stat_buf.f_bavail * stat_buf.f_frsize) / BLOCKSIZE; in setup()
/external/python/cpython3/Lib/
Dtarfile.py78 BLOCKSIZE = 512 # length of processing blocks variable
79 RECORDSIZE = BLOCKSIZE * 20 # length of records
587 self.buf = self.fileobj.read(BLOCKSIZE)
943 buf = struct.pack("%ds" % BLOCKSIZE, b"".join(parts))
944 chksum = calc_chksums(buf[-BLOCKSIZE:])[0]
953 blocks, remainder = divmod(len(payload), BLOCKSIZE)
955 payload += (BLOCKSIZE - remainder) * NUL
1032 if len(buf) != BLOCKSIZE:
1034 if buf.count(NUL) == BLOCKSIZE:
1094 buf = tarfile.fileobj.read(BLOCKSIZE)
[all …]
/external/python/cpython3/Modules/_ctypes/
Dmalloc_closure.c19 #define BLOCKSIZE _pagesize macro
56 count = BLOCKSIZE / sizeof(ITEM); in more_core()
/external/python/cpython2/Modules/_ctypes/
Dmalloc_closure.c19 #define BLOCKSIZE _pagesize macro
56 count = BLOCKSIZE / sizeof(ITEM); in more_core()
/external/python/cpython2/Lib/
Dtarfile.py68 BLOCKSIZE = 512 # length of processing blocks variable
69 RECORDSIZE = BLOCKSIZE * 20 # length of records
629 self.buf = self.fileobj.read(BLOCKSIZE)
1136 buf = struct.pack("%ds" % BLOCKSIZE, "".join(parts))
1137 chksum = calc_chksums(buf[-BLOCKSIZE:])[0]
1146 blocks, remainder = divmod(len(payload), BLOCKSIZE)
1148 payload += (BLOCKSIZE - remainder) * NUL
1206 if len(buf) != BLOCKSIZE:
1208 if buf.count(NUL) == BLOCKSIZE:
1251 buf = tarfile.fileobj.read(BLOCKSIZE)
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/
Ds-c1.c76 #define BLOCKSIZE (1000 * SCALABILITY_FACTOR) macro
78 #define NSEM_LIMIT (1000 * BLOCKSIZE)
107 sem_t sems[BLOCKSIZE];
179 for (i = 0; i < BLOCKSIZE; i++) {
290 for (i = 0; i < BLOCKSIZE; i++) {
/external/ImageMagick/coders/
Ddjvu.c145 #define BLOCKSIZE 65536 macro
150 int blocksize = BLOCKSIZE;
151 char data[BLOCKSIZE];
168 size_t blocksize = BLOCKSIZE; in pump_data_until_message()
169 unsigned char data[BLOCKSIZE]; in pump_data_until_message()
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
Ds-c1.c77 #define BLOCKSIZE (100 * SCALABILITY_FACTOR) macro
106 sem_t *sems[BLOCKSIZE];
179 for (i = 0; i < BLOCKSIZE; i++) { in main()
300 for (i = 0; i < BLOCKSIZE; i++) { in main()
/external/python/cpython3/Modules/
Darraymodule.c1492 int BLOCKSIZE = 64*1024; in array_array_tofile() local
1493 Py_ssize_t nblocks = (nbytes + BLOCKSIZE - 1) / BLOCKSIZE; in array_array_tofile()
1500 char* ptr = self->ob_item + i*BLOCKSIZE; in array_array_tofile()
1501 Py_ssize_t size = BLOCKSIZE; in array_array_tofile()
1505 if (i*BLOCKSIZE + size > nbytes) in array_array_tofile()
1506 size = nbytes - i*BLOCKSIZE; in array_array_tofile()
/external/python/cpython2/Doc/library/
Dcd.rst74 .. data:: BLOCKSIZE
/external/python/cpython3/Lib/test/
Dtest_tarfile.py1063 t.size = tarfile.RECORDSIZE - tarfile.BLOCKSIZE
/external/guice/extensions/persist/lib/
Ddb4o-6.4.14.8131-java5.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/db4o/ com/ ...
/external/grpc-grpc-java/netty/shaded/
Dgrpc-netty-shaded-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...