** Compute a string length that is limited to what can be stored in ** lower 30 bits of a 32-bit signed integer. */
| 622 | ** lower 30 bits of a 32-bit signed integer. |
| 623 | */ |
| 624 | static int strlen30(const char *z){ |
| 625 | const char *z2 = z; |
| 626 | while( *z2 ){ z2++; } |
| 627 | return 0x3fffffff & (int)(z2 - z); |
| 628 | } |
| 629 | |
| 630 | /* |
| 631 | ** Return the length of a string in characters. Multibyte UTF8 characters |
no outgoing calls
no test coverage detected