Home
last modified time | relevance | path

Searched refs:my_free (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython3/Lib/ctypes/test/
Dtest_slicing.py67 dll.my_free.restype = None
88 dll.my_free(res)
94 dll.my_free(res)
103 dll.my_free.restype = None
106 dll.my_free(result)
136 dll.my_free.restype = None
146 dll.my_free(res)
162 dll.my_free(res)
/external/python/cpython2/Lib/ctypes/test/
Dtest_slicing.py71 dll.my_free.restype = None
94 dll.my_free(res)
100 dll.my_free(res)
109 dll.my_free.restype = None
112 dll.my_free(result)
142 dll.my_free.restype = None
154 dll.my_free(res)
170 dll.my_free(res)
/external/llvm-project/clang/test/Analysis/
Dmalloc-annotations.cpp14 void __attribute((ownership_takes(malloc, 2))) my_free(void *);
56 Alloc.my_free(p); in af2()
63 Alloc.my_free(p); // expected-warning{{Attempt to free released memory}} in af2b()
89 Alloc.my_free(p); in af4()
Dmalloc-annotations.c14 void __attribute((ownership_takes(malloc, 1))) my_free(void *);
101 my_free(p); in af2()
108 my_free(p); // expected-warning{{Attempt to free released memory}} in af2b()
140 my_free(p); in af4()
Dmalloc-plist.c51 void my_free(void *x) { in my_free() function
57 my_free(*x); in my_malloc_and_free()
DMismatchedDeallocator-checker-test.mm15 void __attribute((ownership_takes(malloc, 1))) my_free(void *); function
/external/icu/icu4c/source/test/perf/ucnvavailperf/
Ducnvavailperf.cpp70 my_free(const void *context, void *mem) { in my_free() function
81 my_free(context, mem); in my_realloc()
92 u_setMemoryFunctions(NULL, my_alloc, my_realloc, my_free, &errorCode); in main()
/external/clang/test/Analysis/
Dmalloc-annotations.c8 void __attribute((ownership_takes(malloc, 1))) my_free(void *);
95 my_free(p); in af2()
102 my_free(p); // expected-warning{{Attempt to free released memory}} in af2b()
134 my_free(p); in af4()
Dmalloc-plist.c50 void my_free(void *x) { in my_free() function
56 my_free(*x); in my_malloc_and_free()
DMismatchedDeallocator-checker-test.mm14 void __attribute((ownership_takes(malloc, 1))) my_free(void *); function
/external/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/
Dstatic-analyzer-config.cpp7 void __attribute((ownership_takes(malloc, 1))) my_free(void *);
17 my_free(p); in af2()
/external/llvm-project/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/
Dcustom_alloc.pass.cpp29 void my_free(void*) in my_free() function
46 test s(my_alloc, my_free); in main()
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/
Dcustom_alloc.pass.cpp28 void my_free(void*) in my_free() function
45 test s(my_alloc, my_free); in main()
/external/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Dpointer_deleter.pass.cpp33 void my_free(void*) { my_free_called = true; } in my_free() function
256 std::unique_ptr<VT2, void (*)(void*)> s(&i, my_free); in test_basic()
258 assert(s.get_deleter() == my_free); in test_basic()
282 std::unique_ptr<void, void (*)(void*)> s(&i, my_free); in test_basic_single()
284 assert(s.get_deleter() == my_free); in test_basic_single()
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Dpointer_deleter.pass.cpp34 void my_free(void*) { my_free_called = true; } in my_free() function
257 std::unique_ptr<VT2, void (*)(void*)> s(&i, my_free); in test_basic()
259 assert(s.get_deleter() == my_free); in test_basic()
283 std::unique_ptr<void, void (*)(void*)> s(&i, my_free); in test_basic_single()
285 assert(s.get_deleter() == my_free); in test_basic_single()
/external/python/cffi/c/
Dffi_obj.c361 PyObject *my_alloc, *my_free; in _ffi_new_with_allocator() local
363 my_free = PyTuple_GET_ITEM(allocator, 2); in _ffi_new_with_allocator()
365 alloc1.ca_free = (my_free == Py_None ? NULL : my_free); in _ffi_new_with_allocator()
390 PyObject *my_alloc = Py_None, *my_free = Py_None; in ffi_new_allocator() local
395 &my_alloc, &my_free, in ffi_new_allocator()
399 if (my_alloc == Py_None && my_free != Py_None) { in ffi_new_allocator()
407 my_free, in ffi_new_allocator()
/external/perfetto/docs/instrumentation/
Dheapprofd-api.md72 void my_free(void* ptr) {
91 void my_free(void* ptr) {
/external/python/cpython2/Modules/_ctypes/
D_ctypes_test.c197 EXPORT(void)my_free(void *ptr) in my_free() function
/external/python/cpython3/Modules/_ctypes/
D_ctypes_test.c376 EXPORT(void)my_free(void *ptr) in my_free() function
/external/pcre/dist2/src/
Dpcre2test.c2769 static void my_free(void *block, void *data) in my_free() function
8928 G(general_context,BITS) = G(pcre2_general_context_create_,BITS)(&my_malloc, &my_free, NULL); \ in main()
8942 …(void)G(pcre2_set_recursion_memory_management_,BITS)(G(dat_context,BITS), my_malloc, my_free, NULL… in main()
/external/llvm-project/llvm/test/Transforms/LoopVectorize/X86/
Dload-deref-pred.ll2552 declare void @my_free(i8*)
2566 ; CHECK-NEXT: call void @my_free(i8* [[ALLOCATION]])
2710 call void @my_free(i8* %allocation)
/external/llvm-project/clang/test/Analysis/Inputs/expected-plists/
Dmalloc-plist.c.plist1496 <string>Calling &apos;my_free&apos;</string>
1498 <string>Calling &apos;my_free&apos;</string>