Lines Matching +full:use +full:- +full:case
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
20 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24 * used in advertising or otherwise to promote the sale, use or other dealings
29 * Copyright (c) 1997-2003 by The XFree86 Project, Inc.
34 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
46 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
51 * the sale, use or other dealings in this Software without prior written
56 #include <xorg-config.h>
83 {-1, ""},
89 {-1, ""},
105 case COMMENT: in xf86parsePointerSection()
106 ptr->inp_comment = xf86addComment(ptr->inp_comment, xf86_lex_val.str); in xf86parsePointerSection()
108 case PROTOCOL: in xf86parsePointerSection()
109 if (xf86getSubToken(&(ptr->inp_comment)) != STRING) in xf86parsePointerSection()
111 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
114 case PDEVICE: in xf86parsePointerSection()
115 if (xf86getSubToken(&(ptr->inp_comment)) != STRING) in xf86parsePointerSection()
117 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
120 case EMULATE3: in xf86parsePointerSection()
121 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
125 case EM3TIMEOUT: in xf86parsePointerSection()
126 if (xf86getSubToken(&(ptr->inp_comment)) != NUMBER || xf86_lex_val.num < 0) in xf86parsePointerSection()
129 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
133 case CHORDMIDDLE: in xf86parsePointerSection()
134 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
137 case PBUTTONS: in xf86parsePointerSection()
138 if (xf86getSubToken(&(ptr->inp_comment)) != NUMBER || xf86_lex_val.num < 0) in xf86parsePointerSection()
141 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
144 case BAUDRATE: in xf86parsePointerSection()
145 if (xf86getSubToken(&(ptr->inp_comment)) != NUMBER || xf86_lex_val.num < 0) in xf86parsePointerSection()
148 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
151 case SAMPLERATE: in xf86parsePointerSection()
152 if (xf86getSubToken(&(ptr->inp_comment)) != NUMBER || xf86_lex_val.num < 0) in xf86parsePointerSection()
155 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
158 case PRESOLUTION: in xf86parsePointerSection()
159 if (xf86getSubToken(&(ptr->inp_comment)) != NUMBER || xf86_lex_val.num < 0) in xf86parsePointerSection()
162 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
165 case CLEARDTR: in xf86parsePointerSection()
166 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
169 case CLEARRTS: in xf86parsePointerSection()
170 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
173 case ZAXISMAPPING: in xf86parsePointerSection()
175 case NUMBER: in xf86parsePointerSection()
179 if (xf86getSubToken(&(ptr->inp_comment)) != NUMBER || in xf86parsePointerSection()
183 if (asprintf(&s, "%lu %u", val1, xf86_lex_val.num) == -1) in xf86parsePointerSection()
186 case XAXIS: in xf86parsePointerSection()
189 case YAXIS: in xf86parsePointerSection()
196 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()
199 case ALWAYSCORE: in xf86parsePointerSection()
201 case EOF_TOKEN: in xf86parsePointerSection()
210 ptr->inp_identifier = strdup(CONF_IMPLICIT_POINTER); in xf86parsePointerSection()
211 ptr->inp_driver = strdup("mouse"); in xf86parsePointerSection()
212 ptr->inp_option_lst = xf86addNewOption(ptr->inp_option_lst, in xf86parsePointerSection()