Home | History | Annotate | Download | only in android

Lines Matching refs:state

55     int state = 0;
59 switch (state) {
61 if (c == '+') state = 1;
62 else if (c == '0') state = 2;
67 if (c == '0') state = 3;
68 else if (c == '1') state = 4;
73 if (c == '1') state = 5;
84 return state == 1 || state == 3 || state == 5;
114 int state = 0;
118 switch (state) {
120 if (c == '+') state = 1;
121 else if (c == '0') state = 2;
126 if (c == '0') state = 3;
127 else if (c == '1') state = 4;
132 if (c == '1') state = 5;
139 if (isISODigit(c)) state = 6;
145 if (isISODigit(c)) state++;
154 return state == 6 || state == 7 || state == 8;