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

/external/squashfs-tools/squashfs-tools/
H A Dxattr.c75 static unsigned int xattr_size = 0; variable
323 if((xattr_size - xattr_bytes) <
325 xattr_table = realloc(xattr_table, xattr_size +
329 xattr_size += (SQUASHFS_METADATA_SIZE << 1) + 2;
503 if((xattr_size - xattr_bytes) <
505 xattr_table = realloc(xattr_table, xattr_size +
509 xattr_size += (SQUASHFS_METADATA_SIZE << 1) + 2;
/external/selinux/libselinux/src/
H A Dselinux_restorecon.c300 ssize_t xattr_size; local
314 xattr_size = getxattr(directory, RESTORECON_LAST, xattr_value,
316 if (xattr_size < 0) {
322 sha1_buf = malloc(xattr_size * 2 + 1);
328 for (i = 0; i < (size_t)xattr_size; i++)

Completed in 76 milliseconds