/*
 * File: all.c
 *
 * MATLAB Coder version            : 3.4
 * C/C++ source code generated on  : 27-Feb-2019 07:16:32
 */

/* Include Files */
#include "rt_nonfinite.h"
#include "MLS.h"
#include "all.h"

/* Function Definitions */

/*
 * Arguments    : const boolean_T x[2]
 * Return Type  : boolean_T
 */
boolean_T all(const boolean_T x[2])
{
  boolean_T y;
  int k;
  boolean_T exitg1;
  y = true;
  k = 0;
  exitg1 = false;
  while ((!exitg1) && (k < 2)) {
    if (!x[k]) {
      y = false;
      exitg1 = true;
    } else {
      k++;
    }
  }

  return y;
}

/*
 * File trailer for all.c
 *
 * [EOF]
 */
