Lines Matching refs:force_defaults

52     boolean force_defaults = false; // False omits default values from the serialized data.
563 * `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the
565 * @param d A `boolean` default value to compare against when `force_defaults` is `false`.
567 public void addBoolean(int o, boolean x, boolean d) { if(force_defaults || x != d) { addBoolean(x); slot(o); } }
574 * `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the
576 * @param d A `byte` default value to compare against when `force_defaults` is `false`.
578 public void addByte (int o, byte x, int d) { if(force_defaults || x != d) { addByte (x); slot(o); } }
585 * `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the
587 * @param d A `short` default value to compare against when `force_defaults` is `false`.
589 public void addShort (int o, short x, int d) { if(force_defaults || x != d) { addShort (x); slot(o); } }
596 * `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the
598 * @param d An `int` default value to compare against when `force_defaults` is `false`.
600 public void addInt (int o, int x, int d) { if(force_defaults || x != d) { addInt (x); slot(o); } }
607 * `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the
609 * @param d A `long` default value to compare against when `force_defaults` is `false`.
611 public void addLong (int o, long x, long d) { if(force_defaults || x != d) { addLong (x); slot(o); } }
618 * `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the
620 * @param d A `float` default value to compare against when `force_defaults` is `false`.
622 public void addFloat (int o, float x, double d) { if(force_defaults || x != d) { addFloat (x); slot(o); } }
629 * `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the
631 * @param d A `double` default value to compare against when `force_defaults` is `false`.
633 public void addDouble (int o, double x, double d) { if(force_defaults || x != d) { addDouble (x); slot(o); } }
640 * `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the
642 * @param d An `offset` default value to compare against when `force_defaults` is `false`.
644 public void addOffset (int o, int x, int d) { if(force_defaults || x != d) { addOffset (x); slot(o); } }
785 this.force_defaults = forceDefaults;