Home
last modified time | relevance | path

Searched refs:zKey (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libsqlite/src/
H A Dattach.c100 char *zKey = 0; in sqliteAttach() local
103 sqliteSetNString(&zKey, pKey->z, pKey->n, 0); in sqliteAttach()
104 sqliteDequote(zKey); in sqliteAttach()
105 nKey = strlen(zKey); in sqliteAttach()
107 zKey = 0; in sqliteAttach()
110 sqliteCodecAttach(db, db->nDb-1, zKey, nKey); in sqliteAttach()
H A DvdbeInt.h93 char *zKey; /* The key by which we will sort */ member
182 char *zKey; /* The key to this AggElem */ member
H A Dvdbe.c163 static int AggInsert(Agg *p, char *zKey, int nKey){ in AggInsert() argument
170 pElem->zKey = (char*)&pElem->aMem[p->nMem]; in AggInsert()
171 memcpy(pElem->zKey, zKey, nKey); in AggInsert()
173 pOld = sqliteHashInsert(&p->hash, pElem->zKey, pElem->nKey, pElem); in AggInsert()
372 int c = sqliteSortCompare(pLeft->zKey, pRight->zKey); in Merge()
2710 char *zKey; /* The value of K */ in sqliteVdbeExec() local
2716 zKey = pNos->z; in sqliteVdbeExec()
2724 rc = sqliteBtreeMoveto(pCrsr, zKey, nKey-4, &res); in sqliteVdbeExec()
2733 rc = sqliteBtreeKeyCompare(pCrsr, zKey, nKey-4, 4, &res); in sqliteVdbeExec()
2937 char *zKey; in sqliteVdbeExec() local
[all …]
H A Dbtree.c1343 const char *zKey = (const char*)pKey; in fileBtreeKeyCompare() local
1354 c = memcmp(pCell->aPayload, zKey, n); in fileBtreeKeyCompare()
1359 zKey += n; in fileBtreeKeyCompare()
1377 c = memcmp(pOvfl->aPayload, zKey, n); in fileBtreeKeyCompare()
1385 zKey += n; in fileBtreeKeyCompare()
H A Dvdbeaux.c666 sqliteFree(pSorter->zKey); in sqliteVdbeSorterReset()
/titanic_41/usr/src/cmd/sqlite/
H A Dshell.c197 char *zKey; /* Encryption key */ member
523 int n = p->zKey ? strlen(p->zKey) : 0; in open_db()
524 db = p->db = sqlite_open_encrypted(p->zDbFilename, p->zKey, n, 0, &zErrMsg); in open_db()
801 char *zOld = p->zKey; in do_meta_command()
808 sqlite_freemem(p->zKey); in do_meta_command()
809 p->zKey = sqlite_mprintf("%s", azArg[2]); in do_meta_command()
810 sqlite_rekey(p->db, p->zKey, strlen(p->zKey)); in do_meta_command()
1252 data.zKey = sqlite_mprintf("%s",argv[i]); in main()