/third_party/python/Python/ |
D | wordcode_helpers.h | 25 write_op_arg(_Py_CODEUNIT *codestr, unsigned char opcode, in write_op_arg() argument 30 *codestr++ = PACKOPARG(EXTENDED_ARG, (oparg >> 24) & 0xff); in write_op_arg() 33 *codestr++ = PACKOPARG(EXTENDED_ARG, (oparg >> 16) & 0xff); in write_op_arg() 36 *codestr++ = PACKOPARG(EXTENDED_ARG, (oparg >> 8) & 0xff); in write_op_arg() 39 *codestr++ = PACKOPARG(opcode, oparg & 0xff); in write_op_arg()
|
/third_party/python/Lib/test/ |
D | test_keywordonlyarg.py | 38 def assertRaisesSyntaxError(self, codestr): argument 41 self.assertRaises(SyntaxError, shouldRaiseSyntaxError, codestr)
|
D | test_decorators.py | 198 codestr = "@%s\ndef f(): pass\nassert f() is None" % expr 199 code = compile(codestr, "test", "exec")
|
D | test_positional_only_arg.py | 21 def assertRaisesSyntaxError(self, codestr, regex="invalid syntax"): argument 23 compile(codestr + "\n", "<test>", "single")
|
D | test_with.py | 141 def assertRaisesSyntaxError(self, codestr): argument 144 self.assertRaises(SyntaxError, shouldRaiseSyntaxError, codestr)
|
D | test_builtin.py | 346 codestr = '''def f(): 366 codeobjs.append(compile(codestr, "<test>", "exec", optimize=optval)) 367 tree = ast.parse(codestr)
|
/third_party/python/Objects/ |
D | frameobject.c | 78 get_arg(const _Py_CODEUNIT *codestr, Py_ssize_t i) in get_arg() argument 81 unsigned int oparg = _Py_OPARG(codestr[i]); in get_arg() 82 if (i >= 1 && _Py_OPCODE(word = codestr[i-1]) == EXTENDED_ARG) { in get_arg() 84 if (i >= 2 && _Py_OPCODE(word = codestr[i-2]) == EXTENDED_ARG) { in get_arg() 86 if (i >= 3 && _Py_OPCODE(word = codestr[i-3]) == EXTENDED_ARG) { in get_arg()
|
/third_party/python/Modules/ |
D | _xxsubinterpretersmodule.c | 1863 _run_script(PyInterpreterState *interp, const char *codestr, in _run_script() argument 1890 PyObject *result = PyRun_StringFlags(codestr, Py_file_input, ns, ns, NULL); in _run_script() 1922 _run_script_in_interpreter(PyInterpreterState *interp, const char *codestr, in _run_script_in_interpreter() argument 1943 int result = _run_script(interp, codestr, shared, &exc); in _run_script_in_interpreter() 1959 int result = _run_script(interp, codestr, shared, &exc); in _run_script_in_interpreter() 2192 const char *codestr = PyUnicode_AsUTF8AndSize(code, &size); in interp_run_string() local 2193 if (codestr == NULL) { in interp_run_string() 2196 if (strlen(codestr) != (size_t)size) { in interp_run_string() 2203 if (_run_script_in_interpreter(interp, codestr, shared) != 0) { in interp_run_string()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/ |
D | gstrtspconnection.c | 2170 gchar codestr[4]; in parse_response_status() local 2179 if (parse_string (codestr, sizeof (codestr), &bptr) != GST_RTSP_OK) in parse_response_status() 2181 code = atoi (codestr); in parse_response_status() 2182 if (G_UNLIKELY (*codestr == '\0' || code < 0 || code >= 600)) in parse_response_status()
|
/third_party/nghttp2/src/ |
D | shrpx_config.cc | 1444 auto codestr = StringRef{std::begin(optarg), eq}; in parse_error_page() 1447 if (codestr == StringRef::from_lit("*")) { in parse_error_page() 1450 auto n = util::parse_uint(codestr); in parse_error_page() 1453 LOG(ERROR) << opt << ": bad code: '" << codestr << "'"; in parse_error_page()
|