Lines Matching refs:width
542 yaml_emitter_set_width(yaml_emitter_t *emitter, int width) in yaml_emitter_set_width() argument
546 emitter->best_width = (width >= 0) ? width : -1; in yaml_emitter_set_width()
627 unsigned int width; in yaml_check_utf8() local
632 width = (octet & 0x80) == 0x00 ? 1 : in yaml_check_utf8()
640 if (!width) return 0; in yaml_check_utf8()
641 if (pointer+width > end) return 0; in yaml_check_utf8()
642 for (k = 1; k < width; k ++) { in yaml_check_utf8()
647 if (!((width == 1) || in yaml_check_utf8()
648 (width == 2 && value >= 0x80) || in yaml_check_utf8()
649 (width == 3 && value >= 0x800) || in yaml_check_utf8()
650 (width == 4 && value >= 0x10000))) return 0; in yaml_check_utf8()
652 pointer += width; in yaml_check_utf8()