Lines Matching refs:start

74 yaml_string_extend(yaml_char_t **start,  in yaml_string_extend()  argument
77 yaml_char_t *new_start = yaml_realloc(*start, (*end - *start)*2); in yaml_string_extend()
81 memset(new_start + (*end - *start), 0, *end - *start); in yaml_string_extend()
83 *pointer = new_start + (*pointer - *start); in yaml_string_extend()
84 *end = new_start + (*end - *start)*2; in yaml_string_extend()
85 *start = new_start; in yaml_string_extend()
118 yaml_stack_extend(void **start, void **top, void **end) in yaml_stack_extend() argument
120 void *new_start = yaml_realloc(*start, ((char *)*end - (char *)*start)*2); in yaml_stack_extend()
124 *top = (char *)new_start + ((char *)*top - (char *)*start); in yaml_stack_extend()
125 *end = (char *)new_start + ((char *)*end - (char *)*start)*2; in yaml_stack_extend()
126 *start = new_start; in yaml_stack_extend()
136 yaml_queue_extend(void **start, void **head, void **tail, void **end) in yaml_queue_extend() argument
140 if (*start == *head && *tail == *end) { in yaml_queue_extend()
141 void *new_start = yaml_realloc(*start, in yaml_queue_extend()
142 ((char *)*end - (char *)*start)*2); in yaml_queue_extend()
146 *head = (char *)new_start + ((char *)*head - (char *)*start); in yaml_queue_extend()
147 *tail = (char *)new_start + ((char *)*tail - (char *)*start); in yaml_queue_extend()
148 *end = (char *)new_start + ((char *)*end - (char *)*start)*2; in yaml_queue_extend()
149 *start = new_start; in yaml_queue_extend()
156 memmove(*start, *head, (char *)*tail - (char *)*head); in yaml_queue_extend()
158 *tail = (char *)*tail - (char *)*head + (char *)*start; in yaml_queue_extend()
159 *head = *start; in yaml_queue_extend()
293 parser->input.string.start = input; in yaml_parser_set_input_string()
620 yaml_check_utf8(yaml_char_t *start, size_t length) in yaml_check_utf8() argument
622 yaml_char_t *end = start+length; in yaml_check_utf8()
623 yaml_char_t *pointer = start; in yaml_check_utf8()
708 yaml_tag_directive_t *start; in yaml_document_start_event_initialize() member
751 tag_directives_copy.start, tag_directives_copy.top, in yaml_document_start_event_initialize()
989 for (tag_directive = event->data.document_start.tag_directives.start; in yaml_event_delete()
995 yaml_free(event->data.document_start.tag_directives.start); in yaml_event_delete()
1040 yaml_node_t *start; in yaml_document_initialize() member
1046 yaml_tag_directive_t *start; in yaml_document_initialize() member
1091 DOCUMENT_INIT(*document, nodes.start, nodes.end, version_directive_copy, in yaml_document_initialize()
1092 tag_directives_copy.start, tag_directives_copy.top, in yaml_document_initialize()
1148 for (tag_directive = document->tag_directives.start; in yaml_document_delete()
1154 yaml_free(document->tag_directives.start); in yaml_document_delete()
1168 if (index > 0 && document->nodes.start + index <= document->nodes.top) { in yaml_document_get_node()
1169 return document->nodes.start + index - 1; in yaml_document_get_node()
1183 if (document->nodes.top != document->nodes.start) { in yaml_document_get_root_node()
1184 return document->nodes.start; in yaml_document_get_root_node()
1230 return document->nodes.top - document->nodes.start; in yaml_document_add_scalar()
1253 yaml_node_item_t *start; in yaml_document_add_sequence() member
1271 SEQUENCE_NODE_INIT(node, tag_copy, items.start, items.end, in yaml_document_add_sequence()
1275 return document->nodes.top - document->nodes.start; in yaml_document_add_sequence()
1298 yaml_node_pair_t *start; in yaml_document_add_mapping() member
1316 MAPPING_NODE_INIT(node, tag_copy, pairs.start, pairs.end, in yaml_document_add_mapping()
1320 return document->nodes.top - document->nodes.start; in yaml_document_add_mapping()
1343 && document->nodes.start + sequence <= document->nodes.top); in yaml_document_append_sequence_item()
1345 assert(document->nodes.start[sequence-1].type == YAML_SEQUENCE_NODE); in yaml_document_append_sequence_item()
1347 assert(item > 0 && document->nodes.start + item <= document->nodes.top); in yaml_document_append_sequence_item()
1351 document->nodes.start[sequence-1].data.sequence.items, item)) in yaml_document_append_sequence_item()
1373 && document->nodes.start + mapping <= document->nodes.top); in yaml_document_append_mapping_pair()
1375 assert(document->nodes.start[mapping-1].type == YAML_MAPPING_NODE); in yaml_document_append_mapping_pair()
1377 assert(key > 0 && document->nodes.start + key <= document->nodes.top); in yaml_document_append_mapping_pair()
1379 assert(value > 0 && document->nodes.start + value <= document->nodes.top); in yaml_document_append_mapping_pair()
1386 document->nodes.start[mapping-1].data.mapping.pairs, pair)) in yaml_document_append_mapping_pair()