Lines Matching defs:code

29 [clinic start generated code]*/
30 /*[clinic end generated code: output=da39a3ee5e6b4b0d input=4b3e113468a58e6c]*/
164 /* copyreg._extension_registry, {(module_name, function_name): code} */
166 /* copyreg._extension_cache, {code: object} */
168 /* copyreg._inverted_registry, {code: (module_name, function_name)} */
1275 unpickling from a file, the "we've run out of data" code paths will trigger,
2873 * opcode sequences. Calling code should have arranged to first create an
2985 * opcode sequences. Calling code should have arranged to first create an
3109 * opcode sequences. Calling code should have arranged to first create an
3243 * opcode sequences. Calling code should have arranged to first create an
3676 PyObject *code_obj; /* extension code as Python object */
3677 long code; /* extension code as C value */
3689 This is the most likely code path. */
3704 "Can't pickle %R: extension code %R isn't an integer",
3708 code = PyLong_AS_LONG(code_obj);
3709 if (code <= 0 || code > 0x7fffffffL) {
3712 "code %ld is out of range", obj, code);
3717 if (code <= 0xff) {
3719 pdata[1] = (unsigned char)code;
3722 else if (code <= 0xffff) {
3724 pdata[1] = (unsigned char)(code & 0xff);
3725 pdata[2] = (unsigned char)((code >> 8) & 0xff);
3730 pdata[1] = (unsigned char)(code & 0xff);
3731 pdata[2] = (unsigned char)((code >> 8) & 0xff);
3732 pdata[3] = (unsigned char)((code >> 16) & 0xff);
3733 pdata[4] = (unsigned char)((code >> 24) & 0xff);
4558 [clinic start generated code]*/
4562 /*[clinic end generated code: output=8665c8658aaa094b input=01bdad52f3d93e56]*/
4578 [clinic start generated code]*/
4582 /*[clinic end generated code: output=87ecad1261e02ac7 input=552eb1c0f52260d9]*/
4612 [clinic start generated code]*/
4616 /*[clinic end generated code: output=106edb3123f332e1 input=8cbbec9bd5540d42]*/
4731 [clinic start generated code]*/
4737 /*[clinic end generated code: output=0abedc50590d259b input=a7c969699bf5dad3]*/
4789 * avoid breaking code like:
4793 * Is this a good idea? Not really, but we don't want to break code that uses
4802 [clinic start generated code]*/
4806 /*[clinic end generated code: output=5fb9370d48ae8b05 input=ccc186dacd0f1405]*/
4817 [clinic start generated code]*/
4821 /*[clinic end generated code: output=bb83a919d29225ef input=b73043485ac30b36]*/
4861 [clinic start generated code]*/
4865 /*[clinic end generated code: output=bebba1168863ab1d input=2f7c540e24b7aae4]*/
6266 * the number of bytes following the opcode, holding the index (code) value.
6272 long code; /* calc_binint returns long */
6273 PyObject *py_code; /* code as a Python int */
6282 code = calc_binint(codebytes, nbytes);
6283 if (code <= 0) { /* note that 0 is forbidden */
6285 PyErr_SetString(st->UnpicklingError, "EXT specifies code <= 0");
6289 /* Look for the code in the cache. */
6290 py_code = PyLong_FromLong(code);
6311 "code %ld", code);
6315 /* Since the extension registry is manipulable via Python code,
6338 /* Cache code -> obj. */
6339 code = PyDict_SetItem(st->extension_cache, py_code, obj);
6341 if (code < 0) {
6351 "isn't a 2-tuple of strings", code);
6987 [clinic start generated code]*/
6991 /*[clinic end generated code: output=fdcc488aad675b14 input=acbb91a42fa9b7b9]*/
7030 [clinic start generated code]*/
7036 /*[clinic end generated code: output=becc08d7f9ed41e3 input=e2e6a865de093ef4]*/
7119 [clinic start generated code]*/
7123 /*[clinic end generated code: output=119d9d03ad4c7651 input=13333471fdeedf5e]*/
7245 [clinic start generated code]*/
7251 /*[clinic end generated code: output=09f0192649ea3f85 input=ca4c1faea9553121]*/
7290 * avoid breaking code like:
7294 * Is this a good idea? Not really, but we don't want to break code that uses
7299 * real-world code like cvs2svn.
7306 [clinic start generated code]*/
7310 /*[clinic end generated code: output=d20cd43f4ba1fb1f input=b1df7c52e7afd9bd]*/
7323 [clinic start generated code]*/
7327 /*[clinic end generated code: output=e12af7e9bc1e4c77 input=97769247ce032c1d]*/
7361 [clinic start generated code]*/
7365 /*[clinic end generated code: output=6da34ac048d94cca input=6920862413407199]*/
7673 [clinic start generated code]*/
7679 /*[clinic end generated code: output=706186dba996490c input=5ed6653da99cd97c]*/
7738 [clinic start generated code]*/
7743 /*[clinic end generated code: output=fbab0093a5580fdf input=e543272436c6f987]*/
7803 [clinic start generated code]*/
7809 /*[clinic end generated code: output=250452d141c23e76 input=46c7c31c92f4f371]*/
7863 [clinic start generated code]*/
7869 /*[clinic end generated code: output=82ac1e6b588e6d02 input=b3615540d0535087]*/