Home
last modified time | relevance | path

Searched refs:c_byte (Results 1 – 9 of 9) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dread_fs.c58 unsigned short c_byte; in read_block() local
63 res = read_fs_bytes(fd, start, 2, &c_byte); in read_block()
67 SQUASHFS_INSWAP_SHORTS(&c_byte, 1); in read_block()
68 compressed = SQUASHFS_COMPRESSED(c_byte); in read_block()
69 c_byte = SQUASHFS_COMPRESSED_SIZE(c_byte); in read_block()
76 if (c_byte > outlen) in read_block()
80 char buffer[c_byte]; in read_block()
83 res = read_fs_bytes(fd, start + 2, c_byte, buffer); in read_block()
87 res = compressor_uncompress(comp, block, buffer, c_byte, in read_block()
95 res = read_fs_bytes(fd, start + 2, c_byte, block); in read_block()
[all …]
Dxattr.c317 unsigned short c_byte; in get_xattr_space() local
332 c_byte = mangle(xattr_table + xattr_bytes + BLOCK_OFFSET, in get_xattr_space()
335 TRACE("Xattr block @ 0x%x, size %d\n", xattr_bytes, c_byte); in get_xattr_space()
336 SQUASHFS_SWAP_SHORTS(&c_byte, xattr_table + xattr_bytes, 1); in get_xattr_space()
337 xattr_bytes += SQUASHFS_COMPRESSED_SIZE(c_byte) + BLOCK_OFFSET; in get_xattr_space()
490 unsigned short c_byte; in write_xattrs() local
514 c_byte = mangle(xattr_table + xattr_bytes + BLOCK_OFFSET, datap, in write_xattrs()
516 TRACE("Xattr block @ 0x%x, size %d\n", xattr_bytes, c_byte); in write_xattrs()
517 SQUASHFS_SWAP_SHORTS(&c_byte, xattr_table + xattr_bytes, 1); in write_xattrs()
518 xattr_bytes += SQUASHFS_COMPRESSED_SIZE(c_byte) + BLOCK_OFFSET; in write_xattrs()
Dunsquashfs.c667 unsigned short c_byte; in read_block() local
672 if(read_fs_bytes(fd, start, 2, &c_byte) == FALSE) in read_block()
674 c_byte = (c_byte >> 8) | ((c_byte & 0xff) << 8); in read_block()
676 if(read_fs_bytes(fd, start, 2, &c_byte) == FALSE) in read_block()
680 SQUASHFS_COMPRESSED_SIZE(c_byte), SQUASHFS_COMPRESSED(c_byte) ? in read_block()
686 compressed = SQUASHFS_COMPRESSED(c_byte); in read_block()
687 c_byte = SQUASHFS_COMPRESSED_SIZE(c_byte); in read_block()
694 if(c_byte > outlen) in read_block()
698 char buffer[c_byte]; in read_block()
701 res = read_fs_bytes(fd, start + offset, c_byte, buffer); in read_block()
[all …]
Dmksquashfs.c428 int error, c_byte = 0; in mangle2() local
431 c_byte = compressor_compress(comp, strm, d, s, size, block_size, in mangle2()
433 if(c_byte == -1) in mangle2()
438 if(c_byte == 0 || c_byte >= size) { in mangle2()
444 return c_byte; in mangle2()
459 unsigned short c_byte; in get_inode() local
472 c_byte = mangle(inode_table + inode_bytes + BLOCK_OFFSET, in get_inode()
475 TRACE("Inode block @ 0x%x, size %d\n", inode_bytes, c_byte); in get_inode()
476 SQUASHFS_SWAP_SHORTS(&c_byte, inode_table + inode_bytes, 1); in get_inode()
477 inode_bytes += SQUASHFS_COMPRESSED_SIZE(c_byte) + BLOCK_OFFSET; in get_inode()
[all …]
Dprocess_fragments.c284 file_buffer->c_byte = 0; in frag_thrd()
287 file_buffer->c_byte = file_buffer->size; in frag_thrd()
Dcaches-queues-lists.h119 int c_byte; member
/external/llvm/bindings/python/llvm/
Ddisassembler.py13 from ctypes import c_byte
102 out_str = cast((c_byte * 255)(), c_char_p)
123 out_str = cast((c_byte * 255)(), c_char_p)
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c89 int *cur_index, int *offset, int *c_byte) in get_block_length() argument
114 *c_byte = temp; in get_block_length()
128 *c_byte = temp; in get_block_length()
167 unsigned int c_byte = length; in squashfs_read_data() local
169 if (c_byte) { in squashfs_read_data()
171 compressed = SQUASHFS_COMPRESSED_BLOCK(c_byte); in squashfs_read_data()
173 c_byte = SQUASHFS_COMPRESSED_SIZE_BLOCK(c_byte); in squashfs_read_data()
176 ? "" : "un", (unsigned int) c_byte); in squashfs_read_data()
181 for (b = 1; bytes < c_byte; b++) { in squashfs_read_data()
189 &c_byte))) in squashfs_read_data()
[all …]
/external/autotest/client/common_lib/
Dsmogcheck_tpm.py28 c_ubyte, c_byte, byref, c_uint16, cast, create_string_buffer, c_uint64, \
191 POINTER(c_byte)()) != 0:
372 self.hTpm, TSS_TPMCAP_VERSION_VAL, 0, POINTER(c_byte)(),
384 POINTER(c_byte)))