Home
last modified time | relevance | path

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

/Zephyr-latest/samples/userspace/shared_mem/src/
Denc.c48 short tmpIndex; in enig_enc() local
54 tmpIndex = char_to_index(pt); in enig_enc()
56 printk("EE : %02x\n", tmpIndex); in enig_enc()
59 if (tmpIndex == -1) { in enig_enc()
63 tmpIndex = (W1[IMOD(IW1, tmpIndex)] + WHEEL_SIZE - IW1) % WHEEL_SIZE; in enig_enc()
65 printk("EE i1: %02x\n", tmpIndex); in enig_enc()
67 tmpIndex = (W2[IMOD(IW2, tmpIndex)] + WHEEL_SIZE - IW2) % WHEEL_SIZE; in enig_enc()
69 printk("EE i2: %02x\n", tmpIndex); in enig_enc()
71 tmpIndex = (W3[IMOD(IW3, tmpIndex)] + WHEEL_SIZE - IW3) % WHEEL_SIZE; in enig_enc()
73 printk("EE i3: %02x\n", tmpIndex); in enig_enc()
[all …]