MCPcopy Create free account
hub / github.com/audacity/audacity / strlen30

Function strlen30

lib-src/sqlite/shell.c:624–628  ·  view source on GitHub ↗

** Compute a string length that is limited to what can be stored in ** lower 30 bits of a 32-bit signed integer. */

Source from the content-addressed store, hash-verified

622** lower 30 bits of a 32-bit signed integer.
623*/
624static 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

Callers 15

local_getlineFunction · 0.85
appendTextFunction · 0.85
shellAddSchemaNameFunction · 0.85
output_csvFunction · 0.85
eqp_appendFunction · 0.85
eqp_render_levelFunction · 0.85
shell_callbackFunction · 0.85
set_table_nameFunction · 0.85
save_err_msgFunction · 0.85
displayLinuxIoStatsFunction · 0.85
expertDotCommandFunction · 0.85
run_schema_dump_queryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected