Home
last modified time | relevance | path

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

12345678910>>...67

/external/cronet/tot/third_party/boringssl/src/crypto/
Dthread_pthread.cc82 void **pointers = reinterpret_cast<void **>(arg); in thread_local_destructor() local
85 destructors[i](pointers[i]); in thread_local_destructor()
89 free(pointers); in thread_local_destructor()
107 void **pointers = in CRYPTO_get_thread_local() local
109 if (pointers == NULL) { in CRYPTO_get_thread_local()
112 return pointers[index]; in CRYPTO_get_thread_local()
123 void **pointers = in CRYPTO_set_thread_local() local
125 if (pointers == NULL) { in CRYPTO_set_thread_local()
126 pointers = reinterpret_cast<void **>( in CRYPTO_set_thread_local()
128 if (pointers == NULL) { in CRYPTO_set_thread_local()
[all …]
Dthread_win.cc89 void **pointers = (void **)TlsGetValue(g_thread_local_key); in thread_local_destructor() local
90 if (pointers == NULL) { in thread_local_destructor()
102 destructors[i](pointers[i]); in thread_local_destructor()
106 free(pointers); in thread_local_destructor()
201 void **pointers = get_thread_locals(); in CRYPTO_get_thread_local() local
202 if (pointers == NULL) { in CRYPTO_get_thread_local()
205 return pointers[index]; in CRYPTO_get_thread_local()
216 void **pointers = get_thread_locals(); in CRYPTO_set_thread_local() local
217 if (pointers == NULL) { in CRYPTO_set_thread_local()
218 pointers = reinterpret_cast<void **>( in CRYPTO_set_thread_local()
[all …]
/external/boringssl/src/crypto/
Dthread_pthread.cc82 void **pointers = reinterpret_cast<void **>(arg); in thread_local_destructor() local
85 destructors[i](pointers[i]); in thread_local_destructor()
89 free(pointers); in thread_local_destructor()
107 void **pointers = in CRYPTO_get_thread_local() local
109 if (pointers == NULL) { in CRYPTO_get_thread_local()
112 return pointers[index]; in CRYPTO_get_thread_local()
123 void **pointers = in CRYPTO_set_thread_local() local
125 if (pointers == NULL) { in CRYPTO_set_thread_local()
126 pointers = reinterpret_cast<void **>( in CRYPTO_set_thread_local()
128 if (pointers == NULL) { in CRYPTO_set_thread_local()
[all …]
Dthread_win.cc89 void **pointers = (void **)TlsGetValue(g_thread_local_key); in thread_local_destructor() local
90 if (pointers == NULL) { in thread_local_destructor()
102 destructors[i](pointers[i]); in thread_local_destructor()
106 free(pointers); in thread_local_destructor()
201 void **pointers = get_thread_locals(); in CRYPTO_get_thread_local() local
202 if (pointers == NULL) { in CRYPTO_get_thread_local()
205 return pointers[index]; in CRYPTO_get_thread_local()
216 void **pointers = get_thread_locals(); in CRYPTO_set_thread_local() local
217 if (pointers == NULL) { in CRYPTO_set_thread_local()
218 pointers = reinterpret_cast<void **>( in CRYPTO_set_thread_local()
[all …]
/external/cronet/stable/third_party/boringssl/src/crypto/
Dthread_pthread.cc82 void **pointers = reinterpret_cast<void **>(arg); in thread_local_destructor() local
85 destructors[i](pointers[i]); in thread_local_destructor()
89 free(pointers); in thread_local_destructor()
107 void **pointers = in CRYPTO_get_thread_local() local
109 if (pointers == NULL) { in CRYPTO_get_thread_local()
112 return pointers[index]; in CRYPTO_get_thread_local()
123 void **pointers = in CRYPTO_set_thread_local() local
125 if (pointers == NULL) { in CRYPTO_set_thread_local()
126 pointers = reinterpret_cast<void **>( in CRYPTO_set_thread_local()
128 if (pointers == NULL) { in CRYPTO_set_thread_local()
[all …]
Dthread_win.cc89 void **pointers = (void **)TlsGetValue(g_thread_local_key); in thread_local_destructor() local
90 if (pointers == NULL) { in thread_local_destructor()
102 destructors[i](pointers[i]); in thread_local_destructor()
106 free(pointers); in thread_local_destructor()
201 void **pointers = get_thread_locals(); in CRYPTO_get_thread_local() local
202 if (pointers == NULL) { in CRYPTO_get_thread_local()
205 return pointers[index]; in CRYPTO_get_thread_local()
216 void **pointers = get_thread_locals(); in CRYPTO_set_thread_local() local
217 if (pointers == NULL) { in CRYPTO_set_thread_local()
218 pointers = reinterpret_cast<void **>( in CRYPTO_set_thread_local()
[all …]
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/
Dthread_pthread.c116 void **pointers = arg; in thread_local_destructor() local
119 destructors[i](pointers[i]); in thread_local_destructor()
123 OPENSSL_free(pointers); in thread_local_destructor()
141 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local() local
142 if (pointers == NULL) { in CRYPTO_get_thread_local()
145 return pointers[index]; in CRYPTO_get_thread_local()
156 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local() local
157 if (pointers == NULL) { in CRYPTO_set_thread_local()
158 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
159 if (pointers == NULL) { in CRYPTO_set_thread_local()
[all …]
Dthread_win.c117 void **pointers = (void**) TlsGetValue(g_thread_local_key); in thread_local_destructor() local
118 if (pointers == NULL) { in thread_local_destructor()
130 destructors[i](pointers[i]); in thread_local_destructor()
134 OPENSSL_free(pointers); in thread_local_destructor()
222 void **pointers = get_thread_locals(); in CRYPTO_get_thread_local() local
223 if (pointers == NULL) { in CRYPTO_get_thread_local()
226 return pointers[index]; in CRYPTO_get_thread_local()
237 void **pointers = get_thread_locals(); in CRYPTO_set_thread_local() local
238 if (pointers == NULL) { in CRYPTO_set_thread_local()
239 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
[all …]
/external/rust/android-crates-io/crates/tokio/src/util/
Dlinked_list.rs67 unsafe fn pointers(target: NonNull<Self::Target>) -> NonNull<Pointers<Self::Target>>; in pointers() method
125 L::pointers(ptr).as_mut().set_next(self.head); in push_front()
126 L::pointers(ptr).as_mut().set_prev(None); in push_front()
129 L::pointers(head).as_mut().set_prev(Some(ptr)); in push_front()
145 self.head = L::pointers(head).as_ref().get_next(); in pop_front()
147 if let Some(new_head) = L::pointers(head).as_ref().get_next() { in pop_front()
148 L::pointers(new_head).as_mut().set_prev(None); in pop_front()
153 L::pointers(head).as_mut().set_prev(None); in pop_front()
154 L::pointers(head).as_mut().set_next(None); in pop_front()
165 self.tail = L::pointers(last).as_ref().get_prev(); in pop_back()
[all …]
/external/pytorch/aten/src/ATen/test/
Dcpu_profiling_allocator_test.cpp13 std::vector<void*>& pointers, in run_with_control_flow() argument
25 pointers.push_back(input_ptr); in run_with_control_flow()
26 pointers.push_back(conv_out_ptr); in run_with_control_flow()
29 TORCH_CHECK(input_ptr == pointers[0]); in run_with_control_flow()
30 TORCH_CHECK(conv_out_ptr == pointers[1]); in run_with_control_flow()
43 std::vector<void*> pointers; in TEST() local
50 a, conv_weight, linear_weight, true, pointers); in TEST()
62 run_with_control_flow(a, conv_weight, linear_weight, record_mode, pointers); in TEST()
72 a, conv_weight, linear_weight, validation_mode, pointers); in TEST()
101 std::vector<void*> pointers; in TEST() local
[all …]
/external/libcap/libcap/
D_makenames.c41 const char **pointers = NULL; in main() local
48 if (pointers == NULL || list[i].index >= pointers_avail) { in main()
51 pointers = recalloc(pointers, was, pointers_avail * sizeof(char *)); in main()
52 if (pointers == NULL) { in main()
57 pointers[list[i].index] = list[i].name; in main()
76 if (pointers[i]) { in main()
77 printf(" /* %d */\t\"%s\", \\\n", i, pointers[i]); in main()
88 free(pointers); in main()
/external/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 …]
/external/cronet/stable/third_party/brotli/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 …]
/external/cronet/tot/third_party/brotli/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 …]
/external/cronet/tot/third_party/libc++/src/test/support/
Dpointer_comparison_test_helper.h33 int* pointers[] = {&local.a, &local.b, nullptr, &local.a + 1}; in do_pointer_comparison_test() local
34 for (int* lhs : pointers) { in do_pointer_comparison_test()
35 for (int* rhs : pointers) { in do_pointer_comparison_test()
49 int* pointers[] = {&local.a, &local.b, nullptr, &local.a + 1}; in do_pointer_comparison_test() local
50 for (int* lhs : pointers) { in do_pointer_comparison_test()
51 for (int* rhs : pointers) { in do_pointer_comparison_test()
/external/cronet/stable/third_party/libc++/src/test/support/
Dpointer_comparison_test_helper.h33 int* pointers[] = {&local.a, &local.b, nullptr, &local.a + 1}; in do_pointer_comparison_test() local
34 for (int* lhs : pointers) { in do_pointer_comparison_test()
35 for (int* rhs : pointers) { in do_pointer_comparison_test()
49 int* pointers[] = {&local.a, &local.b, nullptr, &local.a + 1}; in do_pointer_comparison_test() local
50 for (int* lhs : pointers) { in do_pointer_comparison_test()
51 for (int* rhs : pointers) { in do_pointer_comparison_test()
/external/tremolo/Tremolo/
Dmisc.c42 static void **pointers=NULL; variable
72 if(pointers){ in _insert()
73 pointers=(void **)realloc(pointers,sizeof(void **)*palloced); in _insert()
76 pointers=(void **)malloc(sizeof(void **)*palloced); in _insert()
81 pointers[pinsert]=ptr; in _insert()
186 if(pointers[insert]==NULL){ in _ripremove()
195 pointers[insert]=NULL; in _ripremove()
201 head *ptr=pointers[i]; in _VDBG_dump()
/external/clang/test/SemaOpenCL/
Daddress-spaces-conversions-cl2.0.cl5 /* OpenCLC v2.0 adds a set of restrictions for conversions between pointers to
10 * generic address space can be interchangabley used with pointers to any
160 …comparison between ('__constant int *' and '__global int *') which are pointers to non-overlappin…
165 … between ('__{{global|constant}} int *' and '__local int *') which are pointers to non-overlappin…
170 …etween ('__{{global|generic}} int *' and '__constant int *') which are pointers to non-overlappin…
175 …mparison between ('__{{global|constant}} int *' and 'int *') which are pointers to non-overlappin…
180 …omparison between ('__constant int *' and '__generic int *') which are pointers to non-overlappin…
186 …h operands of type ('__constant int *' and '__global int *') which are pointers to non-overlappin…
191 … of type ('__{{global|constant}} int *' and '__local int *') which are pointers to non-overlappin…
196 …f type ('__{{global|generic}} int *' and '__constant int *') which are pointers to non-overlappin…
[all …]
/external/sdv/vsomeip/third_party/boost/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()),
/external/sdv/vsomeip/third_party/boost/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()
/external/deqp/modules/gles3/functional/
Des3fShaderStateQueryTests.cpp2112 const PointerData pointers[] = { in test() local
2128 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(pointers); ++ndx) in test()
2130 … glVertexAttribPointer(0, pointers[ndx].size, pointers[ndx].type, pointers[ndx].normalized, in test()
2131 pointers[ndx].stride, pointers[ndx].pointer); in test()
2134 … verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_SIZE, pointers[ndx].size); in test()
2156 …glVertexAttribPointer(0, pointers[0].size, pointers[0].type, pointers[0].normalized, pointers[0].s… in test()
2162 …glVertexAttribPointer(0, pointers[1].size, pointers[1].type, pointers[1].normalized, pointers[1].s… in test()
2167 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_SIZE, pointers[1].size); in test()
2172 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_SIZE, pointers[0].size); in test()
2204 const PointerData pointers[] = { in test() local
[all …]
/external/libcxx/test/std/utilities/function.objects/comparisons/
Dpointer_comparison_test_helper.hpp20 std::vector<std::shared_ptr<T> > pointers; in do_pointer_comparison_test() local
23 pointers.push_back(std::shared_ptr<T>(new T())); in do_pointer_comparison_test()
29 T* lhs = pointers[i].get(); in do_pointer_comparison_test()
30 T* rhs = pointers[j].get(); in do_pointer_comparison_test()
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dbase_op.cc86 void** pointers = static_cast<void**>(result.descriptor); in ConvertTensorToDescriptor() local
87 pointers[0] = tensor.data(); in ConvertTensorToDescriptor()
88 pointers[1] = tensor.data(); in ConvertTensorToDescriptor()
109 intptr_t* pointers = static_cast<intptr_t*>(unranked_descriptor.descriptor); in ExtractShapeFromDescriptor() local
111 shape.AddDim(pointers[3 + i]); in ExtractShapeFromDescriptor()
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/book/src/binding/
Dfn.md1 {{#title Function pointers — Rust ♡ C++}}
2 # Function pointers
26 Function pointers with a Result return type are not implemented yet.
33 Function pointers are commonly useful for implementing [async functions over
/external/rust/cxx/book/src/binding/
Dfn.md1 {{#title Function pointers — Rust ♡ C++}}
2 # Function pointers
26 Function pointers with a Result return type are not implemented yet.
33 Function pointers are commonly useful for implementing [async functions over

12345678910>>...67