Lines Matching defs:level
428 size_t item_start, size_t item_end, size_t level, SpellingNode* parent) {
429 if (level >= spelling_size_ || item_end <= item_start || NULL == parent)
437 char char_for_node = spelling_last_start[level];
444 char char_current = spelling_current[level];
463 char_for_node = spelling_last_start[level];
466 if (spelling_last_start[level + 1] != '\0')
473 char char_current = spelling_current[level];
481 // For quick search in the first level
482 if (0 == level)
489 if (spelling_last_start[level + 1] != '\0' || i - item_start_next > 1) {
491 if (spelling_last_start[level + 1] == '\0')
495 construct_spellings_subset(real_start, i, level + 1,
514 if (level == 0 && is_szm_char(char_for_node)) {
525 } else if (level == 1 && char_for_node == 'h') {
554 if (spelling_current[level + 1] != '\0')
565 // For quick search in the first level
566 if (0 == level)
573 if (spelling_last_start[level + 1] != '\0' ||
576 if (spelling_last_start[level + 1] == '\0')
580 construct_spellings_subset(real_start, item_end, level + 1,
601 if (level == 0 && szm_is_enabled(char_for_node)) {
611 } else if (level == 1 && char_for_node == 'h') {