Home
last modified time | relevance | path

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

12345678910>>...52

/external/rust/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()
169 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local() local
170 if (pointers == NULL) { in CRYPTO_get_thread_local()
173 return pointers[index]; in CRYPTO_get_thread_local()
184 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local() local
185 if (pointers == NULL) { in CRYPTO_set_thread_local()
186 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
187 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/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()
169 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local() local
170 if (pointers == NULL) { in CRYPTO_get_thread_local()
173 return pointers[index]; in CRYPTO_get_thread_local()
184 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local() local
185 if (pointers == NULL) { in CRYPTO_set_thread_local()
186 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
187 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/crates/tokio/src/util/
Dlinked_list.rs59 unsafe fn pointers(target: NonNull<Self::Target>) -> NonNull<Pointers<Self::Target>>; in pointers() method
124 L::pointers(ptr).as_mut().set_next(self.head); in push_front()
125 L::pointers(ptr).as_mut().set_prev(None); in push_front()
128 L::pointers(head).as_mut().set_prev(Some(ptr)); in push_front()
144 self.tail = L::pointers(last).as_ref().get_prev(); in pop_back()
146 if let Some(prev) = L::pointers(last).as_ref().get_prev() { in pop_back()
147 L::pointers(prev).as_mut().set_next(None); in pop_back()
152 L::pointers(last).as_mut().set_prev(None); in pop_back()
153 L::pointers(last).as_mut().set_next(None); in pop_back()
176 if let Some(prev) = L::pointers(node).as_ref().get_prev() { in remove()
[all …]
/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/libcap/libcap/
D_makenames.c41 const char **pointers = NULL; in main() local
51 pointers = recalloc(pointers, was, pointers_avail * sizeof(char *)); in main()
53 pointers[list[i].index] = list[i].name; in main()
72 if (pointers[i]) { in main()
73 printf(" /* %d */\t\"%s\", \\\n", i, pointers[i]); in main()
84 free(pointers); in main()
/external/llvm-project/compiler-rt/test/scudo/
Dinterface.cpp51 std::vector<void *> pointers; in main() local
56 pointers.push_back(p); in main()
70 while (!pointers.empty()) { in main()
71 free(pointers.back()); in main()
72 pointers.pop_back(); in main()
77 std::vector<void *> pointers; in main() local
82 pointers.push_back(p); in main()
/external/llvm-project/llvm/test/Verifier/
Dnon-integral-pointers.ll6 ; CHECK: ptrtoint not supported for non-integral pointers
12 ; CHECK: ptrtoint not supported for non-integral pointers
24 ; CHECK: inttoptr not supported for non-integral pointers
30 ; CHECK: inttoptr not supported for non-integral pointers
42 ; CHECK: ptrtoint not supported for non-integral pointers
48 ; CHECK: inttoptr not supported for non-integral pointers
55 ; CHECK: ptrtoint not supported for non-integral pointers
60 ; CHECK: inttoptr not supported for non-integral pointers
67 ; CHECK: ptrtoint not supported for non-integral pointers
75 ; CHECK: ptrtoint not supported for non-integral pointers
[all …]
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dinvalid-pointer-pairs-threads.cpp14 char *pointers[2]; variable
21 pointers[id] = &local; in thread_main()
41 unsigned r = pointers[0] - pointers[1]; in main()
48 unsigned r = parent_pointer - pointers[0]; in main()
/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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dobjc-nsinvocation-argument-lifetime.m42 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
45 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
48 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
51 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
56 …@LINE-1]]:30: warning: NSInvocation '-getReturnValue:' should only pass pointers to objects with o…
62 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
84 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
86 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
93 …@LINE-1]]:30: warning: NSInvocation '-getReturnValue:' should only pass pointers to objects with o…
101 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
/external/llvm-project/llvm/test/Analysis/BasicAA/
Ddereferenceable.ll8 ; CHECK: Function: global_and_deref_arg_1: 2 pointers, 0 call sites
18 ; CHECK: Function: global_and_deref_arg_2: 2 pointers, 0 call sites
28 ; CHECK: Function: byval_and_deref_arg_1: 2 pointers, 0 call sites
38 ; CHECK: Function: byval_and_deref_arg_2: 2 pointers, 0 call sites
52 ; CHECK: Function: local_and_deref_ret_1: 2 pointers, 2 call sites
65 ; CHECK: Function: local_and_deref_ret_2: 2 pointers, 2 call sites
81 ; CHECK: Function: global_and_deref_arg_non_deref_1: 2 pointers, 0 call sites
91 ; CHECK: Function: global_and_deref_arg_non_deref_2: 2 pointers, 0 call sites
102 ; CHECK: Function: byval_and_deref_arg_non_deref_1: 2 pointers, 0 call sites
112 ; CHECK: Function: byval_and_deref_arg_non_deref_2: 2 pointers, 0 call sites
[all …]
/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/llvm-project/lldb/source/Plugins/Language/ObjC/
DCFBasicHash.cpp64 m_exe_ctx_ref.GetProcessSP()->ReadMemory(ptr_offset, m_ht->pointers, size, in UpdateFor()
101 return m_ht_32->pointers[m_ht_32->bits.keys_offset]; in GetKeyPointer()
103 return m_ht_64->pointers[m_ht_64->bits.keys_offset]; in GetKeyPointer()
111 return m_ht_32->pointers[0]; in GetValuePointer()
113 return m_ht_64->pointers[0]; in GetValuePointer()
/external/deqp/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 …]
/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/llvm-project/libcxx/test/std/utilities/function.objects/comparisons/
Dpointer_comparison_test_helper.h20 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/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
Drawptr.md5 where possible over raw pointers, but raw pointers are available too as an
12 Extern functions and function pointers taking a raw pointer as an argument must
79 // borrowed string pointers.
83 // is implemented, and CStr pointers become thin, we can sidestep this step
98 // the pointers beyond this point.
/external/llvm-project/clang/test/Analysis/
Dcompound-literals.c20 int **pointers = (int *[]){&integers[0], NULL}; in bar()
21 clang_analyzer_eval(pointers[0] == NULL); // expected-warning{{FALSE}} in bar()
22 clang_analyzer_eval(pointers[1] == NULL); // expected-warning{{TRUE}} in bar()
/external/llvm-project/clang/docs/
DConstantInterpreter.rst85 the union of all pointers which can be cast to void.
140 even when there are live pointers to them. Pointers are only valid as
141 long as the blocks they point to are valid, so a block with pointers to
142 it whose lifetime ends is kept alive until all pointers to it go out of
160 Non-static blocks track all the pointers into them through an intrusive
161 doubly-linked list, required to adjust and invalidate all pointers when
163 all pointers to it are invalidated, emitting the appropriate diagnostics when
231 through pointer arithmetic, such as ``((int *)0x100)[20]``. Null pointers are
232 target pointers with a zero offset.
246 Void pointers, which can be built by casting any of the aforementioned
[all …]
/external/llvm-project/llvm/test/Transforms/LoopIdiom/
Dnon-integral-pointers.ll6 ; LIR'ing stores of pointers with address space 3 is fine, since
7 ; they're integral pointers.
27 ; LIR'ing stores of pointers with address space 4 is not ok, since
28 ; they're non-integral pointers. NOTE: Zero is special value which
50 ; Same as previous case, but vector of non-integral pointers
/external/deqp/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 …]
/external/llvm-project/llvm/test/MachineVerifier/
Dtest_g_addrspacecast.mir26 ; CHECK: Bad machine code: addrspacecast types must be pointers
29 ; CHECK: Bad machine code: addrspacecast types must be pointers
32 ; CHECK: Bad machine code: addrspacecast types must be pointers
35 ; CHECK: Bad machine code: addrspacecast types must be pointers

12345678910>>...52