Home
last modified time | relevance | path

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

12345678910>>...33

/external/boringssl/src/crypto/
Dthread_pthread.c112 void **pointers = arg; in thread_local_destructor() local
115 destructors[i](pointers[i]); in thread_local_destructor()
119 OPENSSL_free(pointers); in thread_local_destructor()
165 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local() local
166 if (pointers == NULL) { in CRYPTO_get_thread_local()
169 return pointers[index]; in CRYPTO_get_thread_local()
180 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local() local
181 if (pointers == NULL) { in CRYPTO_set_thread_local()
182 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
183 if (pointers == NULL) { in CRYPTO_set_thread_local()
[all …]
Dthread_win.c113 void **pointers = (void**) TlsGetValue(g_thread_local_key); in thread_local_destructor() local
114 if (pointers == NULL) { in thread_local_destructor()
126 destructors[i](pointers[i]); in thread_local_destructor()
130 OPENSSL_free(pointers); in thread_local_destructor()
218 void **pointers = get_thread_locals(); in CRYPTO_get_thread_local() local
219 if (pointers == NULL) { in CRYPTO_get_thread_local()
222 return pointers[index]; in CRYPTO_get_thread_local()
233 void **pointers = get_thread_locals(); in CRYPTO_set_thread_local() local
234 if (pointers == NULL) { in CRYPTO_set_thread_local()
235 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
[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/swiftshader/third_party/llvm-7.0/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/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 …]
Dinvalid-kernel-parameters.cl33 …ruct_arg(FooImage2D arg) { } // expected-error{{struct kernel parameters may not contain pointers}}
40 …r_in_struct_arg(Foo arg) { } // expected-error{{struct kernel parameters may not contain pointers}}
47 …in_union_arg(FooUnion arg) { }// expected-error{{union kernel parameters may not contain pointers}}
58 …ct_arg(NestedPointer arg) { }// expected-error{{struct kernel parameters may not contain pointers}}
75 …NestedPointerComplex arg) { }// expected-error{{struct kernel parameters may not contain pointers}}
135 …struct AlsoUser also) { } // expected-error 2 {{struct kernel parameters may not contain pointers}}
/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/libcap/libcap/
D_makenames.c25 const char *pointers[8*sizeof(struct __user_cap_data_struct)]; variable
35 pointers[list[i].index] = list[i].name; in main()
49 if (pointers[i]) in main()
50 printf(" /* %d */\t\"%s\",\n", i, pointers[i]); in main()
/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/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopIdiom/
Dnon-integral-pointers.ll10 ; LIR'ing stores of pointers with address space 3 is fine, since
11 ; they're integral pointers.
32 ; LIR'ing stores of pointers with address space 4 is not ok, since
33 ; they're non-integral pointers.
/external/swiftshader/third_party/llvm-7.0/llvm/test/SafepointIRVerifier/
Duse-derived-unrelocated.ll5 ; CHECK-LABEL: Verifying gc pointers in function: test.deriving.ok
15 ; Checking if verifier accepts cmp of two derived pointers when one defined
18 ; CHECK-LABEL: Verifying gc pointers in function: test.cmp.ok
27 ; Checking if verifier accepts cmp of two derived pointers when one defined
28 ; before safepoint and one after and both have unrelocated base. One of pointers
31 ; CHECK-LABEL: Verifying gc pointers in function: test.cmp-long_chain.ok
53 ; CHECK-LABEL: Verifying gc pointers in function: test.load.fail
67 ; CHECK-LABEL: Verifying gc pointers in function: test.cmp.fail
81 ; CHECK-LABEL: Verifying gc pointers in function: test.cmp2.fail
95 ; Checking that cmp of two unrelocated pointers is OK and load is not.
[all …]
Dcompares.ll3 ; In some cases, it is valid to have unrelocated pointers used as compare
30 ; CHECK-LABEL: Verifying gc pointers in function: test3
44 ; CHECK-LABEL: Verifying gc pointers in function: test4
61 ; comparison between 2 unrelocated base pointers.
63 ; unrelocated uses of the pointers.
76 ; CHECK-LABEL: Verifying gc pointers in function: test6
/external/clang/docs/analyzer/
Dnullability.rst18 Taking a branch on nullable pointers are the same like taking branch on null unspecified pointers.
49 - We can assume that these pointers are not null and we lose coverage with the analyzer. (This can …
75 Annotations on multi level pointers
78pointers pointing to pointers would make the checker more complicated, because this way a vector o…
91 - Unannotated pointers are treated the same way as pointers annotated with nullability unspecified …
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/
Ddifferent-addrspace-crash.ll6 ; and where pointers in those address spaces have different size.
7 ; E.g. for amdgcn-- pointers in address space 0 are 32 bits and pointers in
/external/compiler-rt/lib/asan/tests/
Dasan_interface_test.cc405 std::vector<char *> pointers; in TEST() local
410 pointers.push_back((char*)malloc(size)); in TEST()
414 EXPECT_FALSE(__sanitizer_get_ownership(&pointers)); in TEST()
417 EXPECT_TRUE(__sanitizer_get_ownership(pointers[idx])); in TEST()
418 EXPECT_EQ(sizes[idx], __sanitizer_get_allocated_size(pointers[idx])); in TEST()
420 for (size_t i = 0, n = pointers.size(); i < n; i++) in TEST()
421 free(pointers[i]); in TEST()
/external/swiftshader/third_party/LLVM/docs/HistoricalNotes/
D2002-06-25-MegaPatchInfo.txt18 wrapper around a vector of pointers to the sub-objects.
20 Now, instead of having a vector to pointers of objects, the objects are
25 formed directly from pointers to the LLVM value, and invalidation is much
66 of pointers, and that Pass subclasses now all receive references to Values
67 instead of pointers, because they may never be null.
D2001-02-06-TypeNotationDebateResp4.txt21 > > that most programmers TODAY do not understand pointers to member
28 > In either case, I would have to look up an example to write pointers to
35 declare these pointers, and the syntax is inconsistent with the method
38 > But pointers to member functions are nowhere near as common as arrays.
64 > make function pointers easier but makes arrays much more difficult seems
67 This is not about function pointers. This is about consistency in the
/external/llvm/docs/HistoricalNotes/
D2002-06-25-MegaPatchInfo.txt18 wrapper around a vector of pointers to the sub-objects.
20 Now, instead of having a vector to pointers of objects, the objects are
25 formed directly from pointers to the LLVM value, and invalidation is much
66 of pointers, and that Pass subclasses now all receive references to Values
67 instead of pointers, because they may never be null.
D2001-02-06-TypeNotationDebateResp4.txt21 > > that most programmers TODAY do not understand pointers to member
28 > In either case, I would have to look up an example to write pointers to
35 declare these pointers, and the syntax is inconsistent with the method
38 > But pointers to member functions are nowhere near as common as arrays.
64 > make function pointers easier but makes arrays much more difficult seems
67 This is not about function pointers. This is about consistency in the
/external/swiftshader/third_party/llvm-7.0/llvm/docs/HistoricalNotes/
D2002-06-25-MegaPatchInfo.txt18 wrapper around a vector of pointers to the sub-objects.
20 Now, instead of having a vector to pointers of objects, the objects are
25 formed directly from pointers to the LLVM value, and invalidation is much
66 of pointers, and that Pass subclasses now all receive references to Values
67 instead of pointers, because they may never be null.
D2001-02-06-TypeNotationDebateResp4.txt21 > > that most programmers TODAY do not understand pointers to member
28 > In either case, I would have to look up an example to write pointers to
35 declare these pointers, and the syntax is inconsistent with the method
38 > But pointers to member functions are nowhere near as common as arrays.
64 > make function pointers easier but makes arrays much more difficult seems
67 This is not about function pointers. This is about consistency in the
/external/clang/test/SemaObjC/
Ddeprecated-objc-introspection.m92 // Test for introspection of Objective-C pointers via bitmasking.
95 …/ expected-warning {{bitmasking for introspection of Objective-C object pointers is strongly disco…
96 …/ expected-warning {{bitmasking for introspection of Objective-C object pointers is strongly disco…
99 …/ expected-warning {{bitmasking for introspection of Objective-C object pointers is strongly disco…
/external/antlr/runtime/C/doxygen/
Ddoxygengroups.dox11 /// The typedefs contain data and function pointers, which together define
24 /// and their pointers) are the C equivalent of objects. They correspond
26 /// data elements for a particular interface as well as all the pointers
32 /// function pointers, before using the interface 'object' you have created.
53 /// Some typedef structures contain either pointers to 'inherited' objects (usual)
54 /// or embedded structures/typedefs (unusual). In some cases, the pointers passed
55 /// around by the paresr or tree parser are actually the pointers to these embedded
57 /// pointers to their encapsulating objects. This is the equivalent of passing

12345678910>>...33