Lines Matching refs:bopomofo_len
1874 …wing_userphrase_has_next(ChewingContext *ctx, unsigned int *phrase_len, unsigned int *bopomofo_len) in chewing_userphrase_has_next() argument
1882 if (!ctx || !phrase_len || !bopomofo_len) { in chewing_userphrase_has_next()
1902 …*bopomofo_len = GetBopomofoBufLen(sqlite3_column_int(pgdata->static_data.stmt_userphrase[STMT_USER… in chewing_userphrase_has_next()
1910 …*bopomofo_len = BopomofoFromUintArray(NULL, 0, pgdata->static_data.userphrase_enum->data.phoneSeq); in chewing_userphrase_has_next()
1920 char *bopomofo_buf, unsigned int bopomofo_len) in chewing_userphrase_get() argument
1931 if (!ctx || !phrase_buf || !phrase_len || !bopomofo_buf || !bopomofo_len) { in chewing_userphrase_get()
1951 if (bopomofo_len < GetBopomofoBufLen(length)) { in chewing_userphrase_get()
1952 LOG_ERROR("bopomofo_len %d is smaller than %d", bopomofo_len, GetBopomofoBufLen(length)); in chewing_userphrase_get()
1963 BopomofoFromUintArray(bopomofo_buf, bopomofo_len, phone_array); in chewing_userphrase_get()
1971 …BopomofoFromUintArray(bopomofo_buf, bopomofo_len, pgdata->static_data.userphrase_enum->data.phoneS… in chewing_userphrase_get()
1972 bopomofo_buf[bopomofo_len - 1] = 0; in chewing_userphrase_get()