HomeSort by relevance Sort by last modified time
    Searched defs:ptr (Results 126 - 150 of 2235) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/valgrind/memcheck/tests/
long_namespace_xml.cpp 37 char *ptr = (char *)malloc (4); local
38 idem(ptr)[5] = 0;
39 free(ptr);
  /frameworks/av/media/libaudiohal/include/media/audiohal/
EffectBufferHalInterface.h 37 virtual void* ptr() { function in class:android::EffectBufferHalInterface
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
mem_align.c 99 unsigned char *ptr; local
104 ptr = mem_ptr;
106 ptr -= *(ptr - 1);
108 pMemop->Free(CodecID, ptr);
  /libcore/luni/src/test/native/
libcore_libcore_util_NativeAllocationRegistryTest.cpp 26 static void finalize(uint64_t* ptr) {
27 gNumNativeBytesAllocated -= *ptr;
28 delete ptr;
43 uint64_t* ptr = new uint64_t; local
44 *ptr = static_cast<uint64_t>(size);
45 return static_cast<jlong>(reinterpret_cast<uintptr_t>(ptr));
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/
new.cpp 134 operator delete(void* ptr) _NOEXCEPT
136 if (ptr)
137 ::free(ptr); variable
142 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT
144 ::operator delete(ptr); variable
149 operator delete(void* ptr, size_t) _NOEXCEPT
151 ::operator delete(ptr); variable
156 operator delete[] (void* ptr) _NOEXCEPT
158 ::operator delete(ptr); variable
163 operator delete[] (void* ptr, const std::nothrow_t&) _NOEXCEP
165 ::operator delete[](ptr); variable
172 ::operator delete[](ptr); variable
260 ::_aligned_free(ptr); variable
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
construct_pair_const_lvalue_pair.pass.cpp 44 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
45 assert(ptr != nullptr);
49 A.construct(ptr, in);
50 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA));
51 assert(checkConstruct<int const&>(ptr->second, UA_AllocLast, CA));
55 >(CA, ptr)));
56 A.destroy(ptr);
57 std::free(ptr);
71 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
72 assert(ptr != nullptr)
107 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
138 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
    [all...]
construct_pair_piecewise.pass.cpp 44 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
45 assert(ptr != nullptr);
48 A.construct(ptr, std::piecewise_construct,
51 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA));
52 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA));
56 >(CA, ptr)));
57 A.destroy(ptr);
58 std::free(ptr);
71 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
72 assert(ptr != nullptr)
107 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
138 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
    [all...]
construct_pair_rvalue.pass.cpp 44 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
45 assert(ptr != nullptr);
49 A.construct(ptr, std::move(in));
50 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA));
51 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA));
55 >(CA, ptr)));
56 A.destroy(ptr);
57 std::free(ptr);
71 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
72 assert(ptr != nullptr)
107 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
138 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
    [all...]
construct_pair_values.pass.cpp 43 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
44 assert(ptr != nullptr);
47 A.construct(ptr, x, std::move(y));
48 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA));
49 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA));
53 >(CA, ptr)));
54 A.destroy(ptr);
55 std::free(ptr);
68 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
69 assert(ptr != nullptr)
102 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
131 Pair * ptr = (Pair*)std::malloc(sizeof(Pair)); local
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
pointer.pass.cpp 31 A* ptr = new A; local
32 std::shared_ptr<A> p(ptr);
35 assert(p.get() == ptr);
39 A* ptr = new A; local
40 std::shared_ptr<void> p(ptr);
43 assert(p.get() == ptr);
pointer_deleter.pass.cpp 34 A* ptr = new A; local
35 std::shared_ptr<A> p(ptr, test_deleter<A>(3));
38 assert(p.get() == ptr);
pointer_deleter_allocator_throw.pass.cpp 33 A* ptr = new A; local
37 std::shared_ptr<A> p(ptr, test_deleter<A>(3), test_allocator<A>(5));
pointer_deleter_throw.pass.cpp 41 A* ptr = new A; local
45 std::shared_ptr<A> p(ptr, test_deleter<A>(3));
pointer_throw.pass.cpp 40 A* ptr = new A; local
45 std::shared_ptr<A> p(ptr);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/test.support/
test_macros_header_rtti.fail.cpp 21 A* ptr = new B; local
22 (void)dynamic_cast<B*>(ptr); // expected-error{{cannot use dynamic_cast}}
24 A* ptr = new B;
25 (void)dynamic_cast<B*>(ptr);
test_macros_header_rtti.pass.cpp 26 A* ptr = new B; local
27 (void)dynamic_cast<B*>(ptr);
28 delete ptr;
  /system/core/libion/tests/
