Lines Matching refs:mapper
125 "m:(mapper-name)"
126 "M:(mapper-directory)"
127 "Q:(mapper-pathname)"
128 "q:(mapper-options)"
506 gettext("Error mapper-name "
514 gettext("Error mapper-directory "
522 gettext("Error mapper-pathname "
527 plc.mapper.options = get_string(optarg_av, &rv);
626 * First, setting mapper-name (with optional mapper-directory) and
627 * mapper-pathname is mutually exclusive.
630 (mapper_name != NULL && oplc.mapper.pathname != NULL) ||
631 (mapper_pathname != NULL && oplc.mapper.mapname != NULL) ||
632 /* Mapper directory can be set only if mapper name is set. */
635 oplc.mapper.mapname == NULL) ||
636 (mapper_dir != NULL && oplc.mapper.pathname != NULL) ||
637 /* Options can be set only if mapper name or pathname is set. */
638 ((plc.mapper.options != NULL || oplc.mapper.options != NULL) &&
639 (mapper_name == NULL && oplc.mapper.mapname == NULL &&
640 mapper_pathname == NULL && oplc.mapper.pathname == NULL))) {
642 gettext("Error in mapper input options\n"));
649 if (flags & KC_MAPPER_OPTIONS && plc.mapper.options != NULL)
650 free(plc.mapper.options);
655 plc.mapper.mapname = mapper_name;
657 plc.mapper.pathname = mapper_pathname;
659 plc.mapper.dir = mapper_dir;
662 UPDATE_IF_DIFFERENT(oplc.mapper.mapname, plc.mapper.mapname);
663 UPDATE_IF_DIFFERENT(oplc.mapper.pathname, plc.mapper.pathname);
664 UPDATE_IF_DIFFERENT(oplc.mapper.dir, plc.mapper.dir);
667 if (oplc.mapper.options != NULL)
668 free(oplc.mapper.options);
669 oplc.mapper.options = plc.mapper.options;