Searched refs:contents_size (Results 1 – 3 of 3) sorted by relevance
219 size_t contents_size = 0; in elf_from_remote_memory() local257 if (segment_end > (GElf_Off) contents_size) in elf_from_remote_memory()258 contents_size = segment_end; in elf_from_remote_memory()274 if ((GElf_Off) contents_size > segments_end in elf_from_remote_memory()275 && (GElf_Off) contents_size >= shdrs_end in elf_from_remote_memory()278 contents_size = segments_end; in elf_from_remote_memory()279 if ((GElf_Off) contents_size < shdrs_end) in elf_from_remote_memory()280 contents_size = shdrs_end; in elf_from_remote_memory()283 contents_size = segments_end; in elf_from_remote_memory()288 buffer = calloc (1, contents_size); in elf_from_remote_memory()[all …]
1466 extend contents_size and use shdrs if only file bits are in
540 uint32_t contents_size = sizeof(enum quniform_contents) * ulist_count; in shader_variant_create_from_blob() local541 const void *contents_data = blob_read_bytes(blob, contents_size); in shader_variant_create_from_blob()563 memcpy(ulist->contents, contents_data, contents_size); in shader_variant_create_from_blob()