Home
last modified time | relevance | path

Searched refs:used (Results 1 – 25 of 97) sorted by relevance

1234

/components/net/lwip/lwip-2.1.2/test/unit/core/
A Dtest_mem.c40 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
45 s1 = lwip_stats.mem.used; in START_TEST()
50 s2 = lwip_stats.mem.used; in START_TEST()
58 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
100 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
119 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
124 fail_unless(lwip_stats.mem.used != 0); in START_TEST()
138 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
147 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
152 fail_unless(lwip_stats.mem.used != 0); in START_TEST()
[all …]
/components/net/lwip/lwip-2.1.2/test/unit/arch/
A Dsys_arch.c221 mbox->used = 0; in sys_mbox_new()
255 LWIP_ASSERT("q->used >= 0", q->used >= 0); in sys_mbox_post()
266 q->used++; in sys_mbox_post()
275 LWIP_ASSERT("q->used >= 0", q->used >= 0); in sys_mbox_trypost()
279 if (q->used == q->size) { in sys_mbox_trypost()
303 if (q->used == 0) { in sys_arch_mbox_fetch()
318 } while(q->used == 0); in sys_arch_mbox_fetch()
327 if (q->used == 0) { in sys_arch_mbox_fetch()
336 LWIP_ASSERT("q->used > 0", q->used > 0); in sys_arch_mbox_fetch()
351 if (!q->used) { in sys_arch_mbox_tryfetch()
[all …]
/components/net/lwip/lwip-2.0.3/test/unit/core/
A Dtest_mem.c38 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
42 fail_unless(lwip_stats.mem.used >= SIZE1); in START_TEST()
43 s1 = lwip_stats.mem.used; in START_TEST()
47 fail_unless(lwip_stats.mem.used >= SIZE2 + s1); in START_TEST()
48 s2 = lwip_stats.mem.used; in START_TEST()
53 fail_unless(lwip_stats.mem.used <= s2 - SIZE2); in START_TEST()
56 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
98 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
103 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
105 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
/components/net/lwip/lwip-1.4.1/test/unit/core/
A Dtest_mem.c42 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
46 fail_unless(lwip_stats.mem.used >= SIZE1); in START_TEST()
47 s1 = lwip_stats.mem.used; in START_TEST()
51 fail_unless(lwip_stats.mem.used >= SIZE2 + s1); in START_TEST()
52 s2 = lwip_stats.mem.used; in START_TEST()
57 fail_unless(lwip_stats.mem.used <= s2 - SIZE2); in START_TEST()
60 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
/components/net/lwip/lwip-2.0.3/src/core/
A Dmem.c270 u8_t used; member
395 mem->used = 0; in mem_init()
398 ram_end->used = 1; in mem_init()
450 mem->used = 0; in mem_free()
532 if (mem2->used == 0) { in mem_trim()
543 mem2->used = 0; in mem_trim()
571 mem2->used = 0; in mem_trim()
657 if ((!mem->used) && in mem_malloc()
676 mem2->used = 0; in mem_malloc()
681 mem->used = 1; in mem_malloc()
[all …]
A Dstats.c109 LWIP_PLATFORM_DIAG(("used: %"U32_F"\n\t", (u32_t)mem->used)); in stats_display_mem()
130 LWIP_PLATFORM_DIAG(("sem.used: %"U32_F"\n\t", (u32_t)sys->sem.used)); in stats_display_sys()
133 LWIP_PLATFORM_DIAG(("mutex.used: %"U32_F"\n\t", (u32_t)sys->mutex.used)); in stats_display_sys()
136 LWIP_PLATFORM_DIAG(("mbox.used: %"U32_F"\n\t", (u32_t)sys->mbox.used)); in stats_display_sys()
/components/net/lwip/lwip-1.4.1/src/core/
A Dmem.c162 u8_t used; member
287 mem->used = 0; in mem_init()
290 ram_end->used = 1; in mem_init()
341 mem->used = 0; in mem_free()
422 if(mem2->used == 0) { in mem_trim()
433 mem2->used = 0; in mem_trim()
461 mem2->used = 0; in mem_trim()
548 if ((!mem->used) && in mem_malloc()
567 mem2->used = 0; in mem_malloc()
572 mem->used = 1; in mem_malloc()
[all …]
A Dstats.c117 LWIP_PLATFORM_DIAG(("used: %"U32_F"\n\t", (u32_t)mem->used)); in stats_display_mem()
142 LWIP_PLATFORM_DIAG(("sem.used: %"U32_F"\n\t", (u32_t)sys->sem.used)); in stats_display_sys()
145 LWIP_PLATFORM_DIAG(("mutex.used: %"U32_F"\n\t", (u32_t)sys->mutex.used)); in stats_display_sys()
148 LWIP_PLATFORM_DIAG(("mbox.used: %"U32_F"\n\t", (u32_t)sys->mbox.used)); in stats_display_sys()
/components/net/lwip/lwip-2.1.2/src/core/
A Dmem.c355 u8_t used; member
529 mem->used = 0; in mem_init()
532 ram_end->used = 1; in mem_init()
575 LWIP_ASSERT("heap element used valid", (mem->used == 0) || (mem->used == 1)); in mem_sanity()
576 last_used = mem->used; in mem_sanity()
651 if (!mem->used) { in mem_free()
670 mem->used = 0; in mem_free()
754 if (mem2->used == 0) { in mem_trim()
766 mem2->used = 0; in mem_trim()
795 mem2->used = 0; in mem_trim()
[all …]
A Dstats.c109 LWIP_PLATFORM_DIAG(("used: %"MEM_SIZE_F"\n\t", mem->used)); in stats_display_mem()
130 LWIP_PLATFORM_DIAG(("sem.used: %"STAT_COUNTER_F"\n\t", sys->sem.used)); in stats_display_sys()
133 LWIP_PLATFORM_DIAG(("mutex.used: %"STAT_COUNTER_F"\n\t", sys->mutex.used)); in stats_display_sys()
136 LWIP_PLATFORM_DIAG(("mbox.used: %"STAT_COUNTER_F"\n\t", sys->mbox.used)); in stats_display_sys()
/components/net/lwip/lwip-2.1.2/src/netif/
A Dbridgeif_fdb.c55 u8_t used; member
84 if (e->used && e->ts) { in bridgeif_fdb_update_src()
101 if (!e->used || !e->ts) { in bridgeif_fdb_update_src()
104 if (!e->used || !e->ts) { in bridgeif_fdb_update_src()
111 e->used = 1; in bridgeif_fdb_update_src()
136 if (e->used && e->ts) { in bridgeif_fdb_get_dst_ports()
164 if (e->used && e->ts) { in bridgeif_fdb_age_one_second()
167 if (e->used && e->ts) { in bridgeif_fdb_age_one_second()
169 e->used = 0; in bridgeif_fdb_age_one_second()
A Dbridgeif.c105 u8_t used; member
146 if (!br->fdbs[i].used) { in bridgeif_fdb_add()
148 if (!br->fdbs[i].used) { in bridgeif_fdb_add()
149 br->fdbs[i].used = 1; in bridgeif_fdb_add()
179 if (br->fdbs[i].used && !memcmp(&br->fdbs[i].addr, addr, sizeof(struct eth_addr))) { in bridgeif_fdb_remove()
181 if (br->fdbs[i].used && !memcmp(&br->fdbs[i].addr, addr, sizeof(struct eth_addr))) { in bridgeif_fdb_remove()
203 if (br->fdbs[i].used) { in bridgeif_find_dst_ports()
/components/dfs/dfs_v2/filesystems/procfs/
A Dproc_meminfo.c24 rt_size_t *used,
29 rt_size_t total, used, max_used, freed; in single_show() local
33 rt_memory_info(&total, &used, &max_used); in single_show()
35 total_freed = total_freed + total - used; in single_show()
38 dfs_seq_printf(seq, "%-16s%8d KB\n", "MemAvailable:", (total - used) / 1024); in single_show()
/components/net/lwip/lwip-2.0.3/test/unit/udp/
A Dtest_udp.c22 fail_unless(MEMP_STATS_GET(used, MEMP_UDP_PCB) == 0); in udp_remove_all()
47 fail_unless(MEMP_STATS_GET(used, MEMP_UDP_PCB) == 0); in START_TEST()
52 fail_unless(MEMP_STATS_GET(used, MEMP_UDP_PCB) == 1); in START_TEST()
54 fail_unless(MEMP_STATS_GET(used, MEMP_UDP_PCB) == 0); in START_TEST()
/components/net/lwip/lwip-1.4.1/test/unit/udp/
A Dtest_udp.c22 fail_unless(lwip_stats.memp[MEMP_UDP_PCB].used == 0); in udp_remove_all()
47 fail_unless(lwip_stats.memp[MEMP_UDP_PCB].used == 0); in START_TEST()
52 fail_unless(lwip_stats.memp[MEMP_UDP_PCB].used == 1); in START_TEST()
54 fail_unless(lwip_stats.memp[MEMP_UDP_PCB].used == 0); in START_TEST()
/components/libc/cplusplus/
A DREADME.md6 Because RT-Thread RTOS is used in embedded system mostly, there are some rules for C++ applications:
32 /* The .ARM.exidx section is used for C++ exception handling. */
39 /* This is used by the startup in order to initialize the .data secion */
44 /* .data section which is used for initialized data */
/components/net/lwip/lwip-2.0.3/test/unit/tcp/
A Dtest_tcp.c63 fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST()
68 fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST()
70 fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST()
120 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST()
122 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST()
188 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST()
190 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST()
361 EXPECT_RET(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST()
363 EXPECT_RET(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST()
476 EXPECT_RET(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST()
[all …]
/components/net/lwip/lwip-1.4.1/test/unit/tcp/
A Dtest_tcp.c61 fail_unless(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST()
66 fail_unless(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST()
68 fail_unless(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST()
115 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST()
117 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST()
287 EXPECT_RET(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST()
289 EXPECT_RET(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST()
399 EXPECT_RET(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST()
401 EXPECT_RET(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST()
489 EXPECT_RET(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST()
[all …]
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A Dstats.h95 mem_size_t used; member
102 STAT_COUNTER used; member
155 #define STATS_INC_USED(x, y) do { lwip_stats.x.used += y; \
156 if (lwip_stats.x.max < lwip_stats.x.used) { \
157 lwip_stats.x.max = lwip_stats.x.used; \
/components/net/lwip/lwip-2.1.2/doc/doxygen/
A Dlwip.Doxyfile3 # This file describes the settings to be used by the documentation system
39 # control system is used.
59 # left blank the current directory will be used.
700 # will be used as the name of the layout file.
946 # INPUT_FILTER) will also be used to filter the input files that are used for
1153 # sheet that is used by each HTML page. It can be used to fine-tune the look of
1685 # The PAPER_TYPE tag can be used to set the paper type that is used by the
1726 # special commands can be used inside the footer.
1953 # that can be used to generate PDF.
2069 # used.
[all …]
A Dlwip.Doxyfile.cmake.in3 # This file describes the settings to be used by the documentation system
39 # control system is used.
59 # left blank the current directory will be used.
700 # will be used as the name of the layout file.
946 # INPUT_FILTER) will also be used to filter the input files that are used for
1153 # sheet that is used by each HTML page. It can be used to fine-tune the look of
1685 # The PAPER_TYPE tag can be used to set the paper type that is used by the
1726 # special commands can be used inside the footer.
1953 # that can be used to generate PDF.
2069 # used.
[all …]
/components/net/lwip/lwip-2.0.3/doc/doxygen/
A Dlwip.Doxyfile3 # This file describes the settings to be used by the documentation system
39 # control system is used.
59 # left blank the current directory will be used.
691 # will be used as the name of the layout file.
935 # INPUT_FILTER) will also be used to filter the input files that are used for
1142 # sheet that is used by each HTML page. It can be used to fine-tune the look of
1674 # The PAPER_TYPE tag can be used to set the paper type that is used by the
1715 # special commands can be used inside the footer.
1942 # that can be used to generate PDF.
2058 # used.
[all …]
/components/drivers/virtio/
A Dvirtio_console.c241 queue_rx->used_idx = queue_rx->used->idx; in virtio_console_port_init()
314 if (queue_rx->used_idx == queue_rx->used->idx) in virtio_console_port_read()
320 id = queue_rx->used->ring[queue_rx->used_idx % queue_rx->num].id; in virtio_console_port_read()
321 len = queue_rx->used->ring[queue_rx->used_idx % queue_rx->num].len; in virtio_console_port_read()
475 queue_ctrl_rx->used_idx = queue_ctrl_rx->used->idx; in virtio_console_init()
543 if (queue_rx->used_idx == queue_rx->used->idx) in virtio_console_isr()
549 id = queue_rx->used->ring[queue_rx->used_idx % queue_rx->num].id; in virtio_console_isr()
550 len = queue_rx->used->ring[queue_rx->used_idx % queue_rx->num].len; in virtio_console_isr()
625 if (queue_rx->used_idx != queue_rx->used->idx) in virtio_console_isr()
629 id = queue_rx->used->ring[queue_rx->used_idx % queue_rx->num].id; in virtio_console_isr()
[all …]
/components/net/lwip/lwip-2.1.2/src/include/lwip/
A Dstats.h104 mem_size_t used; member
111 STAT_COUNTER used; member
311 #define STATS_INC_USED(x, y, type) do { lwip_stats.x.used = (type)(lwip_stats.x.used + y); \
312 if (lwip_stats.x.max < lwip_stats.x.used) { \
313 lwip_stats.x.max = lwip_stats.x.used; \
/components/net/lwip/lwip-2.1.2/test/unit/tcp/
A Dtest_tcp.c87 fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST()
92 fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST()
94 fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST()
112 fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST()
197 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST()
199 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST()
251 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST()
253 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST()
436 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST()
438 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST()
[all …]

Completed in 53 milliseconds

1234