Searched refs:ptr (Results 176 - 200 of 260) sorted by relevance

1234567891011

/frameworks/native/libs/binder/tests/
H A DbinderDriverInterfaceTest.cpp249 .ptr = {0, 0},
285 EXPECT_EQ(0u, br.arg2.target.ptr);
301 .arg1 = br.arg2.data.ptr.buffer,
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c124 char *ptr; member in struct:FwdLockConv_String
452 char *newPtr = realloc(pString->ptr, newMaxLength + 1);
456 pString->ptr = newPtr;
459 pString->ptr[pString->length++] = ch;
460 pString->ptr[pString->length] = '\0';
473 if (strncmp(pSession->mimeHeaderName.ptr, strContent, strlenContent) == 0) {
474 if (strcmp(pSession->mimeHeaderName.ptr + strlenContent, strType) == 0) {
475 if (pSession->contentType.ptr == NULL) {
480 } else if (strcmp(pSession->mimeHeaderName.ptr + strlenContent, strTransferEncoding) == 0) {
504 if (pSession->contentType.ptr
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.cpp339 const uint8_t *ptr = config->data(); local
343 if (memcmp("\x00\x00\x01", &ptr[offset], 3)
344 || (ptr[offset + 3] & 0xf0) != 0x20) {
358 &ptr[offset], config->size() - offset, width, height);
H A DMyHandler.h254 uint8_t *ptr = buf->data() + buf->size(); local
255 ptr[0] = 0x80 | 0;
256 ptr[1] = 201; // RR
257 ptr[2] = 0;
258 ptr[3] = 1;
259 ptr[4] = 0xde; // SSRC
260 ptr[5] = 0xad;
261 ptr[6] = 0xbe;
262 ptr[7] = 0xef;
/frameworks/av/media/ndk/include/media/
H A DNdkMediaDrm.h42 const uint8_t *ptr; member in struct:__anon721
/frameworks/base/core/jni/android/graphics/
H A DPathEffect.cpp42 SkScalar* intervals = autoInterval.ptr();
/frameworks/base/core/jni/
H A Dandroid_os_HwBlob.cpp99 void JHwBlob::setTo(const void *ptr, size_t handle) { argument
103 mBuffer = const_cast<void *>(ptr);
221 jobject JHwBlob::NewObject(JNIEnv *env, const void *ptr, size_t handle) { argument
223 JHwBlob::GetNativeContext(env, obj)->setTo(ptr, handle);
H A Dandroid_os_Debug.cpp916 // we have the line, now increment the line ptr to the value
917 char* ptr = line + len; local
918 jint result = atoi(ptr);
1034 const uint8_t* ptr = info; local
1036 size_t size = *(size_t*) ptr;
1037 size_t allocations = *(size_t*) (ptr + sizeof(size_t));
1038 uintptr_t* backtrace = (uintptr_t*) (ptr + sizeof(size_t) * 2);
1057 ptr += infoSize;
/frameworks/native/libs/binder/
H A DParcel.cpp1209 void* ptr = writeInplace(len); local
1210 if (!ptr) return NO_MEMORY;
1212 outBlob->init(-1, ptr, len, false);
1224 void* ptr = ::mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); local
1225 if (ptr == MAP_FAILED) {
1238 outBlob->init(fd, ptr, len, mutableCopy);
1244 ::munmap(ptr, len);
1860 binder_uintptr_t ptr; local
1861 ret = readAligned(&ptr);
1863 *pArg = ptr;
2269 const void* ptr = readInplace(len); local
2281 void* ptr = ::mmap(NULL, len, isMutable ? PROT_READ | PROT_WRITE : PROT_READ, local
[all...]
/frameworks/rs/cpu_ref/
H A Drsd_cpu.h80 virtual Allocation * getAllocationForPointer(const void *ptr) const = 0;
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp170 const Allocation * rsGetAllocation(const void *ptr) { argument
173 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr);
179 const android::renderscript::rs_allocation rsGetAllocation(const void *ptr) { argument
182 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr);
338 void *ptr) {
357 (uintptr_t) ptr);
400 uint32_t usages, void *ptr) {
404 usages, ptr);
427 void *ptr) {
431 usages, ptr);
336 CreateAllocation( RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, void *ptr) argument
398 rsCreateAllocation(::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, void *ptr) argument
425 rsCreateAllocation( ::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, void *ptr) argument
515 rsSetElementAt(::rs_allocation a, const void *ptr, uint32_t x, uint32_t y, uint32_t z) argument
523 rsSetElementAt(::rs_allocation a, const void *ptr, uint32_t x, uint32_t y) argument
527 rsSetElementAt(::rs_allocation a, const void *ptr, uint32_t x) argument
[all...]
H A DrsdCore.cpp375 void rsdFreeRuntimeMem(void* ptr) { argument
376 free(ptr);
/frameworks/rs/
H A DrsElement.h62 void operator delete(void* ptr);
H A DrsScriptC_Lib.cpp347 uint32_t usages, uintptr_t ptr) {
348 return rsi_AllocationCreateTyped(rsc, type, mipmaps, usages, ptr);
345 rsrAllocationCreateTyped(Context *rsc, const RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
/frameworks/av/media/libeffects/factory/
H A DEffectsXmlConfigLoader.cpp125 T* ptr = new (malloc(sizeof(T))) T{}; // Use placement new to initialize the structure local
126 return UniqueCPtr<T>{ptr};
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDrm.cpp162 if (drm->isCryptoSchemeSupported(uuid.ptr(), String8()))
222 parcel->writeByteArray(DrmUUID::UUID_SIZE, uuid.ptr());
/frameworks/base/core/java/android/view/
H A DRenderNodeAnimator.java142 private void init(long ptr) { argument
143 mNativePtr = new VirtualRefBasePtr(ptr);
/frameworks/native/cmds/lshal/
H A DListCommand.cpp165 uint64_t ptr;
166 if (!::android::base::ParseUint(ptrString.c_str(), &ptr)) {
180 pidInfo->refPids[ptr].push_back(pid);
625 entry->serverObjectAddress = debugInfo.ptr;
636 if (debugInfo.ptr != NO_PTR) {
637 auto it = pidInfo->refPids.find(debugInfo.ptr);
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.cpp127 const unsigned char *ptr = (unsigned char *) temp; local
129 ssize_t actual = fifoWriter->write(ptr, (size_t) count);
136 ptr += actual * sfframesize;
/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 DGLES32.java387 // C function void glObjectPtrLabel ( const void *ptr, GLsizei length, const GLchar *label )
389 public static native void glObjectPtrLabel(long ptr, String label); argument
391 // C function void glGetObjectPtrLabel ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label )
393 public static native String glGetObjectPtrLabel(long ptr); argument
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.cpp89 auto ptr = reinterpret_cast<char*>(pixels.data()); local
92 char* data = ptr + y * width * sizeof(uint32_t);
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp137 const uint8_t *ptr = (const uint8_t *)data; local
139 CHECK(ptr[0] == 1); // configurationVersion == 1
140 uint8_t profile = ptr[1];
141 uint8_t level = ptr[3];
/frameworks/av/include/media/stagefright/
H A DMPEG4Writer.h60 inline size_t write(const void *ptr, size_t size, size_t nmemb);
/frameworks/av/media/extractors/ogg/
H A DOggExtractor.cpp925 buf.ptr.owner = NULL;
1011 buf.ptr.owner = NULL;
1068 buf.ptr.owner = NULL;
1100 buf.ptr.owner = NULL;

Completed in 3918 milliseconds

1234567891011