/nrf52832-nimble/packages/NimBLE-latest/nimble/host/pts/tpg/ |
H A D | 94654-20170317-085122560.tpg | 2 M'&/JP\$+#X83?)"[ M2E=\N*7*U 5)JSKT(5#=>@^/#]IP*[GTZ0%0]$F(/$ 3 MEK[V7>349??;!JZJNFZ CK=QGD^FOYV^FU>"DK<@0U*##HV\H9&_%["5IK@1 4 MA9F,FJO2P^3:4_]04%-0T%9=^XCMWKF"L$[)%)G>_I 0Q?@:H)&1HX)7VY&. 6 MUX+P_C'Z#VN20)A!ANN2@J#!AYY4"KQ\5):1]+[B\TN+BI"AB8NJH ,NZ(() 7 MG>K?^<ZA'-8.RL-J$<)(C9[Q!,J#I\O^U //$%L+CAC;BZR I+VL1_?1UG&4 8 M!5L,T[F[JEFYD;^4JYE2JO%6O=+:CXZ6CL\:\-LP1(%UF9F8$Q"A4XJ_PM#^ 9 M^G*CZ8!#KXH7096+O4QZ6O<)Y-4PO:<0N*]7B9PRW"'X3YL(Z^S%XUB5@[F_ 10 MDKB?NDVX39/(_5[/I!?M_Q@F4A[/?PD7SQS?21+70M!:Y6RP0BX8<[N>A\<! 14 M]X6NG8^EC)N?AH+3[\3SG''R3(?WRGF0NZ#,_4%*E)&>&9R)5[F0OM$A0Y.; 16 MG^??HX&-:=ZO$Z 2GFNL<++PP(K$$0N4(]"2F,96FJV0FH^?]A"7P_+ Y<M/ [all …]
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/utils/ |
H A D | gettext.c | 19 if ((textlen > 0) && (text[textlen-1] == '\n')) in escape() 20 eol = 1; in escape() 32 while (*text != '\0' && len > 1) { in escape() 122 struct message *m = message__list; in mesage__find() local 124 while (m != NULL) { in mesage__find() 125 if (strcmp(m->msg, msg) == 0) in mesage__find() 127 m = m->next; in mesage__find() 130 return m; in mesage__find() 136 int rc = -1; in message__add_file_line() 155 struct message *m = mesage__find(escaped); in message__add() local [all …]
|
H A D | kconfig-tweak.in | 17 --module|-m option Turn option into a module 23 --state|-s option Print state of option (n,y,m,undef) 29 --module-after|-M beforeopt option 47 exit 1 51 ARG="$1" 66 local anchor="$1" 80 local before="$1" 91 local text="$1" 101 local name=$1 new=$2 before=$3 117 local name=$1 [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/apps/dhcpc/ |
H A D | dhcpc.c | 8 * 1. Redistributions of source code must retain the above copyright 43 #define STATE_SENDING 1 67 #define DHCP_REQUEST 1 69 #define DHCP_HTYPE_ETHERNET 1 76 #define DHCPDISCOVER 1 84 #define DHCP_OPTION_SUBNET_MASK 1 101 *optptr++ = 1; in add_msg_type() 143 create_msg(register struct dhcp_msg *m) in create_msg() argument 145 m->op = DHCP_REQUEST; in create_msg() 146 m->htype = DHCP_HTYPE_ETHERNET; in create_msg() [all …]
|
/nrf52832-nimble/rt-thread/libcpu/ppc/ppc405/ |
H A D | io.h | 18 "sync; lbz%U1%X1 %0,%1;\n" in in_8() 20 "isync" : "=r" (ret) : "m" (*addr)); in in_8() 26 __asm__ __volatile__("stb%U0%X0 %1,%0; eieio" : "=m" (*addr) : "r" (val)); in out_8() 33 __asm__ __volatile__("sync; lhbrx %0,0,%1;\n" in in_le16() 36 "r" (addr), "m" (*addr)); in in_le16() 44 __asm__ __volatile__("sync; lhz%U1%X1 %0,%1;\n" in in_be16() 46 "isync" : "=r" (ret) : "m" (*addr)); in in_be16() 52 __asm__ __volatile__("sync; sthbrx %1,0,%2" : "=m" (*addr) : in out_le16() 58 __asm__ __volatile__("sync; sth%U0%X0 %1,%0" : "=m" (*addr) : "r" (val)); in out_be16() 65 __asm__ __volatile__("sync; lwbrx %0,0,%1;\n" in in_le32() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/src/ |
H A D | os_mbuf.c | 13 * 1. Redistributions of source code must retain the above copyright 71 struct os_mbuf *m; in os_mqueue_get() local 82 m = OS_MBUF_PKTHDR_TO_MBUF(mp); in os_mqueue_get() 84 m = NULL; in os_mqueue_get() 87 return (m); in os_mqueue_get() 91 os_mqueue_put(struct os_mqueue *mq, struct ble_npl_eventq *evq, struct os_mbuf *m) in os_mqueue_put() argument 98 if (!OS_MBUF_IS_PKTHDR(m)) { in os_mqueue_put() 103 mp = OS_MBUF_PKTHDR(m); in os_mqueue_put() 169 struct os_mbuf *m; in os_msys_get() local 177 m = os_mbuf_get(pool, leadingspace); in os_msys_get() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/ |
H A D | ble_sm_alg.c | 143 p1[1] = rat; in ble_sm_alg_c1() 232 uint8_t m[65]; in ble_sm_alg_f4() local 244 * U, V and Z are concatenated and used as input m to the function in ble_sm_alg_f4() 252 swap_buf(m, u, 32); in ble_sm_alg_f4() 253 swap_buf(m + 32, v, 32); in ble_sm_alg_f4() 254 m[64] = z; in ble_sm_alg_f4() 258 rc = ble_sm_alg_aes_cmac(xs, m, sizeof(m), out_enc_data); in ble_sm_alg_f4() 280 uint8_t m[53] = { in ble_sm_alg_f5() local 309 swap_buf(m + 5, n1, 16); in ble_sm_alg_f5() 310 swap_buf(m + 21, n2, 16); in ble_sm_alg_f5() [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/lib/ |
H A D | memb.c | 8 * 1. Redistributions of source code must retain the above copyright 52 memb_init(struct memb_blocks *m) in memb_init() argument 54 memset(m->count, 0, m->num); in memb_init() 55 memset(m->mem, 0, m->size * m->num); in memb_init() 59 memb_alloc(struct memb_blocks *m) in memb_alloc() argument 63 for(i = 0; i < m->num; ++i) { in memb_alloc() 64 if(m->count[i] == 0) { in memb_alloc() 68 ++(m->count[i]); in memb_alloc() 69 return (void *)((char *)m->mem + (i * m->size)); in memb_alloc() 79 memb_free(struct memb_blocks *m, void *ptr) in memb_free() argument [all …]
|
H A D | memb.h | 8 * 1. Redistributions of source code must retain the above copyright 115 * \param m A memory block previosly declared with MEMB(). 117 void memb_init(struct memb_blocks *m); 122 * \param m A memory block previosly declared with MEMB(). 124 void *memb_alloc(struct memb_blocks *m); 130 * \param m m A memory block previosly declared with MEMB(). 135 * if successfully deallocated) or -1 if the pointer "ptr" did not 138 char memb_free(struct memb_blocks *m, void *ptr);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/priv/ |
H A D | api_msg.h | 13 * 1. Redistributions of source code must retain the above copyright notice, 60 #define API_MSG_M_DEF_SEM(m) *m argument 62 #define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m) 65 #define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m) 69 #define NETCONN_SHUT_RD 1 194 void lwip_netconn_do_newconn (void *m); 195 void lwip_netconn_do_delconn (void *m); 196 void lwip_netconn_do_bind (void *m); 197 void lwip_netconn_do_bind_if (void *m); 198 void lwip_netconn_do_connect (void *m); [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/ |
H A D | tcpip.h | 8 * 1. Redistributions of source code must retain the above copyright notice, 62 #define TCPIP_APIMSG(m) tcpip_apimsg_lock(m) argument 63 #define TCPIP_APIMSG_ACK(m) argument 64 #define TCPIP_NETIFAPI(m) tcpip_netifapi_lock(m) argument 65 #define TCPIP_NETIFAPI_ACK(m) argument 69 #define TCPIP_APIMSG(m) tcpip_apimsg(m) 70 #define TCPIP_APIMSG_ACK(m) sys_sem_signal(&m->conn->op_completed) 71 #define TCPIP_NETIFAPI(m) tcpip_netifapi(m) 72 #define TCPIP_NETIFAPI_ACK(m) sys_sem_signal(&m->sem) 102 #define tcpip_callback(f, ctx) tcpip_callback_with_block(f, ctx, 1) [all …]
|
/nrf52832-nimble/rt-thread/libcpu/arm/s3c24x0/ |
H A D | system_clock.c | 18 #define MPL_MIDV 92 /* m=MPL_MDIV+8=100 */ 22 #define UPL_MDIV 56 /* m=UPL_MDIV+8=64 */ 24 #define UPL_SDIV 1 /* s=UPL_SDIV=1 */ 25 /* System clock divider FCLK:HCLK:PCLK=1:4:8 */ 39 rt_uint8_t m, p, s; in rt_hw_get_clock() local 42 m = (val>>12)&0xff; in rt_hw_get_clock() 46 FCLK = ((m+8)*(CONFIG_SYS_CLK_FREQ/100)*2)/((p+2)*(1<<s))*100; in rt_hw_get_clock() 49 m = (val>>1)&3; in rt_hw_get_clock() 50 p = val&1; in rt_hw_get_clock() 52 switch (m) { in rt_hw_get_clock() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/priv/ |
H A D | api_msg.h | 13 * 1. Redistributions of source code must retain the above copyright notice, 60 #define API_MSG_M_DEF_SEM(m) *m argument 62 #define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m) 65 #define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m) 69 #define NETCONN_SHUT_RD 1 184 void lwip_netconn_do_newconn (void *m); 185 void lwip_netconn_do_delconn (void *m); 186 void lwip_netconn_do_bind (void *m); 187 void lwip_netconn_do_connect (void *m); 188 void lwip_netconn_do_disconnect (void *m); [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/ppp/polarssl/ |
H A D | arc4.c | 51 unsigned char *m; in arc4_setup() local 55 m = ctx->m; in arc4_setup() 58 m[i] = (unsigned char) i; in arc4_setup() 66 a = m[i]; in arc4_setup() 68 m[i] = m[j]; in arc4_setup() 69 m[j] = (unsigned char) a; in arc4_setup() 79 unsigned char *m; in arc4_crypt() local 83 m = ctx->m; in arc4_crypt() 87 x = ( x + 1 ) & 0xFF; a = m[x]; in arc4_crypt() 88 y = ( y + a ) & 0xFF; b = m[y]; in arc4_crypt() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/netif/ppp/polarssl/ |
H A D | arc4.c | 51 unsigned char *m; in arc4_setup() local 55 m = ctx->m; in arc4_setup() 58 m[i] = (unsigned char) i; in arc4_setup() 66 a = m[i]; in arc4_setup() 68 m[i] = m[j]; in arc4_setup() 69 m[j] = (unsigned char) a; in arc4_setup() 79 unsigned char *m; in arc4_crypt() local 83 m = ctx->m; in arc4_crypt() 87 x = ( x + 1 ) & 0xFF; a = m[x]; in arc4_crypt() 88 y = ( y + a ) & 0xFF; b = m[y]; in arc4_crypt() [all …]
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/docs/ |
H A D | kconfig-language.txt | 135 n y n N/m/y 136 m y m M/y/n 200 <expr> ::= <symbol> (1) 210 (1) Convert the symbol into an expression. Boolean and tristate symbols 222 An expression can have a value of 'n', 'm' or 'y' (or 0, 1, 2 224 expression evaluates to 'm' or 'y'. 310 (1): 311 menuconfig M 312 if M 318 menuconfig M [all …]
|
H A D | kconfig.txt | 59 KCONFIG_ALLCONFIG == "" or KCONFIG_ALLCONFIG == "1", "make *config" 98 KCONFIG_PROBABILITY y:n split y:m:n split 102 [1] N:M N+M : 100-(N+M) N : M : 100-(N+M) 103 [2] N:M:L N : 100-N M : L : 100-(M+L) 105 where N, M and L are integers (in base 10) in the range [0,100], and so 107 [1] N+M is in the range [0,100] 108 [2] M+L is in the range [0,100] 113 5% of tristates will be set to 'y', 5% to 'm', 90% to 'n' 116 15% of tristates will be set to 'y', 25% to 'm', 60% to 'n' 119 15% of tristates will be set to 'y', 15% to 'm', 70% to 'n'
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/socket/src/ |
H A D | ble_hci_socket.c | 26 * When building this package, set BLE_SOCK_USE_TCP=1 and 32 * And build this package with BLE_SOCK_USE_LINUX_BLUE=1, 56 #define BTPROTO_HCI 1 58 #define HCI_CHANNEL_USER 1 169 OS_MEMPOOL_SIZE(1, BLE_HCI_TRANS_CMD_SZ) 219 struct os_mbuf *m; in ble_hci_trans_acl_buf_alloc() local 225 m = os_mbuf_get_pkthdr(&ble_hci_sock_acl_mbuf_pool, in ble_hci_trans_acl_buf_alloc() 227 return m; in ble_hci_trans_acl_buf_alloc() 236 struct os_mbuf *m; in ble_hci_sock_acl_tx() local 245 iov[0].iov_len = 1; in ble_hci_sock_acl_tx() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/apps/bleprph/ |
H A D | syscfg.yml | 30 is an array of 4 GPIO pin numbers for 1M, 2M, LE Coded S=2 and 36 is an array of 3 GPIO pin numbers for 1M, 2M and LE Coded 42 BLE_ROLE_BROADCASTER: 1 45 BLE_ROLE_PERIPHERAL: 1 48 REBOOT_LOG_FCB: 1 49 LOG_FCB: 1 50 CONFIG_FCB: 1 53 STATS_NEWTMGR: 1 54 LOG_NEWTMGR: 1 55 CONFIG_NEWTMGR: 1
|
/nrf52832-nimble/rt-thread/components/libc/compilers/minilibc/ |
H A D | rand.c | 13 static unsigned int _seed=1; 16 #define M ((1U<<31) -1) macro 18 #define Q 44488 // M/A 19 #define R 3399 // M%A; R < Q !!! 27 X += M; in rand_r()
|
/nrf52832-nimble/rt-thread/components/net/uip/doc/html/ |
H A D | a00186.html | 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 28 <a name="l00008"></a>00008 <span class="comment"> * 1. Redistributions of source code must retain t… 72 …init</a>(<span class="keyword">struct</span> <a class="code" href="a00081.html">memb_blocks</a> *m) 74 …ame="l00054"></a>00054 memset(m-><a class="code" href="a00081.html#5595902fd42d874e35a70206fa… 75 …m-><a class="code" href="a00081.html#b5801722740492e69bcc73687476009f">mem</a>, 0, m-><a cla… 79 …lloc</a>(<span class="keyword">struct</span> <a class="code" href="a00081.html">memb_blocks</a> *m) 83 <a name="l00063"></a>00063 <span class="keywordflow">for</span>(i = 0; i < m-><a class="cod… 84 <a name="l00064"></a>00064 <span class="keywordflow">if</span>(m-><a class="code" href="a000… 88 <a name="l00068"></a>00068 ++(m-><a class="code" href="a00081.html#5595902fd42d874e35a7020… 89 …ss="keywordtype">char</span> *)m-><a class="code" href="a00081.html#b5801722740492e69bcc7368747… [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/api/ |
H A D | api_msg.c | 14 * 1. Redistributions of source code must retain the above copyright notice, 77 #define WRITE_DELAYED , 1 90 #define TCPIP_APIMSG_ACK(m) argument 92 #define TCPIP_APIMSG_ACK(m) do { sys_sem_signal(LWIP_API_MSG_SEM(m)); } while(0) argument 102 return 1; in lwip_netconn_is_deallocated_msg() 137 return 1; in lwip_netconn_is_err_msg() 140 return 1; in lwip_netconn_is_err_msg() 143 return 1; in lwip_netconn_is_err_msg() 560 * the new socket is unknown. newconn->socket is marked as -1. */ 631 msg->conn->pcb.raw->chksum_reqd = 1; [all …]
|
H A D | netifapi.c | 18 * 1. Redistributions of source code must retain the above copyright notice, 61 netifapi_do_netif_add(struct tcpip_api_call_data *m) in netifapi_do_netif_add() argument 65 struct netifapi_msg *msg = (struct netifapi_msg *)(void *)m; in netifapi_do_netif_add() 87 netifapi_do_netif_set_addr(struct tcpip_api_call_data *m) in netifapi_do_netif_set_addr() argument 91 struct netifapi_msg *msg = (struct netifapi_msg *)(void *)m; in netifapi_do_netif_set_addr() 105 netifapi_do_name_to_index(struct tcpip_api_call_data *m) in netifapi_do_name_to_index() argument 109 struct netifapi_msg *msg = (struct netifapi_msg *)(void *)m; in netifapi_do_name_to_index() 119 netifapi_do_index_to_name(struct tcpip_api_call_data *m) in netifapi_do_index_to_name() argument 123 struct netifapi_msg *msg = (struct netifapi_msg *)(void *)m; in netifapi_do_index_to_name() 137 netifapi_do_netif_common(struct tcpip_api_call_data *m) in netifapi_do_netif_common() argument [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/api/ |
H A D | api_msg.c | 14 * 1. Redistributions of source code must retain the above copyright notice, 71 #define WRITE_DELAYED , 1 82 #define TCPIP_APIMSG_ACK(m) NETCONN_SET_SAFE_ERR((m)->conn, (m)->err) argument 84 #define TCPIP_APIMSG_ACK(m) do { NETCONN_SET_SAFE_ERR((m)->conn, (m)->err); sys_sem_signal(LWIP_A… argument 494 * the new socket is unknown. newconn->socket is marked as -1. */ 568 msg->conn->pcb.raw->chksum_reqd = 1; 614 * @param m the api_msg_msg describing the connection type 617 lwip_netconn_do_newconn(void *m) argument 619 struct api_msg *msg = (struct api_msg*)m; 693 /* initialize socket to -1 since 0 is a valid socket */ [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/src/ |
H A D | ble_ll.c | 47 #if MYNEWT_VAL(BLE_LL_DIRECT_TEST_MODE) == 1 53 * 1) use the sanity task! 312 struct os_mbuf *m; in ble_ll_rxpdu_alloc() local 337 m = os_msys_get(len, 0); in ble_ll_rxpdu_alloc() 338 if (!m) { in ble_ll_rxpdu_alloc() 344 SLIST_NEXT(n, om_next) = m; in ble_ll_rxpdu_alloc() 345 n = m; in ble_ll_rxpdu_alloc() 346 mb_bytes = m->om_omp->omp_databuf_len; in ble_ll_rxpdu_alloc() 372 rc = 1; in ble_ll_chk_txrx_octets() 387 rc = 1; in ble_ll_chk_txrx_time() [all …]
|