/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/ |
D | ztest_assert.h | 35 static inline bool z_zassert_(bool cond, const char *file, int line) in z_zassert_() argument 39 line); in z_zassert_() 47 #define z_zassert(cond, default_msg, file, line, func, msg, ...) z_zassert_(cond, file, line) argument 49 static inline bool z_zassume_(bool cond, const char *file, int line) in z_zassume_() argument 53 line); in z_zassume_() 61 #define z_zassume(cond, default_msg, file, line, func, msg, ...) z_zassume_(cond, file, line) argument 63 static inline bool z_zexpect_(bool cond, const char *file, int line) in z_zexpect_() argument 67 line); in z_zexpect_() 75 #define z_zexpect(cond, default_msg, file, line, func, msg, ...) z_zexpect_(cond, file, line) argument 79 static inline bool z_zassert(bool cond, const char *default_msg, const char *file, int line, in z_zassert() argument [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | tp.h | 120 size_t data_len, const char *file, int line); 129 void *tp_malloc(size_t size, const char *file, int line, const char *func); 130 void tp_free(void *ptr, const char *file, int line, const char *func); 131 void *tp_calloc(size_t nmemb, size_t size, const char *file, int line, 136 const char *file, int line, const char *func); 137 struct net_buf *tp_nbuf_clone(struct net_buf *buf, const char *file, int line, 139 void tp_nbuf_unref(struct net_buf *nbuf, const char *file, int line, 143 const char *file, int line); 145 struct net_pkt *tp_pkt_clone(struct net_pkt *pkt, const char *file, int line); 146 void tp_pkt_unref(struct net_pkt *pkt, const char *file, int line); [all …]
|
D | tp_priv.h | 42 int line; member 54 int line; member 61 int line; member 67 int line; member
|
D | net_pkt.c | 175 const char *func, int line) in net_pkt_alloc_add() argument 188 net_pkt_allocs[i].line_alloc = line; in net_pkt_alloc_add() 194 static void net_pkt_alloc_del(void *alloc_data, const char *func, int line) in net_pkt_alloc_del() argument 202 net_pkt_allocs[i].line_free = line; in net_pkt_alloc_del() 264 #define net_pkt_alloc_add(alloc_data, is_pkt, func, line) argument 265 #define net_pkt_alloc_del(alloc_data, func, line) argument 381 int line) in net_pkt_get_reserve_data_debug() argument 412 net_pkt_alloc_add(frag, false, caller, line); in net_pkt_get_reserve_data_debug() 417 frag, frag->ref, caller, line); in net_pkt_get_reserve_data_debug() 429 const char *caller, int line) in net_pkt_get_frag_debug() argument [all …]
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_rv32m1_intmux.c | 59 uint32_t line = rv32m1_intmux_line(irq); in rv32m1_intmux_irq_enable() local 61 regs->CHANNEL[channel].CHn_IER_31_0 |= BIT(line); in rv32m1_intmux_irq_enable() 68 uint32_t line = rv32m1_intmux_line(irq); in rv32m1_intmux_irq_disable() local 70 regs->CHANNEL[channel].CHn_IER_31_0 &= ~BIT(line); in rv32m1_intmux_irq_disable() 92 uint32_t line = rv32m1_intmux_line(irq); in rv32m1_intmux_get_line_state() local 94 if ((regs->CHANNEL[channel].CHn_IER_31_0 & BIT(line)) != 0) { in rv32m1_intmux_get_line_state() 105 #define ISR_ENTRY(channel, line) \ argument 106 ((channel) * CONFIG_MAX_IRQ_PER_AGGREGATOR + line) 114 uint32_t line = (regs->CHANNEL[channel].CHn_VEC >> 2); in rv32m1_intmux_isr() local 126 if (line < VECN_OFFSET) { in rv32m1_intmux_isr() [all …]
|
/Zephyr-latest/scripts/utils/ |
D | convert_guidelines.py | 82 for line in file_stream: 84 line = line.replace('\r', '').replace('\n', '') 87 if line.find('Additional rules') >= 0: 90 if len(line) == 0: 94 res = pattern_table_start.match(line) 100 res = pattern_new_line.match(line) 109 res = pattern_new_col.match(line)
|
D | migrate_mcumgr_kconfigs.py | 121 for line in lines: 125 if re.match(".*" + m + ".*", line) and len(m) > length: 131 line = line.replace(longest, REPLACEMENTS[longest]) 133 output.append(line)
|
D | migrate_posix_kconfigs.py | 88 for line in lines: 92 if re.match(".*" + m + ".*", line) and len(m) > length: 98 line = line.replace(longest, REPLACEMENTS[longest]) 104 output.append(line)
|
/Zephyr-latest/samples/subsys/console/getline/ |
D | README.rst | 4 Use console_getline() to read an input line from the console. 12 line or blocks waiting for one. Using this function, it should be fairly 14 console input line by line. The sample also allows to see details of how 15 a line is returned by the function. 39 Now start pressing keys on a keyboard, followed by Enter. The input line 41 line does not include any special "end of line" characters (like LF, CR,
|
/Zephyr-latest/scripts/kconfig/ |
D | diffconfig | 44 for line in config_file: 45 line = line[:-1] 46 if line[:7] == "CONFIG_": 47 name, val = line[7:].split("=", 1) 49 if line[-11:] == " is not set": 50 d[line[9:-11]] = "n"
|
/Zephyr-latest/scripts/ |
D | checkstack.pl | 120 while (my $line = <STDIN>) { 121 if ($line =~ m/$funcre/) { 124 elsif ($line =~ m/(.*):\s*file format/) { 132 elsif ($line =~ m/$re/) { 143 next if $line !~ m/^($xs*)/; 157 elsif (defined $dre && $line =~ m/$dre/) { 160 next if $line !~ m/^($xs*)/;
|
D | gen_gcov_files.py | 22 for line in fp.readlines(): 23 if re.search("GCOV_COVERAGE_DUMP_START", line): 26 if re.search("GCOV_COVERAGE_DUMP_END", line): 34 file_name = line.split("<")[0][1:] 36 hex_dump = line.split("<")[1][:-1]
|
/Zephyr-latest/tests/bluetooth/controller/common/include/ |
D | helper_util.h | 32 void lt_tx_real(const char *file, uint32_t line, enum helper_pdu_opcode opcode, 34 void lt_tx_real_no_encode(const char *file, uint32_t line, struct pdu_data *pdu, 36 void lt_rx_real(const char *file, uint32_t line, enum helper_pdu_opcode opcode, 38 void lt_rx_q_is_empty_real(const char *file, uint32_t line, struct ll_conn *conn); 39 void ut_rx_pdu_real(const char *file, uint32_t line, enum helper_pdu_opcode opcode, 41 void ut_rx_node_real(const char *file, uint32_t line, enum helper_node_opcode opcode, 43 void ut_rx_q_is_empty_real(const char *file, uint32_t line);
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/resources/ |
D | mock_script.py | 32 for line in zen_of_python: 33 print(line, flush=True) 37 for line in zen_of_python: 38 print(line, flush=True)
|
/Zephyr-latest/tests/misc/check_init_priorities/ |
D | validate_check_init_priorities_output.py | 24 for line in file: 25 if line.startswith("INFO: check_init_priorities"): 27 output.append(line.strip())
|
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/ |
D | data_prepare.py | 55 for idx, line in enumerate(lines): # pylint: disable=unused-variable 56 if len(line) == 3: 57 if line[2] == "-" and data_new[DATA_NAME]: 63 elif line[2] != "-": 64 data_new[DATA_NAME].append([float(i) for i in line[0:3]]) 73 for idx, line in enumerate(lines): 74 if len(line) == 3 and line[2] != "-": 82 data_new[DATA_NAME].append([float(i) for i in line[0:3]])
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | cmakecache.py | 68 def from_line(cls, line, line_no): argument 71 if line.startswith('//') or line.startswith('#'): 75 if not line.strip(): 78 m = cls.CACHE_ENTRY.match(line) 119 for line_no, line in enumerate(cache): 120 entry = CMakeCacheEntry.from_line(line, line_no)
|
/Zephyr-latest/boards/shields/waveshare_epaper/ |
D | waveshare_epaper_gdeh029a1.overlay | 35 dummy-line = <0x1a>; 36 gate-line-width = <0x08>; 48 dummy-line = <0x1a>; 49 gate-line-width = <0x08>;
|
D | waveshare_epaper_gdeh0213b72.overlay | 35 dummy-line = <0x30>; 36 gate-line-width = <0x0a>; 58 dummy-line = <0x30>; 59 gate-line-width = <0x0a>;
|
D | waveshare_epaper_gdeh0213b1.overlay | 35 dummy-line = <0x1a>; 36 gate-line-width = <0x08>; 50 dummy-line = <0x1a>; 51 gate-line-width = <0x08>;
|
/Zephyr-latest/tests/bluetooth/controller/common/src/ |
D | helper_util.c | 405 void lt_tx_real(const char *file, uint32_t line, enum helper_pdu_opcode opcode, in lt_tx_real() argument 412 zassert_not_null(rx, "Out of memory.\nCalled at %s:%d\n", file, line); in lt_tx_real() 429 void lt_tx_real_no_encode(const char *file, uint32_t line, struct pdu_data *pdu, in lt_tx_real_no_encode() argument 435 zassert_not_null(rx, "Out of memory.\nCalled at %s:%d\n", file, line); in lt_tx_real_no_encode() 455 void lt_rx_real(const char *file, uint32_t line, enum helper_pdu_opcode opcode, in lt_rx_real() argument 463 zassert_not_null(tx, "Tx Q empty.\nCalled at %s:%d\n", file, line); in lt_rx_real() 467 helper_pdu_verify[opcode](file, line, pdu, param); in lt_rx_real() 473 void lt_rx_q_is_empty_real(const char *file, uint32_t line, struct ll_conn *conn) in lt_rx_q_is_empty_real() argument 478 zassert_is_null(tx, "Tx Q not empty.\nCalled at %s:%d\n", file, line); in lt_rx_q_is_empty_real() 481 void ut_rx_pdu_real(const char *file, uint32_t line, enum helper_pdu_opcode opcode, in ut_rx_pdu_real() argument [all …]
|
/Zephyr-latest/soc/st/stm32/stm32f1x/ |
D | Kconfig.soc | 1 # ST Microelectronics STM32F1 MCU line 56 * Low density Value line devices 57 * Medium density Value line devices 58 * High density Value line devices 59 * XL-density devices Value line devices 64 Connectivity line devices are STM32F105xx and STM32F107xx
|
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/ |
D | ll_assert.c | 11 void bt_ctlr_assert_handle(char *file, uint32_t line) in bt_ctlr_assert_handle() argument 13 printf("Assertion failed in %s:%d\n", file, line); in bt_ctlr_assert_handle()
|
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/ |
D | reel_board.c | 78 uint8_t line[fonts[FONT_SMALL].columns + 1]; in print_line() local 84 memcpy(line, text, len); in print_line() 85 line[len] = '\0'; in print_line() 95 if (cfb_print(epd_dev, line, font_width * pad, font_height * row)) { in print_line() 271 int len, i, line = 0; in show_statistics() local 279 print_line(FONT_SMALL, line++, str, len, false); in show_statistics() 283 print_line(FONT_SMALL, line++, str, len, false); in show_statistics() 322 print_line(FONT_SMALL, line++, str, len, false); in show_statistics() 334 print_line(FONT_SMALL, line++, str, len, false); in show_statistics() 344 uint8_t line = 0U; in show_sensors_data() local [all …]
|
/Zephyr-latest/ |
D | .gitlint | 20 # line-length=75 22 [body-min-line-count] 23 # min-line-count=1 25 [body-max-line-count] 26 # max-line-count=200 44 [max-line-length-with-exceptions] 45 # B1 = body-max-line-length 46 # line-length=75
|