Lines Matching defs:code
53 // Character code descriptors. These can be used with the Java
65 // Error code for misidentified character set.
88 * the approprate integer descriptor code.
125 * @param code The integer coding the String set.
130 static String decodeCharacterEncoding(int code)
133 switch (code) {
144 new Object[] {Integer.toString(code)});
183 int code = 0;
185 // Assemble the character code based on the encoding type.
191 code = (int)(b[0] & 0xFF); // control bytes...
192 code = (int)(code | ((b[1] & 0xFF) << 8));
193 code = (int)(code | ((b[2] & 0xFF) << 16));
194 code = (int)(code | ((b[3] & 0xFF) << 24));
206 code = (int)(b[0] & 0xFF);
226 code = (int)(b[0] & 0xFF);
229 code = (int)(code | ((b[1] & 0xFF) << 8));
233 code = (int)(code | ((b[2] & 0xFF) << 16));
237 return Integer.toString(code);
254 int code = 0;
257 code = Integer.parseInt(ch);
277 b0 = (byte) (code & 0xFF);
278 b1 = (byte) ((code >> 8) & 0xFF);
279 b2 = (byte) ((code >> 16) & 0xFF);
280 b3 = (byte) ((code >> 24) & 0xFf);