Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/modules/ota/
A Dmodappota.c114 index = mp_obj_new_str_via_qstr("store_path", 10); in ota_upgrade()
118 index = mp_obj_new_str_via_qstr("install_path", 12); in ota_upgrade()
205 index = mp_obj_new_str_via_qstr("hash_type", 9); in py_ota_verify()
209 index = mp_obj_new_str_via_qstr("hash", 4); in py_ota_verify()
213 index = mp_obj_new_str_via_qstr("store_path", 10); in py_ota_verify()
298 mp_obj_t index = mp_obj_new_str_via_qstr("url", 3); in ota_download()
302 index = mp_obj_new_str_via_qstr("store_path", 10); in ota_download()
344 index = mp_obj_new_str_via_qstr("product_key", 11); in ota_report()
348 index = mp_obj_new_str_via_qstr("device_name", 11); in ota_report()
352 index = mp_obj_new_str_via_qstr("module_name", 11); in ota_report()
[all …]
/AliOS-Things-master/components/py_engine/modules/ble/
A Dmodble.c63 mp_obj_t index = mp_obj_new_str_via_qstr("type", strlen("type")); in ble_startAdv()
73 index = mp_obj_new_str_via_qstr("adv_data", strlen("adv_data")); in ble_startAdv()
83 index = mp_obj_new_str_via_qstr("scan_rsp_data", strlen("scan_rsp_data")); in ble_startAdv()
93 index = mp_obj_new_str_via_qstr("interval_min", strlen("interval_min")); in ble_startAdv()
103 index = mp_obj_new_str_via_qstr("interval_max", strlen("interval_max")); in ble_startAdv()
113 index = mp_obj_new_str_via_qstr("channel_map", strlen("channel_map")); in ble_startAdv()
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodule_aiot_device.c647 mp_obj_t index = mp_obj_new_str_via_qstr("param", 5); in aiot_postRaw()
706 index = mp_obj_new_str_via_qstr("deviceName", 10); in aiot_create_device()
709 index = mp_obj_new_str_via_qstr("deviceSecret", 12); in aiot_create_device()
712 index = mp_obj_new_str_via_qstr("keepaliveSec", 12); in aiot_create_device()
768 mp_obj_t index = mp_obj_new_str_via_qstr("id", 2); in aiot_postEvent()
771 index = mp_obj_new_str_via_qstr("params", 6); in aiot_postEvent()
888 mp_obj_t index = mp_obj_new_str_via_qstr("topic", 5); in aiot_publish()
891 index = mp_obj_new_str_via_qstr("payload", 7); in aiot_publish()
895 index = mp_obj_new_str_via_qstr("qos", 3); in aiot_publish()
972 index = mp_obj_new_str_via_qstr("qos", 3); in aiot_subscribe()
[all …]
A Dmodule_aiot_gateway.c462 mp_obj_t index = mp_obj_new_str_via_qstr("productKey", 10); in aiot_create_gateway()
465 index = mp_obj_new_str_via_qstr("deviceName", 10); in aiot_create_gateway()
468 index = mp_obj_new_str_via_qstr("deviceSecret", 12); in aiot_create_gateway()
471 index = mp_obj_new_str_via_qstr("keepaliveSec", 12); in aiot_create_gateway()
528 mp_obj_t index = mp_obj_new_str_via_qstr("topic", 5); in aiot_publish()
531 index = mp_obj_new_str_via_qstr("payload", 7); in aiot_publish()
535 index = mp_obj_new_str_via_qstr("qos", 3); in aiot_publish()
572 mp_obj_t index = mp_obj_new_str_via_qstr("topic", 5); in aiot_unsubscribe()
609 mp_obj_t index = mp_obj_new_str_via_qstr("topic", 5); in aiot_subscribe()
612 index = mp_obj_new_str_via_qstr("qos", 3); in aiot_subscribe()
[all …]
/AliOS-Things-master/components/py_engine/adapter/
A Dmain.c450 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path, strlen(path))); in mpy_init()
453 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path, strlen(path))); in mpy_init()
456 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path, strlen(path))); in mpy_init()
459 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path, strlen(path))); in mpy_init()
536 path_items[0] = mp_obj_new_str_via_qstr(filepath, p - filepath); in mpy_run()
538 path_items[0] = mp_obj_new_str_via_qstr(filepath, filepath - p); in mpy_run()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmain.c266 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path_root, strlen(path_root))); in mpy_init()
269 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path_sdcard, strlen(path_sdcard))); in mpy_init()
336 path_items[0] = mp_obj_new_str_via_qstr(filepath, p - filepath); in mpy_run()
338 path_items[0] = mp_obj_new_str_via_qstr(filepath, filepath - p); in mpy_run()
A Dmodsocket.c232 mp_obj_new_str_via_qstr("%s", 2), port); in _socket_getaddrinfo2()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmain.c266 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path_root, strlen(path_root))); in mpy_init()
269 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path_sdcard, strlen(path_sdcard))); in mpy_init()
336 path_items[0] = mp_obj_new_str_via_qstr(filepath, p - filepath); in mpy_run()
338 path_items[0] = mp_obj_new_str_via_qstr(filepath, filepath - p); in mpy_run()
A Dmodsocket.c218 port = mp_obj_str_binary_op(MP_BINARY_OP_MODULO, mp_obj_new_str_via_qstr("%s", 2), port); in _socket_getaddrinfo2()
/AliOS-Things-master/components/py_engine/modules/network/http/
A Dmodhttp.c435 mp_obj_t index = mp_obj_new_str_via_qstr("url", 3); in http_download()
442 index = mp_obj_new_str_via_qstr("filepath", 8); in http_download()
518 mp_obj_t index = mp_obj_new_str_via_qstr("url", 3); in http_request()
524 index = mp_obj_new_str_via_qstr("method", 6); in http_request()
543 index = mp_obj_new_str_via_qstr("timeout", 7); in http_request()
550 index = mp_obj_new_str_via_qstr("headers", 7); in http_request()
578 index = mp_obj_new_str_via_qstr("params", 6); in http_request()
/AliOS-Things-master/components/py_engine/modules/driver/
A Dpwm.c156 mp_obj_t index = mp_obj_new_str_via_qstr("duty", 4); in obj_setOption()
159 index = mp_obj_new_str_via_qstr("freq", 4); in obj_setOption()
/AliOS-Things-master/components/py_engine/engine/py/
A Dobjstrunicode.c222 … return mp_obj_new_str_via_qstr((const char *)s, len); // This will create a one-character string in str_subscr()
299 mp_obj_t o_out = mp_obj_new_str_via_qstr((const char *)cur, end - cur); in str_it_iternext()
A Dobjstr.c445 return mp_obj_new_str_via_qstr((char *)&self_data[index_val], 1); in bytes_subscr()
1080 …mp_obj_t field_q = mp_obj_new_str_via_qstr(field_name, lookup - field_name); // should it be via q… in mp_obj_str_format_helper()
1455 mp_obj_t k_obj = mp_obj_new_str_via_qstr((const char *)key, str - key); in str_modulo_format()
2054 mp_obj_t mp_obj_new_str_via_qstr(const char *data, size_t len) { in mp_obj_new_str_via_qstr() function
2101 return mp_obj_new_str_via_qstr((const char *)data, len); in mp_obj_str_intern()
2107 return mp_obj_new_str_via_qstr((const char *)data, len); in mp_obj_str_intern_checked()
2205 mp_obj_t o_out = mp_obj_new_str_via_qstr((const char *)str + self->cur, 1); in str_it_iternext()
A Dmodbuiltins.c163 return mp_obj_new_str_via_qstr((char *)str, len); in mp_builtin_chr()
168 return mp_obj_new_str_via_qstr((char *)str, 1); in mp_builtin_chr()
A Dobj.h732 mp_obj_t mp_obj_new_str_via_qstr(const char *data, size_t len);
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodsocket.c223 port = mp_obj_str_binary_op(MP_BINARY_OP_MODULO, mp_obj_new_str_via_qstr("%s", 2), port); in _socket_getaddrinfo2()

Completed in 33 milliseconds