Home
last modified time | relevance | path

Searched refs:be (Results 1 – 25 of 79) sorted by relevance

1234

/components/utilities/ulog/backend/
A Dfile_be.c37 base_len = rt_strlen(be->cur_log_dir_path) + rt_strlen(be->parent.name) + 1; in ulog_file_rotate()
82 if (be->enable == RT_FALSE || be->buf_ptr_now == be->file_buf) in ulog_file_backend_flush_with_buf()
94 …rt_snprintf(be->cur_log_file_path, ULOG_FILE_PATH_LEN, "%s/%s.log", be->cur_log_dir_path, be->pare… in ulog_file_backend_flush_with_buf()
104 if (file_size >= (be->file_max_size - be->buf_size * 2)) in ulog_file_backend_flush_with_buf()
112 write_size = (rt_size_t)(be->buf_ptr_now - be->file_buf); in ulog_file_backend_flush_with_buf()
114 if (write(be->cur_log_file_fd, be->file_buf, write_size) != write_size) in ulog_file_backend_flush_with_buf()
122 be->buf_ptr_now = be->file_buf; in ulog_file_backend_flush_with_buf()
130 const unsigned char *buf_ptr_end = be->file_buf + be->buf_size; in ulog_file_backend_output_with_buf()
177 be->buf_ptr_now = be->file_buf; in ulog_file_backend_init()
185 RT_ASSERT(be->buf_size < be->file_max_size); in ulog_file_backend_init()
[all …]
A Dulog_be.h38 int ulog_file_backend_init(struct ulog_file_be *be, const char *name, const char *dir_path, rt_size…
40 int ulog_file_backend_deinit(struct ulog_file_be *be);
41 void ulog_file_backend_enable(struct ulog_file_be *be);
42 void ulog_file_backend_disable(struct ulog_file_be *be);
/components/net/lwip/lwip-2.0.3/doc/
A Dsys_arch.txt14 lwIP functionality, multiple threads support can be implemented in the
24 Semaphores can be either counting or binary - lwIP works with both
26 to be posted (implementing as a rendez-vous point where only one message can be
41 The following functions must be implemented by the sys_arch:
67 Blocks the thread while waiting for the semaphore to be
69 only be blocked for the specified time (measured in
110 Blocks the thread until the mutex can be grabbed.
164 should be dropped.
181 example, a naive implementation could be:
202 to be implemented as well:
[all …]
A Drawapi.txt54 Additionaly, memory (de-)allocation functions may be
66 pbuf_free() may also be called from another thread or
68 be called from an ISR: otherwise, the HEAP is only
124 that will be passed to the callbacks.
154 tcp_accept() function will be called. The pcb will have to be bound
158 the one passed as an argument to the function will be
196 will be called.
217 should be allocated and the data should only be referenced by pointer. This
228 be retrieved with the tcp_sndbuf() function.
289 be polled every 5 seconds.
[all …]
A Dmdns.txt50 The hostname will be copied. If this returns successfully, the netif will join
52 to port 5353 will be handled:
73 The netif first needs to be registered. Then run
78 The name and service pointers will be copied. Name refers to the name of the
80 proto can be DNSSD_PROTO_UDP or DNSSD_PROTO_TCP which represent _udp and _tcp.
81 If this call returns successfully, the following queries will be answered:
96 Since a hostname struct is used for TXT storage each single item can be max
100 If your device runs a webserver on port 80, an example call might be:
108 Relevant information will be sent as additional records to reduce number of
A Dmqtt_client.txt5 Details of the MQTT protocol can be found at:
37 otherwise mqtt_connection_cb will be called with connection result after attempting
49 Connection to server can also be probed by calling mqtt_client_is_connected(client)
73 /* Its more nice to be connected, so try to reconnect */
81 normal behaviour would be to take some action if subscribe fails like
89 /* The idea is to demultiplex topic and create some reference to be used in data callbacks
90 Example here uses a global variable, better would be to use a member in arg
91 If RAM and CPU budget allows it, the easiest implementation might be to just take a copy of
103 /* All topics starting with 'A' might be handled at the same way */
A Dppp.txt51 As usual, raw API for lwIP means the lightweight API which *MUST* only be used
156 * This should be in the switch case, this is put outside of the switch
166 /* ppp_free(); -- can be called here */
273 * Basic PPP client configuration. Can only be set if PPP session is in the
277 * only need to be done once.
304 * only need to be done once.
331 * Only for PPPoS, the PPP session should be up and waiting for input.
343 * be called if PPP session is in the dead state (i.e. disconnected).
371 * Free the PPP control block, can only be called if PPP session is in the
385 is not IRQ safe and then *MUST* only be called inside your main loop.
[all …]
/components/net/lwip/lwip-1.4.1/doc/
A Dsys_arch.txt13 lwIP functionality, multiple threads support can be implemented in the
24 Semaphores can be either counting or binary - lwIP works with both
26 either as a queue which allows multiple messages to be posted to a
27 mailbox, or as a rendez-vous point where only one message can be
42 The following functions must be implemented by the sys_arch:
68 Blocks the thread while waiting for the semaphore to be
70 only be blocked for the specified time (measured in
131 should be dropped.
148 example, a naive implementation could be:
169 to be implemented as well:
[all …]
A Drawapi.txt44 Additionaly, memory (de-)allocation functions may be
53 be called from an ISR: otherwise, the HEAP is only
94 that will be passed to the callbacks.
124 tcp_accept() function will be called. The pcb will have to be bound
128 the one passed as an argument to the function will be
175 will be called.
196 should be allocated and the data should only be referenced by pointer. This
207 be retrieved with the tcp_sndbuf() function.
268 be polled every 5 seconds.
311 must be called with regular intervals. The tcp_fasttmr() should be
[all …]
/components/fal/docs/
A Dfal_api_en.md12 | return | If the search is successful, the Flash device object will be returned, and if the search…
23 | return | If the search is successful, the Flash partition object will be returned, and if the sea…
38 The default partition table will be automatically loaded when FAL is initialized. Using this settin…
59 | buf | Buffer to store the data to be read |
60 | size | The size of the data to be read |
73 | buf | Buffer to store data to be written |
74 | size | The size of the data to be written |
118 | return | If the creation is successful, the corresponding block device will be returned, and if i…
131 | return | If the creation is successful, the corresponding MTD Nor Flash device will be returned, …
135 …e or the devfs interface. After POSIX is turned on, the partition can also be operated through the…
[all …]
/components/net/lwip/lwip-2.1.2/doc/doxygen/
A Dlwip.Doxyfile75 # characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
406 # namespace, or class. And the struct will be named TypeS. This can typically be
531 # scope will be hidden.
695 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
771 # be replaced by the version of the file (if it could be obtained via
848 # The EXCLUDE tag can be used to specify files and/or directories that should be
920 # will be ignored.
1092 # can be used to specify a prefix (or a list of prefixes) that should be ignored
1659 # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
2203 # be listed.
[all …]
A Dlwip.Doxyfile.cmake.in75 # characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
406 # namespace, or class. And the struct will be named TypeS. This can typically be
531 # scope will be hidden.
695 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
771 # be replaced by the version of the file (if it could be obtained via
848 # The EXCLUDE tag can be used to specify files and/or directories that should be
920 # will be ignored.
1092 # can be used to specify a prefix (or a list of prefixes) that should be ignored
1659 # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
2203 # be listed.
[all …]
/components/net/lwip/lwip-2.0.3/doc/doxygen/
A Dlwip.Doxyfile75 # characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
397 # namespace, or class. And the struct will be named TypeS. This can typically be
522 # scope will be hidden.
686 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
762 # be replaced by the version of the file (if it could be obtained via
838 # The EXCLUDE tag can be used to specify files and/or directories that should be
909 # will be ignored.
1081 # can be used to specify a prefix (or a list of prefixes) that should be ignored
1648 # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
2180 # be listed.
[all …]
/components/mm/
A Davl_adpt.c31 static int compare_overlap(void *as, void *ae, void *bs, void *be) in compare_overlap() argument
33 LOG_D("as %lx, ae %lx, bs %lx, be %lx", as, ae, bs, be); in compare_overlap()
35 if (as > be) in compare_overlap()
51 static int compare_exceed(void *as, void *ae, void *bs, void *be) in compare_exceed() argument
53 LOG_D("as %lx, ae %lx, bs %lx, be %lx", as, ae, bs, be); in compare_exceed()
74 void *be)) in search() argument
/components/net/lwip/lwip-1.4.1/
A DUPGRADING2 ports or applications to be changed. Use it to update a port or an
14 compatibility to old applications, but will be removed in the future).
78 be used to place these pools into user-defined memory by using external
86 so MEMP_NUM_NETDB has to be set accordingly.
89 MEMP_NUM_LOCALHOSTLIST has to be set accordingly.
92 to be set accordingly.
95 has to be set accordingly
97 * Integrated loopif into netif.c - loopif does not have to be created by the
100 * Added define LWIP_RAND() for lwip-wide randomization (needs to be defined
105 * The heap now may be moved to user-defined memory by defining
[all …]
/components/net/lwip/lwip-2.0.3/
A DUPGRADING2 ports or applications to be changed. Use it to update a port or an
34 has to be set "up" before starting the DHCP client
65 in def.h (to be overridden in cc.h) instead of config
77 that share memp.c code but do not have to be made global via lwippools.h
113 compatibility to old applications, but will be removed in the future).
177 be used to place these pools into user-defined memory by using external
185 so MEMP_NUM_NETDB has to be set accordingly.
188 MEMP_NUM_LOCALHOSTLIST has to be set accordingly.
191 to be set accordingly.
194 has to be set accordingly
[all …]
/components/net/lwip/lwip-2.1.2/doc/
A Dmdns.txt50 The hostname will be copied. If this returns successfully, the netif will join
52 to port 5353 will be handled:
73 The netif first needs to be registered. Then run
78 The name and service pointers will be copied. Name refers to the name of the
80 proto can be DNSSD_PROTO_UDP or DNSSD_PROTO_TCP which represent _udp and _tcp.
81 If this call returns successfully, the following queries will be answered:
96 Since a hostname struct is used for TXT storage each single item can be max
100 If your device runs a webserver on port 80, an example call might be:
108 Relevant information will be sent as additional records to reduce number of
A Dmqtt_client.txt5 Details of the MQTT protocol can be found at:
37 otherwise mqtt_connection_cb will be called with connection result after attempting
49 Connection to server can also be probed by calling mqtt_client_is_connected(client)
73 /* Its more nice to be connected, so try to reconnect */
81 normal behaviour would be to take some action if subscribe fails like
89 /* The idea is to demultiplex topic and create some reference to be used in data callbacks
90 Example here uses a global variable, better would be to use a member in arg
91 If RAM and CPU budget allows it, the easiest implementation might be to just take a copy of
103 /* All topics starting with 'A' might be handled at the same way */
A Dppp.txt51 As usual, raw API for lwIP means the lightweight API which *MUST* only be used
156 * This should be in the switch case, this is put outside of the switch
166 /* ppp_free(); -- can be called here */
273 * Basic PPP client configuration. Can only be set if PPP session is in the
277 * only need to be done once.
304 * only need to be done once.
331 * Only for PPPoS, the PPP session should be up and waiting for input.
343 * be called if PPP session is in the dead state (i.e. disconnected).
371 * Free the PPP control block, can only be called if PPP session is in the
385 is not IRQ safe and then *MUST* only be called inside your main loop.
[all …]
/components/net/lwip/lwip-2.1.2/
A DUPGRADING2 ports or applications to be changed. Use it to update a port or an
69 has to be set "up" before starting the DHCP client
100 in def.h (to be overridden in cc.h) instead of config
148 compatibility to old applications, but will be removed in the future).
212 be used to place these pools into user-defined memory by using external
220 so MEMP_NUM_NETDB has to be set accordingly.
223 MEMP_NUM_LOCALHOSTLIST has to be set accordingly.
226 to be set accordingly.
229 has to be set accordingly
234 * Added define LWIP_RAND() for lwip-wide randomization (needs to be defined
[all …]
/components/drivers/usb/cherryusb/platform/rtthread/
A Dusb_check.c24 #error RT_USING_CACHE must be enabled in this chip
30 #warning CONFIG_USB_DCACHE_ENABLE must be enabled if you do not config nocache ram
/components/net/lwip/lwip-1.4.1/src/netif/
A DFILES7 Ethernet. The code in this file should be used together with
9 largely made Ethernet independent so you should be able to
14 file can be used as a "skeleton" for developing new Ethernet
/components/dfs/dfs_v1/filesystems/elmfat/
A D00history.txt84 Fixed btr in f_read() can be mistruncated.
195 Fixed f_write() can be truncated when the file size is close to 4GB.
204 2nd argument of f_rename() can have a drive number and it will be ignored.
223 Fixed volume label created by Mac OS X cannot be retrieved with f_getlabel(). (appeared at R0.09b)
271 Made f_rename() be able to rename objects with the same name but case.
276 Fixed wrong object name can be returned when read directory at Unicode cfg. (appeared at R0.12)
285 Made memory usage for exFAT be able to be reduced as decreasing _MAX_LFN.
287 Fixed configuration option _VOLUMES cannot be set 10. (appeared at R0.10c)
298 …Improved NoFatChain flag of the fragmented file to be set after it is truncated and got contiguous.
344 Fixed old floppy disks formatted with MS-DOS 2.x and 3.x cannot be mounted.
[all …]
/components/net/lwip/lwip-2.0.3/test/fuzz/
A DREADME26 When afl finds a crash or a hang, the input that caused it will be placed in
32 packet will be discarded because of that. The other options can be tuned to
/components/net/lwip/lwip-2.1.2/test/fuzz/
A DREADME29 When afl finds a crash or a hang, the input that caused it will be placed in
35 packet will be discarded because of that. The other options can be tuned to

Completed in 31 milliseconds

1234