Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/bsddb/test/
Dtest_dbenv.py198 shm_key=137
199 self.env.set_shm_key(shm_key)
200 self.assertEqual(shm_key, self.env.get_shm_key())
201 self.env.set_shm_key(shm_key+1)
202 self.assertEqual(shm_key+1, self.env.get_shm_key())
210 self.env.set_shm_key, shm_key)
211 self.assertEqual(shm_key+1, self.env.get_shm_key())
/external/python/cpython2/Modules/
D_bsddb.c5304 long shm_key = 0; in DBEnv_set_shm_key() local
5306 if (!PyArg_ParseTuple(args, "l:set_shm_key", &shm_key)) in DBEnv_set_shm_key()
5310 err = self->db_env->set_shm_key(self->db_env, shm_key); in DBEnv_set_shm_key()
5319 long shm_key; in DBEnv_get_shm_key() local
5324 err = self->db_env->get_shm_key(self->db_env, &shm_key); in DBEnv_get_shm_key()
5329 return NUMBER_FromLong(shm_key); in DBEnv_get_shm_key()