** Compute a string length that is limited to what can be stored in ** lower 30 bits of a 32-bit signed integer. */
| 729 | ** lower 30 bits of a 32-bit signed integer. |
| 730 | */ |
| 731 | static int strlen30(const char *z){ |
| 732 | const char *z2 = z; |
| 733 | while( *z2 ){ z2++; } |
| 734 | return 0x3fffffff & (int)(z2 - z); |
| 735 | } |
| 736 | |
| 737 | /* |
| 738 | ** Return the length of a string in characters. Multibyte UTF8 characters |
no outgoing calls
no test coverage detected