Lines Matching refs:msg
76 const char * msg = "Hello "; in test_txt_should_insert_string_into_another() local
79 size_t msg_len = strlen(msg); in test_txt_should_insert_string_into_another()
81 strcpy(target, msg); in test_txt_should_insert_string_into_another()
90 const char * msg = "Hello "; in test_txt_should_handle_null_pointers_when_inserting() local
92 size_t msg_len = strlen(msg); in test_txt_should_handle_null_pointers_when_inserting()
94 strcpy(target, msg); in test_txt_should_handle_null_pointers_when_inserting()
108 char msg[] = "Hello World"; in test_txt_cut_happy_path() local
110 _lv_txt_cut(msg, 0, 6); in test_txt_cut_happy_path()
112 TEST_ASSERT_EQUAL_STRING("World", msg); in test_txt_cut_happy_path()
117 char msg[] = "Hello World"; in test_txt_cut_should_handle_len_longer_than_string_length() local
119 _lv_txt_cut(msg, 0, 30); in test_txt_cut_should_handle_len_longer_than_string_length()
121 TEST_ASSERT_EQUAL_UINT8(msg[0], 0x00); in test_txt_cut_should_handle_len_longer_than_string_length()
126 char msg[] = "Hello World!"; in test_txt_get_encoded_next_should_decode_valid_ascii() local
129 result = _lv_txt_encoded_next(msg, NULL); in test_txt_get_encoded_next_should_decode_valid_ascii()
136 char msg[] = "\xc3\xb1"; in test_txt_get_encoded_next_detect_valid_2_byte_input() local
139 result = _lv_txt_encoded_next(msg, NULL); in test_txt_get_encoded_next_detect_valid_2_byte_input()
146 char msg[] = "\xc3\x28"; in test_txt_get_encoded_next_detect_invalid_2_byte_input() local
149 result = _lv_txt_encoded_next(msg, NULL); in test_txt_get_encoded_next_detect_invalid_2_byte_input()
156 char msg[] = "\xe2\x82\xa1"; in test_txt_get_encoded_next_detect_valid_3_byte_input() local
159 result = _lv_txt_encoded_next(msg, NULL); in test_txt_get_encoded_next_detect_valid_3_byte_input()
166 char msg[] = "\xe2\x28\xa1"; in test_txt_get_encoded_next_detect_invalid_3_byte_input() local
169 result = _lv_txt_encoded_next(msg, NULL); in test_txt_get_encoded_next_detect_invalid_3_byte_input()
176 char msg[] = "\xf0\x90\x8c\xbc"; in test_txt_get_encoded_next_detect_valid_4_byte_input() local
179 result = _lv_txt_encoded_next(msg, NULL); in test_txt_get_encoded_next_detect_valid_4_byte_input()
186 char msg[] = "\xf0\x28\x8c\x28"; in test_txt_get_encoded_next_detect_invalid_4_byte_input() local
189 result = _lv_txt_encoded_next(msg, NULL); in test_txt_get_encoded_next_detect_invalid_4_byte_input()