Searched refs:ptr (Results 151 - 175 of 212) sorted by relevance

123456789

/frameworks/rs/cpu_ref/
H A DrsCpuScript.h108 Allocation * getAllocationForPointer(const void *ptr) const override;
H A Drsd_cpu.h89 virtual Allocation * getAllocationForPointer(const void *ptr) const = 0;
/frameworks/rs/
H A DrsElement.h60 void operator delete(void* ptr);
H A DrsRuntime.h148 void rsrAllocationIncRefs(const Context *, const Allocation *, void *ptr,
150 void rsrAllocationDecRefs(const Context *, const Allocation *, void *ptr,
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp26 #define container_of(ptr, type, member) \
27 (type *)((char*)(ptr) - offsetof(type, member))
/frameworks/base/core/java/android/view/
H A DRenderNodeAnimator.java143 private void init(long ptr) { argument
144 mNativePtr = new VirtualRefBasePtr(ptr);
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp218 float* floats = autoPts.ptr();
240 float* floats = autoPts.ptr();
303 const float* verts = vertA.ptr() + vertIndex;
304 const float* texs = texA.ptr() + vertIndex;
309 colors = colorA.ptr() + colorIndex;
312 indices = (const uint16_t*)(indexA.ptr() + indexIndex);
423 vertA.ptr(), colorA.ptr(), paint);
H A Dandroid_database_SQLiteConnection.cpp522 void* ptr = mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); local
523 if (ptr == MAP_FAILED) {
527 memcpy(ptr, data, length);
528 munmap(ptr, length);
/frameworks/native/libs/binder/tests/
H A DbinderDriverInterfaceTest.cpp267 EXPECT_EQ(0u, br.arg2.target.ptr);
283 .arg1 = br.arg2.data.ptr.buffer,
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp139 const Allocation * rsGetAllocation(const void *ptr) { argument
142 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr);
148 const android::renderscript::rs_allocation rsGetAllocation(const void *ptr) { argument
151 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr);
286 void rsSetElementAt(::rs_allocation a, const void *ptr, uint32_t x, uint32_t y, uint32_t z) { argument
291 memcpy(tmp, ptr, e->getSizeBytes());
294 void rsSetElementAt(::rs_allocation a, const void *ptr, uint32_t x, uint32_t y) { argument
295 rsSetElementAt(a, ptr, x, y, 0);
298 void rsSetElementAt(::rs_allocation a, const void *ptr, uint32_t x) { argument
299 rsSetElementAt(a, ptr,
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h248 uint8_t *ptr = buf->data() + buf->size(); local
249 ptr[0] = 0x80 | 0;
250 ptr[1] = 201; // RR
251 ptr[2] = 0;
252 ptr[3] = 1;
253 ptr[4] = 0xde; // SSRC
254 ptr[5] = 0xad;
255 ptr[6] = 0xbe;
256 ptr[7] = 0xef;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c1553 u8 *ptr; local
1562 ptr = data;
1575 FilterVerLumaEdge(ptr, tmp[0].left, thresholds + LEFT, width);
1577 FilterVerLumaEdge(ptr+4, tmp[1].left, thresholds + INNER, width);
1579 FilterVerLumaEdge(ptr+8, tmp[2].left, thresholds + INNER, width);
1581 FilterVerLumaEdge(ptr+12, tmp[3].left, thresholds + INNER, width);
1591 FilterHorLuma(ptr, tmp[0].top, thresholds + offset, (i32)width);
1596 FilterHorLumaEdge(ptr, tmp[0].top, thresholds+offset,
1599 FilterHorLumaEdge(ptr+4, tmp[1].top, thresholds+offset,
1602 FilterHorLumaEdge(ptr
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c142 const unsigned char *ptr = (unsigned char *) temp; local
144 ssize_t actual = audio_utils_fifo_write(&fifo, ptr, (size_t) count);
151 ptr += actual * sfframesize;
H A Dplaybq.cpp142 const unsigned char *ptr = (unsigned char *) temp; local
144 ssize_t actual = audio_utils_fifo_write(&fifo, ptr, (size_t) count);
151 ptr += actual * sfframesize;
H A Dxaplay.c333 void *ptr; local
334 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0);
335 if (ptr == MAP_FAILED) {
344 packets = (MPEG2TS_Packet *) ptr;
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp236 buf->ptr.owner = NULL;
337 buf.ptr.owner = NULL;
/frameworks/base/opengl/java/android/opengl/
H A DGLES31Ext.java381 // C function void glObjectPtrLabelKHR ( const void *ptr, GLsizei length, const GLchar *label )
383 public static native void glObjectPtrLabelKHR(long ptr, String label); argument
385 // C function void glGetObjectPtrLabelKHR ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label )
387 public static native String glGetObjectPtrLabelKHR(long ptr); argument
H A DGLES20.java1886 // C function void glVertexAttribPointer ( GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *ptr )
1894 java.nio.Buffer ptr,
1904 java.nio.Buffer ptr
1912 ptr,
1913 ptr.remaining()
1888 glVertexAttribPointerBounds( int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr, int remaining ) argument
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp124 const uint8_t *ptr = (const uint8_t *)data; local
126 CHECK(ptr[0] == 1); // configurationVersion == 1
127 uint8_t profile = ptr[1];
128 uint8_t level = ptr[3];
/frameworks/av/media/libstagefright/
H A DOggExtractor.cpp896 buf.ptr.owner = NULL;
979 buf.ptr.owner = NULL;
1036 buf.ptr.owner = NULL;
1068 buf.ptr.owner = NULL;
H A DMPEG4Writer.cpp1126 const uint8_t *ptr = local
1129 if (!memcmp(ptr, "\x00\x00\x00\x01", 4)) {
1170 const void *ptr, size_t size, size_t nmemb) {
1190 ::write(mFd, ptr, bytes);
1197 memcpy(mMoovBoxBuffer + mMoovBoxBufferOffset, ptr, bytes);
1201 ::write(mFd, ptr, size * nmemb);
3062 uint8_t *ptr = (uint8_t *)mCodecSpecificData; local
3063 ptr[4] = (ptr[4] & 0xfc) | (mOwner->useNalLengthFour() ? 3 : 1);
1169 write( const void *ptr, size_t size, size_t nmemb) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4dec_lib.h287 void FindMaxMin(uint8 *ptr, int *min, int *max, int incr);
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp500 static unsigned U24_AT(const uint8_t *ptr) { argument
501 return ptr[0] << 16 | ptr[1] << 8 | ptr[2];
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp108 SkMemoryStream* stream = new SkMemoryStream(ar.ptr() + offset, length, true);
H A DMovie.cpp128 SkMovie* moov = SkMovie::DecodeMemory(ar.ptr() + offset, length);

Completed in 529 milliseconds

123456789