/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | btree1.py | 13 db[b"foo3"] = b"bar3" 14 db[b"foo1"] = b"bar1" 15 db[b"foo2"] = b"bar2" 18 dbstr = str(db) 21 print(db[b"foo2"]) 29 del db[b"foo2"] 31 del db[b"foo"] 73 for k in db: 83 print(db + db[b"foo1"]) 87 db.flush() [all …]
|
A D | btree_gc.py | 12 db = btree.open(uio.BytesIO(), pagesize=512) variable 21 db[b"thekey" + str(i)] = b"thelongvalue" + str(i) 22 print(db[b"thekey" + str(i)])
|
A D | btree_error.py | 28 db = btree.open(Device(), pagesize=511) 34 db = btree.open(Device(-1000), pagesize=512) 40 db = btree.open(Device(0, -1001), pagesize=512)
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | modbtree.c | 43 DB *db; member 65 void __dbpanic(DB *db) { in __dbpanic() argument 66 mp_printf(&mp_plat_print, "__dbpanic(%p)\n", db); in __dbpanic() 73 o->db = db; in btree_new() 83 mp_printf(print, "<btree %p>", self->db); in btree_print() 112 int res = __bt_get(self->db, &key, &val, 0); in btree_get() 133 int res = __bt_seq(self->db, &key, &val, flags); in btree_seq() 210 res = __bt_seq(self->db, &key, &val, flags); in btree_iternext() 224 BTREE *t = self->db->internal; in btree_iternext() 259 int res = __bt_delete(self->db, &key, 0); in btree_subscr() [all …]
|
A D | modbluetooth.h | 497 STATIC inline void mp_bluetooth_gatts_db_create(mp_gatts_db_t *db) { in mp_bluetooth_gatts_db_create() argument 498 *db = m_new(mp_map_t, 1); in mp_bluetooth_gatts_db_create() 501 STATIC inline void mp_bluetooth_gatts_db_reset(mp_gatts_db_t db) { in mp_bluetooth_gatts_db_reset() argument 502 mp_map_init(db, 0); in mp_bluetooth_gatts_db_reset() 505 void mp_bluetooth_gatts_db_create_entry(mp_gatts_db_t db, uint16_t handle, size_t len); 506 mp_bluetooth_gatts_db_entry_t *mp_bluetooth_gatts_db_lookup(mp_gatts_db_t db, uint16_t handle); 507 int mp_bluetooth_gatts_db_read(mp_gatts_db_t db, uint16_t handle, uint8_t **value, size_t *value_le… 508 int mp_bluetooth_gatts_db_write(mp_gatts_db_t db, uint16_t handle, const uint8_t *value, size_t val… 509 int mp_bluetooth_gatts_db_resize(mp_gatts_db_t db, uint16_t handle, size_t len, bool append);
|
/AliOS-Things-master/solutions/photocapture_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/py_engine_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/ucloud_ai_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/videopreview_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/videortsp_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/amp_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/audio_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/auto_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/eduk1_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/flower_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/genie_mesh_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/haas_dev_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/helloworld_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/javascript_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/kws_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/linkkit_genie_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/linksdk_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/linksdk_gateway_demo/ |
A D | .gitignore | 3 .components.db
|
/AliOS-Things-master/solutions/lora_p2p_demo/ |
A D | .gitignore | 3 .components.db
|