Home
last modified time | relevance | path

Searched refs:new_func (Results 1 – 15 of 15) sorted by relevance

/external/compiler-rt/lib/interception/
Dinterception_win.h29 bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func = 0);
32 bool OverrideFunction(const char *name, uptr new_func, uptr *orig_old_func = 0);
48 uptr old_func, uptr new_func, uptr *orig_old_func);
53 uptr old_func, uptr new_func, uptr *orig_old_func);
55 uptr old_func, uptr new_func, uptr *orig_old_func);
57 uptr old_func, uptr new_func, uptr *orig_old_func);
Dinterception_win.cc565 uptr old_func, uptr new_func, uptr *orig_old_func) { in OverrideFunctionWithDetour() argument
583 WriteJumpInstruction(header, new_func); in OverrideFunctionWithDetour()
600 uptr old_func, uptr new_func, uptr *orig_old_func) { in OverrideFunctionWithRedirectJump() argument
616 WriteDirectBranch(trampoline, new_func); in OverrideFunctionWithRedirectJump()
625 WriteJumpInstruction(old_func, FIRST_32_SECOND_64(new_func, trampoline)); in OverrideFunctionWithRedirectJump()
635 uptr old_func, uptr new_func, uptr *orig_old_func) { in OverrideFunctionWithHotPatch() argument
673 WriteBranch(header, indirect_address, new_func); in OverrideFunctionWithHotPatch()
684 uptr old_func, uptr new_func, uptr *orig_old_func) { in OverrideFunctionWithTrampoline() argument
729 WriteBranch(old_func, indirect_address, new_func); in OverrideFunctionWithTrampoline()
739 uptr old_func, uptr new_func, uptr *orig_old_func) { in OverrideFunction() argument
[all …]
/external/tensorflow/tensorflow/python/util/
Ddeprecation.py227 def new_func(*args, **kwargs): # pylint: disable=missing-docstring function
232 if new_func not in _PRINTED_WARNING:
234 _PRINTED_WARNING[new_func] = True
240 func_or_class, new_func, 'deprecated',
312 def new_func(*args, **kwargs): # pylint: disable=missing-docstring function
326 func, new_func, 'deprecated',
474 def new_func(*args, **kwargs): function
511 return tf_decorator.make_decorator(func, new_func, 'deprecated', doc)
559 def new_func(*args, **kwargs): function
578 return tf_decorator.make_decorator(func, new_func, 'deprecated', doc)
Dkeyword_args.py46 def new_func(*args, **kwargs): function
52 return new_func
/external/tensorflow/tensorflow/contrib/framework/python/framework/
Dexperimental.py59 def new_func(*args, **kwargs): function
65 new_func.__doc__ = _add_experimental_function_notice_to_docstring(
67 return new_func
/external/python/cpython2/Python/
Dthread_solaris.h25 new_func(void *funcarg) in new_func() function
50 if (thr_create(0, 0, new_func, funcarg, in PyThread_start_new_thread()
/external/bcc/tools/
Dfunccount.py110 new_func = b"trace_count_%d" % self.matched
111 text = template.replace(b"PROBE_FUNCTION", new_func)
157 new_func = b"trace_count_%d" % self.matched
159 self.usdt.enable_probe(match, new_func)
Dstackcount.py188 new_func = "trace_count_%d" % self.matched
190 "trace_count", new_func)
191 self.usdt.enable_probe(probe.name, new_func)
/external/protobuf/src/google/protobuf/stubs/
Dcommon.cc276 LogHandler* SetLogHandler(LogHandler* new_func) { in SetLogHandler() argument
281 if (new_func == NULL) { in SetLogHandler()
284 internal::log_handler_ = new_func; in SetLogHandler()
Dlogging.h219 LIBPROTOBUF_EXPORT LogHandler* SetLogHandler(LogHandler* new_func);
/external/tensorflow/tensorflow/python/framework/
Dfunction_test.py1182 def expectFunctionsEqual(self, func, grad_func=None, new_func=None): argument
1183 if new_func is None:
1189 new_func = function._from_definition(fdef, grad_func=grad_func)
1190 self.assertEqual(func.name, new_func.name)
1191 self.assertEqual(func.definition, new_func.definition)
1192 self.assertEqual(func.grad_func_name, new_func.grad_func_name)
1193 self.assertEqual(func.declared_input_types, new_func.declared_input_types)
1194 self.assertEqual(func.captured_inputs, new_func.captured_inputs)
1224 new_func = function._from_definition(Foo.definition)
1226 self.assertEqual(Foo.name, new_func.name)
[all …]
/external/compiler-rt/lib/asan/
Dasan_malloc_win.cc205 static void TryToOverrideFunction(const char *fname, uptr new_func) { in TryToOverrideFunction() argument
208 if (!__interception::OverrideFunction(fname, new_func)) in TryToOverrideFunction()
/external/python/cpython3/Lib/
Dfunctools.py372 new_func = get(obj, cls)
373 if new_func is not self.func:
376 result = partial(new_func, *self.args, **self.keywords)
378 result.__self__ = new_func.__self__
/external/autotest/client/common_lib/
Dutils.py64 def new_func(*args, **dargs): function
68 new_func.__name__ = func.__name__
69 new_func.__doc__ = func.__doc__
70 new_func.__dict__.update(func.__dict__)
71 return new_func
/external/libchrome/third_party/jinja2/
Dcompiler.py64 def new_func(self, node, frame, **kwargs): function
71 return update_wrapper(new_func, f)