Lines Matching refs:stops
81 const XFixed *stops,
88 const XFixed *stops,
548 XFixed *stops;
575 stops = (XFixed *) malloc(numStops * sizeof(XFixed));
577 if (colors == NULL || stops == NULL) {
581 if (stops != NULL) {
582 free(stops);
590 stops[i] = XDoubleToFixed(fractions[i]);
598 gradient = (*XRenderCreateLinearGradientFunc)(awt_display, &grad, stops, colors, numStops);
601 gradient = XRenderCreateLinearGradient(awt_display, &grad, stops, colors, numStops);
604 free(stops);
630 XFixed *stops;
659 stops = (XFixed *) malloc(numStops * sizeof(XFixed));
661 if (colors == NULL || stops == NULL) {
665 if (stops != NULL) {
666 free(stops);
674 stops[i] = XDoubleToFixed(fractions[i]);
682 gradient = (jint) (*XRenderCreateRadialGradientFunc)(awt_display, &grad, stops, colors, numStops);
685 gradient = (jint) XRenderCreateRadialGradient(awt_display, &grad, stops, colors, numStops);
688 free(stops);