HomeSort by relevance Sort by last modified time
    Searched refs:BLOCKSIZE (Results 1 - 22 of 22) sorted by null

  /external/ltp/testcases/kernel/io/writetest/
writetest.c 47 #define BLOCKSIZE (1024*1024)
70 for (i = 0; i < BLOCKSIZE; i++) {
81 uint8_t buf[BLOCKSIZE];
97 rv = write(fd, buf, BLOCKSIZE);
98 if (rv != BLOCKSIZE) {
116 uint8_t buf_actual[BLOCKSIZE];
117 char buf_read[BLOCKSIZE];
133 rv = read(fd, buf_read, BLOCKSIZE);
134 if (rv != BLOCKSIZE) {
138 for (n = 0; n < BLOCKSIZE; n++)
    [all...]
  /external/e2fsprogs/tests/f_badsymlinks2/
mkimage.sh 7 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)
83 echo "set_inode_field <$ino> i_size $((BLOCKSIZE + 1000))"
86 set_encrypted_symlink_len $ino $((BLOCKSIZE + 1000 - overhead))
111 mke2fs -O 'encrypt,^extents,^64bit' -b $BLOCKSIZE -I 256 image
  /external/e2fsprogs/e2fsck/
mtrace.h 106 #define BLOCKSIZE (1 << BLOCKLOG)
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/python/cpython2/Modules/_ctypes/
malloc_closure.c 14 /* BLOCKSIZE can be adjusted. Larger blocksize will take a larger memory
19 #define BLOCKSIZE _pagesize
56 count = BLOCKSIZE / sizeof(ITEM);
  /external/python/cpython3/Modules/_ctypes/
malloc_closure.c 14 /* BLOCKSIZE can be adjusted. Larger blocksize will take a larger memory
19 #define BLOCKSIZE _pagesize
56 count = BLOCKSIZE / sizeof(ITEM);
  /external/ltp/testcases/kernel/syscalls/fsync/
fsync02.c 59 #define BLOCKSIZE 8192
103 offset = i * ((BLOCKSIZE * max_block) / data_blocks);
174 f_bavail = (stat_buf.f_bavail * stat_buf.f_frsize) / BLOCKSIZE;
  /external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
ChunkedIntArray.java 270 final int BLOCKSIZE = 64;
271 int[] m_map[] = new int[BLOCKSIZE][];
272 int m_mapSize = BLOCKSIZE;
290 m_mapSize+=BLOCKSIZE;
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/compression/
CompressionTableGenerator.java 88 final static int BLOCKSIZE = 0xFF;
98 int [] offsetTable = new int [ BLOCKSIZE + 1 ];
139 boolean [] singleTagTable = new boolean [ BLOCKSIZE + 1 ];
141 for( i = 0x00; i <= BLOCKSIZE; i++ ) {
186 boolean [] unicodeTagTable = new boolean [ BLOCKSIZE + 1 ];
188 for( i = 0x00; i <= BLOCKSIZE; i++ ) {
  /bootable/recovery/updater/
blockimg.cpp 70 static constexpr size_t BLOCKSIZE = 4096;
244 return tgt_.blocks() * BLOCKSIZE - bytes_written_;
301 off64_t offset = static_cast<off64_t>(range.first) * BLOCKSIZE;
302 current_range_left_ = (range.second - range.first) * BLOCKSIZE;
480 if (!check_lseek(fd, static_cast<off64_t>(begin) * BLOCKSIZE, SEEK_SET)) {
484 size_t size = (end - begin) * BLOCKSIZE;
500 off64_t offset = static_cast<off64_t>(begin) * BLOCKSIZE;
501 size_t size = (end - begin) * BLOCKSIZE;
603 CHECK_LE((buffer_index + 1) * BLOCKSIZE, buffer.size());
606 SHA1(buffer.data() + buffer_index * BLOCKSIZE, BLOCKSIZE, digest)
    [all...]
  /external/zlib/src/contrib/untgz/
untgz.c 65 #define BLOCKSIZE 512
91 char buffer[BLOCKSIZE];
394 char fname[BLOCKSIZE];
404 len = gzread(in, &buffer, BLOCKSIZE);
411 if (len != BLOCKSIZE)
506 if (remaining < 0 || remaining >= BLOCKSIZE)
511 len = gzread(in, fname, BLOCKSIZE);
514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining)
529 unsigned int bytes = (remaining > BLOCKSIZE) ? BLOCKSIZE : remaining
    [all...]
  /external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/
s-c1.c 76 #define BLOCKSIZE (1000 * SCALABILITY_FACTOR)
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/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
s-c1.c 77 #define BLOCKSIZE (100 * SCALABILITY_FACTOR)
106 sem_t *sems[BLOCKSIZE];
179 for (i = 0; i < BLOCKSIZE; i++) {
300 for (i = 0; i < BLOCKSIZE; i++) {
  /external/python/cpython3/Lib/
tarfile.py 78 BLOCKSIZE = 512 # length of processing blocks
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
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
tarfile.py 68 BLOCKSIZE = 512 # length of processing blocks
69 RECORDSIZE = BLOCKSIZE * 20 # length of records
621 self.buf = self.fileobj.read(BLOCKSIZE)
646 blocksize = 16 * 1024 variable in class:_BZ2Proxy
668 raw = self.fileobj.read(self.blocksize)
783 blocksize = 1024 variable in class:ExFileObject
835 buf = self.fileobj.read(self.blocksize)
    [all...]
  /external/python/cpython2/Lib/
tarfile.py 68 BLOCKSIZE = 512 # length of processing blocks
69 RECORDSIZE = BLOCKSIZE * 20 # length of records
629 self.buf = self.fileobj.read(BLOCKSIZE)
654 blocksize = 16 * 1024 variable in class:_BZ2Proxy
676 raw = self.fileobj.read(self.blocksize)
797 blocksize = 1024 variable in class:ExFileObject
849 buf = self.fileobj.read(self.blocksize)
    [all...]
  /external/ImageMagick/coders/
djvu.c 148 #define BLOCKSIZE 65536
153 int blocksize = BLOCKSIZE;
154 char data[BLOCKSIZE];
158 while ((size = (size_t) ReadBlob(image,(size_t) blocksize,data)) == blocksize) {
171 size_t blocksize = BLOCKSIZE;
172 unsigned char data[BLOCKSIZE];
179 && (size = (size_t) ReadBlob(image,(size_t) blocksize,data)) == blocksize)
168 size_t blocksize = BLOCKSIZE; local
    [all...]
  /external/python/cpython3/Modules/
arraymodule.c     [all...]
  /frameworks/av/media/libaudioclient/include/media/
AudioMixer.h 460 // TODO: remove BLOCKSIZE unit of processing - it isn't needed anymore.
461 static constexpr int BLOCKSIZE = 16;
  /frameworks/av/media/libaudioprocessing/
AudioMixer.cpp     [all...]
  /external/python/cpython3/Lib/test/
test_tarfile.py 782 # the '9' represents the blocksize (900,000 bytes). If the file was
783 # compressed using another blocksize autodetection fails.
787 # Compress with blocksize 100,000 bytes, the file starts with "BZh11".
    [all...]
  /external/guice/extensions/persist/lib/
db4o-6.4.14.8131-java5.jar 
  /external/grpc-grpc-java/netty/shaded/
grpc-netty-shaded-1.14.0.jar 

Completed in 920 milliseconds