Lines Matching defs:len

9934   int (*xPutString)(void *pCtx, int addedRows, int column, const char* text, int len);
9937 int (*xPutBlob)(void *pCtx, int addedRows, int column, const void* blob, int len);
16084 #define OP_String 73 /* synopsis: r[P2]='P4' (len=P1) */
16088 #define OP_Blob 77 /* synopsis: r[P2]=P4 (len=P1) */
25707 size_t len;
25711 len = sizeof(cpuCount);
25713 sysctlbyname("hw.ncpu", &cpuCount, &len, NULL, 0);
33244 sqlite3_int64 len; /* Maximum length of output string in bytes */
33291 /* Set len to the maximum number of bytes required in the output buffer. */
33299 len = 2 * (sqlite3_int64)pMem->n + 1;
33306 len = 2 * (sqlite3_int64)pMem->n + 2;
33317 zOut = sqlite3DbMallocRaw(pMem->db, len);
33404 assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len );
35675 /* 73 */ "String" OpHelp("r[P2]='P4' (len=P1)"),
35679 /* 77 */ "Blob" OpHelp("r[P2]=P4 (len=P1)"),
43907 int len;
43912 len = strlcpy(lPath, LOCKPROXYDIR, maxLen);
43920 sqlite3_log(SQLITE_IOERR_LOCK, "proxyGetLockPath len[%d], dbLen[%d], i[%d]", len, dbLen, i);
43924 len = strlcat(lPath, "sqliteplocks", maxLen);
43927 len = strlcpy(lPath, "/tmp/", maxLen);
43931 if( lPath[len-1]!='/' ){
43932 len = strlcat(lPath, "/", maxLen);
43937 for( i=0; i<dbLen && (i+len+7)<(int)maxLen; i++){
43939 lPath[i+len] = (c=='/')?'_':c;
43941 lPath[i+len]='\0';
43951 int i, len;
43957 len = (int)strlen(lockPath);
43959 for( i=1; i<len; i++ ){
44145 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
44151 sqlite3_snprintf(sizeof(errmsg),errmsg,"read error (len %d)",(int)readLen);
44229 int len = osPread(conchFile->h, tBuf, PROXY_MAXCONCHLEN, 0);
44230 if( len<0 ){
44237 if( len>PROXY_PATHINDEX && tBuf[0]==(char)PROXY_CONCHVERSION){
44529 int len = (int)strlen(dbPath); /* Length of database filename - dbPath */
44534 *pConchPath = conchPath = (char *)sqlite3_malloc64(len + 8);
44538 memcpy(conchPath, dbPath, len+1);
44541 for( i=(len-1); i>=0; i-- ){
44548 while ( i<len ){
44555 assert( (int)strlen(conchPath) == len+7 );
44613 int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX);
44614 memcpy(dbPath, (char *)pFile->lockingContext, len + 1);
56811 u32 len; /* Length in bytes of super-journal name */
56820 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-16, &len))
56821 || len>=nSuper
56822 || len>szJ-16
56823 || len==0
56827 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, zSuper, len, szJ-16-len))
56833 for(u=0; u<len; u++){
56842 len = 0;
56844 zSuper[len] = '\0';
56845 zSuper[len+1] = '\0';
91619 ** Synopsis: r[P2]='P4' (len=P1)
91722 ** Synopsis: r[P2]=P4 (len=P1)
93175 int len; /* The length of the serialized data for the column */
93399 pDest->n = len = (t-12)/2;
93401 if( pDest->szMalloc < len+2 ){
93402 if( len>db->aLimit[SQLITE_LIMIT_LENGTH] ) goto too_big;
93404 if( sqlite3VdbeMemGrow(pDest, len+2, 0) ) goto no_mem;
93408 memcpy(pDest->z, zData, len);
93409 pDest->z[len] = 0;
93410 pDest->z[len+1] = 0;
93418 || (len = sqlite3VdbeSerialTypeLen(t))==0
93435 if( len>db->aLimit[SQLITE_LIMIT_LENGTH] ) goto too_big;
93436 rc = sqlite3VdbeMemFromBtree(pC->uc.pCursor, aOffset[p2], len, pDest);
93648 u32 len; /* Length of a field */
93816 len = (u32)pRec->n;
93817 serial_type = (len*2) + 12 + ((pRec->flags & MEM_Str)!=0);
93822 len += pRec->u.nZero;
93827 nData += len;
93909 len = i = sqlite3SmallTypeSizes[serial_type];
93916 zPayload += len;
119618 int len;
119634 len = sqlite3Strlen30(zType);
119637 memcpy(&zStmt[k], zType, len);
119638 k += len;
125034 int len;
125048 len = sqlite3_value_bytes(argv[0]);
125051 assert( len==sqlite3_value_bytes(argv[0]) );
125055 len = 0;
125057 for(z2=z; *z2; len++){
125080 p1 += len;
125110 if( p1+p2>len ){
125111 p2 = len-p1;
126114 unsigned int len = 0;
126116 len = aLen[i];
126117 if( len<=nIn && memcmp(zIn, azChar[i], len)==0 ) break;
126120 zIn += len;
126121 nIn -= len;
126126 unsigned int len = 0;
126128 len = aLen[i];
126129 if( len<=nIn && memcmp(&zIn[nIn-len],azChar[i],len)==0 ) break;
126132 nIn -= len;
244902 CODEC_STATIC int sqlite3CodecIfMemset(unsigned char *input, unsigned char val, int len){
244904 for(i = 0; i < len; i++){
246249 sqlite3_log(SQLITE_WARNING, "lock name: %s, pos: 0x%x, len: 0x%x, lock type: %s, owner: %d\n",
246274 sqlite3_log(SQLITE_WARNING, "lock name: %s, pos: 0x%x, len: 0x%x, lock type: %s, owner: %d\n",