377378379380381382383
ascii_data.append((char)(this_ch + ' ')); } } ascii_data.append('\n'); // Append a courtesy newline return new PyString(ascii_data.toString()); }
466467468469470471472
} // Check that no bits are left if (leftbits != 0) { throw new PyException(Error, "Incorrect padding"); } return new PyString(bin_data.toString()); }
514515516517518519520
ascii_data.append((char)table_b2a_base64[(leftchar&0xf) << 2]); ascii_data.append(BASE64_PAD); } ascii_data.append('\n'); // Append a courtesy newline return new PyString(ascii_data.toString()); }
647648649650651652653
// Output a possible runt byte if (leftbits != 0) { leftchar <<= (6-leftbits); ascii_data.append((char) table_b2a_hqx[leftchar & 0x3f]); } return new PyString(ascii_data.toString()); }
843844845846847848849850
for (int i = 0; i < arglen; i++) { char ch = argbuf.charAt(i); retbuf.append(hexdigit[(ch >>> 4) & 0xF]); retbuf.append(hexdigit[ch & 0xF]); } return new PyString(retbuf.toString()); }
881882883884885886887
int bot = Character.digit(argbuf.charAt(i+1), 16); if (top == -1 || bot == -1) throw Py.TypeError("Non-hexadecimal digit found"); retbuf.append((char) ((top << 4) + bot)); } return new PyString(retbuf.toString()); }
949950951952953954955
} } else { sb.append(c); } } return new PyString(sb.toString()); }
1031103210331034103510361037
} count += 3; qpEscape(sb, c); } } return new PyString(sb.toString()); }
432433434435436437438
sb.append(sp.getString()); } if (ustring) { return new PyUnicode(sb.toString()); } return new PyString(sb.toString()); }
130131132133134135136137
dict.__setitem__(key, null); } } dict.__setitem__("__all__", keys); dict.__setitem__("__name__", new PyString(os.getModuleName())); dict.__setitem__("__doc__", __doc__); }