/AliOS-Things-master/components/py_engine/engine/extmod/btstack/ |
A D | modbluetooth_btstack.c | 64 DEBUG_printf(" --> btstack error: %d\n", err); in btstack_error_to_errno() 262 DEBUG_printf(" --> att connected\n"); in btstack_packet_handler_att_server() 266 DEBUG_printf(" --> att disconnected\n"); in btstack_packet_handler_att_server() 302 DEBUG_printf(" --> hci le meta\n"); in btstack_packet_handler() 476 DEBUG_printf(" --> gatt indication\n"); in btstack_packet_handler() 629 DEBUG_printf("mp_bluetooth_init\n"); in mp_bluetooth_init() 733 DEBUG_printf("mp_bluetooth_deinit\n"); in mp_bluetooth_deinit() 1081 DEBUG_printf("mp_bluetooth_gatts_read\n"); in mp_bluetooth_gatts_read() 1089 DEBUG_printf("mp_bluetooth_gatts_write\n"); in mp_bluetooth_gatts_write() 1368 DEBUG_printf("mp_bluetooth_gattc_read\n"); in mp_bluetooth_gattc_read() [all …]
|
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/ |
A D | modbluetooth_nimble.c | 60 #define DEBUG_printf(...) // printf("nimble: " __VA_ARGS__) macro 147 DEBUG_printf("ble_hs_err_to_errno: %d\n", err); in ble_hs_err_to_errno() 306 DEBUG_printf("load_irk: Saving new IRK.\n"); in load_irk() 312 DEBUG_printf("load_irk: Applying new IRK.\n"); in load_irk() 348 DEBUG_printf("sync_cb: Setting MTU\n"); in sync_cb() 353 DEBUG_printf("sync_cb: Setting device name\n"); in sync_cb() 594 DEBUG_printf("mp_bluetooth_init\n"); in mp_bluetooth_init() 655 DEBUG_printf("mp_bluetooth_init: ready\n"); in mp_bluetooth_init() 692 DEBUG_printf("mp_bluetooth_deinit: shut down\n"); in mp_bluetooth_deinit() 828 DEBUG_printf("ble_gap_adv_start: %d\n", ret); in mp_bluetooth_gap_advertise_start() [all …]
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | malloc.c | 36 #define DEBUG_printf DEBUG_printf macro 38 #define DEBUG_printf(...) (void)0 macro 95 DEBUG_printf("malloc %d : %p\n", num_bytes, ptr); in m_malloc() 106 DEBUG_printf("malloc %d : %p\n", num_bytes, ptr); in m_malloc_maybe() 121 DEBUG_printf("malloc %d : %p\n", num_bytes, ptr); in m_malloc_with_finaliser() 157 DEBUG_printf("realloc %p, %d, %d : %p\n", ptr, old_num_bytes, new_num_bytes, new_ptr); in m_realloc() 159 DEBUG_printf("realloc %p, %d : %p\n", ptr, new_num_bytes, new_ptr); in m_realloc() 186 DEBUG_printf("realloc %p, %d, %d : %p\n", ptr, old_num_bytes, new_num_bytes, new_ptr); in m_realloc_maybe() 188 DEBUG_printf("realloc %p, %d, %d : %p\n", ptr, new_num_bytes, new_ptr); in m_realloc_maybe() 204 DEBUG_printf("free %p, %d\n", ptr, num_bytes); in m_free() [all …]
|
A D | builtinimport.c | 41 #define DEBUG_printf DEBUG_printf macro 44 #define DEBUG_printf(...) (void)0 macro 88 DEBUG_printf("stat %s: %d\n", vstr_str(path), stat); in stat_dir_or_file() 248 DEBUG_printf("__import__:\n"); in mp_builtin___import__() 250 DEBUG_printf(" "); in mp_builtin___import__() 252 DEBUG_printf("\n"); in mp_builtin___import__() 294 DEBUG_printf("Current module/package: "); in mp_builtin___import__() 296 DEBUG_printf(", is_package: %d", is_pkg); in mp_builtin___import__() 297 DEBUG_printf("\n"); in mp_builtin___import__() 343 DEBUG_printf("Module already loaded\n"); in mp_builtin___import__() [all …]
|
A D | emitglue.c | 42 #define DEBUG_printf DEBUG_printf macro 43 #define DEBUG_OP_printf(...) DEBUG_printf(__VA_ARGS__) 45 #define DEBUG_printf(...) (void)0 macro 91 …DEBUG_printf("assign byte code: code=%p len=" UINT_FMT " flags=%x\n", code, len, (uint)scope_flags… in mp_emit_glue_assign_bytecode() 153 …DEBUG_printf("assign native: kind=%d fun=%p len=" UINT_FMT " n_pos_args=" UINT_FMT " flags=%x\n", … in mp_emit_glue_assign_native() 156 DEBUG_printf("\n"); in mp_emit_glue_assign_native() 158 DEBUG_printf(" %02x", ((byte *)fun_data)[i]); in mp_emit_glue_assign_native() 160 DEBUG_printf("\n"); in mp_emit_glue_assign_native()
|
A D | bc.c | 40 #define DEBUG_printf(...) (void)0 macro 97 DEBUG_printf("%p: ", a); in dump_args() 99 DEBUG_printf("%p ", a[i]); in dump_args() 101 DEBUG_printf("\n"); in dump_args() 163 DEBUG_printf("passing empty tuple as *args\n"); in mp_setup_code_state() 188 DEBUG_printf("Initial args: "); in mp_setup_code_state() 226 DEBUG_printf("Args with kws flattened: "); in mp_setup_code_state() 238 DEBUG_printf("Args after filling default positional: "); in mp_setup_code_state() 298 DEBUG_printf("Calling: n_pos_args=%d, n_kwonly_args=%d\n", n_pos_args, n_kwonly_args); in mp_setup_code_state()
|
A D | gc.c | 39 #define DEBUG_printf DEBUG_printf macro 42 #define DEBUG_printf(...) (void)0 macro 112 …DEBUG_printf("Initializing GC heap: %p..%p = " UINT_FMT " bytes\n", start, end, (byte *)end - (byt… in gc_init() 168 DEBUG_printf("GC layout:\n"); in gc_init() 201 #define TRACE_MARK(block, ptr) DEBUG_printf("gc_mark(%p)\n", ptr) 297 DEBUG_printf("gc_sweep(%p)\n", (void *)PTR_FROM_BLOCK(block)); in gc_sweep() 441 DEBUG_printf("gc_alloc(" UINT_FMT " bytes -> " UINT_FMT " blocks)\n", n_bytes, n_blocks); in gc_alloc() 490 DEBUG_printf("gc_alloc(" UINT_FMT "): no free mem, triggering GC\n", n_bytes); in gc_alloc() 523 DEBUG_printf("gc_alloc(%p)\n", ret_ptr); in gc_alloc() 583 DEBUG_printf("gc_free(%p)\n", ptr); in gc_free() [all …]
|
A D | nativeglue.c | 38 #define DEBUG_printf DEBUG_printf macro 40 #define DEBUG_printf(...) (void)0 macro 70 DEBUG_printf("mp_native_from_obj(%p, " UINT_FMT ")\n", obj, type); in mp_native_from_obj() 97 DEBUG_printf("mp_native_to_obj(" UINT_FMT ", " UINT_FMT ")\n", val, type); in mp_native_to_obj()
|
A D | modthread.c | 39 #define DEBUG_printf DEBUG_printf macro 42 #define DEBUG_printf(...) (void)0 macro 192 DEBUG_printf("[thread] start ts=%p args=%p stack=%p\n", &ts, &args, MP_STATE_THREAD(stack_top)); in thread_entry() 213 DEBUG_printf("[thread] finish ts=%p\n", &ts); in thread_entry()
|
A D | qstr.c | 41 #define DEBUG_printf DEBUG_printf macro 43 #define DEBUG_printf(...) (void)0 macro 145 …DEBUG_printf("QSTR: add hash=%d len=%d data=%.*s\n", Q_GET_HASH(q_ptr), Q_GET_LENGTH(q_ptr), Q_GET… in qstr_add() 164 DEBUG_printf("QSTR: allocate new pool of size %d\n", MP_STATE_VM(last_pool)->alloc); in qstr_add()
|
A D | objfun.c | 41 #define DEBUG_printf(...) (void)0 macro 183 DEBUG_printf("%p: ", a); in dump_args() 185 DEBUG_printf("%p ", a[i]); in dump_args() 187 DEBUG_printf("\n"); in dump_args() 252 DEBUG_printf("Input n_args: " UINT_FMT ", n_kw: " UINT_FMT "\n", n_args, n_kw); in fun_bc_call() 253 DEBUG_printf("Input pos args: "); in fun_bc_call() 255 DEBUG_printf("Input kw args: "); in fun_bc_call()
|
A D | emitnative.c | 55 #define DEBUG_printf DEBUG_printf macro 57 #define DEBUG_printf(...) (void)0 macro 776 DEBUG_printf("\n"); in adjust_stack() 1367 DEBUG_printf("import_star\n"); in emit_native_import_star() 1529 DEBUG_printf("load_subscr\n"); in emit_native_load_subscr() 1739 DEBUG_printf("store_subscr\n"); in emit_native_store_subscr() 1973 DEBUG_printf("dup_top\n"); in emit_native_dup_top() 1987 DEBUG_printf("pop_top\n"); in emit_native_pop_top() 1993 DEBUG_printf("rot_two\n"); in emit_native_rot_two() 2000 DEBUG_printf("rot_three\n"); in emit_native_rot_three() [all …]
|
A D | map.c | 40 #define DEBUG_printf(...) (void)0 macro 113 DEBUG_printf("mp_map_rehash(%p): " UINT_FMT " -> " UINT_FMT "\n", map, old_alloc, new_alloc); in mp_map_rehash() 419 DEBUG_printf("(nil)"); in mp_map_dump() 421 DEBUG_printf(": %p\n", map->table[i].value); in mp_map_dump() 423 DEBUG_printf("---\n"); in mp_map_dump()
|
A D | objtype.c | 38 #define DEBUG_printf DEBUG_printf macro 41 #define DEBUG_printf(...) (void)0 macro 140 …DEBUG_printf("mp_obj_class_lookup: Looking up %s in %s\n", qstr_str(lookup->attr), qstr_str(type->… in mp_obj_class_lookup() 147 DEBUG_printf("mp_obj_class_lookup: Matched special meth slot (off=%d) for %s\n", in mp_obj_class_lookup() 177 DEBUG_printf("mp_obj_class_lookup: Returning: "); in mp_obj_class_lookup() 181 … DEBUG_printf(" <%s @%p>", mp_obj_get_type_str(lookup->dest[1]), MP_OBJ_TO_PTR(lookup->dest[1])); in mp_obj_class_lookup() 183 DEBUG_printf("\n"); in mp_obj_class_lookup() 202 DEBUG_printf("mp_obj_class_lookup: No more parents\n"); in mp_obj_class_lookup()
|
A D | runtime.c | 49 #define DEBUG_printf DEBUG_printf macro 50 #define DEBUG_OP_printf(...) DEBUG_printf(__VA_ARGS__) 52 #define DEBUG_printf(...) (void)0 macro 1365 DEBUG_printf("raise %p\n", o); in mp_make_raise_obj() 1382 DEBUG_printf("import name '%s' level=%d\n", qstr_str(name), MP_OBJ_SMALL_INT_VALUE(level)); in mp_import_name() 1407 DEBUG_printf("import from %p %s\n", module, qstr_str(name)); in mp_import_from() 1454 DEBUG_printf("import all %p\n", module); in mp_import_all() 1514 DEBUG_printf("memory allocation failed, allocating %u bytes\n", (uint)num_bytes); in m_malloc_fail()
|
A D | misc.h | 224 int DEBUG_printf(const char *fmt, ...);
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | modwebrepl.c | 42 #define DEBUG_printf DEBUG_printf 44 #define DEBUG_printf(...) (void)0 macro 99 DEBUG_printf("sizeof(struct webrepl_file) = %lu\n", sizeof(struct webrepl_file)); in webrepl_make_new() 114 DEBUG_printf("webrepl: Finished file operation %d\n", self->hdr.type); in check_file_op_finished() 129 DEBUG_printf("webrepl: Sending %d bytes of file\n", out_sz); in write_file_chunk() 202 DEBUG_printf("webrepl: entered password: %s\n", self->hdr.fname); in _webrepl_read() 224 …DEBUG_printf("webrepl: received bin data, hdr_to_recv: %d, data_to_recv=%d\n", self->hdr_to_recv, … in _webrepl_read() 240 …DEBUG_printf("webrepl: op: %d, file: %s, chunk @%x, sz=%d\n", self->hdr.type, self->hdr.fname, (ui… in _webrepl_read() 266 DEBUG_printf("webrepl: Writing %lu bytes to file\n", buf_sz); in _webrepl_read()
|
A D | moduzlib.c | 39 #define DEBUG_printf DEBUG_printf 41 #define DEBUG_printf(...) (void)0 macro 156 DEBUG_printf("sizeof(TINF_DATA)=" UINT_FMT "\n", sizeof(*decomp)); in mod_uzlib_decompress() 163 DEBUG_printf("uzlib: Initial out buffer: " UINT_FMT " bytes\n", dest_buf_size); in mod_uzlib_decompress() 197 …DEBUG_printf("uzlib: Resizing from " UINT_FMT " to final size: " UINT_FMT " bytes\n", dest_buf_siz… in mod_uzlib_decompress()
|
A D | mpbthci.c | 33 #define DEBUG_printf(...) // printf(__VA_ARGS__) macro
|
A D | modlwip.c | 55 #define DEBUG_printf DEBUG_printf 57 #define DEBUG_printf(...) (void)0 macro 505 DEBUG_printf("_lwip_tcp_accept: No room to queue pcb waiting for accept\n"); in _lwip_tcp_accept() 515 DEBUG_printf("_lwip_tcp_recv[%p]: other side closed connection\n", socket); in _lwip_tcp_recv() 1522 DEBUG_printf("lwip_close: had to call tcp_abort()\n"); in lwip_socket_ioctl()
|
/AliOS-Things-master/components/py_engine/engine/shared/readline/ |
A D | readline.c | 38 #define DEBUG_printf printf 40 #define DEBUG_printf(...) (void)0 macro 289 DEBUG_printf("(ESC %d)", c); in readline_process_char() 356 DEBUG_printf("(ESC [ %d)", c); in readline_process_char() 377 DEBUG_printf("(ESC [ %c %d)", rl.escape_seq_buf[0], c); in readline_process_char() 398 DEBUG_printf("(ESC [ %c %d)", rl.escape_seq_buf[0], c); in readline_process_char() 408 DEBUG_printf("(ESC O %d)", c); in readline_process_char()
|
/AliOS-Things-master/components/py_engine/engine/shared/libc/ |
A D | printf.c | 41 int DEBUG_printf(const char *fmt, ...) { in DEBUG_printf() function
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | main.c | 414 int DEBUG_printf(const char *fmt, ...) in DEBUG_printf() function
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | main.c | 414 int DEBUG_printf(const char *fmt, ...) in DEBUG_printf() function
|