Lines Matching defs:handle
372 if (strcmp((char *)value.handle, (char *)tag_directive->handle) == 0) {
380 copy.handle = yaml_strdup(value.handle);
382 if (!copy.handle || !copy.prefix) {
393 yaml_free(copy.handle);
580 tag_directive->handle; tag_directive ++) {
619 if (!yaml_emitter_write_tag_handle(emitter, tag_directive->handle,
620 strlen((char *)tag_directive->handle)))
712 yaml_free(tag_directive.handle);
1182 int no_tag = (!emitter->tag_data.handle && !emitter->tag_data.suffix);
1227 emitter->tag_data.handle = (yaml_char_t *)"!";
1261 if (!emitter->tag_data.handle && !emitter->tag_data.suffix)
1264 if (emitter->tag_data.handle)
1266 if (!yaml_emitter_write_tag_handle(emitter, emitter->tag_data.handle,
1352 yaml_string_t handle;
1357 handle_length = strlen((char *)tag_directive.handle);
1359 STRING_ASSIGN(handle, tag_directive.handle, handle_length);
1362 if (handle.start == handle.end) {
1364 "tag handle must not be empty");
1367 if (handle.start[0] != '!') {
1369 "tag handle must start with '!'");
1372 if (handle.end[-1] != '!') {
1374 "tag handle must end with '!'");
1377 handle.pointer ++;
1379 while (handle.pointer < handle.end-1) {
1380 if (!IS_ALPHA(handle)) {
1382 "tag handle must contain alphanumerical characters only");
1384 MOVE(handle);
1458 emitter->tag_data.handle = tag_directive->handle;
1460 strlen((char *)tag_directive->handle);
1684 emitter->tag_data.handle = NULL;