/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_code.py | 193 def new_code(c): function 198 code = new_code(f.__code__) 281 new_code = code.replace(**{attr: value}) 282 self.assertEqual(getattr(new_code, attr), value) 284 new_code = code.replace(co_varnames=code2.co_varnames, 286 self.assertEqual(new_code.co_varnames, code2.co_varnames) 287 self.assertEqual(new_code.co_nlocals, code2.co_nlocals) 338 new_code = code = func.__code__.replace(co_linetable=b'') 339 self.assertEqual(list(new_code.co_lines()), []) 426 new_code = func.__code__.replace(co_linetable=b'') [all …]
|
/aosp_15_r20/art/runtime/ |
H A D | instrumentation.cc | 260 static void UpdateEntryPoints(ArtMethod* method, const void* new_code) in UpdateEntryPoints() argument 264 CHECK(CanHandleInitializationCheck(new_code)); in UpdateEntryPoints() 267 if (jit != nullptr && jit->GetCodeCache()->ContainsPc(new_code)) { in UpdateEntryPoints() 270 CHECK_EQ(reinterpret_cast<uintptr_t>(new_code) & 1, 1u); in UpdateEntryPoints() 275 CHECK(CodeSupportsEntryExitHooks(new_code, method)); in UpdateEntryPoints() 278 CHECK_EQ(new_code, GetQuickToInterpreterBridge()); in UpdateEntryPoints() 282 if (current_entry_point == new_code) { in UpdateEntryPoints() 291 uintptr_t new_value = reinterpret_cast<uintptr_t>(new_code); in UpdateEntryPoints() 1207 void Instrumentation::UpdateMethodsCodeImpl(ArtMethod* method, const void* new_code) { in UpdateMethodsCodeImpl() argument 1211 UpdateEntryPoints(method, new_code); in UpdateMethodsCodeImpl() [all …]
|
H A D | instrumentation.h | 330 void UpdateMethodsCode(ArtMethod* method, const void* new_code) 334 void UpdateNativeMethodsCodeToJitCode(ArtMethod* method, const void* new_code) 670 void UpdateMethodsCodeImpl(ArtMethod* method, const void* new_code)
|
/aosp_15_r20/external/tensorflow/tensorflow/python/autograph/pyct/ |
H A D | parser.py | 111 new_code = tokenize.untokenize(tokens) 118 for line, new_line in zip(code_string.split('\n'), new_code.split('\n')): 126 new_code = '\n'.join(dedented_code) 128 return new_code
|
/aosp_15_r20/external/tensorflow/tensorflow/tools/compatibility/ |
H A D | ipynb.py | 164 new_code = [updated_code_lines[idx] for idx in applicable_lines] 166 cell["source"] = "\n".join(new_code).replace("###!!!", "").replace(
|
/aosp_15_r20/external/tensorflow/tensorflow/python/platform/ |
H A D | benchmark.py | 56 new_code = types.CodeType( 63 new_code = types.CodeType(arg_num, 0, func_code.co_nlocals, 71 return types.FunctionType(new_code, f.__globals__, name, f.__defaults__,
|
/aosp_15_r20/external/pytorch/torch/_dynamo/ |
H A D | resume_execution.py | 542 new_code = transform_code_object(code, update) 543 ContinueExecutionCache.generated_code_metadata[new_code] = meta 544 return new_code
|
H A D | types.py | 94 self, code: types.CodeType, new_code: types.CodeType
|
H A D | compiled_autograd.py | 482 new_code = f"{node_name}{maybe_aot_id} (NodeCall {nodecall_index})" 485 "raw_stack_trace = CapturedTraceback.extract().format()[-1]", new_code
|
H A D | symbolic_convert.py | 2910 new_code: types.CodeType = ContinueExecutionCache.lookup( 2930 code_context.get_context(new_code)["orig_graphmodule"] = weakref.ref( 2934 if new_code.co_freevars: 2936 self.output.install_global_unsafe(name, new_code) 2937 cg.make_function_with_closure(name, new_code, True, stack_len) 2941 name, types.FunctionType(new_code, self.f_globals, name)
|
/aosp_15_r20/external/rust/android-crates-io/crates/miette-derive/src/ |
D | diagnostic.rs | 113 DiagnosticArg::Code(new_code) => { in add_args() 120 self.code = Some(new_code); in add_args()
|
/aosp_15_r20/external/ublksrv/lib/ |
H A D | ublksrv_cmd.c | 352 unsigned new_code = legacy_op_to_ioctl(cmd_op); in __ublksrv_ctrl_get_info() local 353 int ret = __ublksrv_ctrl_get_info_no_trans(dev, new_code); in __ublksrv_ctrl_get_info()
|
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/ |
H A D | README.md | 1 …is_gapic-generator-java&metric=coverage)](https://sonarcloud.io/summary/new_code?id=googleapis_gap…
|
/aosp_15_r20/external/sdk-platform-java/ |
H A D | README.md | 1 …is_gapic-generator-java&metric=coverage)](https://sonarcloud.io/summary/new_code?id=googleapis_gap…
|
/aosp_15_r20/external/pytorch/torch/fx/ |
H A D | _symbolic_trace.py | 189 new_code = CodeType(*co_args) # type: ignore[arg-type] 191 new_code, fn.__globals__, fn.__name__, fn.__defaults__, fn.__closure__
|
/aosp_15_r20/art/runtime/gc/space/ |
H A D | image_space.cc | 1423 const void* new_code = forward_code(old_code); in RelocateInPlace() local 1424 if (old_code != new_code) { in RelocateInPlace() 1425 method.SetEntryPointFromQuickCompiledCode(new_code); in RelocateInPlace()
|