Lines Matching defs:format
43 QueryTableType0 (unsigned int maxcolor, int format, char **pChar, unsigned long *pCount,
50 nElements = _XcmsGetElement(format, pChar, pCount) + 1;
59 switch (format) {
64 *ph++ = _XcmsGetElement (format, pChar, pCount) * 0x101;
65 *pf++ = (_XcmsGetElement (format, pChar, pCount)
72 *ph++ = (unsigned short)_XcmsGetElement (format, pChar, pCount);
73 *pf++ = (_XcmsGetElement (format, pChar, pCount)
80 *ph++ = (unsigned short)_XcmsGetElement (format, pChar, pCount);
81 *pf++ = (_XcmsGetElement (format, pChar, pCount)
105 QueryTableType1 (unsigned int maxcolor, int format, char **pChar, unsigned long *pCount,
114 max_index = _XcmsGetElement(format, pChar, pCount);
125 switch (format) {
130 *pf++ = ((XcmsFloat) _XcmsGetElement(format, pChar, pCount) / (XcmsFloat)255.0) *
138 *pf++ = ((XcmsFloat) _XcmsGetElement(format, pChar, pCount) / (XcmsFloat)65535.0) *
146 *pf++ = ((XcmsFloat) _XcmsGetElement (format, pChar, pCount) / (XcmsFloat)4294967295.0)
226 skipChannel (int cType, int format, char **pChar, unsigned long *pCount)
233 length = _XcmsGetElement(format, pChar, pCount) + 1;
241 (void) _XcmsGetElement (format, pChar, pCount);
256 skipVisual (int format, char **pChar, unsigned long *pCount)
264 cType = (int)_XcmsGetElement(format, pChar, pCount);
273 nTables = (int)_XcmsGetElement(format, pChar, pCount);
279 if (!skipChannel(cType, format, pChar, pCount)) {
286 if (!skipChannel(cType, format, pChar, pCount)) {
291 if (!skipChannel(cType, format, pChar, pCount)) {
318 int count, format, cType, nTables;
335 CorrectAtom, &format, &nitems, &nbytes_return,
358 switch (format) {
422 visualID = _XcmsGetElement(format, &pChar, &nitems);
424 visualID = visualID << format;
425 visualID |= _XcmsGetElement(format, &pChar, &nitems);
428 if (!skipVisual(format, &pChar, &nitems)) {
439 cType = (int)_XcmsGetElement(format, &pChar, &nitems);
440 nTables = (int)_XcmsGetElement(format, &pChar, &nitems);
452 if (!QueryTableType0(maxcolor, format, &pChar, &nitems, &nelem, &ph, &pf)) {
467 if (!QueryTableType1(maxcolor, format, &pChar, &nitems, &nelem, &ph, &pf)) {