| /OK3568_Linux_fs/external/xserver/hw/xfree86/parser/ |
| H A D | read.c | 102 ptr->conf_comment = xf86addComment(ptr->conf_comment, xf86_lex_val.str); in xf86readConfigFile() 110 xf86setSection(xf86_lex_val.str); in xf86readConfigFile() 111 if (xf86nameCompare(xf86_lex_val.str, "files") == 0) { in xf86readConfigFile() 112 free(xf86_lex_val.str); in xf86readConfigFile() 113 xf86_lex_val.str = NULL; in xf86readConfigFile() 116 else if (xf86nameCompare(xf86_lex_val.str, "serverflags") == 0) { in xf86readConfigFile() 117 free(xf86_lex_val.str); in xf86readConfigFile() 118 xf86_lex_val.str = NULL; in xf86readConfigFile() 121 else if (xf86nameCompare(xf86_lex_val.str, "pointer") == 0) { in xf86readConfigFile() 122 free(xf86_lex_val.str); in xf86readConfigFile() [all …]
|
| H A D | Pointer.c | 106 ptr->inp_comment = xf86addComment(ptr->inp_comment, xf86_lex_val.str); in xf86parsePointerSection() 112 strdup("Protocol"), xf86_lex_val.str); in xf86parsePointerSection() 118 strdup("Device"), xf86_lex_val.str); in xf86parsePointerSection() 126 if (xf86getSubToken(&(ptr->inp_comment)) != NUMBER || xf86_lex_val.num < 0) in xf86parsePointerSection() 128 s = xf86uLongToString(xf86_lex_val.num); in xf86parsePointerSection() 138 if (xf86getSubToken(&(ptr->inp_comment)) != NUMBER || xf86_lex_val.num < 0) in xf86parsePointerSection() 140 s = xf86uLongToString(xf86_lex_val.num); in xf86parsePointerSection() 145 if (xf86getSubToken(&(ptr->inp_comment)) != NUMBER || xf86_lex_val.num < 0) in xf86parsePointerSection() 147 s = xf86uLongToString(xf86_lex_val.num); in xf86parsePointerSection() 152 if (xf86getSubToken(&(ptr->inp_comment)) != NUMBER || xf86_lex_val.num < 0) in xf86parsePointerSection() [all …]
|
| H A D | InputClass.c | 193 ptr->comment = xf86addComment(ptr->comment, xf86_lex_val.str); in xf86parseInputClassSection() 200 ptr->identifier = xf86_lex_val.str; in xf86parseInputClassSection() 206 if (strcmp(xf86_lex_val.str, "keyboard") == 0) { in xf86parseInputClassSection() 208 free(xf86_lex_val.str); in xf86parseInputClassSection() 211 ptr->driver = xf86_lex_val.str; in xf86parseInputClassSection() 223 xstrtokenize(xf86_lex_val.str, TOKEN_SEP), in xf86parseInputClassSection() 225 free(xf86_lex_val.str); in xf86parseInputClassSection() 234 xstrtokenize(xf86_lex_val.str, TOKEN_SEP), in xf86parseInputClassSection() 236 free(xf86_lex_val.str); in xf86parseInputClassSection() 245 xstrtokenize(xf86_lex_val.str, TOKEN_SEP), in xf86parseInputClassSection() [all …]
|
| H A D | Monitor.c | 142 ptr->ml_identifier = xf86_lex_val.str; in xf86parseModeLine() 147 ptr->ml_clock = (int) (xf86_lex_val.realnum * 1000.0 + 0.5); in xf86parseModeLine() 152 ptr->ml_hdisplay = xf86_lex_val.num; in xf86parseModeLine() 157 ptr->ml_hsyncstart = xf86_lex_val.num; in xf86parseModeLine() 162 ptr->ml_hsyncend = xf86_lex_val.num; in xf86parseModeLine() 167 ptr->ml_htotal = xf86_lex_val.num; in xf86parseModeLine() 172 ptr->ml_vdisplay = xf86_lex_val.num; in xf86parseModeLine() 177 ptr->ml_vsyncstart = xf86_lex_val.num; in xf86parseModeLine() 182 ptr->ml_vsyncend = xf86_lex_val.num; in xf86parseModeLine() 187 ptr->ml_vtotal = xf86_lex_val.num; in xf86parseModeLine() [all …]
|
| H A D | Screen.c | 121 ptr->disp_comment = xf86addComment(ptr->disp_comment, xf86_lex_val.str); in xf86parseDisplaySubSection() 126 ptr->disp_frameX0 = xf86_lex_val.num; in xf86parseDisplaySubSection() 129 ptr->disp_frameY0 = xf86_lex_val.num; in xf86parseDisplaySubSection() 134 ptr->disp_virtualX = xf86_lex_val.num; in xf86parseDisplaySubSection() 137 ptr->disp_virtualY = xf86_lex_val.num; in xf86parseDisplaySubSection() 142 ptr->disp_depth = xf86_lex_val.num; in xf86parseDisplaySubSection() 147 ptr->disp_bpp = xf86_lex_val.num; in xf86parseDisplaySubSection() 152 ptr->disp_visual = xf86_lex_val.str; in xf86parseDisplaySubSection() 157 ptr->disp_weight.red = xf86_lex_val.num; in xf86parseDisplaySubSection() 160 ptr->disp_weight.green = xf86_lex_val.num; in xf86parseDisplaySubSection() [all …]
|
| H A D | Device.c | 108 ptr->dev_comment = xf86addComment(ptr->dev_comment, xf86_lex_val.str); in xf86parseDeviceSection() 115 ptr->dev_identifier = xf86_lex_val.str; in xf86parseDeviceSection() 121 ptr->dev_vendor = xf86_lex_val.str; in xf86parseDeviceSection() 126 ptr->dev_board = xf86_lex_val.str; in xf86parseDeviceSection() 131 ptr->dev_chipset = xf86_lex_val.str; in xf86parseDeviceSection() 136 ptr->dev_card = xf86_lex_val.str; in xf86parseDeviceSection() 141 ptr->dev_driver = xf86_lex_val.str; in xf86parseDeviceSection() 146 ptr->dev_ramdac = xf86_lex_val.str; in xf86parseDeviceSection() 155 ptr->dev_dacSpeeds[0] = (int) (xf86_lex_val.realnum * 1000.0 + 0.5); in xf86parseDeviceSection() 159 (xf86_lex_val.realnum * 1000.0 + 0.5); in xf86parseDeviceSection() [all …]
|
| H A D | Layout.c | 103 ptr->lay_comment = xf86addComment(ptr->lay_comment, xf86_lex_val.str); in xf86parseLayoutSection() 110 ptr->lay_identifier = xf86_lex_val.str; in xf86parseLayoutSection() 116 ptr->match_seat = xf86_lex_val.str; in xf86parseLayoutSection() 128 iptr->inactive_device_str = xf86_lex_val.str; in xf86parseLayoutSection() 146 aptr->adj_scrnum = xf86_lex_val.num; in xf86parseLayoutSection() 154 aptr->adj_screen_str = xf86_lex_val.str; in xf86parseLayoutSection() 194 aptr->adj_x = xf86_lex_val.num; in xf86parseLayoutSection() 200 aptr->adj_y = xf86_lex_val.num; in xf86parseLayoutSection() 221 aptr->adj_refscreen = xf86_lex_val.str; in xf86parseLayoutSection() 228 aptr->adj_x = xf86_lex_val.num; in xf86parseLayoutSection() [all …]
|
| H A D | OutputClass.c | 104 ptr->comment = xf86addComment(ptr->comment, xf86_lex_val.str); in xf86parseOutputClassSection() 111 ptr->identifier = xf86_lex_val.str; in xf86parseOutputClassSection() 118 ptr->driver = xf86_lex_val.str; in xf86parseOutputClassSection() 125 XNFasprintf(&path, "%s,%s", ptr->modulepath, xf86_lex_val.str); in xf86parseOutputClassSection() 126 free(xf86_lex_val.str); in xf86parseOutputClassSection() 130 ptr->modulepath = xf86_lex_val.str; in xf86parseOutputClassSection() 140 xstrtokenize(xf86_lex_val.str, TOKEN_SEP)); in xf86parseOutputClassSection() 141 free(xf86_lex_val.str); in xf86parseOutputClassSection()
|
| H A D | DRI.c | 62 ptr->dri_group_name = xf86_lex_val.str; in xf86parseDRISection() 64 ptr->dri_group = xf86_lex_val.num; in xf86parseDRISection() 71 if (xf86_lex_val.numType != PARSE_OCTAL) in xf86parseDRISection() 72 Error(MUST_BE_OCTAL_MSG, xf86_lex_val.num); in xf86parseDRISection() 73 ptr->dri_mode = xf86_lex_val.num; in xf86parseDRISection() 79 ptr->dri_comment = xf86addComment(ptr->dri_comment, xf86_lex_val.str); in xf86parseDRISection()
|
| H A D | Video.c | 99 ptr->vp_comment = xf86addComment(ptr->vp_comment, xf86_lex_val.str); in xf86parseVideoPortSubSection() 106 ptr->vp_identifier = xf86_lex_val.str; in xf86parseVideoPortSubSection() 156 ptr->va_comment = xf86addComment(ptr->va_comment, xf86_lex_val.str); in xf86parseVideoAdaptorSection() 161 ptr->va_identifier = xf86_lex_val.str; in xf86parseVideoAdaptorSection() 169 ptr->va_vendor = xf86_lex_val.str; in xf86parseVideoAdaptorSection() 174 ptr->va_board = xf86_lex_val.str; in xf86parseVideoAdaptorSection() 179 ptr->va_busid = xf86_lex_val.str; in xf86parseVideoAdaptorSection() 184 ptr->va_driver = xf86_lex_val.str; in xf86parseVideoAdaptorSection()
|
| H A D | Files.c | 91 ptr->file_comment = xf86addComment(ptr->file_comment, xf86_lex_val.str); in xf86parseFilesSection() 97 str = xf86_lex_val.str; in xf86parseFilesSection() 114 free(xf86_lex_val.str); in xf86parseFilesSection() 120 str = xf86_lex_val.str; in xf86parseFilesSection() 139 free(xf86_lex_val.str); in xf86parseFilesSection() 144 ptr->file_logfile = xf86_lex_val.str; in xf86parseFilesSection() 149 ptr->file_xkbdir = xf86_lex_val.str; in xf86parseFilesSection()
|
| H A D | Module.c | 97 ptr->load_comment = xf86addComment(ptr->load_comment, xf86_lex_val.str); in xf86parseModuleSubSection() 128 ptr->mod_comment = xf86addComment(ptr->mod_comment, xf86_lex_val.str); in xf86parseModuleSection() 134 xf86addNewLoadDirective(ptr->mod_load_lst, xf86_lex_val.str, in xf86parseModuleSection() 141 xf86addNewLoadDirective(ptr->mod_disable_lst, xf86_lex_val.str, in xf86parseModuleSection() 148 xf86addNewLoadDirective(ptr->mod_load_lst, xf86_lex_val.str, in xf86parseModuleSection() 155 xf86parseModuleSubSection(ptr->mod_load_lst, xf86_lex_val.str); in xf86parseModuleSection() 234 new->load_comment = xf86addComment(new->load_comment, xf86_lex_val.str); in xf86addNewLoadDirective()
|
| H A D | Input.c | 86 ptr->inp_comment = xf86addComment(ptr->inp_comment, xf86_lex_val.str); in xf86parseInputSection() 93 ptr->inp_identifier = xf86_lex_val.str; in xf86parseInputSection() 99 if (strcmp(xf86_lex_val.str, "keyboard") == 0) { in xf86parseInputSection() 101 free(xf86_lex_val.str); in xf86parseInputSection() 104 ptr->inp_driver = xf86_lex_val.str; in xf86parseInputSection()
|
| H A D | scan.c | 97 LexRec xf86_lex_val; variable 338 xf86_lex_val.str = configRBuf; in xf86getToken() 360 xf86_lex_val.numType = PARSE_HEX; in xf86getToken() 364 xf86_lex_val.numType = PARSE_OCTAL; in xf86getToken() 368 xf86_lex_val.numType = PARSE_DECIMAL; in xf86getToken() 380 xf86_lex_val.num = strtoul(configRBuf, NULL, 0); in xf86getToken() 381 xf86_lex_val.realnum = atof(configRBuf); in xf86getToken() 395 xf86_lex_val.str = malloc(strlen(configRBuf) + 1); in xf86getToken() 396 strcpy(xf86_lex_val.str, configRBuf); /* private copy ! */ in xf86getToken() 452 *comment = xf86addComment(*comment, xf86_lex_val.str); in xf86getSubToken() [all …]
|
| H A D | Flags.c | 101 ptr->flg_comment = xf86addComment(ptr->flg_comment, xf86_lex_val.str); in xf86parseFlagsSection() 137 valstr = xf86_lex_val.str; in xf86parseFlagsSection() 142 if (asprintf(&valstr, "%d", xf86_lex_val.num) == -1) in xf86parseFlagsSection() 437 name = xf86_lex_val.str; in xf86parseOption() 439 option = xf86newOption(name, xf86_lex_val.str); in xf86parseOption() 442 option->opt_comment = xf86addComment(option->opt_comment, xf86_lex_val.str); in xf86parseOption() 450 option->opt_comment = xf86addComment(option->opt_comment, xf86_lex_val.str); in xf86parseOption()
|
| H A D | Vendor.c | 100 ptr->vs_comment = xf86addComment(ptr->vs_comment, xf86_lex_val.str); in xf86parseVendorSubSection() 107 ptr->vs_identifier = xf86_lex_val.str; in xf86parseVendorSubSection() 153 ptr->vnd_comment = xf86addComment(ptr->vnd_comment, xf86_lex_val.str); in xf86parseVendorSection() 160 ptr->vnd_identifier = xf86_lex_val.str; in xf86parseVendorSection()
|
| H A D | Extensions.c | 69 xf86addComment(ptr->extensions_comment, xf86_lex_val.str); in xf86parseExtensionsSection()
|
| H A D | Configint.h | 82 extern LexRec xf86_lex_val;
|