map_test.cpp 41 unsigned char *ptr = NULL; local
42 ASSERT_EQ(0, ion_map(m_ionFd, handle, size, PROT_READ | PROT_WRITE, MAP_SHARED, 0, &ptr, &map_fd));
43 ASSERT_TRUE(ptr != NULL);
50 memset(ptr, 0xaa, size);
52 ASSERT_EQ(0, munmap(ptr, size));
69 void *ptr; local
70 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0);
71 ASSERT_TRUE(ptr != NULL);
75 memset(ptr, 0xaa, size);
77 ASSERT_EQ(0, munmap(ptr, size))
91 unsigned char *ptr; local
125 void *ptr; local
151 void *ptr; local
    [all...]
  /tools/dexter/slicer/export/slicer/
memview.h 31 MemView(const void* ptr, size_t size) : ptr_(ptr), size_(size) {
38 const T* ptr() const { function in class:slicer::MemView
  /dalvik/libdex/
Leb128.h 32 const u1* ptr = *pStream; local
33 int result = *(ptr++);
36 int cur = *(ptr++);
39 cur = *(ptr++);
42 cur = *(ptr++);
50 cur = *(ptr++);
57 *pStream = ptr;
67 const u1* ptr = *pStream; local
68 int result = *(ptr++);
73 int cur = *(ptr++)
    [all...]
  /device/generic/goldfish-opengl/shared/OpenglCodecCommon/
FixedBuffer.h 48 void *ptr() { return m_buffer; } function in class:FixedBuffer
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
getopt.c 52 char *ptr; local
105 if ((ptr = strchr(optstring, option)) == NULL) {
112 if (*(ptr + 1) == ':') {
  /external/boringssl/src/crypto/
compiler_test.cc 66 unsigned char *ptr = &u8; local
67 (void)ptr;
  /external/clang/test/Analysis/
index-type.c 13 char *ptr = arr + UINT_MAX/2; local
14 ptr += 2; // index shouldn't overflow
15 *ptr = 42; // no-warning
24 char *ptr = arr + UINT_MAX/2; local
25 ptr += 2; // don't overflow 64-bit index
26 *ptr = 42; // no-warning
34 char *ptr = arr + BIG_INDEX; local
35 ptr += 2; // don't overflow 64-bit index
36 *ptr = 42; // no-warning
  /external/clang/test/Analysis/inlining/
eager-reclamation-path-notes.c 5 void use(int *ptr, int val) {
6 *ptr = val; // expected-warning {{Dereference of null pointer (loaded from variable 'ptr')}}
7 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'ptr')}}
22 // expected-note@-1 {{Passing null pointer value via 1st parameter 'ptr'}}
27 void use2(int *ptr, int val) {
28 *ptr = val; // expected-warning {{Dereference of null pointer (loaded from variable 'ptr')}}
29 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'ptr')}}
34 // expected-note@-1 {{Passing null pointer value via 1st parameter 'ptr'}}
39 int *ptr = 0; local
    [all...]
  /external/clang/test/CXX/except/except.handle/
p16.cpp 9 T* ptr; member in class:X
14 ptr = ip; // expected-error{{assigning to 'float *' from incompatible type 'int *'}}
19 ptr = fp; // expected-error{{assigning to 'int *' from incompatible type 'float *'}}

Completed in 271 milliseconds

1 2 3 4 56 7 8 91011>>