Searched refs:trampoline (Results 1 - 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/python/lib/core/
H A Dpy_func.h29 // "trampoline" must represent a python function which has the
35 // The trampoline takes two arguments, the first is a string token
50 void InitializePyTrampoline(PyObject* trampoline);
H A Dpy_func.cc72 // that is appropriate for calling the trampoline.
171 // Calls the registered py function through the trampoline.
174 PyObject* trampoline = GetPyTrampoline(); local
175 if (trampoline == nullptr) {
177 "Missing py trampoline. Most likely, it is a link error.");
184 // Invokes the trampoline.
185 PyObject* result = PyEval_CallObject(trampoline, args);
431 void InitializePyTrampoline(PyObject* trampoline) { argument
434 py_trampoline = trampoline;
/external/libffi/src/arm/
H A Dgentramp.sh31 # Each trampoline is exactly 3 instructions, or 12 bytes. If any of these values change,
32 # the entire arm trampoline implementation must be updated to match, too.
34 # Size of an individual trampoline, in bytes
79 # Write out the trampoline table, aligned to the page boundary
87 # WARNING - Don't modify the trampoline code size without also updating the relevant libffi code
88 trampoline () { function
91 // trampoline
113 trampoline
H A Dffi.c378 /* This function is jumped to by the trampoline */
536 /* How to make a trampoline. */
567 void *(*trampoline)(); member in struct:ffi_trampoline_table_entry
571 /* Override the standard architecture trampoline size */
576 /* The trampoline configuration is placed at 4080 bytes prior to the trampoline's entry point */
579 /* The first 16 bytes of the config page are unused, as they are unaddressable from the trampoline page. */
582 /* Total number of trampolines that fit in one trampoline table */
605 /* Now drop the second half of the allocation to make room for the trampoline table */
613 /* Remap the trampoline tabl
[all...]
/external/python/cpython2/Modules/_ctypes/libffi/src/arm/
H A Dgentramp.sh31 # Each trampoline is exactly 3 instructions, or 12 bytes. If any of these values change,
32 # the entire arm trampoline implementation must be updated to match, too.
34 # Size of an individual trampoline, in bytes
79 # Write out the trampoline table, aligned to the page boundary
87 # WARNING - Don't modify the trampoline code size without also updating the relevant libffi code
88 trampoline () { function
91 // trampoline
113 trampoline
H A Dffi.c378 /* This function is jumped to by the trampoline */
536 /* How to make a trampoline. */
567 void *(*trampoline)(); member in struct:ffi_trampoline_table_entry
571 /* Override the standard architecture trampoline size */
576 /* The trampoline configuration is placed at 4080 bytes prior to the trampoline's entry point */
579 /* The first 16 bytes of the config page are unused, as they are unaddressable from the trampoline page. */
582 /* Total number of trampolines that fit in one trampoline table */
605 /* Now drop the second half of the allocation to make room for the trampoline table */
613 /* Remap the trampoline tabl
[all...]
/external/python/cpython3/Modules/_ctypes/libffi/src/arm/
H A Dgentramp.sh31 # Each trampoline is exactly 3 instructions, or 12 bytes. If any of these values change,
32 # the entire arm trampoline implementation must be updated to match, too.
34 # Size of an individual trampoline, in bytes
79 # Write out the trampoline table, aligned to the page boundary
87 # WARNING - Don't modify the trampoline code size without also updating the relevant libffi code
88 trampoline () { function
91 // trampoline
113 trampoline
H A Dffi.c378 /* This function is jumped to by the trampoline */
536 /* How to make a trampoline. */
567 void *(*trampoline)(); member in struct:ffi_trampoline_table_entry
571 /* Override the standard architecture trampoline size */
576 /* The trampoline configuration is placed at 4080 bytes prior to the trampoline's entry point */
579 /* The first 16 bytes of the config page are unused, as they are unaddressable from the trampoline page. */
582 /* Total number of trampolines that fit in one trampoline table */
605 /* Now drop the second half of the allocation to make room for the trampoline table */
613 /* Remap the trampoline tabl
[all...]
/external/compiler-rt/lib/interception/
H A Dinterception_win.cc22 // arbitrary branching on the whole memory space, the notion of trampoline
23 // region is used. A trampoline region is a memory space withing 2G boundary
51 // On an 64-bit architecture, a trampoline is inserted.
56 // [trampoline]
80 // [trampoline]
90 // [trampoline]
109 // [trampoline]
120 // [trampoline]
612 // If needed, get memory space for a trampoline jump.
613 uptr trampoline local
650 uptr trampoline = AllocateMemoryForTrampoline(old_func, trampoline_length); local
699 uptr trampoline = AllocateMemoryForTrampoline(old_func, trampoline_length); local
[all...]
/external/harfbuzz_ng/src/
H A Dhb-font.cc1749 trampoline_t *trampoline = (trampoline_t *) calloc (1, sizeof (trampoline_t)); local
1751 if (unlikely (!trampoline))
1754 trampoline->closure.user_data = user_data;
1755 trampoline->closure.destroy = destroy;
1756 trampoline->closure.ref_count = 1;
1757 trampoline->func = func;
1759 return trampoline;
1790 hb_font_get_glyph_trampoline_t *trampoline = (hb_font_get_glyph_trampoline_t *) user_data; local
1791 return trampoline->func (font, font_data, unicode, 0, glyph, trampoline
1802 hb_font_get_glyph_trampoline_t *trampoline = (hb_font_get_glyph_trampoline_t *) user_data; local
1824 hb_font_get_glyph_trampoline_t *trampoline; local
[all...]
/external/dng_sdk/source/
H A Ddng_pthread.cpp214 // This trampoline takes care of the return type being different
216 unsigned __stdcall trampoline(void *arg_arg) function in namespace:__anon5574
333 result = _beginthreadex(NULL, (unsigned)stacksize, trampoline, args.get(), 0, &threadID);
/external/libffi/
H A DMakefile.am53 libffi.xcodeproj/project.pbxproj src/arm/trampoline.S \
197 nodist_libffi_la_SOURCES += src/arm/trampoline.S
/external/python/cpython2/Modules/_ctypes/libffi/
H A DMakefile.am52 libffi.xcodeproj/project.pbxproj src/arm/trampoline.S \
193 nodist_libffi_la_SOURCES += src/arm/trampoline.S
/external/python/cpython3/Modules/_ctypes/libffi/
H A DMakefile.am52 libffi.xcodeproj/project.pbxproj src/arm/trampoline.S \
193 nodist_libffi_la_SOURCES += src/arm/trampoline.S
/external/libffi/src/aarch64/
H A Dffi.c907 static unsigned char trampoline [] = variable
913 /* Build a trampoline. */
920 memcpy (__tramp, trampoline, sizeof (trampoline)); \
/external/python/cpython2/Modules/_ctypes/libffi/src/aarch64/
H A Dffi.c896 static unsigned char trampoline [] = variable
902 /* Build a trampoline. */
909 memcpy (__tramp, trampoline, sizeof (trampoline)); \
/external/python/cpython3/Modules/_ctypes/libffi/src/aarch64/
H A Dffi.c896 static unsigned char trampoline [] = variable
902 /* Build a trampoline. */
909 memcpy (__tramp, trampoline, sizeof (trampoline)); \
/external/v8/src/
H A Dframes.cc231 // If the top of stack is a return address to the interpreter trampoline,
2071 Code* trampoline; local
2073 FindCodeInCache(&trampoline);
2074 if (trampoline->contains(pc())) {
2075 return trampoline;
2079 FindCodeInCache(&trampoline);
2080 if (trampoline->contains(pc())) {
2081 return trampoline;
/external/libffi/src/powerpc/
H A Dppc_closure.S70 # get the context pointer from the trampoline
/external/libunwind/doc/
H A Dlibunwind-ia64.tex45 registers are accessible. For signal-trampoline frames, all registers
93 stack-frame of a signal-handler trampoline.
/external/python/cpython2/Modules/_ctypes/libffi/src/powerpc/
H A Dppc_closure.S70 # get the context pointer from the trampoline
/external/python/cpython3/Modules/_ctypes/libffi/src/powerpc/
H A Dppc_closure.S70 # get the context pointer from the trampoline
/external/python/cpython2/Modules/_ctypes/libffi/src/x86/
H A Dwin32.S214 ;; the ffi_closure ctx is passed in eax by the trampoline.
322 ;; the ffi_closure ctx is passed in eax by the trampoline.
407 ;; the ffi_closure ctx is passed in eax by the trampoline.
/external/python/cpython2/Modules/_ctypes/libffi_arm_wince/
H A Dsysv.asm164 ; This function is called by the trampoline
/external/python/cpython3/Modules/_ctypes/libffi/src/x86/
H A Dwin32.S214 ;; the ffi_closure ctx is passed in eax by the trampoline.
322 ;; the ffi_closure ctx is passed in eax by the trampoline.
407 ;; the ffi_closure ctx is passed in eax by the trampoline.

Completed in 552 milliseconds

12