Searched refs:PW_TOKENIZE_STRING (Results 1 – 4 of 4) sorted by relevance
53 constexpr pw_tokenizer_Token token = PW_TOKENIZE_STRING(""); in TEST()58 constexpr uint32_t token = PW_TOKENIZE_STRING("[:-)"); in TEST()62 constexpr uint32_t kGlobalToken = PW_TOKENIZE_STRING(">:-[]");
46 constexpr pw_tokenizer_Token token = PW_TOKENIZE_STRING(""); in TEST()51 constexpr uint32_t token = PW_TOKENIZE_STRING("[:-)"); in TEST()55 constexpr uint32_t kGlobalToken = PW_TOKENIZE_STRING(">:-[]");62 static constexpr uint32_t kThisToken = PW_TOKENIZE_STRING("???");72 [[maybe_unused]] constexpr uint32_t token = PW_TOKENIZE_STRING("(O_o)"); in TEST()98 constexpr uint32_t function_hash = PW_TOKENIZE_STRING(__func__); in TestName()102 constexpr uint32_t pretty_function = PW_TOKENIZE_STRING(__PRETTY_FUNCTION__); in TestName()111 const uint32_t array_hash = PW_TOKENIZE_STRING(array); in TEST()
145 The ``PW_TOKENIZE_STRING`` macro converts a string literal to a ``uint32_t``150 constexpr uint32_t token = PW_TOKENIZE_STRING("Any string literal!");154 Use ``PW_TOKENIZE_STRING`` to tokenize string literals that do not have394 constexpr uint32_t function = PW_TOKENIZE_STRING(__func__);395 constexpr uint32_t pretty_function = PW_TOKENIZE_STRING(__PRETTY_FUNCTION__);474 PW_TOKENIZE_STRING("Hello, world!");1091 constexpr uint32_t answer_token = PW_TOKENIZE_STRING("Uh, who is there");
64 #define PW_TOKENIZE_STRING(string_literal) \ macro