Lines Matching refs:head
289 if (!yaml_emitter_analyze_event(emitter, emitter->events.head)) in yaml_emitter_emit()
291 if (!yaml_emitter_state_machine(emitter, emitter->events.head)) in yaml_emitter_emit()
318 switch (emitter->events.head->type) { in yaml_emitter_need_more_events()
332 if (emitter->events.tail - emitter->events.head > accumulate) in yaml_emitter_need_more_events()
335 for (event = emitter->events.head; event != emitter->events.tail; event ++) { in yaml_emitter_need_more_events()
1102 if (emitter->events.tail - emitter->events.head < 2) in yaml_emitter_check_empty_sequence()
1105 return (emitter->events.head[0].type == YAML_SEQUENCE_START_EVENT in yaml_emitter_check_empty_sequence()
1106 && emitter->events.head[1].type == YAML_SEQUENCE_END_EVENT); in yaml_emitter_check_empty_sequence()
1116 if (emitter->events.tail - emitter->events.head < 2) in yaml_emitter_check_empty_mapping()
1119 return (emitter->events.head[0].type == YAML_MAPPING_START_EVENT in yaml_emitter_check_empty_mapping()
1120 && emitter->events.head[1].type == YAML_MAPPING_END_EVENT); in yaml_emitter_check_empty_mapping()
1130 yaml_event_t *event = emitter->events.head; in yaml_emitter_check_simple_key()