** Compute a string length that is limited to what can be stored in ** lower 30 bits of a 32-bit signed integer. */
| 973 | ** lower 30 bits of a 32-bit signed integer. |
| 974 | */ |
| 975 | static int strlen30(const char *z){ |
| 976 | const char *z2 = z; |
| 977 | while( *z2 ){ z2++; } |
| 978 | return 0x3fffffff & (int)(z2 - z); |
| 979 | } |
| 980 | |
| 981 | |
| 982 | /* zIn is either a pointer to a NULL-terminated string in memory obtained |
no outgoing calls
no test coverage detected