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

Function zipfileGetTime

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

** Return a 32-bit timestamp in UNIX epoch format. ** ** If the value passed as the only argument is either NULL or an SQL NULL, ** return the current time. Otherwise, return the value stored in (*pVal) ** cast to a 32-bit unsigned integer. */

Source from the content-addressed store, hash-verified

7384** cast to a 32-bit unsigned integer.
7385*/
7386static u32 zipfileGetTime(sqlite3_value *pVal){
7387 if( pVal==0 || sqlite3_value_type(pVal)==SQLITE_NULL ){
7388 return zipfileTime();
7389 }
7390 return (u32)sqlite3_value_int64(pVal);
7391}
7392
7393/*
7394** Unless it is NULL, entry pOld is currently part of the pTab->pFirstEntry

Callers 2

zipfileUpdateFunction · 0.85
zipfileStepFunction · 0.85

Calls 1

zipfileTimeFunction · 0.85

Tested by

no test coverage detected