Searched defs:ptr (Results 276 - 300 of 2137) sorted by relevance

<<11121314151617181920>>

/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeonsi_resource.h46 si_resource_reference(struct si_resource **ptr, struct si_resource *res) argument
48 pipe_resource_reference((struct pipe_resource **)ptr,
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_sampler_view.h90 svga_sampler_view_reference(struct svga_sampler_view **ptr, struct svga_sampler_view *v) argument
92 struct svga_sampler_view *old = *ptr;
94 if (pipe_reference_described(&(*ptr)->reference, &v->reference,
97 *ptr = v;
/external/mesa3d/src/gallium/winsys/i915/drm/
H A Di915_drm_fence.c37 struct pipe_fence_handle **ptr,
40 struct i915_drm_fence *old = (struct i915_drm_fence *)*ptr;
43 if (pipe_reference(&((struct i915_drm_fence *)(*ptr))->reference, &f->reference)) {
48 *ptr = fence;
36 i915_drm_fence_reference(struct i915_winsys *iws, struct pipe_fence_handle **ptr, struct pipe_fence_handle *fence) argument
/external/mesa3d/src/gallium/winsys/i915/sw/
H A Di915_sw_fence.c24 struct pipe_fence_handle **ptr,
27 struct i915_sw_fence *old = (struct i915_sw_fence *)*ptr;
30 if (pipe_reference(&((struct i915_sw_fence *)(*ptr))->reference, &f->reference)) {
33 *ptr = fence;
23 i915_sw_fence_reference(struct i915_winsys *iws, struct pipe_fence_handle **ptr, struct pipe_fence_handle *fence) argument
H A Di915_sw_winsys.h43 void *ptr; member in struct:i915_sw_buffer
/external/mesa3d/src/glsl/
H A Dstandalone_scaffolding.cpp37 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, argument
41 *ptr = sh;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_eu_util.c108 struct brw_indirect ptr,
118 brw_MOV(p, byte_offset(dst, delta), deref_4f(ptr, delta));
119 brw_MOV(p, byte_offset(dst, delta+16), deref_4f(ptr, delta+16));
106 brw_copy_from_indirect(struct brw_compile *p, struct brw_reg dst, struct brw_indirect ptr, GLuint count) argument
/external/mesa3d/src/mesa/main/
H A Drenderbuffer.c139 * Set *ptr to point to rb. If *ptr points to another renderbuffer,
146 _mesa_reference_renderbuffer_(struct gl_renderbuffer **ptr, argument
149 if (*ptr) {
152 struct gl_renderbuffer *oldRb = *ptr;
166 *ptr = NULL;
168 assert(!*ptr);
176 *ptr = rb;
/external/mksh/src/
H A Dlalloc.c44 findptr(ALLOC_ITEM **lpp, char *ptr, Area *ap) argument
49 if (ALLOC_ISUNALIGNED(ptr))
54 * note: the alignment of "ptr" to ALLOC_SIZE is checked
57 *lpp = (lp = ptr - ALLOC_SIZE);
66 (size_t)ptr, (size_t)ap);
70 internal_errorf("rogue pointer %zX", (size_t)ptr);
77 aresize2(void *ptr, size_t fac1, size_t fac2, Area *ap) argument
81 return (aresize(ptr, fac1 * fac2, ap));
85 aresize(void *ptr, size_t numb, Area *ap) argument
90 if (ptr !
112 afree(void *ptr, Area *ap) argument
[all...]
/external/opencv/cxcore/src/
H A Dcxalloc.cpp48 char *ptr, *ptr0 = (char*)malloc( local
55 ptr = (char*)cvAlignPtr(ptr0 + sizeof(char*) + 1, CV_MALLOC_ALIGN);
56 *(char**)(ptr - sizeof(char*)) = ptr0;
58 return ptr;
64 icvDefaultFree( void* ptr, void* ) argument
67 if( ((size_t)ptr & (CV_MALLOC_ALIGN-1)) != 0 )
69 free( *((char**)ptr - 1) );
99 void* ptr = 0; local
109 ptr = p_cvAlloc( size, p_cvAllocUserData );
110 if( !ptr )
[all...]
/external/openssl/crypto/engine/
H A Denginetest.c100 ENGINE *ptr; local
147 ptr = ENGINE_get_first();
148 if(!ENGINE_remove(ptr))
153 if (ptr)
154 ENGINE_free(ptr);
204 ptr = ENGINE_get_first();
205 if(ptr)
206 if(!ENGINE_remove(ptr))
209 if (ptr)
210 ENGINE_free(ptr);
[all...]
/external/openssl/crypto/evp/
H A De_rc5.c71 static int rc5_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr);
87 static int rc5_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) argument
96 *(int *)ptr = data(c)->rounds;
/external/pcre/dist/
H A Dpcre_byte_order.c112 pcre_uchar *ptr; local
164 ptr = (pcre_uchar *)re + re->name_table_offset;
177 *ptr = swap_uint16(*ptr);
179 *ptr = swap_uint32(*ptr);
181 ptr++;
186 if (HAS_EXTRALEN(ptr[-1]))
189 *ptr = swap_uint16(*ptr);
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
H A Dcf2arrst.h62 void* ptr; /* ptr to data */ member in struct:CF2_ArrStackRec_
91 const void* ptr );
/external/qemu/android/base/memory/
H A DScopedPtr.h27 // ScopedPtr<Foo> ptr(new Foo());
35 // ScopedPtr<Foo> ptr(new Foo()); // object owned by |ptr|
36 // ScopedPtr<Foo> ptr2(ptr.release()); // object owned by |ptr2|
44 // Normal constructor, takes ownership of |ptr|.
45 explicit ScopedPtr(T* ptr) : mPtr(ptr) {} argument
53 T* ptr = mPtr; local
55 return ptr;
59 void reset(T* ptr) { argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_stdlib.c50 fst dword ptr [esp+18h]
51 fistp qword ptr [esp+10h]
52 fild qword ptr [esp+10h]
53 mov edx,dword ptr [esp+18h]
54 mov eax,dword ptr [esp+10h]
61 fstp dword ptr [esp]
62 mov ecx,dword ptr [esp]
66 mov edx,dword ptr [esp+14h]
70 fstp dword ptr [esp]
71 mov ecx,dword ptr [es
112 mov dword ptr [ebp-18h],eax local
118 mov dword ptr [ebp-14h],ebx local
143 mov dword ptr [esp+14h],eax local
144 mov dword ptr [esp+10h],edx local
154 mov dword ptr [esp+1Ch],eax local
155 mov dword ptr [esp+18h],edx local
278 mov dword ptr [esp+10h],eax local
279 mov dword ptr [esp+0Ch],edx local
288 mov dword ptr [esp+18h],eax local
289 mov dword ptr [esp+14h],edx local
417 mov dword ptr [esp+14h],eax local
418 mov dword ptr [esp+10h],edx local
428 mov dword ptr [esp+1Ch],eax local
429 mov dword ptr [esp+18h],edx local
[all...]
/external/skia/src/core/
H A DSkPtrRecorder.cpp25 uint32_t SkPtrSet::find(void* ptr) const {
26 if (NULL == ptr) {
32 pair.fPtr = ptr;
41 uint32_t SkPtrSet::add(void* ptr) { argument
42 if (NULL == ptr) {
48 pair.fPtr = ptr;
53 this->incPtr(ptr);
/external/skia/src/gpu/
H A DGrTemplates.h14 * Use to cast a ptr to a different type, and maintain strict-aliasing
42 GrAutoTRestore(T* ptr) { argument
43 fPtr = ptr;
44 if (NULL != ptr) {
45 fVal = *ptr;
56 void reset(T* ptr) { argument
60 fPtr = ptr;
61 fVal = *ptr;
/external/skia/src/ports/
H A DSkTLS_win.cpp30 void SkTLS::PlatformSetSpecific(void* ptr) { argument
32 (void)TlsSetValue(gTlsIndex, ptr);
51 void* ptr = TlsGetValue(gTlsIndex); local
52 if (ptr != NULL) {
53 SkTLS::Destructor(ptr);
/external/skia/tests/
H A DMallocPixelRefTest.cpp12 static void delete_uint8_proc(void* ptr, void*) { argument
13 delete[] static_cast<uint8_t*>(ptr);
H A DOnceTest.cpp37 int* ptr; member in class:Racer
40 SkOnce(once, add_six, ptr);
53 racers[i].ptr = &x;
H A DRecordTestUtils.h7 // If the command we're reading is a U, set ptr to it, otherwise set it to NULL.
10 ReadAs() : ptr(NULL), type(SkRecords::Type(~0)) {}
12 const U* ptr; member in struct:ReadAs
15 void operator()(const U& r) { ptr = &r; type = U::kType; }
27 REPORTER_ASSERT(r, NULL != reader.ptr);
28 return reader.ptr;
/external/skia/tools/lua/
H A Dlua_app.cpp38 const void* ptr; local
42 ptr = argv[i + 1];
47 ptr = data->data();
50 if (!L.runCode(ptr, len)) {
/external/stlport/test/unit/
H A Dconfig_test.cpp56 char *ptr = (char*)(&val); local
60 CPPUNIT_ASSERT( *ptr == 0x01 ||
61 sizeof(int) > 4 && *ptr == 0x00 );
63 CPPUNIT_ASSERT( *ptr == 0x04 );
/external/valgrind/main/callgrind/
H A Dcosts.c42 ULong* ptr; local
62 ptr = &(cost_chunk_current->data[cost_chunk_current->used]);
67 return ptr;

Completed in 6777 milliseconds

<<11121314151617181920>>