Home
last modified time | relevance | path

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

/external/icing/icing/file/
Dportable-file-backed-proto-log.h972 int stored_size = GetProtoSize(metadata); in ReadProto() local
976 if (file_offset + stored_size > file_size) { in ReadProto()
983 auto buf = std::make_unique<char[]>(stored_size); in ReadProto()
984 if (!filesystem_->PRead(fd_.get(), buf.get(), stored_size, file_offset)) { in ReadProto()
988 if (IsEmptyBuffer(buf.get(), stored_size)) { in ReadProto()
992 google::protobuf::io::ArrayInputStream proto_stream(buf.get(), stored_size); in ReadProto()
1018 int stored_size = GetProtoSize(metadata); in EraseProto() local
1020 if (file_offset + stored_size > file_size) { in EraseProto()
1027 auto buf = std::make_unique<char[]>(stored_size); in EraseProto()
1046 if (!filesystem_->PRead(fd_.get(), buf.get(), stored_size, file_offset)) { in EraseProto()
[all …]
Dfile-backed-proto-log.h569 int stored_size = GetProtoSize(metadata); in ReadProto() local
572 mmapped_file.Remap(file_offset + sizeof(metadata), stored_size)); in ReadProto()
579 stored_size); in ReadProto()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.h136 unsigned stored_size; member
Dlp_setup_context.h143 unsigned stored_size; member
Dlp_setup.c128 setup->constants[i].stored_size = 0; in lp_setup_reset()
1209 if (setup->constants[i].stored_size != current_size || in try_update_scene_state()
1225 setup->constants[i].stored_size = current_size; in try_update_scene_state()
1232 setup->constants[i].stored_size = 0; in try_update_scene_state()
1238 … DIV_ROUND_UP(setup->constants[i].stored_size, lp_get_constant_buffer_stride(scene->pipe->screen)); in try_update_scene_state()