Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_bsddb.c1507 DBT* dbts; in _db_associateCallback() local
1516 dbts = (DBT *)malloc(sizeof(DBT) * listlen); in _db_associateCallback()
1517 if (dbts == NULL) { in _db_associateCallback()
1538 CLEAR_DBT(dbts[i]); in _db_associateCallback()
1539 dbts[i].data = malloc(size); in _db_associateCallback()
1540 if (dbts[i].data) { in _db_associateCallback()
1541 memcpy(dbts[i].data, data, size); in _db_associateCallback()
1542 dbts[i].size = size; in _db_associateCallback()
1543 dbts[i].ulen = dbts[i].size; in _db_associateCallback()
1545 dbts[i].flags = DB_DBT_APPMALLOC; in _db_associateCallback()
[all …]