Home
last modified time | relevance | path

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

12345678910>>...25

/external/boringssl/src/crypto/
Dthread_pthread.c110 void **pointers = arg; in thread_local_destructor() local
113 destructors[i](pointers[i]); in thread_local_destructor()
117 OPENSSL_free(pointers); in thread_local_destructor()
135 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local() local
136 if (pointers == NULL) { in CRYPTO_get_thread_local()
139 return pointers[index]; in CRYPTO_get_thread_local()
150 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local() local
151 if (pointers == NULL) { in CRYPTO_set_thread_local()
152 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
153 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()
131 destructors[i](pointers[i]); in thread_local_destructor()
135 OPENSSL_free(pointers); in thread_local_destructor()
199 void **pointers = TlsGetValue(g_thread_local_key); in CRYPTO_get_thread_local() local
200 if (pointers == NULL) { in CRYPTO_get_thread_local()
203 return pointers[index]; in CRYPTO_get_thread_local()
214 void **pointers = TlsGetValue(g_thread_local_key); in CRYPTO_set_thread_local() local
215 if (pointers == NULL) { in CRYPTO_set_thread_local()
216 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
[all …]
/external/brotli/c/enc/
Dmemory.c121 SortPointers(m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated); in CollectGarbagePointers()
122 SortPointers(m->pointers + NEW_FREED_OFFSET, m->new_freed); in CollectGarbagePointers()
124 m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated, in CollectGarbagePointers()
125 m->pointers + NEW_FREED_OFFSET, m->new_freed); in CollectGarbagePointers()
131 m->pointers + PERM_ALLOCATED_OFFSET, m->perm_allocated, in CollectGarbagePointers()
132 m->pointers + NEW_FREED_OFFSET, m->new_freed); in CollectGarbagePointers()
140 memcpy(m->pointers + PERM_ALLOCATED_OFFSET + m->perm_allocated, in CollectGarbagePointers()
141 m->pointers + NEW_ALLOCATED_OFFSET, in CollectGarbagePointers()
145 SortPointers(m->pointers + PERM_ALLOCATED_OFFSET, m->perm_allocated); in CollectGarbagePointers()
156 m->pointers[NEW_ALLOCATED_OFFSET + (m->new_allocated++)] = result; in BrotliAllocate()
[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/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/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/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/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/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/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/opencv/cvaux/src/
Dcvhmm1d.cpp216 float* pointers;
240 pointers = (float*)icvAlloc( total_mix * (2/*for mu invvar */ * obs_size +
246 all_states[i].mu = pointers; pointers += num_mix[i] * obs_size;
247 all_states[i].inv_var = pointers; pointers += num_mix[i] * obs_size;
249 all_states[i].log_var_val = pointers; pointers += num_mix[i];
250 all_states[i].weight = pointers; pointers += num_mix[i];
/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()
Dasan_mac_test.cc141 void *pointers[kNumPointers]; in MallocIntrospectionLockWorker() local
143 pointers[i] = malloc(i + 1); in MallocIntrospectionLockWorker()
146 free(pointers[i]); in MallocIntrospectionLockWorker()
/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
D2001-02-06-TypeNotationDebateResp1.txt28 > that most programmers TODAY do not understand pointers to member
35 In either case, I would have to look up an example to write pointers to
38 But pointers to member functions are nowhere near as common as arrays. And
43 make function pointers easier but makes arrays much more difficult seems
/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
D2001-02-06-TypeNotationDebateResp1.txt28 > that most programmers TODAY do not understand pointers to member
35 In either case, I would have to look up an example to write pointers to
38 But pointers to member functions are nowhere near as common as arrays. And
43 make function pointers easier but makes arrays much more difficult seems
/external/antlr/antlr-3.4/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
/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/llvm/docs/
DLexicon.rst72 .. _derived pointers:
79 derived pointers pose an additional hazard that they may be invalidated at
173 .. _object pointers:
195 the pointers to point to the new value. See
225 `derived pointers`_ must not be retained across safe points and `object
226 pointers`_ must be reloaded from stack roots.
DStatepoints.rst36 results ("derived pointers") which point outside of the allocation or
39 allocation, but such "exterior derived pointers" may be visible to the
62 #. A safepoint is a location at which pointers visible to the compiled
89 ensure that all pointers can be read and updated if desired. The
101 #. recording a mapping of live pointers (and the allocation they're
107 it's result, and returns updated values for any live pointers to
110 Note that the task of identifying all live pointers to garbage
181 needs to update any of these pointers during the call, it knows
218 "Interior derived pointers" remain within the bounds of the allocation
222 "Exterior derived pointers" are outside the bounds of the associated object;
[all …]
/external/libchrome/base/memory/
Dshared_memory_unittest.cc285 std::unique_ptr<int* []> pointers(new int*[count]); in TEST() local
287 ASSERT_TRUE(pointers.get()); in TEST()
294 pointers[i] = ptr; in TEST()
301 pointers[j][0] = 100; in TEST()
303 pointers[j][0] = 0; in TEST()
308 EXPECT_EQ(100, pointers[j][0]); in TEST()
310 EXPECT_EQ(0, pointers[j][0]); in TEST()

12345678910>>...25