Home
last modified time | relevance | path

Searched refs:uc (Results 1 – 2 of 2) sorted by relevance

/openthread-2.7.6/third_party/mbedtls/repo/tests/src/
Dhelpers.c66 static int ascii2uc(const char c, unsigned char *uc) in ascii2uc() argument
69 *uc = c - '0'; in ascii2uc()
71 *uc = c - 'a' + 10; in ascii2uc()
73 *uc = c - 'A' + 10; in ascii2uc()
85 unsigned char uc, uc2; in mbedtls_test_unhexify() local
99 if ( ascii2uc( *(ibuf++), &uc ) != 0 ) in mbedtls_test_unhexify()
105 *(obuf++) = ( uc << 4 ) | uc2; in mbedtls_test_unhexify()
/openthread-2.7.6/tools/spi-hdlc-adapter/
Dspi-hdlc-adapter.c321 ucontext_t *uc = (ucontext_t *)ucontext; in signal_critical() local
324 (void)uc; in signal_critical()
344 stack[1] = (void *)uc->uc_mcontext.gregs[REG_RIP]; in signal_critical()
346 stack[1] = (void *)uc->uc_mcontext.gregs[REG_EIP]; in signal_critical()
348 stack[1] = (void *)uc->uc_mcontext.arm_ip; in signal_critical()