Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/smf/smf_calculator/src/
Dsmf_calculator_thread.h18 #define CALCULATOR_STRING_LENGTH (CALCULATOR_MAX_DIGITS + 2) macro
Dmain.c20 K_MSGQ_DEFINE(output_msgq, CALCULATOR_STRING_LENGTH, 2, 1);
184 char output[CALCULATOR_STRING_LENGTH]; in main()
Dsmf_calculator_thread.c32 char string[CALCULATOR_STRING_LENGTH];
68 if (op->index >= (CALCULATOR_STRING_LENGTH - 1)) { in insert()
93 strncpy(dest->string, src->string, CALCULATOR_STRING_LENGTH); in copy_operand()
143 strncpy(s->result.string, result_string, CALCULATOR_STRING_LENGTH - 1); in calculate_result()
144 s->result.string[CALCULATOR_STRING_LENGTH - 1] = 0x00; in calculate_result()