| 11389 | #endif |
| 11390 | |
| 11391 | static txBoolean fxIsInCharSet(txInteger character, const txInteger* base, txInteger count) |
| 11392 | { |
| 11393 | txInteger min = 0; |
| 11394 | txInteger max = count >> 1; |
| 11395 | while (min < max) { |
| 11396 | txInteger mid = (min + max) >> 1; |
| 11397 | txInteger begin = *(base + (mid << 1)); |
| 11398 | txInteger end = *(base + (mid << 1) + 1); |
| 11399 | if (character < begin) |
| 11400 | max = mid; |
| 11401 | else if (character >= end) |
| 11402 | min = mid + 1; |
| 11403 | else |
| 11404 | return 1; |
| 11405 | } |
| 11406 | return 0; |
| 11407 | } |
| 11408 | |
| 11409 | txInteger fxFinalSigmaToLower(txMachine* the, txInteger where, txInteger character) |
| 11410 | { |
no outgoing calls
no test coverage detected