Lines Matching refs:io

111 cmsBool CMSEXPORT  _cmsReadUInt8Number(cmsIOHANDLER* io, cmsUInt8Number* n)  in _cmsReadUInt8Number()  argument
115 _cmsAssert(io != NULL); in _cmsReadUInt8Number()
117 if (io -> Read(io, &tmp, sizeof(cmsUInt8Number), 1) != 1) in _cmsReadUInt8Number()
124 cmsBool CMSEXPORT _cmsReadUInt16Number(cmsIOHANDLER* io, cmsUInt16Number* n) in _cmsReadUInt16Number() argument
128 _cmsAssert(io != NULL); in _cmsReadUInt16Number()
130 if (io -> Read(io, &tmp, sizeof(cmsUInt16Number), 1) != 1) in _cmsReadUInt16Number()
137 cmsBool CMSEXPORT _cmsReadUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, cmsUInt16Number* Array) in _cmsReadUInt16Array() argument
141 _cmsAssert(io != NULL); in _cmsReadUInt16Array()
146 if (!_cmsReadUInt16Number(io, Array + i)) return FALSE; in _cmsReadUInt16Array()
149 if (!_cmsReadUInt16Number(io, NULL)) return FALSE; in _cmsReadUInt16Array()
156 cmsBool CMSEXPORT _cmsReadUInt32Number(cmsIOHANDLER* io, cmsUInt32Number* n) in _cmsReadUInt32Number() argument
160 _cmsAssert(io != NULL); in _cmsReadUInt32Number()
162 if (io -> Read(io, &tmp, sizeof(cmsUInt32Number), 1) != 1) in _cmsReadUInt32Number()
169 cmsBool CMSEXPORT _cmsReadFloat32Number(cmsIOHANDLER* io, cmsFloat32Number* n) in _cmsReadFloat32Number() argument
173 _cmsAssert(io != NULL); in _cmsReadFloat32Number()
175 if (io -> Read(io, &tmp, sizeof(cmsFloat32Number), 1) != 1) in _cmsReadFloat32Number()
187 cmsBool CMSEXPORT _cmsReadUInt64Number(cmsIOHANDLER* io, cmsUInt64Number* n) in _cmsReadUInt64Number() argument
191 _cmsAssert(io != NULL); in _cmsReadUInt64Number()
193 if (io -> Read(io, &tmp, sizeof(cmsUInt64Number), 1) != 1) in _cmsReadUInt64Number()
201 cmsBool CMSEXPORT _cmsRead15Fixed16Number(cmsIOHANDLER* io, cmsFloat64Number* n) in _cmsRead15Fixed16Number() argument
205 _cmsAssert(io != NULL); in _cmsRead15Fixed16Number()
207 if (io -> Read(io, &tmp, sizeof(cmsUInt32Number), 1) != 1) in _cmsRead15Fixed16Number()
234 cmsBool CMSEXPORT _cmsReadXYZNumber(cmsIOHANDLER* io, cmsCIEXYZ* XYZ) in _cmsReadXYZNumber() argument
238 _cmsAssert(io != NULL); in _cmsReadXYZNumber()
240 if (io ->Read(io, &xyz, sizeof(cmsEncodedXYZNumber), 1) != 1) return FALSE; in _cmsReadXYZNumber()
253 cmsBool CMSEXPORT _cmsWriteUInt8Number(cmsIOHANDLER* io, cmsUInt8Number n) in _cmsWriteUInt8Number() argument
255 _cmsAssert(io != NULL); in _cmsWriteUInt8Number()
257 if (io -> Write(io, sizeof(cmsUInt8Number), &n) != 1) in _cmsWriteUInt8Number()
263 cmsBool CMSEXPORT _cmsWriteUInt16Number(cmsIOHANDLER* io, cmsUInt16Number n) in _cmsWriteUInt16Number() argument
267 _cmsAssert(io != NULL); in _cmsWriteUInt16Number()
270 if (io -> Write(io, sizeof(cmsUInt16Number), &tmp) != 1) in _cmsWriteUInt16Number()
276 cmsBool CMSEXPORT _cmsWriteUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, const cmsUInt16Number*… in _cmsWriteUInt16Array() argument
280 _cmsAssert(io != NULL); in _cmsWriteUInt16Array()
284 if (!_cmsWriteUInt16Number(io, Array[i])) return FALSE; in _cmsWriteUInt16Array()
290 cmsBool CMSEXPORT _cmsWriteUInt32Number(cmsIOHANDLER* io, cmsUInt32Number n) in _cmsWriteUInt32Number() argument
294 _cmsAssert(io != NULL); in _cmsWriteUInt32Number()
297 if (io -> Write(io, sizeof(cmsUInt32Number), &tmp) != 1) in _cmsWriteUInt32Number()
304 cmsBool CMSEXPORT _cmsWriteFloat32Number(cmsIOHANDLER* io, cmsFloat32Number n) in _cmsWriteFloat32Number() argument
308 _cmsAssert(io != NULL); in _cmsWriteFloat32Number()
312 if (io -> Write(io, sizeof(cmsUInt32Number), &tmp) != 1) in _cmsWriteFloat32Number()
318 cmsBool CMSEXPORT _cmsWriteUInt64Number(cmsIOHANDLER* io, cmsUInt64Number* n) in _cmsWriteUInt64Number() argument
322 _cmsAssert(io != NULL); in _cmsWriteUInt64Number()
325 if (io -> Write(io, sizeof(cmsUInt64Number), &tmp) != 1) in _cmsWriteUInt64Number()
331 cmsBool CMSEXPORT _cmsWrite15Fixed16Number(cmsIOHANDLER* io, cmsFloat64Number n) in _cmsWrite15Fixed16Number() argument
335 _cmsAssert(io != NULL); in _cmsWrite15Fixed16Number()
338 if (io -> Write(io, sizeof(cmsUInt32Number), &tmp) != 1) in _cmsWrite15Fixed16Number()
344 cmsBool CMSEXPORT _cmsWriteXYZNumber(cmsIOHANDLER* io, const cmsCIEXYZ* XYZ) in _cmsWriteXYZNumber() argument
348 _cmsAssert(io != NULL); in _cmsWriteXYZNumber()
355 return io -> Write(io, sizeof(cmsEncodedXYZNumber), &xyz); in _cmsWriteXYZNumber()
432 cmsTagTypeSignature CMSEXPORT _cmsReadTypeBase(cmsIOHANDLER* io) in _cmsReadTypeBase() argument
436 _cmsAssert(io != NULL); in _cmsReadTypeBase()
438 if (io -> Read(io, &Base, sizeof(_cmsTagBase), 1) != 1) in _cmsReadTypeBase()
445 cmsBool CMSEXPORT _cmsWriteTypeBase(cmsIOHANDLER* io, cmsTagTypeSignature sig) in _cmsWriteTypeBase() argument
449 _cmsAssert(io != NULL); in _cmsWriteTypeBase()
453 return io -> Write(io, sizeof(_cmsTagBase), &Base); in _cmsWriteTypeBase()
456 cmsBool CMSEXPORT _cmsReadAlignment(cmsIOHANDLER* io) in _cmsReadAlignment() argument
462 _cmsAssert(io != NULL); in _cmsReadAlignment()
464 At = io -> Tell(io); in _cmsReadAlignment()
470 return (io ->Read(io, Buffer, BytesToNextAlignedPos, 1) == 1); in _cmsReadAlignment()
473 cmsBool CMSEXPORT _cmsWriteAlignment(cmsIOHANDLER* io) in _cmsWriteAlignment() argument
479 _cmsAssert(io != NULL); in _cmsWriteAlignment()
481 At = io -> Tell(io); in _cmsWriteAlignment()
488 return io -> Write(io, BytesToNextAlignedPos, Buffer); in _cmsWriteAlignment()
493 cmsBool CMSEXPORT _cmsIOPrintf(cmsIOHANDLER* io, const char* frm, ...) in _cmsIOPrintf() argument
500 _cmsAssert(io != NULL); in _cmsIOPrintf()
508 rc = io ->Write(io, len, Buffer); in _cmsIOPrintf()