Lines Matching refs:subject_string
337 static lv_subject_t subject_string; in test_observer_label_text_normal() local
338 lv_subject_init_string(&subject_string, buf, NULL, 32, "hello"); in test_observer_label_text_normal()
339 lv_label_bind_text(obj, &subject_string, NULL); in test_observer_label_text_normal()
342 lv_subject_copy_string(&subject_string, "world"); in test_observer_label_text_normal()
346 lv_obj_remove_from_subject(obj, &subject_string); in test_observer_label_text_normal()
347 lv_subject_copy_string(&subject_string, "nothing"); in test_observer_label_text_normal()
393 static lv_subject_t subject_string; in test_observer_label_text_formatted() local
394 lv_subject_init_string(&subject_string, buf, NULL, 32, "hello"); in test_observer_label_text_formatted()
395 lv_label_bind_text(obj, &subject_string, "text: %s"); in test_observer_label_text_formatted()
398 lv_subject_copy_string(&subject_string, "world"); in test_observer_label_text_formatted()
402 lv_obj_remove_from_subject(obj, &subject_string); in test_observer_label_text_formatted()
403 lv_subject_copy_string(&subject_string, "nothing"); in test_observer_label_text_formatted()