Lines Matching defs:Data
33 import org.graalvm.compiler.code.DataSection.Data;
39 public final class DataSection implements Iterable<Data> {
46 public abstract static class Data {
53 protected Data(int alignment, int size) {
57 // initialized in DataSection.insertData(Data)
80 // Data instances should not be used as hash map keys
95 if (obj instanceof Data) {
96 Data that = (Data) obj;
105 public static final class RawData extends Data {
120 public static final class SerializableData extends Data {
141 public static class ZeroData extends Data {
200 public static final class PackedData extends Data {
202 private final Data[] nested;
204 private PackedData(int alignment, int size, Data[] nested) {
209 public static PackedData create(Data[] nested) {
222 for (Data data : nested) {
228 private final ArrayList<Data> dataItems = new ArrayList<>();
260 * Inserts a {@link Data} item into the data section. If the item is already in the data
263 * @param data the {@link Data} item to be inserted
264 * @return a unique {@link DataSectionReference} identifying the {@link Data} item
266 public DataSectionReference insertData(Data data) {
278 * Transfers all {@link Data} from the provided other {@link DataSection} to this
285 for (Data data : other.dataItems) {
313 for (Data d : dataItems) {
376 for (Data d : dataItems) {
384 public Data findData(DataSectionReference ref) {
385 for (Data d : dataItems) {
393 public static void emit(ByteBuffer buffer, Data data, Patches patch) {
398 public Iterator<Data> iterator() {