Home | History | Annotate | Download | only in src

Lines Matching defs:code

20 //   * Redistribution's of source code must retain the above copyright notice,
54 int code;
58 code = strm.getByte();
60 if( !isdigit(code))
64 if( code == '#' )
68 code = strm.getByte();
70 while( code != '\n' && code != '\r' );
73 code = strm.getByte();
75 while( isspace(code))
76 code = strm.getByte();
78 while( !isdigit( code ));
83 val = val*10 + code - '0';
85 code = strm.getByte();
87 while( isdigit(code));
142 int code = m_strm.getByte();
143 if( code != 'P' )
146 code = m_strm.getByte();
147 switch( code )
155 m_binary = code >= '4';
267 int code = ReadNumber( m_strm, INT_MAX );
268 if( (unsigned)code > (unsigned)m_maxval ) code = m_maxval;
270 src[x] = gray_palette[code];
272 ((ushort *)src)[x] = (ushort)code;