Searched defs:sum (Results 1 - 4 of 4) sorted by relevance

/solaris-x11-s12/open-src/lib/libXmu/sun-src/src/
H A DVisGamma.c183 double sum, logmaxh, logmaxf, denom; local
191 sum = 0;
204 sum += (logf - logmaxf) / denom;
213 return(sum/nsamples);
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dsun_edid.c128 * Return the 1-byte sum of all 128 bytes in the EDID data block.
129 * For the block to be valid, the sum of its bytes must be zero.
137 uint8_t sum; /* 1-byte sum of all 128 bytes */ local
139 sum = 0;
141 sum += edid_data[addr];
143 return (sum);
156 * * 1-byte sum of all 128 bytes is zero
193 * * 1-byte sum of each 128-byte Extension block is zero
H A Dfbc_predid.c839 uint8_t sum; /* 1-byte sum of all 128 bytes */ local
842 sum = sun_edid_checksum(edid_block);
843 if (sum != 0) {
846 sum);
/solaris-x11-s12/open-src/kernel/i915/src/
H A Dintel_hdmi.c75 uint8_t sum = 0; local
82 sum += data[i];
84 frame->checksum = 0x100 - sum;

Completed in 744 milliseconds