/nrf52832-nimble/rt-thread/components/net/uip/doc/html/ |
H A D | index.hhk | 3 <OBJECT type="text/site properties"> 7 …<LI><OBJECT type="text/sitemap"><param name="Local" value="a00151.html"><param name="Name" value="… 9 …<LI><OBJECT type="text/sitemap"><param name="Local" value="a00151.html#g6832e4d2d046536b6472f7ac92… 10 …<LI><OBJECT type="text/sitemap"><param name="Local" value="a00151.html#gb6683dd83fe1c8de9a24086d4b… 11 …<LI><OBJECT type="text/sitemap"><param name="Local" value="a00151.html#g2addf34c7d457c1a7899a7e217… 12 …<LI><OBJECT type="text/sitemap"><param name="Local" value="a00151.html#g85b65e38aa74eba18979156f97… 14 …<LI><OBJECT type="text/sitemap"><param name="Local" value="a00157.html"><param name="Name" value="… 16 …<LI><OBJECT type="text/sitemap"><param name="Local" value="a00157.html#g78ab77b57cf2e00089f0a3a225… 17 …<LI><OBJECT type="text/sitemap"><param name="Local" value="a00157.html#ge5b7160f2e653725ba5e2024c3… 19 …<LI><OBJECT type="text/sitemap"><param name="Local" value="a00157.html#g78ab77b57cf2e00089f0a3a225… [all …]
|
H A D | index.hhc | 3 <OBJECT type="text/site properties"> 7 <LI><OBJECT type="text/sitemap"><param name="Name" value="The uIP TCP/IP stack"><param name="Local"… 8 <LI><OBJECT type="text/sitemap"><param name="Name" value="File List"><param name="ImageNumber" valu… 10 …<LI><OBJECT type="text/sitemap"><param name="Name" value="apps/dhcpc/dhcpc.c"><param name="ImageNu… 11 …<LI><OBJECT type="text/sitemap"><param name="Name" value="apps/dhcpc/dhcpc.h"><param name="ImageNu… 12 …<LI><OBJECT type="text/sitemap"><param name="Name" value="apps/hello-world/hello-world.c"><param n… 13 …<LI><OBJECT type="text/sitemap"><param name="Name" value="apps/hello-world/hello-world.h"><param n… 14 …<LI><OBJECT type="text/sitemap"><param name="Name" value="apps/resolv/resolv.c"><param name="Local… 15 …<LI><OBJECT type="text/sitemap"><param name="Name" value="apps/resolv/resolv.h"><param name="Local… 16 …<LI><OBJECT type="text/sitemap"><param name="Name" value="apps/smtp/smtp.c"><param name="Local" va… [all …]
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/libs/parser/ |
H A D | expr.c | 20 e->type = E_SYMBOL; in expr_alloc_symbol() 25 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() argument 28 e->type = type; in expr_alloc_one() 33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument 36 e->type = type; in expr_alloc_two() 42 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() argument 45 e->type = type; in expr_alloc_comp() 74 switch (org->type) { in expr_copy() 97 printf("can't copy type %d\n", e->type); in expr_copy() 111 switch (e->type) { in expr_free() [all …]
|
H A D | menu.c | 87 switch (e->type) { in menu_check_dep() 112 void menu_set_type(int type) in menu_set_type() argument 116 if (sym->type == type) in menu_set_type() 118 if (sym->type == S_UNKNOWN) { in menu_set_type() 119 sym->type = type; in menu_set_type() 123 "ignoring type redefinition of '%s' from '%s' to '%s'", in menu_set_type() 125 sym_type_name(sym->type), sym_type_name(type)); in menu_set_type() 128 static struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct … in menu_add_prop() argument 130 struct property *prop = prop_alloc(type, current_entry->sym); in menu_add_prop() 146 if(type == P_PROMPT) { in menu_add_prop() [all …]
|
H A D | list.h | 9 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument 14 * @type: the type of the container struct this is embedded in. 18 #define container_of(ptr, type, member) ({ \ argument 19 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 20 (type *)( (char *)__mptr - offsetof(type,member) );}) 36 * @type: the type of the struct this is embedded in. 39 #define list_entry(ptr, type, member) \ argument 40 container_of(ptr, type, member) 43 * list_for_each_entry - iterate over list of given type 44 * @pos: the type * to use as a loop cursor. [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/test/src/ |
H A D | ble_hs_adv_test.c | 58 ble_hs_adv_test_misc_verify_tx_field(uint8_t *cmd, uint8_t type, in ble_hs_adv_test_misc_verify_tx_field() argument 62 TEST_ASSERT(cmd[1] == type); in ble_hs_adv_test_misc_verify_tx_field() 67 uint8_t type; /* 0 indicates end of array. */ member 80 for (field = fields; field->type != 0; field++) { in ble_hs_adv_test_misc_calc_data_len() 94 for (field = fields; field->type != 0; field++) { in ble_hs_adv_test_misc_verify_tx_fields() 95 ble_hs_adv_test_misc_verify_tx_field(cmd, field->type, field->val_len, in ble_hs_adv_test_misc_verify_tx_fields() 203 .type = BLE_HS_ADV_TYPE_FLAGS, in TEST_CASE() 208 .type = BLE_HS_ADV_TYPE_COMP_UUIDS16, in TEST_CASE() 213 .type = BLE_HS_ADV_TYPE_TX_PWR_LVL, in TEST_CASE() 235 .type = BLE_HS_ADV_TYPE_FLAGS, in TEST_CASE() [all …]
|
/nrf52832-nimble/rt-thread/include/ |
H A D | rtservice.h | 30 * rt_container_of - return the member address of ptr, if the type of ptr is the 31 * struct type. 33 #define rt_container_of(ptr, type, member) \ argument 34 ((type *)((char *)(ptr) - (unsigned long)(&((type *)0)->member))) 123 * @param type the type of structure 126 #define rt_list_entry(node, type, member) \ argument 127 rt_container_of(node, type, member) 148 * rt_list_for_each_entry - iterate over list of given type 149 * @pos: the type * to use as a loop cursor. 159 * rt_list_for_each_entry_safe - iterate over list of given type safe against removal of list entry [all …]
|
/nrf52832-nimble/rt-thread/src/ |
H A D | object.c | 213 * This function will return the specified type of object information. 215 * @param type the type of object 216 * @return the object type information or RT_NULL 219 rt_object_get_information(enum rt_object_class_type type) in rt_object_get_information() argument 224 if (rt_object_container[index].type == type) return &rt_object_container[index]; in rt_object_get_information() 235 * @param type the object type. 239 enum rt_object_class_type type, in rt_object_init() argument 249 information = rt_object_get_information(type); in rt_object_init() 254 /* set object type to static */ in rt_object_init() 255 object->type = type | RT_Object_Class_Static; in rt_object_init() [all …]
|
/nrf52832-nimble/ |
H A D | template.uvprojx | 213 <Type>0</Type> 218 <Type>0</Type> 223 <Type>0</Type> 228 <Type>0</Type> 233 <Type>0</Type> 238 <Type>0</Type> 243 <Type>0</Type> 248 <Type>1</Type> 253 <Type>0</Type> 258 <Type>1</Type> [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/ |
H A D | ble_uuid.c | 37 assert((uuid->type == BLE_UUID_TYPE_16) || \ 38 (uuid->type == BLE_UUID_TYPE_32) || \ 39 (uuid->type == BLE_UUID_TYPE_128)) 49 uuid->u.type = BLE_UUID_TYPE_16; in ble_uuid_init_from_buf() 53 uuid->u.type = BLE_UUID_TYPE_32; in ble_uuid_init_from_buf() 57 uuid->u.type = BLE_UUID_TYPE_128; in ble_uuid_init_from_buf() 71 if (uuid1->type != uuid2->type) { in ble_uuid_cmp() 72 return uuid1->type - uuid2->type; in ble_uuid_cmp() 75 switch (uuid1->type) { in ble_uuid_cmp() 94 switch (src->type) { in ble_uuid_copy() [all …]
|
H A D | ble_hs_adv.c | 27 uint8_t type; member 36 ble_hs_adv_set_hdr(uint8_t type, uint8_t data_len, uint8_t max_len, in ble_hs_adv_set_hdr() argument 48 return os_mbuf_append(om, &type, sizeof(type)); in ble_hs_adv_set_hdr() 57 dst[*dst_len + 1] = type; in ble_hs_adv_set_hdr() 65 ble_hs_adv_set_flat_mbuf(uint8_t type, int data_len, const void *data, in ble_hs_adv_set_flat_mbuf() argument 73 rc = ble_hs_adv_set_hdr(type, data_len, max_len, dst, dst_len, om); in ble_hs_adv_set_flat_mbuf() 89 ble_hs_adv_set_flat(uint8_t type, int data_len, const void *data, in ble_hs_adv_set_flat() argument 96 return ble_hs_adv_set_flat_mbuf(type, data_len, data, dst, dst_len, max_len, in ble_hs_adv_set_flat() 101 ble_hs_adv_set_array_uuid16(uint8_t type, uint8_t num_elems, in ble_hs_adv_set_array_uuid16() argument 109 rc = ble_hs_adv_set_hdr(type, num_elems * 2, max_len, dst, in ble_hs_adv_set_array_uuid16() [all …]
|
/nrf52832-nimble/rt-thread/components/finsh/ |
H A D | finsh_parser.c | 45 static struct finsh_node* make_sys_node(uint8_t type, struct finsh_node* node1, 49 #define check_token(token, lex, type) if ( (token) != (type) ) \ argument 55 /* is the token a data type? */ 66 #define match_token(token, lex, type) next_token(token, lex); \ argument 67 check_token(token, lex, type) 71 decl_variable -> type declaration_list ';' 80 enum finsh_type type; in proc_variable_decl() local 90 /* get type */ in proc_variable_decl() 91 type = proc_type(self); in proc_variable_decl() 97 if (finsh_var_insert(id, type) < 0) in proc_variable_decl() [all …]
|
H A D | finsh_node.c | 26 struct finsh_node* finsh_node_allocate(uint8_t type) in finsh_node_allocate() argument 38 /* fill type field */ in finsh_node_allocate() 39 global_node_table[i].node_type = type; in finsh_node_allocate() 49 unsigned char type; in finsh_node_new_id() local 52 type = 0; in finsh_node_new_id() 65 if (symbol != NULL) type = FINSH_IDTYPE_SYSCALL; in finsh_node_new_id() 67 else type = FINSH_IDTYPE_SYSVAR; in finsh_node_new_id() 69 else type = FINSH_IDTYPE_VAR; in finsh_node_new_id() 83 /* fill node value according type */ in finsh_node_new_id() 84 switch (type) in finsh_node_new_id() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/httpd/ |
H A D | httpd_structs.h | 58 #define HTTP_HDR_HTML "Content-type: text/html\r\n\r\n" 59 #define HTTP_HDR_SSI "Content-type: text/html\r\nExpires: Fri, 10 Apr 2008 14:00:00 GMT\… 60 #define HTTP_HDR_GIF "Content-type: image/gif\r\n\r\n" 61 #define HTTP_HDR_PNG "Content-type: image/png\r\n\r\n" 62 #define HTTP_HDR_JPG "Content-type: image/jpeg\r\n\r\n" 63 #define HTTP_HDR_BMP "Content-type: image/bmp\r\n\r\n" 64 #define HTTP_HDR_ICO "Content-type: image/x-icon\r\n\r\n" 65 #define HTTP_HDR_APP "Content-type: application/octet-stream\r\n\r\n" 66 #define HTTP_HDR_JS "Content-type: application/javascript\r\n\r\n" 67 #define HTTP_HDR_RA "Content-type: application/javascript\r\n\r\n" [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/apps/webserver/ |
H A D | http-strings | 8 http_content_type "content-type: " 18 http_content_type_plain "Content-type: text/plain\r\n\r\n" 19 http_content_type_html "Content-type: text/html\r\n\r\n" 20 http_content_type_css "Content-type: text/css\r\n\r\n" 21 http_content_type_text "Content-type: text/text\r\n\r\n" 22 http_content_type_png "Content-type: image/png\r\n\r\n" 23 http_content_type_gif "Content-type: image/gif\r\n\r\n" 24 http_content_type_jpg "Content-type: image/jpeg\r\n\r\n" 25 http_content_type_binary "Content-type: application/octet-stream\r\n\r\n"
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/priv/ |
H A D | tcpip_priv.h | 57 #define API_VAR_DECLARE(type, name) type * name argument 58 #define API_VAR_ALLOC_EXT(type, pool, name, errorblock) do { \ argument 59 name = (type *)memp_malloc(pool); \ 64 #define API_VAR_ALLOC(type, pool, name, errorval) API_VAR_ALLOC_EXT(type, pool, name, return errorv… argument 65 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) do { \ argument 66 name = (type *)LWIP_MEMPOOL_ALLOC(pool); \ 84 #define API_VAR_DECLARE(type, name) type name argument 85 #define API_VAR_ALLOC_EXT(type, pool, name, errorblock) argument 86 #define API_VAR_ALLOC(type, pool, name, errorval) argument 87 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) argument [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/ |
H A D | queue.h | 114 #define SLIST_HEAD(name, type) \ argument 116 struct type *slh_first; /* first element */ \ 122 #define SLIST_ENTRY(type) \ argument 124 struct type *sle_next; /* next element */ \ 155 #define SLIST_REMOVE(head, elm, type, field) do { \ argument 160 struct type *curelm = SLIST_FIRST((head)); \ 175 #define STAILQ_HEAD(name, type) \ argument 177 struct type *stqh_first;/* first element */ \ 178 struct type **stqh_last;/* addr of last next element */ \ 184 #define STAILQ_ENTRY(type) \ argument [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/apps/webclient/ |
H A D | webclient-strings | 8 http_content_type "content-type: " 15 http_content_type_html "Content-type: text/html\r\n\r\n" 16 http_content_type_css "Content-type: text/css\r\n\r\n" 17 http_content_type_text "Content-type: text/text\r\n\r\n" 18 http_content_type_png "Content-type: image/png\r\n\r\n" 19 http_content_type_gif "Content-type: image/gif\r\n\r\n" 20 http_content_type_jpg "Content-type: image/jpeg\r\n\r\n" 21 http_content_type_binary "Content-type: application/octet-stream\r\n\r\n"
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv4/ |
H A D | icmp.c | 68 static void icmp_send_response(struct pbuf *p, u8_t type, u8_t code); 82 u8_t type; in icmp_input() local 105 type = *((u8_t *)p->payload); in icmp_input() 109 switch (type) { in icmp_input() 199 * setting the icmp type to ECHO_RESPONSE and updating the checksum. */ in icmp_input() 251 if (type == ICMP_DUR) { in icmp_input() 253 } else if (type == ICMP_TE) { in icmp_input() 255 } else if (type == ICMP_PP) { in icmp_input() 257 } else if (type == ICMP_SQ) { in icmp_input() 259 } else if (type == ICMP_RD) { in icmp_input() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv4/ |
H A D | icmp.c | 68 static void icmp_send_response(struct pbuf *p, u8_t type, u8_t code); 82 u8_t type; in icmp_input() local 105 type = *((u8_t *)p->payload); in icmp_input() 111 switch (type) { in icmp_input() 206 * setting the icmp type to ECHO_RESPONSE and updating the checksum. */ in icmp_input() 258 if (type == ICMP_DUR) { in icmp_input() 260 } else if (type == ICMP_TE) { in icmp_input() 262 } else if (type == ICMP_PP) { in icmp_input() 264 } else if (type == ICMP_SQ) { in icmp_input() 266 } else if (type == ICMP_RD) { in icmp_input() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/src/ |
H A D | adv.c | 111 BT_DBG("type %u om_len %u: %s", BT_MESH_ADV(buf)->type, in adv_send() 117 ad.type = adv_type[BT_MESH_ADV(buf)->type]; in adv_send() 204 enum bt_mesh_adv_type type, in bt_mesh_adv_create_from_pool() argument 220 adv->type = type; in bt_mesh_adv_create_from_pool() 229 struct os_mbuf *bt_mesh_adv_create(enum bt_mesh_adv_type type, u8_t xmit, in bt_mesh_adv_create() argument 232 return bt_mesh_adv_create_from_pool(&adv_os_mbuf_pool, adv_alloc, type, in bt_mesh_adv_create() 239 BT_DBG("buf %p, type 0x%02x len %u: %s", buf, BT_MESH_ADV(buf)->type, buf->om_len, in bt_mesh_adv_send() 262 u8_t len, type; in bt_mesh_scan_cb() local 277 type = net_buf_simple_pull_u8(buf); in bt_mesh_scan_cb() 279 switch (type) { in bt_mesh_scan_cb() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv6/ |
H A D | icmp6.c | 66 static void icmp6_send_response(struct pbuf *p, u8_t code, u32_t data, u8_t type); 68 u8_t type, const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr); 70 u8_t type, const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr, struct netif *netif); 115 switch (icmp6hdr->type) { in icmp6_input() 183 ((struct icmp6_echo_hdr *)(r->payload))->type = ICMP6_TYPE_EREP; in icmp6_input() 217 * @param c ICMPv6 code for the unreachable type 249 * @param c ICMPv6 code for the time exceeded type 267 * @param c ICMPv6 code for the time exceeded type 288 * @param c ICMPv6 code for the param problem type 306 * @param type Type of the ICMPv6 header [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/priv/ |
H A D | tcpip_priv.h | 57 #define API_VAR_DECLARE(type, name) type * name argument 58 #define API_VAR_ALLOC(type, pool, name, errorval) do { \ argument 59 name = (type *)memp_malloc(pool); \ 64 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) do { \ argument 65 name = (type *)LWIP_MEMPOOL_ALLOC(pool); \ 83 #define API_VAR_DECLARE(type, name) type name argument 84 #define API_VAR_ALLOC(type, pool, name, errorval) argument 85 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) argument 124 enum tcpip_msg_type type; member
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/include/host/ |
H A D | ble_hs_id.h | 42 * @param nrpa The type of random address to generate: 53 * Sets the device's random address. The address type (static vs. 72 * @param id_addr_type The type of identity address to retrieve. 86 * BLE_HS_EINVAL if an invalid address type was 89 * identity address of the requested type; 96 * Determines the best address type to use for automatic address type 97 * resolution. Calculation of the best address type is done as follows: 114 * @param out_addr_type On success, the "own addr type" code gets 117 * @return 0 if an address type was successfully inferred.
|
/nrf52832-nimble/rt-thread/components/drivers/sensors/ |
H A D | sensor.cpp | 19 SensorBase::SensorBase(int type) in SensorBase() argument 23 this->type = type; in SensorBase() 34 return this->type; in getType() 133 SensorBase *SensorManager::getDefaultSensor(int type) in getDefaultSensor() argument 141 /* find the same type */ in getDefaultSensor() 142 if (sensor->getType() == type) return sensor; in getDefaultSensor() 150 int SensorManager::subscribe(int type, SensorEventHandler_t handler, void *user_data) in subscribe() argument 154 sensor = SensorManager::getDefaultSensor(type); in subscribe() 188 rt_sensor_t rt_sensor_get_default(int type) in rt_sensor_get_default() argument 190 return (rt_sensor_t)SensorManager::getDefaultSensor(type); in rt_sensor_get_default()
|