Searched refs:force_defaults (Results 1 - 3 of 3) sorted by relevance

/external/flatbuffers/java/com/google/flatbuffers/
H A DFlatBufferBuilder.java52 boolean force_defaults = false; // False omits default values from the serialized data. field in class:FlatBufferBuilder
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 ||
[all...]
/external/flatbuffers/php/
H A DFlatbufferBuilder.php79 * @var bool $force_defaults
81 protected $force_defaults = false; variable
401 if ($this->force_defaults || $x != $d) {
414 if ($this->force_defaults || $x != $d) {
427 if ($this->force_defaults || $x != $d) {
440 if ($this->force_defaults || $x != $d) {
453 if ($this->force_defaults || $x != $d) {
466 if ($this->force_defaults || $x != $d) {
479 if ($this->force_defaults || $x != $d) {
492 if ($this->force_defaults ||
925 $this->force_defaults = $forceDefaults; variable
[all...]
/external/flatbuffers/js/
H A Dflatbuffers.js226 this.force_defaults = false;
237 this.force_defaults = forceDefaults;
404 if (this.force_defaults || value != defaultValue) {
416 if (this.force_defaults || value != defaultValue) {
428 if (this.force_defaults || value != defaultValue) {
440 if (this.force_defaults || !value.equals(defaultValue)) {
452 if (this.force_defaults || value != defaultValue) {
464 if (this.force_defaults || value != defaultValue) {
476 if (this.force_defaults || value != defaultValue) {

Completed in 472 milliseconds