Searched defs:ptr (Results 76 - 100 of 134) sorted by relevance

123456

/frameworks/base/cmds/servicemanager/
H A Dbinder.c54 fprintf(stderr," - type %08x flags %08x ptr %p cookie %p\n",
195 uint32_t *ptr, uint32_t size, binder_handler func)
198 uint32_t *end = ptr + (size / 4);
200 while (ptr < end) {
201 uint32_t cmd = *ptr++;
215 fprintf(stderr," %08x %08x\n", ptr[0], ptr[1]);
217 ptr += 2;
220 struct binder_txn *txn = (void *) ptr;
221 if ((end - ptr) * sizeo
194 binder_parse(struct binder_state *bs, struct binder_io *bio, uint32_t *ptr, uint32_t size, binder_handler func) argument
277 binder_acquire(struct binder_state *bs, void *ptr) argument
285 binder_release(struct binder_state *bs, void *ptr) argument
293 binder_link_to_death(struct binder_state *bs, void *ptr, struct binder_death *death) argument
429 void *ptr = bio->data; local
467 uint32_t *ptr = bio_alloc(bio, sizeof(n)); local
472 bio_put_obj(struct binder_io *bio, void *ptr) argument
486 bio_put_ref(struct binder_io *bio, void *ptr) argument
507 uint16_t *ptr; local
533 uint16_t *ptr; local
566 void *ptr = bio->data; local
575 uint32_t *ptr = bio_get(bio, sizeof(*ptr)); local
[all...]
/frameworks/compile/libbcc/runtime/BlocksRuntime/
H A Druntime.c178 static void _Block_setHasRefcount_default(const void *ptr, const bool hasRefcount) { argument
183 static void _Block_retain_object_default(const void *ptr) { argument
184 if (!ptr) return;
187 static void _Block_release_object_default(const void *ptr) { argument
188 if (!ptr) return;
191 static void _Block_assign_weak_default(const void *ptr, void *dest) { argument
192 *(void **)dest = (void *)ptr;
217 static void (*_Block_setHasRefcount)(const void *ptr, const bool hasRefcount) = _Block_setHasRefcount_default;
218 static void (*_Block_retain_object)(const void *ptr) = _Block_retain_object_default;
219 static void (*_Block_release_object)(const void *ptr)
[all...]
/frameworks/native/include/utils/
H A DList.h57 inline void setPrev(_Node* ptr) { mpPrev = ptr; } argument
58 inline void setNext(_Node* ptr) { mpNext = ptr; } argument
92 explicit _ListIterator(_NodePtr ptr) : mpNode(ptr) {} argument
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.cpp80 void GLTraceState::safeSetValue(bool *ptr, bool value, pthread_rwlock_t *lock) { argument
82 *ptr = value;
86 bool GLTraceState::safeGetValue(bool *ptr, pthread_rwlock_t *lock) { argument
88 bool value = *ptr;
/frameworks/rs/driver/
H A DrsdBcc.cpp197 //ALOGE("usr ptr in %p, out %p", mtls->fep.ptrIn, mtls->fep.ptrOut);
239 //ALOGE("usr ptr in %p, out %p", mtls->fep.ptrIn, mtls->fep.ptrOut);
538 void *ptr = NULL; local
542 ptr = allocDrv->lod[0].mallocPtr;
544 memcpy(destPtr, &ptr, sizeof(void *));
612 const void *ptr) {
614 if (!ptr) {
622 if (adrv->lod[0].mallocPtr == ptr) {
626 ALOGE("rsGetAllocation, failed to find %p", ptr);
610 rsdScriptGetAllocationForPointer(const android::renderscript::Context *dc, const android::renderscript::Script *sc, const void *ptr) argument
H A DrsdAllocation.cpp84 uint8_t *ptr = (uint8_t *)drv->lod[lod].mallocPtr; local
85 ptr += face * drv->faceOffset;
86 ptr += yoff * drv->lod[lod].stride;
87 ptr += xoff * alloc->mHal.state.elementSizeBytes;
88 return ptr;
92 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, argument
104 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr);
233 const Type *type, uint8_t *ptr) {
266 drv->lod[0].mallocPtr = ptr;
268 drv->lod[lod].mallocPtr = ptr
232 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr) argument
291 uint8_t * ptr = NULL; local
374 uint8_t *ptr = (uint8_t *)realloc(oldPtr, s); local
580 uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); local
632 const uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); local
735 uint8_t * ptr = GetOffsetPtr(alloc, x, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); local
755 uint8_t * ptr = GetOffsetPtr(alloc, x, y, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); local
[all...]
/frameworks/rs/
H A DrsType.cpp271 void Type::incRefs(const void *ptr, size_t ct, size_t startOff) const { argument
272 const uint8_t *p = static_cast<const uint8_t *>(ptr);
285 void Type::decRefs(const void *ptr, size_t ct, size_t startOff) const { argument
289 const uint8_t *p = static_cast<const uint8_t *>(ptr);
/frameworks/support/renderscript/v8/rs_support/
H A DrsType.cpp271 void Type::incRefs(const void *ptr, size_t ct, size_t startOff) const { argument
272 const uint8_t *p = static_cast<const uint8_t *>(ptr);
285 void Type::decRefs(const void *ptr, size_t ct, size_t startOff) const { argument
289 const uint8_t *p = static_cast<const uint8_t *>(ptr);
/frameworks/av/cmds/stagefright/
H A Dsf2.cpp303 const uint8_t *ptr = (const uint8_t *)data; local
306 CHECK_EQ((unsigned)ptr[0], 1u); // configurationVersion == 1
307 uint8_t profile = ptr[1];
308 uint8_t level = ptr[3];
312 // CHECK((ptr[4] >> 2) == 0x3f); // reserved
314 size_t lengthSize = 1 + (ptr[4] & 3);
318 // CHECK((ptr[5] >> 5) == 7); // reserved
320 size_t numSeqParameterSets = ptr[5] & 31;
322 ptr += 6;
330 size_t length = U16_AT(ptr);
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorAudioPlayer.cpp670 M4OSA_Void* ptr; local
671 ptr = (M4OSA_Void*)((unsigned int)mInputBuffer->data() +
755 // Assign the ptr data to primary track
756 ptFrame.m_dataAddress = (M4OSA_UInt16*)ptr;
764 memcpy((void *)ptr,
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp196 const uint8_t *ptr = (const uint8_t *)data; local
198 size_t numSeqParameterSets = ptr[5] & 31;
200 ptr += 6;
205 size_t length = U16_AT(ptr);
207 ptr += 2;
214 memcpy(out->data() + out->size() + 4, ptr, length);
217 ptr += length;
222 size_t numPictureParameterSets = *ptr;
223 ++ptr;
228 size_t length = U16_AT(ptr);
315 uint8_t *ptr = mAACBuffer->data() + mAACBuffer->size(); local
816 uint8_t *ptr = &buffer->data()[sizeof(kData)]; local
899 uint8_t *ptr = buffer->data(); local
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Ddeblock.cpp737 int16 *ptr, *pmvx, *pmvy; local
757 ptr = (int16*)refIdx;
759 if (ptr[0] != ptr[1]) pStrength[4] = 1;
760 if (ptr[2] != ptr[3]) pStrength[6] = 1;
912 int16 *ptr, *pmvx, *pmvy; local
932 ptr = (int16*) refIdx;
934 if (ptr[0] != ptr[
1281 uint8 *ptr, *ptr1; local
1498 uint8 *ptr; local
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DSoftAVCEncoder.cpp140 void *ptr = malloc(size); local
141 if (ptr)
142 memset(ptr, 0, size);
143 return ptr;
146 static void FreeWrapper(void *userData, void* ptr) { argument
147 free(ptr);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpvdec_api.cpp928 int32 PVLocateFrameHeader(uint8 *ptr, int32 size) argument
939 if ((count > 1) && (*ptr == 0x01))
945 if (*ptr++)
963 int32 PVLocateH263FrameHeader(uint8 *ptr, int32 size) argument
975 if ((count > 1) && ((*ptr & 0xFC) == 0x80))
981 if (*ptr++)
/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...]
H A Dh264bsd_intra_prediction.c206 u32 h264bsdIntra16x16Prediction(mbStorage_t *pMb, u8 *data, u8 *ptr, argument
218 ASSERT(ptr);
234 omxRes = omxVCM4P10_PredictIntra_16x16( (ptr-1),
235 (ptr - width),
236 (ptr - width-1),
263 u8 *ptr, u32 width,
280 ASSERT(ptr);
328 a = ptr - width + x;
333 l = ptr + y * width -1;
380 u8 *ptr; local
261 h264bsdIntra4x4Prediction(mbStorage_t *pMb, u8 *data, macroblockLayer_t *mbLayer, u8 *ptr, u32 width, u32 constrainedIntraPred, u32 block) argument
547 u8 *ptr, *tmp; local
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp59 static bool IsSeeminglyValidADTSHeader(const uint8_t *ptr, size_t size) { argument
65 if (ptr[0] != 0xff || (ptr[1] >> 4) != 0x0f) {
69 unsigned layer = (ptr[1] >> 1) & 3;
75 unsigned ID = (ptr[1] >> 3) & 1;
76 unsigned profile_ObjectType = ptr[2] >> 6;
86 static bool IsSeeminglyValidMPEGAudioHeader(const uint8_t *ptr, size_t size) { argument
92 if (ptr[0] != 0xff || (ptr[1] >> 5) != 0x07) {
96 unsigned ID = (ptr[
135 uint8_t *ptr = (uint8_t *)data; local
168 uint8_t *ptr = (uint8_t *)data; local
196 uint8_t *ptr = (uint8_t *)data; local
228 uint8_t *ptr = (uint8_t *)data; local
381 int16_t *ptr = (int16_t *)accessUnit->data(); local
701 uint8_t *ptr = *_ptr; local
712 uint8_t *ptr = esds->data(); local
[all...]
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DRTPSink.cpp201 uint8_t *ptr = buf->data() + buf->size(); local
203 ptr[0] = ssrc >> 24;
204 ptr[1] = (ssrc >> 16) & 0xff;
205 ptr[2] = (ssrc >> 8) & 0xff;
206 ptr[3] = ssrc & 0xff;
208 ptr[4] = fractionLost;
210 ptr[5] = (lost >> 16) & 0xff;
211 ptr[6] = (lost >> 8) & 0xff;
212 ptr[7] = lost & 0xff;
214 ptr[
729 uint8_t *ptr = buf->data(); local
782 uint8_t *ptr = buf->data(); local
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp205 uint8_t *ptr = dup->data(); local
207 *ptr++ = 0xff;
208 *ptr++ = 0xf1; // b11110001, ID=0, layer=0, protection_absent=1
210 *ptr++ =
216 *ptr++ =
219 *ptr++ = (aac_frame_length >> 3) & 0xff;
220 *ptr++ = (aac_frame_length & 7) << 5;
223 *ptr++ = 0;
225 memcpy(ptr, accessUnit->data(), accessUnit->size());
511 uint8_t *ptr local
673 uint8_t *ptr = packetDataStart; local
704 uint8_t *ptr = packetDataStart; local
[all...]
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java286 private static native void nativeWriteToParcel(int ptr, Parcel out); argument
287 private static native void nativeDispose(int ptr); argument
289 private static native char nativeGetCharacter(int ptr, int keyCode, int metaState); argument
290 private static native boolean nativeGetFallbackAction(int ptr, int keyCode, int metaState, argument
292 private static native char nativeGetNumber(int ptr, int keyCode); argument
293 private static native char nativeGetMatch(int ptr, int keyCode, char[] chars, int metaState); argument
294 private static native char nativeGetDisplayLabel(int ptr, int keyCode); argument
295 private static native int nativeGetKeyboardType(int ptr); argument
296 private static native KeyEvent[] nativeGetEvents(int ptr, char[] chars); argument
309 private KeyCharacterMap(int ptr) { argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp21 static void ThrowIAE_IfNull(JNIEnv* env, void* ptr) { argument
22 if (NULL == ptr) {
33 float* values = autoHSV.ptr();
42 float* values = autoHSV.ptr();;
126 const float* posValues = autoPos.ptr();
161 const float* posValues = autoPos.ptr();
273 const float* posValues = autoPos.ptr();
320 const float* posValues = autoPos.ptr();
377 const float* posValues = autoPos.ptr();
419 const float* posValues = autoPos.ptr();
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Debug.cpp346 // we have the line, now increment the line ptr to the value
347 char* ptr = line + len; local
348 return atoi(ptr);
463 const uint8_t* ptr = info; local
465 size_t size = *(size_t*) ptr;
466 size_t allocations = *(size_t*) (ptr + sizeof(size_t));
467 intptr_t* backtrace = (intptr_t*) (ptr + sizeof(size_t) * 2);
482 ptr += infoSize;
/frameworks/native/libs/utils/
H A DZipFileRO.cpp360 const unsigned char* ptr = cdPtr; local
362 if (get4LE(ptr) != kCDESignature) {
366 if (ptr + kCDELen > cdPtr + cdLength) {
371 long localHdrOffset = (long) get4LE(ptr + kCDELocalOffset);
379 fileNameLen = get2LE(ptr + kCDENameLen);
380 extraLen = get2LE(ptr + kCDEExtraLen);
381 commentLen = get2LE(ptr + kCDECommentLen);
384 hash = computeHash((const char*)ptr + kCDELen, fileNameLen);
385 addToHash((const char*)ptr + kCDELen, fileNameLen, hash);
387 ptr
510 const unsigned char* ptr = (const unsigned char*) hashEntry.name; local
702 const unsigned char* ptr; local
762 const unsigned char* ptr; local
[all...]
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdAllocation.cpp44 uint8_t *ptr = (uint8_t *)drv->lod[lod].mallocPtr; local
45 ptr += face * drv->faceOffset;
46 ptr += yoff * drv->lod[lod].stride;
47 ptr += xoff * alloc->mHal.state.elementSizeBytes;
48 return ptr;
52 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, argument
68 const Type *type, uint8_t *ptr) {
101 drv->lod[0].mallocPtr = ptr;
103 drv->lod[lod].mallocPtr = ptr + offsets[lod];
106 alloc->mHal.drvState.mallocPtrLOD0 = ptr;
67 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr) argument
128 uint8_t * ptr = NULL; local
192 uint8_t *ptr = (uint8_t *)realloc(oldPtr, s); local
273 uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); local
325 const uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); local
428 uint8_t * ptr = GetOffsetPtr(alloc, x, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); local
448 uint8_t * ptr = GetOffsetPtr(alloc, x, y, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); local
[all...]
H A DrsdBcc.cpp379 //ALOGE("usr ptr in %p, out %p", mtls->ptrIn, mtls->ptrOut);
410 //ALOGE("usr ptr in %p, out %p", mtls->ptrIn, mtls->ptrOut);
709 void *ptr = NULL; local
713 ptr = allocDrv->lod[0].mallocPtr;
715 memcpy(destPtr, &ptr, sizeof(void *));
764 const void *ptr) {
766 if (!ptr) {
774 if (adrv->lod[0].mallocPtr == ptr) {
778 ALOGE("rsGetAllocation, failed to find %p", ptr);
762 rsdScriptGetAllocationForPointer(const android::renderscript::Context *dc, const android::renderscript::Script *sc, const void *ptr) argument

Completed in 9520 milliseconds

123456