Home
last modified time | relevance | path

Searched refs:pointers (Results 1 – 25 of 976) sorted by relevance

12345678910>>...40

/third_party/skia/third_party/externals/brotli/c/enc/
Dmemory.c110 SortPointers(m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated); in CollectGarbagePointers()
111 SortPointers(m->pointers + NEW_FREED_OFFSET, m->new_freed); in CollectGarbagePointers()
113 m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated, in CollectGarbagePointers()
114 m->pointers + NEW_FREED_OFFSET, m->new_freed); in CollectGarbagePointers()
120 m->pointers + PERM_ALLOCATED_OFFSET, m->perm_allocated, in CollectGarbagePointers()
121 m->pointers + NEW_FREED_OFFSET, m->new_freed); in CollectGarbagePointers()
129 memcpy(m->pointers + PERM_ALLOCATED_OFFSET + m->perm_allocated, in CollectGarbagePointers()
130 m->pointers + NEW_ALLOCATED_OFFSET, in CollectGarbagePointers()
134 SortPointers(m->pointers + PERM_ALLOCATED_OFFSET, m->perm_allocated); in CollectGarbagePointers()
145 m->pointers[NEW_ALLOCATED_OFFSET + (m->new_allocated++)] = result; in BrotliAllocate()
[all …]
/third_party/node/deps/brotli/c/enc/
Dmemory.c110 SortPointers(m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated); in CollectGarbagePointers()
111 SortPointers(m->pointers + NEW_FREED_OFFSET, m->new_freed); in CollectGarbagePointers()
113 m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated, in CollectGarbagePointers()
114 m->pointers + NEW_FREED_OFFSET, m->new_freed); in CollectGarbagePointers()
120 m->pointers + PERM_ALLOCATED_OFFSET, m->perm_allocated, in CollectGarbagePointers()
121 m->pointers + NEW_FREED_OFFSET, m->new_freed); in CollectGarbagePointers()
129 memcpy(m->pointers + PERM_ALLOCATED_OFFSET + m->perm_allocated, in CollectGarbagePointers()
130 m->pointers + NEW_ALLOCATED_OFFSET, in CollectGarbagePointers()
134 SortPointers(m->pointers + PERM_ALLOCATED_OFFSET, m->perm_allocated); in CollectGarbagePointers()
145 m->pointers[NEW_ALLOCATED_OFFSET + (m->new_allocated++)] = result; in BrotliAllocate()
[all …]
/third_party/musl/ndk-test/sanitize/scudo/src/
Dinterface.cpp50 std::vector<void *> pointers; in main() local
55 pointers.push_back(p); in main()
69 while (!pointers.empty()) { in main()
70 free(pointers.back()); in main()
71 pointers.pop_back(); in main()
76 std::vector<void *> pointers; in main() local
81 pointers.push_back(p); in main()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderStateQueryTests.cpp2179 const PointerData pointers[] = in test() local
2196 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(pointers); ++ndx) in test()
2198 …glVertexAttribPointer(0, pointers[ndx].size, pointers[ndx].type, pointers[ndx].normalized, pointer… in test()
2201 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_SIZE, pointers[ndx].size); in test()
2223 …glVertexAttribPointer(0, pointers[0].size, pointers[0].type, pointers[0].normalized, pointers[0].s… in test()
2228 …glVertexAttribPointer(0, pointers[1].size, pointers[1].type, pointers[1].normalized, pointers[1].s… in test()
2232 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_SIZE, pointers[1].size); in test()
2237 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_SIZE, pointers[0].size); in test()
2265 const PointerData pointers[] = in test() local
2280 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(pointers); ++ndx) in test()
[all …]
/third_party/boost/libs/iterator/doc/
Dcounting_iterator_eg.rst9 pointers into the first array, using ``counting_iterator`` for both
22 std::vector<std::vector<int>::iterator> pointers;
25 std::back_inserter(pointers));
29 std::copy(boost::make_indirect_iterator(pointers.begin()),
30 boost::make_indirect_iterator(pointers.end()),
Dpointee.rst18 pointers, smart pointers and iterators in generic code.
47 for all pointers, standard and boost smart pointers, and
/third_party/boost/libs/iterator/example/
Dcounting_iterator_example.cpp34 std::vector<std::vector<int>::iterator> pointers; in main() local
40 std::back_inserter(pointers)); in main()
46 std::copy(boost::make_indirect_iterator(pointers.begin()), in main()
47 boost::make_indirect_iterator(pointers.end()), in main()
/third_party/flutter/flutter/packages/flutter/lib/src/gestures/
Dscale.dart29 /// definitively as a scale gesture and the pointers established a focal point
42 /// The initial focal point of the pointers in contact with the screen.
52 /// The initial focal point of the pointers in contact with the screen.
88 /// The focal point of the pointers in contact with the screen.
98 /// The focal point of the pointers in contact with the screen.
109 /// The scale implied by the average distance between the pointers in contact
121 /// between the pointers in contact with the screen.
127 /// * [scale], which is the general scale implied by the pointers.
132 /// between the pointers in contact with the screen.
138 /// * [scale], which is the general scale implied by the pointers.
[all …]
/third_party/boost/boost/iostreams/detail/adapter/
Ddirect_adapter.hpp60 struct pointers { struct in boost::iostreams::detail::direct_adapter_base
61 pointers() : beg(0), ptr(0), end(0) { } in pointers() argument
68 double_object<pointers, is_double> ptrs_;
76 typedef typename base_type::pointers pointers; typedef in boost::iostreams::detail::direct_adapter
198 pointers& get = ptrs_.first(); in read()
212 pointers& put = ptrs_.second(); in write()
226 pointers& get = ptrs_.first(); in seek()
227 pointers& put = ptrs_.second(); in seek()
/third_party/boost/libs/ptr_container/doc/
Dfaq.rst18 Which mutating algorithms are safe to use with pointers?
71 Oriented programming in connection with containers of pointers to
73 using either a container of smart pointers or a container that takes
74 ownership of the pointers. The hard part is to find a safe, fast and
77 …containers faster and do they have a better memory footprint than a container of smart pointers?
82 Smart pointers usually have one word or more of memory overhead per
89 When the stored pointers cannot be ``0``, how do I allow this "empty" behavior anyway?
92 Storing a null-pointer among a list of pointers does not fit well into the Object Oriented paradigm…
Dconventions.rst16 Null pointers are not allowed by default
22 Use `nullable <reference.html#class-nullable>`_ to allow null pointers.
40 pointers except when allocating them (see `Example 2 <examples.html>`_). Iterators that
41 provide access to the naked pointers are also provided since they might be
44 stored pointers.
50 ``boost::ptr_less<T>`` which compares the indirected pointers.
69 Whenever pointers are inserted into a container, ownership is transferred to the container
72 All containers take ownership of the stored pointers and therefore a
/third_party/boost/libs/smart_ptr/doc/smart_ptr/
Dintroduction.adoc18 Smart pointers are objects which store pointers to dynamically allocated (heap) objects.
19 They behave much like built-in {cpp} pointers except that they automatically delete the object
20 pointed to at the appropriate time. Smart pointers are particularly useful in the face of
24 Conceptually, smart pointers are seen as owning the object pointed to, and thus responsible for
52 As a general rule, the destructor or `operator delete` for an object managed by pointers in the lib…
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderStateQueryTests.cpp1522 const PointerData pointers[] = in test() local
1535 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(pointers); ++ndx) in test()
1537 …glVertexAttribPointer(0, pointers[ndx].size, pointers[ndx].type, pointers[ndx].normalized, pointer… in test()
1540 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_SIZE, pointers[ndx].size); in test()
1557 const PointerData pointers[] = in test() local
1567 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(pointers); ++ndx) in test()
1569 …glVertexAttribPointer(0, pointers[ndx].size, pointers[ndx].type, pointers[ndx].normalized, pointer… in test()
1572 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_TYPE, pointers[ndx].type); in test()
1599 const StridePointerData pointers[] = in test() local
1618 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(pointers); ++ndx) in test()
[all …]
/third_party/boost/libs/type_traits/doc/
Dis_pointer.qbk12 __inherit If T is a (possibly cv-qualified) pointer type (includes function pointers,
13 but excludes pointers to members) then inherits from __true_type,
39 [important `is_pointer` detects "real" pointer types only, and /not/ smart pointers.
42 Users wanting a trait to detect smart pointers should create their own.
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DGLX_ARB_get_proc_address.txt71 GetProcAddressARB is to return pointers to extension functions and
81 GLX: Yes. GLU: No. Because the pointers returned are
106 wglGetProcAddress, which returns context-dependent pointers.
121 * Are function pointers context-independent?
125 function dispatch for context-independent pointers would incur
126 overheads compared to context-dependent pointers.
135 * Should the pointers returned be required to be equal to the
207 GL function pointers returned by glXGetProcAddressARB are
243 GL core function pointers returned by the query.
248 Specify that GL function pointers are context independent. Specify
/third_party/openGLES/extensions/ARB/
DGLX_ARB_get_proc_address.txt81 GetProcAddressARB is to return pointers to extension functions and
91 GLX: Yes. GLU: No. Because the pointers returned are
116 wglGetProcAddress, which returns context-dependent pointers.
131 * Are function pointers context-independent?
135 function dispatch for context-independent pointers would incur
136 overheads compared to context-dependent pointers.
145 * Should the pointers returned be required to be equal to the
217 GL function pointers returned by glXGetProcAddressARB are
253 GL core function pointers returned by the query.
258 Specify that GL function pointers are context independent. Specify
/third_party/boost/libs/python/doc/reference/
Dopaque_pointer_converter.qbk3 `opaque<>` registers itself as a converter from Python objects to pointers to undefined types and v…
19 …emplate_lvalue_from_pytyp `lvalue_from_pytype`] converter from Python objects into opaque pointers.
21 …ter.class_template_to_python_convert `to_python_converter`] from opaque pointers to Python objects.
/third_party/mbedtls/tests/suites/
Dtest_suite_asn1write.function338 mbedtls_asn1_named_data *pointers[ARRAY_LENGTH( nd ) + 1];
344 pointers[i] = &nd[i];
345 pointers[ARRAY_LENGTH( nd )] = NULL;
351 nd[i].next = pointers[i+1];
354 head = pointers[from];
362 TEST_ASSERT( nd[i].next == pointers[i+1] );
367 TEST_ASSERT( head == pointers[from] );
368 TEST_ASSERT( found == pointers[position] );
374 TEST_ASSERT( head->next == pointers[from] );
380 if( found != NULL && found == head && found != pointers[from] )
/third_party/boost/libs/mpl/test/
Dtransform.cpp32 typedef list<char*,short*,int*,long*,float*,double*> pointers; in MPL_TEST_CASE() typedef
35 MPL_ASSERT(( equal<result,pointers> )); in MPL_TEST_CASE()
/third_party/ffmpeg/libavutil/
Dimgutils.c216 int av_image_alloc(uint8_t *pointers[4], int linesizes[4], in av_image_alloc()
249 if ((ret = av_image_fill_pointers(pointers, pix_fmt, h, buf, linesizes)) < 0) { in av_image_alloc()
253 if (desc->flags & AV_PIX_FMT_FLAG_PAL || (desc->flags & FF_PSEUDOPAL && pointers[1])) { in av_image_alloc()
254 avpriv_set_systematic_pal2((uint32_t*)pointers[1], pix_fmt); in av_image_alloc()
263 desc->flags & FF_PSEUDOPAL) && pointers[1] && in av_image_alloc()
264 pointers[1] - pointers[0] > linesizes[0] * h) { in av_image_alloc()
266 memset(pointers[0] + linesizes[0] * h, 0, in av_image_alloc()
267 pointers[1] - pointers[0] - linesizes[0] * h); in av_image_alloc()
/third_party/boost/libs/iterator/doc/quickbook/
Dcounting_iterator.qbk12 pointers into the first array, using `counting_iterator` for both
23 std::vector<std::vector<int>::iterator> pointers;
26 std::back_inserter(pointers));
30 std::copy(boost::make_indirect_iterator(pointers.begin()),
31 boost::make_indirect_iterator(pointers.end()),
/third_party/grpc/doc/
Dsecurity_audit.md16 …ss of moving to c++ and the standard library, enabling the use of smart pointers in Core and thus …
18 Regarding 2), moving to smart pointers (in particular, unique_ptr) will help this issue as well. In…
37 Maintainability is also an issue since this approach impacts use of `*const`. Member pointers that …
41 …is that the use of non-smart pointers doesn’t imply ownership - it doesn’t protect against spare c…
46 Like alternative #1, this solution doesn’t protect against spare copies of the same pointers and is…
59 …e addressed through the ongoing work to move gRPC Core to C++ and smart pointers and the future wo…
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Draw_hash_set_probe_benchmark.cc91 auto& pointers = GetPointers(n); in allocate() local
93 while (pointers.size() < kRandomPool) { in allocate()
94 pointers.push_back(std::allocator<T>{}.allocate(n)); in allocate()
98 size_t i = absl::Uniform<size_t>(GlobalBitGen(), 0, pointers.size()); in allocate()
99 T* result = pointers[i]; in allocate()
100 pointers[i] = pointers.back(); in allocate()
101 pointers.pop_back(); in allocate()
/third_party/skia/third_party/externals/tint/docs/
Dspirv-ptr-ref.md1 # SPIR-V translation of WGSL pointers and references
3 WGSL was updated to have two kinds of memory views: pointers and references.
58 capabilities. All pointers are
59 [SPIR-V logical pointers](https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#Logical…
61 specify where logical pointers can appear as results of instructions
92 is filed to allow those operations to work on pointers.
/third_party/boost/libs/intrusive/proj/vc7ide/
Dto-do.txt18 -> Take all pointers by const reference to optimize shared memory pointers
19 -> Return pointers by const reference if node traits return them by const reference to optimize sha…

12345678910>>...40