Home
last modified time | relevance | path

Searched full:t (Results 1 – 25 of 983) sorted by relevance

12345678910>>...40

/nrf52832-nimble/packages/NimBLE-latest/nimble/host/test/src/
H A Dble_l2cap_test.c688 struct test_data *t = arg; in ble_l2cap_test_event() local
689 struct event *ev = &t->event[t->event_cnt++]; in ble_l2cap_test_event()
697 t->chan = event->connect.chan; in ble_l2cap_test_event()
723 ble_l2cap_test_coc_connect(struct test_data *t) in ble_l2cap_test_coc_connect() argument
728 struct event *ev = &t->event[t->event_iter++]; in ble_l2cap_test_coc_connect()
740 rc = ble_l2cap_sig_coc_connect(2, t->psm, t->mtu, sdu_rx, in ble_l2cap_test_coc_connect()
741 ble_l2cap_test_event, t); in ble_l2cap_test_coc_connect()
750 req.credits = htole16((t->mtu + (BLE_L2CAP_COC_MTU - 1) / 2) / in ble_l2cap_test_coc_connect()
753 req.mtu = htole16(t->mtu); in ble_l2cap_test_coc_connect()
754 req.psm = htole16(t->psm); in ble_l2cap_test_coc_connect()
[all …]
/nrf52832-nimble/rt-thread/components/libc/compilers/minilibc/
H A Dtime.c79 struct tm* localtime_r(const time_t* t, struct tm* r) in localtime_r() argument
85 tmp = *t + timezone; in localtime_r()
89 struct tm* localtime(const time_t* t) in localtime() argument
92 return localtime_r(t, &tmp); in localtime()
95 time_t mktime(struct tm * const t) in mktime() argument
99 register time_t years = t->tm_year - 70; in mktime()
101 if (t->tm_sec > 60) in mktime()
103 t->tm_min += t->tm_sec / 60; in mktime()
104 t->tm_sec %= 60; in mktime()
106 if (t->tm_min > 60) in mktime()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/
H A Dstats.c41 #if LWIP_STATS /* don't build if not configured for use in lwipopts.h */
66 LWIP_PLATFORM_DIAG(("\n%s\n\t", name)); in stats_display_proto()
67 LWIP_PLATFORM_DIAG(("xmit: %"STAT_COUNTER_F"\n\t", proto->xmit)); in stats_display_proto()
68 LWIP_PLATFORM_DIAG(("recv: %"STAT_COUNTER_F"\n\t", proto->recv)); in stats_display_proto()
69 LWIP_PLATFORM_DIAG(("fw: %"STAT_COUNTER_F"\n\t", proto->fw)); in stats_display_proto()
70 LWIP_PLATFORM_DIAG(("drop: %"STAT_COUNTER_F"\n\t", proto->drop)); in stats_display_proto()
71 LWIP_PLATFORM_DIAG(("chkerr: %"STAT_COUNTER_F"\n\t", proto->chkerr)); in stats_display_proto()
72 LWIP_PLATFORM_DIAG(("lenerr: %"STAT_COUNTER_F"\n\t", proto->lenerr)); in stats_display_proto()
73 LWIP_PLATFORM_DIAG(("memerr: %"STAT_COUNTER_F"\n\t", proto->memerr)); in stats_display_proto()
74 LWIP_PLATFORM_DIAG(("rterr: %"STAT_COUNTER_F"\n\t", proto->rterr)); in stats_display_proto()
[all …]
H A Dtimeouts.c73 #define TIME_LESS_THAN(t, compare_to) ( (((u32_t)((t)-(compare_to))) > LWIP_MAX_TIMEOUT) ? 1 : 0 ) argument
186 struct sys_timeo *timeout, *t; in sys_timeout_abs() local
213 for (t = next_timeout; t != NULL; t = t->next) { in sys_timeout_abs()
214 if ((t->next == NULL) || TIME_LESS_THAN(timeout->time, t->next->time)) { in sys_timeout_abs()
215 timeout->next = t->next; in sys_timeout_abs()
216 t->next = timeout; in sys_timeout_abs()
319 struct sys_timeo *prev_t, *t; in sys_untimeout() local
327 for (t = next_timeout, prev_t = NULL; t != NULL; prev_t = t, t = t->next) { in sys_untimeout()
328 if ((t->h == handler) && (t->arg == arg)) { in sys_untimeout()
332 next_timeout = t->next; in sys_untimeout()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/
H A Dstats.c41 #if LWIP_STATS /* don't build if not configured for use in lwipopts.h */
66 LWIP_PLATFORM_DIAG(("\n%s\n\t", name)); in stats_display_proto()
67 LWIP_PLATFORM_DIAG(("xmit: %"STAT_COUNTER_F"\n\t", proto->xmit)); in stats_display_proto()
68 LWIP_PLATFORM_DIAG(("recv: %"STAT_COUNTER_F"\n\t", proto->recv)); in stats_display_proto()
69 LWIP_PLATFORM_DIAG(("fw: %"STAT_COUNTER_F"\n\t", proto->fw)); in stats_display_proto()
70 LWIP_PLATFORM_DIAG(("drop: %"STAT_COUNTER_F"\n\t", proto->drop)); in stats_display_proto()
71 LWIP_PLATFORM_DIAG(("chkerr: %"STAT_COUNTER_F"\n\t", proto->chkerr)); in stats_display_proto()
72 LWIP_PLATFORM_DIAG(("lenerr: %"STAT_COUNTER_F"\n\t", proto->lenerr)); in stats_display_proto()
73 LWIP_PLATFORM_DIAG(("memerr: %"STAT_COUNTER_F"\n\t", proto->memerr)); in stats_display_proto()
74 LWIP_PLATFORM_DIAG(("rterr: %"STAT_COUNTER_F"\n\t", proto->rterr)); in stats_display_proto()
[all …]
H A Dtimeouts.c207 struct sys_timeo *timeout, *t; in sys_timeout_debug() local
244 for (t = next_timeout; t != NULL; t = t->next) { in sys_timeout_debug()
245 timeout->time -= t->time; in sys_timeout_debug()
246 if (t->next == NULL || t->next->time > timeout->time) { in sys_timeout_debug()
247 if (t->next != NULL) { in sys_timeout_debug()
248 t->next->time -= timeout->time; in sys_timeout_debug()
256 timeout->next = t->next; in sys_timeout_debug()
257 t->next = timeout; in sys_timeout_debug()
275 struct sys_timeo *prev_t, *t; in sys_untimeout() local
281 for (t = next_timeout, prev_t = NULL; t != NULL; prev_t = t, t = t->next) { in sys_untimeout()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/
H A Dstats.c41 #if LWIP_STATS /* don't build if not configured for use in lwipopts.h */
74 LWIP_PLATFORM_DIAG(("\n%s\n\t", name)); in stats_display_proto()
75 LWIP_PLATFORM_DIAG(("xmit: %"STAT_COUNTER_F"\n\t", proto->xmit)); in stats_display_proto()
76 LWIP_PLATFORM_DIAG(("recv: %"STAT_COUNTER_F"\n\t", proto->recv)); in stats_display_proto()
77 LWIP_PLATFORM_DIAG(("fw: %"STAT_COUNTER_F"\n\t", proto->fw)); in stats_display_proto()
78 LWIP_PLATFORM_DIAG(("drop: %"STAT_COUNTER_F"\n\t", proto->drop)); in stats_display_proto()
79 LWIP_PLATFORM_DIAG(("chkerr: %"STAT_COUNTER_F"\n\t", proto->chkerr)); in stats_display_proto()
80 LWIP_PLATFORM_DIAG(("lenerr: %"STAT_COUNTER_F"\n\t", proto->lenerr)); in stats_display_proto()
81 LWIP_PLATFORM_DIAG(("memerr: %"STAT_COUNTER_F"\n\t", proto->memerr)); in stats_display_proto()
82 LWIP_PLATFORM_DIAG(("rterr: %"STAT_COUNTER_F"\n\t", proto->rterr)); in stats_display_proto()
[all …]
H A Dtimers.c269 struct sys_timeo *timeout, *t; in sys_timeout_debug() local
296 for(t = next_timeout; t != NULL; t = t->next) { in sys_timeout_debug()
297 timeout->time -= t->time; in sys_timeout_debug()
298 if (t->next == NULL || t->next->time > timeout->time) { in sys_timeout_debug()
299 if (t->next != NULL) { in sys_timeout_debug()
300 t->next->time -= timeout->time; in sys_timeout_debug()
302 timeout->next = t->next; in sys_timeout_debug()
303 t->next = timeout; in sys_timeout_debug()
323 struct sys_timeo *prev_t, *t; in sys_untimeout() local
329 for (t = next_timeout, prev_t = NULL; t != NULL; prev_t = t, t = t->next) { in sys_untimeout()
[all …]
/nrf52832-nimble/rt-thread/libcpu/mips/common/
H A Dmips_regs.h347 /* Why doesn't stupidity hurt ... */
642 * time accounting with a precission of one cycle. I don't have
705 "mfpc\t%0, "STR(counter) \
711 "mtpc\t%0, "STR(counter) \
717 "mfps\t%0, "STR(counter) \
723 "mtps\t%0, "STR(counter) \
734 "mfc0\t%0, " #source "\n\t" \
738 ".set\tmips32\n\t" \
739 "mfc0\t%0, " #source ", " #sel "\n\t" \
740 ".set\tmips0\n\t" \
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/test/unit/mdns/
H A Dtest_mdns.c41 static const u8_t data[] = { 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', 0x00 }; in START_TEST()
79 static const u8_t data[] = { 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a' }; in START_TEST()
97 0x05, 'm', 'u', 'l', 't', 'i', in START_TEST()
122 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
123 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
124 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
125 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
126 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
127 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
128 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/test/unit/mdns/
H A Dtest_mdns.c41 static const u8_t data[] = { 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', 0x00 }; in START_TEST()
79 static const u8_t data[] = { 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a' }; in START_TEST()
97 0x05, 'm', 'u', 'l', 't', 'i', in START_TEST()
122 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
123 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
124 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
125 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
126 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
127 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
128 0x05, 'm', 'u', 'l', 't', 'i', 0x04, 'c', 'a', 's', 't', in START_TEST()
[all …]
/nrf52832-nimble/rt-thread/libcpu/mips/xburst/
H A Dcache.c36 "la %0, 1f\n\t" \
37 "or %0, %0, %1\n\t" \
38 "jr %0\n\t" \
39 "nop\n\t" \
49 "nop;nop;nop;nop;nop;nop;nop\n\t" \
50 "la %0, 1f\n\t" \
51 "jr %0\n\t" \
52 "nop\n\t" \
61 ".set mips32\n\t" \
62 "mfc0 %0, $16, 7\n\t" \
[all …]
/nrf52832-nimble/rt-thread/libcpu/mips/x1000/
H A Dcache.c41 "la %0, 1f\n\t" \
42 "or %0, %0, %1\n\t" \
43 "jr %0\n\t" \
44 "nop\n\t" \
54 "nop;nop;nop;nop;nop;nop;nop\n\t" \
55 "la %0, 1f\n\t" \
56 "jr %0\n\t" \
57 "nop\n\t" \
66 ".set mips32\n\t" \
67 "mfc0 %0, $16, 7\n\t" \
[all …]
H A Dcpu.c61 ".macro _ssnop; sll $0, $0, 1; .endm\n\t" in rt_hw_tlb_init()
62 ".macro _ehb; sll $0, $0, 3; .endm\n\t" in rt_hw_tlb_init()
63 ".macro mtc0_tlbw_hazard; _ssnop; _ssnop; _ehb; .endm\n\t" in rt_hw_tlb_init()
64 ".macro tlbw_use_hazard; _ssnop; _ssnop; _ssnop; _ehb; .endm\n\t" in rt_hw_tlb_init()
65 "\n\t" in rt_hw_tlb_init()
66 "mtc0 %0, $0\n\t" /* write Index */ in rt_hw_tlb_init()
67 "tlbw_use_hazard\n\t" in rt_hw_tlb_init()
68 "mtc0 %1, $5\n\t" /* write PageMask */ in rt_hw_tlb_init()
69 "mtc0 %2, $10\n\t" /* write EntryHi */ in rt_hw_tlb_init()
70 "mtc0 %3, $2\n\t" /* write EntryLo0 */ in rt_hw_tlb_init()
[all …]
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/src/
H A Dinfblock.c125 uInt t; /* temporary storage */ local
141 t = (uInt)b & 7;
142 s->last = t & 1;
143 switch (t >> 1)
149 t = k & 7; /* go to byte boundary */
150 DUMPBITS(t)
203 t = s->sub.left; local
204 if (t > n) t = n;
205 if (t > m) t = m;
206 zmemcpy(q, p, t);
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/ppp/polarssl/
H A Ddes.c257 T = ((X >> 4) ^ Y) & 0x0F0F0F0F; Y ^= T; X ^= (T << 4); \
258 T = ((X >> 16) ^ Y) & 0x0000FFFF; Y ^= T; X ^= (T << 16); \
259 T = ((Y >> 2) ^ X) & 0x33333333; X ^= T; Y ^= (T << 2); \
260 T = ((Y >> 8) ^ X) & 0x00FF00FF; X ^= T; Y ^= (T << 8); \
262 T = (X ^ Y) & 0xAAAAAAAA; Y ^= T; X ^= T; \
272 T = (X ^ Y) & 0xAAAAAAAA; X ^= T; Y ^= T; \
274 T = ((Y >> 8) ^ X) & 0x00FF00FF; X ^= T; Y ^= (T << 8); \
275 T = ((Y >> 2) ^ X) & 0x33333333; X ^= T; Y ^= (T << 2); \
276 T = ((X >> 16) ^ Y) & 0x0000FFFF; Y ^= T; X ^= (T << 16); \
277 T = ((X >> 4) ^ Y) & 0x0F0F0F0F; Y ^= T; X ^= (T << 4); \
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/netif/ppp/polarssl/
H A Ddes.c257 T = ((X >> 4) ^ Y) & 0x0F0F0F0F; Y ^= T; X ^= (T << 4); \
258 T = ((X >> 16) ^ Y) & 0x0000FFFF; Y ^= T; X ^= (T << 16); \
259 T = ((Y >> 2) ^ X) & 0x33333333; X ^= T; Y ^= (T << 2); \
260 T = ((Y >> 8) ^ X) & 0x00FF00FF; X ^= T; Y ^= (T << 8); \
262 T = (X ^ Y) & 0xAAAAAAAA; Y ^= T; X ^= T; \
272 T = (X ^ Y) & 0xAAAAAAAA; X ^= T; Y ^= T; \
274 T = ((Y >> 8) ^ X) & 0x00FF00FF; X ^= T; Y ^= (T << 8); \
275 T = ((Y >> 2) ^ X) & 0x33333333; X ^= T; Y ^= (T << 2); \
276 T = ((X >> 16) ^ Y) & 0x0000FFFF; Y ^= T; X ^= (T << 16); \
277 T = ((X >> 4) ^ Y) & 0x0F0F0F0F; Y ^= T; X ^= (T << 4); \
[all …]
/nrf52832-nimble/packages/NimBLE-latest/ext/tinycrypt/src/
H A Daes_encrypt.c77 unsigned int t; in tc_aes128_set_encrypt_key() local
91 t = s->words[i-1]; in tc_aes128_set_encrypt_key()
93 t = subword(rotword(t)) ^ rconst[i/Nk]; in tc_aes128_set_encrypt_key()
95 s->words[i] = s->words[i-Nk] ^ t; in tc_aes128_set_encrypt_key()
134 uint8_t t[Nb*Nk]; in mix_columns() local
136 mult_row_column(t, s); in mix_columns()
137 mult_row_column(&t[Nb], s+Nb); in mix_columns()
138 mult_row_column(&t[2 * Nb], s + (2 * Nb)); in mix_columns()
139 mult_row_column(&t[3 * Nb], s + (3 * Nb)); in mix_columns()
140 (void) _copy(s, sizeof(t), t, sizeof(t)); in mix_columns()
[all …]
H A Daes_decrypt.c83 uint8_t t[Nb*Nk]; in inv_mix_columns() local
85 mult_row_column(t, s); in inv_mix_columns()
86 mult_row_column(&t[Nb], s+Nb); in inv_mix_columns()
87 mult_row_column(&t[2*Nb], s+(2*Nb)); in inv_mix_columns()
88 mult_row_column(&t[3*Nb], s+(3*Nb)); in inv_mix_columns()
89 (void)_copy(s, sizeof(t), t, sizeof(t)); in inv_mix_columns()
120 uint8_t t[Nb*Nk]; in inv_shift_rows() local
122 t[0] = s[0]; t[1] = s[13]; t[2] = s[10]; t[3] = s[7]; in inv_shift_rows()
123 t[4] = s[4]; t[5] = s[1]; t[6] = s[14]; t[7] = s[11]; in inv_shift_rows()
124 t[8] = s[8]; t[9] = s[5]; t[10] = s[2]; t[11] = s[15]; in inv_shift_rows()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/netif/ppp/
H A DPPPD_FOLLOWUP8 So, here is the pppd follow up, so that we don't get away too far from pppd.
16 - LCP adaptive echo, so that we don't send LCP echo request if we
21 the ppp port, but it wasn't really helpful and was disabled when adding
37 Don't care.
43 Don't care.
56 Don't care, is a patch for pppd/plugins/rp-pppoe/plugin.c which is not part
64 We can't fork processes in embedded, therefore all the pppd process run
65 feature is disabled in the port, so we don't care about the new
88 Only concern changes on RP-PPPoE plugin, which we don't use.
103 2012-05-06 - pppd: Don't unconditionally disable VJ compression under Linux
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/ppp/
H A DPPPD_FOLLOWUP8 So, here is the pppd follow up, so that we don't get away too far from pppd.
16 - LCP adaptive echo, so that we don't send LCP echo request if we
21 the ppp port, but it wasn't really helpful and was disabled when adding
37 Don't care.
43 Don't care.
56 Don't care, is a patch for pppd/plugins/rp-pppoe/plugin.c which is not part
64 We can't fork processes in embedded, therefore all the pppd process run
65 feature is disabled in the port, so we don't care about the new
88 Only concern changes on RP-PPPoE plugin, which we don't use.
103 2012-05-06 - pppd: Don't unconditionally disable VJ compression under Linux
[all …]
/nrf52832-nimble/rt-thread/src/
H A Dtimer.c348 struct rt_timer *t; in rt_timer_start() local
352 t = rt_list_entry(p, struct rt_timer, row[row_lvl]); in rt_timer_start()
359 if ((t->timeout_tick - timer->timeout_tick) == 0) in rt_timer_start()
363 else if ((t->timeout_tick - timer->timeout_tick) < RT_TICK_MAX / 2) in rt_timer_start()
496 struct rt_timer *t; in rt_timer_check() local
509 t = rt_list_entry(rt_timer_list[RT_TIMER_SKIP_LIST_LEVEL - 1].next, in rt_timer_check()
516 if ((current_tick - t->timeout_tick) < RT_TICK_MAX / 2) in rt_timer_check()
518 RT_OBJECT_HOOK_CALL(rt_timer_enter_hook, (t)); in rt_timer_check()
521 _rt_timer_remove(t); in rt_timer_check()
524 t->timeout_func(t->parameter); in rt_timer_check()
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/uip/
H A Duip_timer.c60 * \param t A pointer to the timer
65 timer_set(struct timer *t, clock_time_t interval) in timer_set() argument
67 t->interval = interval; in timer_set()
68 t->start = clock_time(); in timer_set()
80 * \param t A pointer to the timer.
85 timer_reset(struct timer *t) in timer_reset() argument
87 t->start += t->interval; in timer_reset()
100 * \param t A pointer to the timer.
105 timer_restart(struct timer *t) in timer_restart() argument
107 t->start = clock_time(); in timer_restart()
[all …]
/nrf52832-nimble/rt-thread/components/cplusplus/
H A DMail.h23 * @param T data type of a single message element.
27 template<typename T, uint32_t queue_sz>
45 bool put(T *mptr, int32_t millisec = 0)
61 T* get(int32_t millisec = -1)
63 T *t = NULL; variable
71 rt_mb_recv(&mID, &t, tick);
73 return t;
78 T* mPool[queue_sz];
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/
H A Dapi.h42 #if LWIP_NETCONN || LWIP_SOCKET /* don't build if not configured for use in lwipopts.h */
84 #define NETCONNTYPE_GROUP(t) ((t)&0xF0) argument
85 #define NETCONNTYPE_DATAGRAM(t) ((t)&0xE0) argument
88 #define NETCONNTYPE_ISIPV6(t) (((t)&NETCONN_TYPE_IPV6) != 0) argument
89 #define NETCONNTYPE_ISUDPLITE(t) (((t)&0xF3) == NETCONN_UDPLITE) argument
90 #define NETCONNTYPE_ISUDPNOCHKSUM(t) (((t)&0xF3) == NETCONN_UDPNOCHKSUM) argument
92 #define NETCONNTYPE_ISIPV6(t) (0)
93 #define NETCONNTYPE_ISUDPLITE(t) ((t) == NETCONN_UDPLITE)
94 #define NETCONNTYPE_ISUDPNOCHKSUM(t) ((t) == NETCONN_UDPNOCHKSUM)
261 /** TCP: when data passed to netconn_write doesn't fit into the send buffer,
[all …]

12345678910>>...40