Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/bsddb/test/
Dtest_associate.py303 def getGenre(self, priKey, priData): argument
304 self.assertEqual(type(priData), type(""))
305 genre = priData.split('|')[2]
308 print 'getGenre key: %r data: %r' % (priKey, priData)
393 def getGenre(self, priKey, priData): argument
394 self.assertEqual(type(priData), type(()))
396 print 'getGenre key: %r data: %r' % (priKey, priData)
397 genre = priData[2]
/external/python/cpython2/Lib/bsddb/
Ddbshelve.py231 def _shelf_callback(priKey, priData, realCallback=callback): argument
233 if sys.version_info[0] < 3 or isinstance(priData, bytes) :
234 data = cPickle.loads(priData)
236 data = cPickle.loads(bytes(priData, "iso8859-1")) # 8 bits
/external/python/cpython2/Modules/
D_bsddb.c1453 _db_associateCallback(DB* db, const DBT* priKey, const DBT* priData, in _db_associateCallback() argument
1468 args = BuildValue_LS(*((db_recno_t*)priKey->data), priData->data, priData->size); in _db_associateCallback()
1470 args = BuildValue_SS(priKey->data, priKey->size, priData->data, priData->size); in _db_associateCallback()