Lines Matching refs:py_str

35 static char * pinyin_search_matching(lv_obj_t * obj, char * py_str, uint16_t * cand_num);
41 static bool pinyin_k9_is_valid_py(lv_obj_t * obj, char * py_str);
900 static char * pinyin_search_matching(lv_obj_t * obj, char * py_str, uint16_t * cand_num) in pinyin_search_matching() argument
908 if(*py_str == '\0') return NULL; in pinyin_search_matching()
909 if(*py_str == 'i') return NULL; in pinyin_search_matching()
910 if(*py_str == 'u') return NULL; in pinyin_search_matching()
911 if(*py_str == 'v') return NULL; in pinyin_search_matching()
913 offset = py_str[0] - 'a'; in pinyin_search_matching()
914 len = strlen(py_str); in pinyin_search_matching()
921 if(*(py_str + index) != *((cpHZ->py) + index)) { in pinyin_search_matching()
1019 strcpy(ll_index->py_str, py_comp); in pinyin_k9_get_legal_py()
1022 strcpy(ll_index->py_str, py_comp); in pinyin_k9_get_legal_py()
1050 static bool pinyin_k9_is_valid_py(lv_obj_t * obj, char * py_str) in pinyin_k9_is_valid_py() argument
1059 if(*py_str == '\0') return false; in pinyin_k9_is_valid_py()
1060 if(*py_str == 'i') return false; in pinyin_k9_is_valid_py()
1061 if(*py_str == 'u') return false; in pinyin_k9_is_valid_py()
1062 if(*py_str == 'v') return false; in pinyin_k9_is_valid_py()
1064 offset = py_str[0] - 'a'; in pinyin_k9_is_valid_py()
1065 len = strlen(py_str); in pinyin_k9_is_valid_py()
1072 if(*(py_str + index) != *((cpHZ->py) + index)) { in pinyin_k9_is_valid_py()
1104 strcpy(pinyin_ime->input_char, ll_index->py_str); in pinyin_k9_fill_cand()
1110 strcpy(lv_pinyin_k9_cand_str[index], ll_index->py_str); in pinyin_k9_fill_cand()
1157 strcpy(lv_pinyin_k9_cand_str[count], ll_index->py_str); in pinyin_k9_cand_page_proc()
1171 strcpy(lv_pinyin_k9_cand_str[count], ll_index->py_str); in pinyin_k9_cand_page_proc()