/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/test/unit/tcp/ |
H A D | test_tcp_oos.c | 15 * 1: check count, seqno and len of segments on pcb->ooseq (strict) 16 * 0: only check that bytes are received in correct order (less strict) */ 55 * @param pcb the pcb to check for ooseq segments 65 /* then check the actual segment */ in tcp_oos_seg_seqno() 79 * @param pcb the pcb to check for ooseq segments 89 /* then check the actual segment */ in tcp_oos_seg_tcplen() 103 * @param pcb the pcb to check for ooseq segments 112 /* then check the actual segment */ in tcp_oos_tcplen() 207 /* check if counters are as expected */ in START_TEST() 212 /* check ooseq queue */ in START_TEST() [all …]
|
H A D | test_tcp.c | 129 /* check correct syn packet */ in START_TEST() 136 /* check if counters are as expected */ in START_TEST() 140 /* check syn packet with short length */ in START_TEST() 150 /* check if counters are as expected */ in START_TEST() 158 /** Create an ESTABLISHED pcb and check if receive callback is called */ 189 /* check if counters are as expected */ in START_TEST() 203 /** Create an ESTABLISHED pcb and check if receive callback is called if a segment 243 /* check if counters are as expected */ in START_TEST() 333 /** Check that we handle malformed tcp headers, and discard the pbuf(s) */ 381 /* check if counters are as expected */ in START_TEST() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/test/unit/tcp/ |
H A D | test_tcp_oos.c | 15 * 1: check count, seqno and len of segments on pcb->ooseq (strict) 16 * 0: only check that bytes are received in correct order (less strict) */ 53 * @param pcb the pcb to check for ooseq segments 63 /* then check the actual segment */ in tcp_oos_seg_seqno() 77 * @param pcb the pcb to check for ooseq segments 87 /* then check the actual segment */ in tcp_oos_seg_tcplen() 101 * @param pcb the pcb to check for ooseq segments 110 /* then check the actual segment */ in tcp_oos_tcplen() 196 /* check if counters are as expected */ in START_TEST() 201 /* check ooseq queue */ in START_TEST() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/test/unit/tcp/ |
H A D | test_tcp_oos.c | 15 * 1: check count, seqno and len of segments on pcb->ooseq (strict) 16 * 0: only check that bytes are received in correct order (less strict) */ 55 * @param pcb the pcb to check for ooseq segments 65 /* then check the actual segment */ in tcp_oos_seg_seqno() 79 * @param pcb the pcb to check for ooseq segments 89 /* then check the actual segment */ in tcp_oos_seg_tcplen() 103 * @param pcb the pcb to check for ooseq segments 112 /* then check the actual segment */ in tcp_oos_tcplen() 202 /* check if counters are as expected */ in START_TEST() 207 /* check ooseq queue */ in START_TEST() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/src/ |
H A D | inflate.c | 34 * - Remove distance extra == 0 check in inflate_fast()--only helps for lengths 51 * - Simplified bad distance check in inflate_fast() 78 * - Check next_in and next_out for Z_NULL on entry to inflate() 375 /* check function to use adler32() for zlib or crc32() for gzip */ 377 # define UPDATE(check, buf, len) \ argument 378 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len)) 380 # define UPDATE(check, buf, len) adler32(check, buf, len) argument 383 /* check macros for header crc */ 385 # define CRC2(check, word) \ argument 389 check = crc32(check, hbuf, 2); \ [all …]
|
H A D | inflate.h | 30 DICTID, /* i: waiting for dictionary check value */ 33 TYPEDO, /* i: same, but skip check to exit inflate on new block */ 45 CHECK, /* i: waiting for 32-bit check value */ enumerator 47 DONE, /* finished check, done -- remain here until reset */ 65 TYPE -> STORED or TABLE or LEN or CHECK 73 CHECK -> LENGTH -> DONE 84 unsigned long check; /* protected copy of check value */ member
|
H A D | infutil.c | 45 /* update check information */ 47 z->adler = s->check = (*s->checkfn)(s->check, q, n); 71 /* update check information */ 73 z->adler = s->check = (*s->checkfn)(s->check, q, n);
|
H A D | ChangeLog | 37 - Fix crc check bug in gzread() after gzungetc() [Heiner] 58 - Add INFLATE_STRICT to check distances against zlib header 76 - Fix inflate header crc check bug for file names and comments 188 - Perform more rigorous check for distance-too-far in inffast.c 192 - Replace size_t with ptrdiff_t in crc32.c, and check for correct size 296 - Allow TOO_FAR check to be turned off at compile time [Truta] 317 - Add "check" target to Makefile.in that does the same thing as "test" 341 - Check for some malloc() failures in gzio.c 360 - Update configure to check for snprintf or vsnprintf functions and their 392 - fix crc check after a gzeek (Frank Faubert) [all …]
|
H A D | infblock.h | 13 typedef uLong (*check_func) OF((uLong check, const Bytef *buf, uInt len)); // add by prife 16 check_func c, /* check function */ 27 uLongf *)); /* check value on output */
|
/nrf52832-nimble/rt-thread/examples/file/ |
H A D | readwrite.c | 69 rt_kprintf("check: open file for read failed\n"); in readwrite() 77 rt_kprintf("check: read file failed\n"); in readwrite() 87 rt_kprintf("check: check data failed at %d\n", index); in readwrite() 97 rt_kprintf("check: read file failed\n"); in readwrite() 107 rt_kprintf("check: check data failed at %d\n", index); in readwrite()
|
/nrf52832-nimble/rt-thread/src/ |
H A D | timer.c | 14 * 2010-05-12 Bernard fix the timer check bug. 185 /* timer check */ in rt_timer_init() 206 /* timer check */ in rt_timer_detach() 269 /* timer check */ in rt_timer_delete() 305 /* timer check */ in rt_timer_start() 401 /* check whether timer thread is ready */ in rt_timer_start() 404 /* resume timer thread to check soft timer */ in rt_timer_start() 426 /* timer check */ in rt_timer_stop() 461 /* timer check */ in rt_timer_control() 489 * This function will check timer list, if a timeout event happens, the [all …]
|
H A D | ipc.c | 34 * 2013-09-14 Grissiom add an option check in rt_event_recv 232 /* parameter check */ in rt_sem_detach() 296 /* parameter check */ in rt_sem_delete() 326 /* parameter check */ in rt_sem_take() 435 /* parameter check */ in rt_sem_release() 484 /* parameter check */ in rt_sem_control() 529 /* parameter check */ in rt_mutex_init() 561 /* parameter check */ in rt_mutex_detach() 626 /* parameter check */ in rt_mutex_delete() 659 /* parameter check */ in rt_mutex_take() [all …]
|
/nrf52832-nimble/nordic/nrfx/drivers/src/ |
H A D | nrfx_ppi.c | 60 * @brief Check whether a channel is a programmable channel and can be used by an application. 62 * @param[in] channel Channel to check. 74 * @brief Check whether channels can be used by an application. 76 * @param[in] channel_mask Channel mask to check. 89 * @brief Check whether a channel can be used by an application. 91 * @param[in] channel Channel to check. 103 * @brief Check whether a channel group can be used by an application. 105 * @param[in] group Group to check. 118 * @brief Check whether a channel is allocated. 120 * @param[in] channel_num Channel number to check. [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/ |
H A D | ble_hs_hci_cmd.c | 191 /* Do not check if high duty-cycle directed */ in ble_hs_hci_cmd_body_le_set_adv_params() 236 /* Check for valid parameters */ in ble_hs_hci_cmd_body_le_set_adv_data() 273 /* Check for valid parameters */ in ble_hs_hci_cmd_body_le_set_scan_rsp_data() 376 /* Check interval and window */ in ble_hs_hci_cmd_body_le_set_scan_params() 385 /* Check own addr type */ in ble_hs_hci_cmd_body_le_set_scan_params() 390 /* Check scanner filter policy */ in ble_hs_hci_cmd_body_le_set_scan_params() 440 /* Check scan interval and scan window */ in ble_hs_hci_cmd_body_le_create_connection() 449 /* Check initiator filter policy */ in ble_hs_hci_cmd_body_le_create_connection() 454 /* Check peer addr type */ in ble_hs_hci_cmd_body_le_create_connection() 459 /* Check own addr type */ in ble_hs_hci_cmd_body_le_create_connection() [all …]
|
/nrf52832-nimble/rt-thread/components/drivers/usb/usbhost/class/ |
H A D | mass.c | 50 /* check pipe status */ in _pipe_check() 149 /* check in pipes status */ in rt_usb_bulk_only_xfer() 157 /* check out pipes status */ in rt_usb_bulk_only_xfer() 165 /* check csw status */ in rt_usb_bulk_only_xfer() 201 /* parameter check */ in rt_usbh_storage_get_max_lun() 245 /* parameter check */ in rt_usbh_storage_reset() 292 /* parameter check */ in rt_usbh_storage_read10() 338 /* parameter check */ in rt_usbh_storage_write10() 382 /* parameter check */ in rt_usbh_storage_request_sense() 418 /* parameter check */ in rt_usbh_storage_test_unit_ready() [all …]
|
H A D | hid.c | 35 /* parameter check */ in rt_usbh_hid_set_idle() 69 /* parameter check */ in rt_usbh_hid_get_report() 102 /* parameter check */ in rt_usbh_hid_set_report() 134 /* parameter check */ in rt_usbh_hid_set_protocal() 169 /* parameter check */ in rt_usbh_hid_get_report_descriptor() 219 /* parameter check */ in rt_usbh_hid_callback() 228 /* parameter check */ in rt_usbh_hid_callback() 275 /* parameter check */ in rt_usbh_hid_enable() 330 /* parameter check */ in rt_usbh_hid_enable()
|
/nrf52832-nimble/rt-thread/components/dfs/src/ |
H A D | dfs_fs.c | 39 /* check if this filesystem was already registered */ in dfs_register() 103 /* check next path separator */ in dfs_filesystem_lookup() 171 /* check if it is a valid partition table */ in dfs_filesystem_get_partition() 256 /* check if there is mount implementation */ in dfs_mount() 271 /* Check if the path exists or not, raw APIs call, fixme */ in dfs_mount() 286 /* check whether the file system mounted or not in the filesystem table in dfs_mount() 293 /* check if it is an empty filesystem table entry? if it is, save fs */ in dfs_mount() 296 /* check if the PATH is mounted */ in dfs_mount() 318 /* open device, but do not check the status of device */ in dfs_mount() 383 /* check if the PATH is mounted */ in dfs_unmount() [all …]
|
/nrf52832-nimble/rt-thread/components/drivers/usb/usbdevice/core/ |
H A D | core.c | 39 /* parameter check */ in _get_device_descriptor() 68 /* parameter check */ in _get_config_descriptor() 98 /* parameter check */ in _get_string_descriptor() 151 /* parameter check */ in _get_qualifier_descriptor() 179 /* parameter check */ in _get_descriptor() 241 /* parameter check */ in _get_interface() 278 /* parameter check */ in _set_interface() 321 /* parameter check */ in _get_config() 359 /* parameter check */ in _set_config() 423 /* parameter check */ in _set_address() [all …]
|
/nrf52832-nimble/rt-thread/components/drivers/usb/usbhost/core/ |
H A D | hub.c | 123 /* parameter check */ in rt_usbh_hub_get_descriptor() 156 /* parameter check */ in rt_usbh_hub_get_status() 189 /* parameter check */ in rt_usbh_hub_get_port_status() 231 /* parameter check */ in rt_usbh_hub_clear_port_feature() 272 /* parameter check */ in rt_usbh_hub_set_port_feature() 310 /* parameter check */ in rt_usbh_hub_reset_port() 352 /* parameter check */ in rt_usbh_hub_port_debounce() 386 /* parameter check */ in rt_usbh_hub_port_change() 404 /* check port status change */ in rt_usbh_hub_port_change() 476 /* parameter check */ in rt_usbh_hub_irq() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/src/ |
H A D | os_mempool.c | 72 /* Check for valid parameters */ in os_mempool_init() 208 /* Check that the block is in the memory buffer range. */ in os_memblock_from() 227 /* Check to make sure they passed in a memory pool (or something) */ in os_memblock_get() 231 /* Check for any free */ in os_memblock_get() 270 /* XXX: Should we check that the number free <= number blocks? */ in os_memblock_put_from_cb() 294 /* Check that the block we are freeing is a valid block! */ in os_memblock_put() 298 * Check for duplicate free. in os_memblock_put()
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ |
H A D | memp.c | 76 * and at the end of each element, initialize them as 0xcd and check 100 /* MEMP_SIZE: save space for struct memp and for sanity check */ 179 * Check that memp-lists don't form a circle, using "Floyd's cycle-finding algorithm". 210 * Check if a memp element was victim of an overflow 213 * @param p the memp element to check 243 * Check if a memp element was victim of an underflow 246 * @param p the memp element to check 276 * Do an overflow check for all elements in every pool. 278 * @see memp_overflow_check_element for a description of the check 372 /* check everything a first time to see if it worked */ in memp_init()
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/netif/ppp/ |
H A D | auth.h | 93 /* check authentication options supplied */ 96 /* check what secrets we have */ 99 /* Check peer-supplied username/password */ 105 /* check if IP address is authorized */ 108 /* check if IP address is unreasonable */
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/test/unit/core/ |
H A D | test_timers.c | 87 /* check without u32_t wraparound */ in START_TEST() 90 /* check with u32_t wraparound */ in START_TEST() 146 /* check timers expire in correct order */ in do_test_timers() 182 /* check without u32_t wraparound */ in START_TEST() 185 /* check with u32_t wraparound */ in START_TEST()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/apps/ |
H A D | sntp_opts.h | 92 /** Sanity check: 95 * - >= 1 to check address and port of the response packet to ensure the 97 * - >= 2 to check returned Originate Timestamp against Transmit Timestamp 101 * - >= 4 @todo: to check that the Root Delay and Root Dispersion fields are each 103 * currently a cozy number like one second. This check avoids using a
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/test/unit/ |
H A D | lwip_check.h | 4 /* Common header file for lwIP unit tests using the check framework */ 7 #include <check.h> 23 /* Modified function from check.h, supplying function name */
|