Home
last modified time | relevance | path

Searched refs:blob_reader (Results 1 – 25 of 68) sorted by relevance

123

/aosp_15_r20/external/pigweed/pw_software_update/
H A Dupdate_bundle_test.cc148 BlobStoreOpenableReader& blob_reader() { return blob_reader_; } in blob_reader() function in pw::software_update::__anon5e93dbec0111::UpdateBundleTest
206 UpdateBundleAccessor update_bundle(blob_reader(), backend()); in TEST_F()
239 UpdateBundleAccessor update_bundle(blob_reader(), backend()); in TEST_F()
260 UpdateBundleAccessor update_bundle(blob_reader(), backend()); in TEST_F()
277 blob_reader(), backend(), /* self_verification = */ true); in TEST_F()
297 blob_reader(), backend(), /* self_verification = */ true); in TEST_F()
305 blob_reader(), backend(), /* self_verification = */ true); in TEST_F()
313 blob_reader(), backend(), /* self_verification = */ true); in TEST_F()
321 blob_reader(), backend(), /* self_verification = */ true); in TEST_F()
329 blob_reader(), backend(), /* self_verification = */ true); in TEST_F()
[all …]
/aosp_15_r20/external/mesa3d/src/mesa/state_tracker/
H A Dst_shader_cache.c127 read_stream_out_from_cache(struct blob_reader *blob_reader, in read_stream_out_from_cache() argument
131 state->stream_output.num_outputs = blob_read_uint32(blob_reader); in read_stream_out_from_cache()
133 blob_copy_bytes(blob_reader, &state->stream_output.stride, in read_stream_out_from_cache()
135 blob_copy_bytes(blob_reader, &state->stream_output.output, in read_stream_out_from_cache()
161 struct blob_reader blob_reader; in st_deserialise_nir_program() local
162 blob_reader_init(&blob_reader, buffer, size); in st_deserialise_nir_program()
168 vp->num_inputs = blob_read_uint32(&blob_reader); in st_deserialise_nir_program()
169 vp->vert_attrib_mask = blob_read_uint32(&blob_reader); in st_deserialise_nir_program()
170 blob_copy_bytes(&blob_reader, (uint8_t *) vp->result_to_output, in st_deserialise_nir_program()
177 read_stream_out_from_cache(&blob_reader, &prog->state); in st_deserialise_nir_program()
[all …]
H A Dst_program.c649 struct blob_reader blob_reader; in get_nir_shader() local
656 blob_reader_init(&blob_reader, prog->base_serialized_nir, prog->base_serialized_nir_size); in get_nir_shader()
659 blob_reader_init(&blob_reader, prog->serialized_nir, prog->serialized_nir_size); in get_nir_shader()
661 return nir_deserialize(NULL, options, &blob_reader); in get_nir_shader()
/aosp_15_r20/external/mesa3d/src/util/
H A Dblob.h83 struct blob_reader { struct
327 blob_reader_init(struct blob_reader *blob, const void *data, size_t size);
338 blob_reader_align(struct blob_reader *blob, size_t alignment);
351 blob_read_bytes(struct blob_reader *blob, size_t size);
358 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size);
364 blob_skip_bytes(struct blob_reader *blob, size_t size);
373 blob_read_uint8(struct blob_reader *blob);
385 blob_read_uint16(struct blob_reader *blob);
397 blob_read_uint32(struct blob_reader *blob);
409 blob_read_uint64(struct blob_reader *blob);
[all …]
H A Dblob.c103 blob_reader_align(struct blob_reader *blob, size_t alignment) in blob_reader_align()
251 blob_reader_init(struct blob_reader *blob, const void *data, size_t size) in blob_reader_init()
264 ensure_can_read(struct blob_reader *blob, size_t size) in ensure_can_read()
278 blob_read_bytes(struct blob_reader *blob, size_t size) in blob_read_bytes()
293 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size) in blob_copy_bytes()
305 blob_skip_bytes(struct blob_reader *blob, size_t size) in blob_skip_bytes()
313 name(struct blob_reader *blob) \
329 blob_read_string(struct blob_reader *blob) in BLOB_READ_TYPE()
H A Dregister_allocate.h43 struct blob_reader;
76 struct ra_regs *ra_set_deserialize(void *mem_ctx, struct blob_reader *blob);
/aosp_15_r20/external/mesa3d/src/compiler/glsl/
H A Dserialize.cpp71 read_subroutines(struct blob_reader *metadata, struct gl_shader_program *prog) in read_subroutines()
161 read_buffer_block(struct blob_reader *metadata, struct gl_uniform_block *b, in read_buffer_block()
191 read_buffer_blocks(struct blob_reader *metadata, in read_buffer_blocks()
268 read_atomic_buffers(struct blob_reader *metadata, in read_atomic_buffers()
358 read_xfb(struct blob_reader *metadata, struct gl_shader_program *shProg) in read_xfb()
495 read_uniforms(struct blob_reader *metadata, struct gl_shader_program *prog) in read_uniforms()
637 read_uniform_remap_table(struct blob_reader *metadata, in read_uniform_remap_table()
673 read_uniform_remap_tables(struct blob_reader *metadata, in read_uniform_remap_tables()
731 read_hash_table(struct blob_reader *metadata, struct string_to_uint_map *hash) in read_hash_table()
756 read_hash_tables(struct blob_reader *metadata, struct gl_shader_program *prog) in read_hash_tables()
[all …]
H A Dserialize.h30 struct blob_reader;
43 deserialize_glsl_program(struct blob_reader *blob, struct gl_context *ctx,
/aosp_15_r20/external/mesa3d/src/util/tests/
H A Dblob_test.cpp59 struct blob_reader reader; in TEST()
128 struct blob_reader reader; in TEST()
182 struct blob_reader reader; in TEST()
205 struct blob_reader reader; in TEST()
/aosp_15_r20/external/mesa3d/src/broadcom/vulkan/
H A Dv3dv_pipeline_cache.c170 struct blob_reader blob; in v3dv_pipeline_cache_search_for_nir()
234 struct blob_reader *blob);
323 struct blob_reader blob; in v3dv_pipeline_cache_search_for_pipeline()
506 struct blob_reader *blob) in serialized_nir_create_from_blob()
525 struct blob_reader *blob) in shader_variant_create_from_blob()
576 struct blob_reader *blob) in v3dv_pipeline_shared_data_create_from_blob()
655 struct blob_reader blob; in pipeline_cache_load()
/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A Dnir_serialize.h39 struct blob_reader *blob,
45 struct blob_reader *blob);
/aosp_15_r20/external/mesa3d/src/freedreno/ir3/
H A Dir3_disk_cache.c107 retrieve_variant(struct blob_reader *blob, struct ir3_shader_variant *v) in retrieve_variant()
149 ir3_retrieve_variant(struct blob_reader *blob, struct ir3_compiler *compiler, in ir3_retrieve_variant()
223 struct blob_reader blob; in ir3_disk_cache_retrieve()
/aosp_15_r20/external/mesa3d/src/vulkan/runtime/
H A Dvk_pipeline_cache.h37 struct blob_reader;
83 struct blob_reader *blob);
H A Dvk_pipeline_cache.c60 struct blob_reader *blob) in vk_raw_data_cache_object_deserialize()
263 struct blob_reader reader; in vk_pipeline_cache_object_deserialize()
487 struct blob_reader blob; in vk_pipeline_cache_lookup_nir()
562 struct blob_reader blob; in vk_pipeline_cache_load()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_disk_cache.c95 retrieve_variant(struct blob_reader *blob, struct etna_shader_variant *v) in retrieve_variant()
149 struct blob_reader blob; in etna_disk_cache_retrieve()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/lima/
H A Dlima_disk_cache.c122 struct blob_reader blob; in lima_vs_disk_cache_retrieve()
174 struct blob_reader blob; in lima_fs_disk_cache_retrieve()
/aosp_15_r20/external/mesa3d/src/amd/vulkan/
H A Dradv_pipeline_cache.c65 …ialize(struct radv_device *device, const void *key_data, size_t key_size, struct blob_reader *blob) in radv_shader_deserialize()
83 struct blob_reader *blob) in radv_shader_cache_deserialize()
235 struct blob_reader *blob) in radv_pipeline_cache_object_deserialize()
584 struct blob_reader blob; in radv_pipeline_cache_handle_to_nir()
H A Dradv_pipeline_cache.h77 struct blob_reader *blob);
/aosp_15_r20/external/mesa3d/src/mesa/main/
H A Dprogram_binary.c199 read_program_payload(struct gl_context *ctx, struct blob_reader *blob, in read_program_payload()
289 struct blob_reader blob; in _mesa_program_binary()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/asahi/
H A Dagx_disk_cache.c93 read_shader(struct agx_screen *screen, struct blob_reader *blob, in read_shader()
194 struct blob_reader blob; in agx_disk_cache_retrieve()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_shader.c147 struct blob_reader blob_reader; in r600_pipe_shader_create() local
148 blob_reader_init(&blob_reader, sel->nir_blob, sel->nir_blob_size); in r600_pipe_shader_create()
149 sel->nir = nir_deserialize(NULL, nir_options, &blob_reader); in r600_pipe_shader_create()
/aosp_15_r20/external/mesa3d/src/intel/vulkan_hasvk/
H A Danv_pipeline_cache.c41 struct blob_reader *blob);
222 struct blob_reader *blob) in anv_shader_bin_deserialize()
/aosp_15_r20/external/mesa3d/src/gallium/frontends/rusticl/core/
H A Dkernel.rs60 fn deserialize(blob: &mut blob_reader) -> Option<Self> { in deserialize()
194 fn deserialize(blob: &mut blob_reader) -> Option<Vec<Self>> { in deserialize()
275 fn deserialize(blob: &mut blob_reader) -> Option<Vec<Self>> { in deserialize()
509 fn deserialize(reader: &mut blob_reader, d: &Device) -> Option<Self> { in deserialize() argument
1075 let mut reader = blob_reader::default(); in deserialize()
/aosp_15_r20/external/mesa3d/src/intel/vulkan/
H A DgenX_internal_kernels.c53 struct blob_reader blob; in genX()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_disk_cache.c137 struct blob_reader blob; in panfrost_disk_cache_retrieve()

123