| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| remap.c | 56 * Map a function by its spec. The function will be added to glapi, 59 * \param spec a '\0'-separated string array specifying a function. 68 map_function_spec(const char *spec) 74 if (!spec) 77 signature = spec; 78 spec += strlen(spec) + 1; 80 /* spec is terminated by an empty string */ 81 while (*spec) { 82 names[num_names] = spec; 116 const char *spec; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| remap.c | 55 * Map a function by its spec. The function will be added to glapi, 58 * \param spec a '\0'-separated string array specifying a function. 67 map_function_spec(const char *spec) 73 if (!spec) 76 signature = spec; 77 spec += strlen(spec) + 1; 79 /* spec is terminated by an empty string */ 80 while (*spec) { 81 names[num_names] = spec; 115 const char *spec; local [all...] |
| /xsrc/external/mit/libX11/dist/src/xcms/ |
| HVCMnV.c | 124 tmp.spec.TekHVC.H = hue; 125 tmp.spec.TekHVC.V = 100.0; 126 tmp.spec.TekHVC.C = chroma; 139 if (_XcmsTekHVCQueryMaxVCRGB (&myCCC, max_vc.spec.TekHVC.H, &max_vc, 145 if (tmp.spec.TekHVC.C > max_vc.spec.TekHVC.C + EPS) { 147 tmp.spec.TekHVC.C = max_vc.spec.TekHVC.C; 148 tmp.spec.TekHVC.V = max_vc.spec.TekHVC.V [all...] |
| XYZ.c | 60 static int CIEXYZ_ParseString(register char *spec, XcmsColor *pColor); 106 register char *spec, 127 if ((pchar = strchr(spec, ':')) == NULL) { 130 n = (size_t)(pchar - spec); 135 if (strncmp(spec, _XcmsCIEXYZ_prefix, n) != 0) { 142 if (sscanf(spec + n + 1, "%lf/%lf/%lf", 143 &pColor->spec.CIEXYZ.X, 144 &pColor->spec.CIEXYZ.Y, 145 &pColor->spec.CIEXYZ.Z) != 3) { 148 if ((s = strdup(spec))) { [all...] |
| HVC.c | 100 static int TekHVC_ParseString(register char *spec, XcmsColor *pColor); 160 register char *spec, 183 if ((pchar = strchr(spec, ':')) == NULL) { 186 n = (size_t)(pchar - spec); 191 if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) { 198 if (sscanf(spec + n + 1, "%lf/%lf/%lf", 199 &pColor->spec.TekHVC.H, 200 &pColor->spec.TekHVC.V, 201 &pColor->spec.TekHVC.C) != 3) { 204 if ((s = strdup(spec))) { [all...] |
| HVCGcVC.c | 124 * color spec is the Screen White Point (even if the 137 pColor->spec.TekHVC.H = pColor->spec.TekHVC.C = 0.0; 159 if (_XcmsTekHVCQueryMaxVCRGB (&myCCC, hvc_max.spec.TekHVC.H, &hvc_max, 165 if (pColor->spec.TekHVC.V == hvc_max.spec.TekHVC.V) { 168 pColor->spec.TekHVC.C = hvc_max.spec.TekHVC.C; 173 if (pColor->spec.TekHVC.V < hvc_max.spec.TekHVC.V) [all...] |
| HVCMxV.c | 125 tmp.spec.TekHVC.H = hue; 126 tmp.spec.TekHVC.V = 0.0; 127 tmp.spec.TekHVC.C = chroma; 138 hue = max_vc.spec.TekHVC.H; 139 if (_XcmsTekHVCQueryMaxVCRGB(&myCCC, max_vc.spec.TekHVC.H, &max_vc, &rgb_saved) 144 if (max_vc.spec.TekHVC.C < tmp.spec.TekHVC.C) { 152 tmp.spec.TekHVC.C = max_vc.spec.TekHVC.C; 153 tmp.spec.TekHVC.V = max_vc.spec.TekHVC.V [all...] |
| LabMxC.c | 118 tmp.spec.CIELab.L_star = L_star; 119 tmp.spec.CIELab.a_star = XCMS_CIEASTAROFHUE(hue, START_CHROMA); 120 tmp.spec.CIELab.b_star = XCMS_CIEBSTAROFHUE(hue, START_CHROMA); 136 if (L_star <= max_lc.spec.CIELab.L_star) { 137 maxDist = max_lc.spec.CIELab.L_star; 139 maxDist = TOPL - max_lc.spec.CIELab.L_star; 149 last_L_star = tmp.spec.CIELab.L_star; 150 /* lastChroma = XCMS_CIELAB_PMETRIC_CHROMA(tmp.spec.CIELab.a_star, */ 151 /* tmp.spec.CIELab.b_star); */ 152 lastaStar = tmp.spec.CIELab.a_star [all...] |
| LuvMxC.c | 118 tmp.spec.CIELuv.L_star = L_star; 119 tmp.spec.CIELuv.u_star = XCMS_CIEUSTAROFHUE(hue, START_CHROMA); 120 tmp.spec.CIELuv.v_star = XCMS_CIEVSTAROFHUE(hue, START_CHROMA); 136 if (L_star <= max_lc.spec.CIELuv.L_star) { 137 maxDist = max_lc.spec.CIELuv.L_star; 139 maxDist = TOPL - max_lc.spec.CIELuv.L_star; 149 last_L_star = tmp.spec.CIELuv.L_star; 150 /* lastChroma = XCMS_CIELUV_PMETRIC_CHROMA(tmp.spec.CIELuv.u_star, */ 151 /* tmp.spec.CIELuv.v_star); */ 152 lastuStar = tmp.spec.CIELuv.u_star [all...] |
| HVCGcV.c | 113 * color spec is the Screen White Point (even if the 141 if (_XcmsTekHVCQueryMaxVCRGB (&myCCC, hvc_max.spec.TekHVC.H, &hvc_max, 147 if (pColor->spec.TekHVC.C == hvc_max.spec.TekHVC.C) { 150 pColor->spec.TekHVC.V = hvc_max.spec.TekHVC.V; 156 } else if (pColor->spec.TekHVC.C > hvc_max.spec.TekHVC.C) { 159 pColor->spec.TekHVC.C = hvc_max.spec.TekHVC.C [all...] |
| Luv.c | 56 static int CIELuv_ParseString(register char *spec, XcmsColor *pColor); 126 register char *spec, 148 if ((pchar = strchr(spec, ':')) == NULL) { 151 n = (int)(pchar - spec); 156 if (strncmp(spec, _XcmsCIELuv_prefix, (size_t)n) != 0) { 163 if (sscanf(spec + n + 1, "%lf/%lf/%lf", 164 &pColor->spec.CIELuv.L_star, 165 &pColor->spec.CIELuv.u_star, 166 &pColor->spec.CIELuv.v_star) != 3) { 169 if ((s = strdup(spec))) { [all...] |
| uvY.c | 51 static int CIEuvY_ParseString(register char *spec, XcmsColor *pColor); 120 register char *spec, 142 if ((pchar = strchr(spec, ':')) == NULL) { 145 n = (size_t)(pchar - spec); 150 if (strncmp(spec, _XcmsCIEuvY_prefix, n) != 0) { 157 if (sscanf(spec + n + 1, "%lf/%lf/%lf", 158 &pColor->spec.CIEuvY.u_prime, 159 &pColor->spec.CIEuvY.v_prime, 160 &pColor->spec.CIEuvY.Y) != 3) { 163 if ((s = strdup(spec))) { [all...] |
| xyY.c | 60 static int CIExyY_ParseString(register char *spec, XcmsColor *pColor); 119 register char *spec, 141 if ((pchar = strchr(spec, ':')) == NULL) { 144 n = (int)(pchar - spec); 149 if (strncmp(spec, _XcmsCIExyY_prefix, (size_t)n) != 0) { 156 if (sscanf(spec + n + 1, "%lf/%lf/%lf", 157 &pColor->spec.CIExyY.x, 158 &pColor->spec.CIExyY.y, 159 &pColor->spec.CIExyY.Y) != 3) { 162 if ((s = strdup(spec))) { [all...] |
| Lab.c | 65 static int CIELab_ParseString(register char *spec, XcmsColor *pColor); 123 register char *spec, 145 if ((pchar = strchr(spec, ':')) == NULL) { 148 n = (int)(pchar - spec); 153 if (strncmp(spec, _XcmsCIELab_prefix, (size_t)n) != 0) { 160 if (sscanf(spec + n + 1, "%lf/%lf/%lf", 161 &pColor->spec.CIELab.L_star, 162 &pColor->spec.CIELab.a_star, 163 &pColor->spec.CIELab.b_star) != 3) { 166 if ((s = strdup(spec))) { [all...] |
| XRGB.c | 98 pXColors->red = pColors->spec.RGB.red; 99 pXColors->green = pColors->spec.RGB.green; 100 pXColors->blue = pColors->spec.RGB.blue; 127 * bits_per_rgb is 8, then spec.RGB.red will be 0xca00. 136 pColors->spec.RGB.red = (pXColors->red & MASK[bits_per_rgb]); 137 pColors->spec.RGB.green = (pXColors->green & MASK[bits_per_rgb]); 138 pColors->spec.RGB.blue = (pXColors->blue & MASK[bits_per_rgb]); 180 pXcmsColor->spec.RGB.red = 181 ((unsigned long)(pXcmsColor->spec.RGB.red >> shift) * 0xFFFF) 183 pXcmsColor->spec.RGB.green [all...] |
| LabGcLC.c | 107 * color spec is the Screen White Point (even if the 136 saveLstar = pColor->spec.CIELab.L_star; 137 hue = XCMS_CIELAB_PMETRIC_HUE(pColor->spec.CIELab.a_star, 138 pColor->spec.CIELab.b_star); 139 chroma = XCMS_CIELAB_PMETRIC_CHROMA(pColor->spec.CIELab.a_star, 140 pColor->spec.CIELab.b_star); 146 maxLstar = Lab_max.spec.CIELab.L_star; 158 maxChroma = XCMS_CIELAB_PMETRIC_CHROMA(Lab_max.spec.CIELab.a_star, 159 Lab_max.spec.CIELab.b_star); 162 bestLstar = Lstar = pColor->spec.CIELab.L_star [all...] |
| LuvGcLC.c | 107 * color spec is the Screen White Point (even if the 136 saveLstar = pColor->spec.CIELuv.L_star; 137 hue = XCMS_CIELUV_PMETRIC_HUE(pColor->spec.CIELuv.u_star, 138 pColor->spec.CIELuv.v_star); 139 chroma = XCMS_CIELUV_PMETRIC_CHROMA(pColor->spec.CIELuv.u_star, 140 pColor->spec.CIELuv.v_star); 146 maxLstar = Luv_max.spec.CIELuv.L_star; 158 maxChroma = XCMS_CIELUV_PMETRIC_CHROMA(Luv_max.spec.CIELuv.u_star, 159 Luv_max.spec.CIELuv.v_star); 162 bestLstar = Lstar = pColor->spec.CIELuv.L_star [all...] |
| HVCMxC.c | 127 tmp.spec.TekHVC.H = hue; 128 tmp.spec.TekHVC.V = value; 129 tmp.spec.TekHVC.C = 100.0; 148 if (value <= max_vc.spec.TekHVC.V) { 149 tmp.spec.TekHVC.C = value 150 * max_vc.spec.TekHVC.C / max_vc.spec.TekHVC.V; 165 maxDist = 100.0 - max_vc.spec.TekHVC.V; 170 lastValue = tmp.spec.TekHVC.V; 171 lastChroma = tmp.spec.TekHVC.C [all...] |
| HVCMxVC.c | 112 tmp.spec.TekHVC.H = hue; 114 tmp.spec.TekHVC.V = START_V; 115 tmp.spec.TekHVC.C = START_C; 132 nSmall = MIN3(tmp.spec.RGBi.red, 133 tmp.spec.RGBi.green, 134 tmp.spec.RGBi.blue); 136 tmp.spec.RGBi.red -= nSmall; 137 tmp.spec.RGBi.green -= nSmall; 138 tmp.spec.RGBi.blue -= nSmall; 141 nLarge = MAX3(tmp.spec.RGBi.red [all...] |
| LabMxLC.c | 107 tmp.spec.CIELab.L_star = START_LSTAR; 108 tmp.spec.CIELab.a_star = XCMS_CIEASTAROFHUE(hue, START_CHROMA); 109 tmp.spec.CIELab.b_star = XCMS_CIEBSTAROFHUE(hue, START_CHROMA); 124 nSmall = MIN3(tmp.spec.RGBi.red, 125 tmp.spec.RGBi.green, 126 tmp.spec.RGBi.blue); 128 tmp.spec.RGBi.red -= nSmall; 129 tmp.spec.RGBi.green -= nSmall; 130 tmp.spec.RGBi.blue -= nSmall; 133 nLarge = MAX3(tmp.spec.RGBi.red [all...] |
| /xsrc/external/mit/libX11/dist/modules/im/ximcp/ |
| imTrans.c | 79 TransSpecRec *spec = (TransSpecRec *)im->private.proto.spec; local 85 if ((spec->trans_conn = _XimXTransOpenCOTSClient ( 86 spec->address)) == NULL) 92 spec->trans_conn, spec->address)) < 0) 94 _XimXTransClose (spec->trans_conn); 95 spec->trans_conn = NULL; 106 if (spec->trans_conn == NULL) 109 spec->fd = _XimXTransGetConnectionNumber (spec->trans_conn) 129 TransSpecRec *spec = (TransSpecRec *)im->private.proto.spec; local 153 TransSpecRec *spec = (TransSpecRec *)im->private.proto.spec; local 171 TransSpecRec *spec = (TransSpecRec *)im->private.proto.spec; local 187 TransSpecRec *spec = (TransSpecRec *)im->private.proto.spec; local 206 TransSpecRec *spec = (TransSpecRec *)im->private.proto.spec; local 222 TransSpecRec *spec = (TransSpecRec *)im->private.proto.spec; local 250 TransSpecRec *spec = (TransSpecRec *)im->private.proto.spec; local 271 TransSpecRec *spec = (TransSpecRec *)im->private.proto.spec; local 300 TransSpecRec *spec; local [all...] |
| imTrX.c | 72 XSpecRec *spec = (XSpecRec *)im->private.proto.spec; local 79 rec->next = spec->intr_cb; 80 spec->intr_cb = rec; 88 XSpecRec *spec = (XSpecRec *)im->private.proto.spec; local 91 for (rec = spec->intr_cb; rec;) { 96 spec->intr_cb = NULL; 104 XSpecRec *spec = (XSpecRec *)im->private.proto.spec; local 121 XSpecRec *spec = (XSpecRec *)im->private.proto.spec; local 148 XSpecRec *spec = (XSpecRec *)im->private.proto.spec; local 161 XSpecRec *spec = (XSpecRec *)im->private.proto.spec; local 231 XSpecRec *spec = (XSpecRec *)im->private.proto.spec; local 264 XSpecRec *spec = (XSpecRec *)im->private.proto.spec; local 332 XSpecRec *spec = (XSpecRec *)im->private.proto.spec; local 451 XSpecRec *spec = (XSpecRec *)im->private.proto.spec; local 471 XSpecRec *spec = (XSpecRec *)im->private.proto.spec; local 498 XSpecRec *spec; local [all...] |
| /xsrc/external/mit/libXrender/dist/src/ |
| Color.c | 30 XRenderParseColor(Display *dpy, char *spec, XRenderColor *def) 33 if (!strncmp (spec, "rgba:", 5)) 39 spec += 5; 44 for (i = 0; i < 4; i++, pShort++, spec++) { 48 while (*spec != '/' && *spec != '\0') { 54 c = *spec++; 83 if (!XParseColor (dpy, colormap, spec, &coreColor))
|
| /xsrc/external/mit/xorg-server.old/dist/doc/xml/ |
| Makefile.am | 25 doc_sources = Xserver-spec.xml
|
| /xsrc/external/mit/libX11/dist/src/ |
| ParseCol.c | 40 _Xconst char *spec, 49 if (!spec) return(0); 50 n = strlen (spec); 53 if (*spec == '#') { 57 spec++; 68 c = *spec++; 78 } while (*spec != '\0'); 94 const char *tmpName = spec; 125 req->nbytes = (CARD16) (n = strlen(spec)); 127 Data (dpy, spec, (long)n) [all...] |