Home
last modified time | relevance | path

Searched refs:block_header (Results 1 – 5 of 5) sorted by relevance

/external/pcre/dist2/src/sljit/
DsljitExecAllocator.c127 struct block_header { struct
133 struct block_header header; argument
140 ((struct block_header*)(((sljit_u8*)base) + offset))
143 #define MEM_START(base) ((void*)(((sljit_u8*)base) + sizeof(struct block_header)))
144 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7) & ~7)
177 struct block_header *header; in sljit_malloc_exec()
178 struct block_header *next_header; in sljit_malloc_exec()
201 header = (struct block_header*)free_block; in sljit_malloc_exec()
212 chunk_size = (size + sizeof(struct block_header) + CHUNK_SIZE - 1) & CHUNK_MASK; in sljit_malloc_exec()
213 header = (struct block_header*)alloc_chunk(chunk_size); in sljit_malloc_exec()
[all …]
/external/xz-embedded/linux/lib/xz/
Dxz_dec_stream.c87 } block_header; member
250 if (s->block.compressed > s->block_header.compressed in dec_block()
252 > s->block_header.uncompressed) in dec_block()
265 if (s->block_header.compressed != VLI_UNKNOWN in dec_block()
266 && s->block_header.compressed in dec_block()
270 if (s->block_header.uncompressed != VLI_UNKNOWN in dec_block()
271 && s->block_header.uncompressed in dec_block()
275 s->block.hash.unpadded += s->block_header.size in dec_block()
502 s->block_header.compressed = s->vli; in dec_block_header()
504 s->block_header.compressed = VLI_UNKNOWN; in dec_block_header()
[all …]
/external/libusb/examples/
Dezusb.c436 uint8_t block_header[4]; in parse_iic() local
454 if (fread(&block_header, 1, sizeof(block_header), image) != 4) { in parse_iic()
458 data_len = (block_header[0] << 8) + block_header[1]; in parse_iic()
459 data_addr = (block_header[2] << 8) + block_header[3]; in parse_iic()
/external/libpcap/
Dsf-pcap-ng.c70 struct block_header { struct
263 struct block_header bhdr; in read_block()
294 if (bhdr.total_length < sizeof(struct block_header) + in read_block()
299 (unsigned long)(sizeof(struct block_header) + sizeof(struct block_trailer))); in read_block()
712 struct block_header *bhdrp; in pcap_ng_check_header()
873 bhdrp = (struct block_header *)p->buffer; in pcap_ng_check_header()
874 shbp = (struct section_header_block *)((u_char *)p->buffer + sizeof(struct block_header)); in pcap_ng_check_header()
/external/toybox/toys/pending/
Dxzcat.c2405 } block_header; member
2565 if (s->block.compressed > s->block_header.compressed in dec_block()
2567 > s->block_header.uncompressed) in dec_block()
2584 if (s->block_header.compressed != VLI_UNKNOWN in dec_block()
2585 && s->block_header.compressed in dec_block()
2589 if (s->block_header.uncompressed != VLI_UNKNOWN in dec_block()
2590 && s->block_header.uncompressed in dec_block()
2594 s->block.hash.unpadded += s->block_header.size in dec_block()
2806 s->block_header.compressed = s->vli; in dec_block_header()
2808 s->block_header.compressed = VLI_UNKNOWN; in dec_block_header()
[all …]