Searched defs:ptr (Results 1 - 25 of 134) sorted by relevance

123456

/frameworks/compile/linkloader/utils/
H A Draw_ostream.h25 char *ptr; member in struct:MyFormat
/frameworks/base/core/java/android/view/
H A DSurfaceSession.java30 private static native void nativeDestroy(int ptr); argument
31 private static native void nativeKill(int ptr); argument
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DInstAlloc.c147 /* coverity[returned_pointer] Ignore coverity warning that ptr is not used */
178 void **ptr)
180 ptr[0] = InstAlloc_AddMember(&pms[LVM_PERSISTENT_SLOW_DATA], Size[LVM_PERSISTENT_SLOW_DATA]);
181 ptr[1] = InstAlloc_AddMember(&pms[LVM_PERSISTENT_FAST_DATA], Size[LVM_PERSISTENT_FAST_DATA]);
182 ptr[2] = InstAlloc_AddMember(&pms[LVM_PERSISTENT_FAST_COEF], Size[LVM_PERSISTENT_FAST_COEF]);
183 ptr[3] = InstAlloc_AddMember(&pms[LVM_TEMPORARY_FAST], Size[LVM_TEMPORARY_FAST]);
185 return (ptr[0]);
176 InstAlloc_AddMemberAllRet( INST_ALLOC *pms, LVM_UINT32 Size[], void **ptr) argument
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dmemalign.c99 unsigned char *ptr; local
104 ptr = mem_ptr;
106 ptr -= *(ptr - 1);
108 pMemop->Free(CodecID, ptr);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dmem_align.c99 unsigned char *ptr; local
104 ptr = mem_ptr;
106 ptr -= *(ptr - 1);
108 pMemop->Free(CodecID, ptr);
H A Dpred_lt4.c60 Word16 *ptr, *ptr1; local
76 ptr = ptr2;
78 L_sum = vo_mult32((*ptr1++), (*ptr++));
79 L_sum += vo_mult32((*ptr1++), (*ptr++));
80 L_sum += vo_mult32((*ptr1++), (*ptr++));
81 L_sum += vo_mult32((*ptr1++), (*ptr++));
82 L_sum += vo_mult32((*ptr1++), (*ptr++));
83 L_sum += vo_mult32((*ptr1++), (*ptr++));
84 L_sum += vo_mult32((*ptr1++), (*ptr++));
85 L_sum += vo_mult32((*ptr1++), (*ptr
[all...]
/frameworks/base/cmds/servicemanager/
H A Dbctest.c12 void *ptr; local
24 ptr = bio_get_ref(&reply);
26 if (ptr)
27 binder_acquire(bs, ptr);
31 return ptr;
34 int svcmgr_publish(struct binder_state *bs, void *target, const char *name, void *ptr) argument
44 bio_put_obj(&msg, ptr);
70 void *ptr = svcmgr_lookup(bs, svcmgr, "alt_svc_mgr"); local
71 if (!ptr) {
75 svcmgr = ptr;
78 void *ptr; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceSession.cpp48 static void nativeDestroy(JNIEnv* env, jclass clazz, jint ptr) { argument
49 SurfaceComposerClient* client = reinterpret_cast<SurfaceComposerClient*>(ptr);
53 static void nativeKill(JNIEnv* env, jclass clazz, jint ptr) { argument
54 SurfaceComposerClient* client = reinterpret_cast<SurfaceComposerClient*>(ptr);
H A Dandroid_ddm_DdmHandleNativeHeap.cpp79 uint8_t* ptr = mapsFile + header.mapSize; local
80 amount = read(fd, ptr, MAPS_FILE_SIZE);
99 jbyte* ptr = NULL; local
106 ptr = bytes;
111 memcpy(ptr, &header, sizeof(header));
112 ptr += sizeof(header);
115 memcpy(ptr, mapsFile, header.mapSize);
116 ptr += header.mapSize;
119 memcpy(ptr, allocBytes, header.allocSize);
/frameworks/base/services/java/com/android/server/input/
H A DInputApplicationHandle.java29 private int ptr; field in class:InputApplicationHandle
/frameworks/compile/slang/
H A Dslang-data.c48 unsigned char *ptr = buf; local
56 for (i = 0; i < line_count; ++i, ptr += 16) {
64 ptr[0], ptr[1], ptr[2], ptr[3],
65 ptr[4], ptr[5], ptr[6], ptr[
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_outside.cpp116 *((uint32*)ptr) = temp; \
117 *((uint32*)(ptr+4)) = temp; \
118 *((uint32*)(ptr+=16)) = temp; \
119 *((uint32*)(ptr+4)) = temp; \
120 *((uint32*)(ptr+=16)) = temp; \
121 *((uint32*)(ptr+4)) = temp; \
122 *((uint32*)(ptr+=16)) = temp; \
123 *((uint32*)(ptr+4)) = temp; \
124 *((uint32*)(ptr+=16)) = temp; \
125 *((uint32*)(ptr
257 uint8 *ptr; local
280 ptr = pred; local
285 ptr = pred + 8; local
290 ptr = pred + (8 << 4); local
295 ptr = pred + (((ypos >> 1) + 8) << 4) + (xpos >> 1) + 8; local
336 ptr = pred + (8 << 4); local
341 ptr = pred + (8 << 4) + 8; local
346 ptr = pred ; local
350 ptr = pred + 8 + (((ypos >> 1) - (height - 8)) << 4) + (xpos >> 1); local
436 ptr = pred + 8; local
441 ptr = pred ; local
493 ptr = pred + (8 << 4) + 8; local
498 ptr = pred + 8; local
503 ptr = pred + (8 << 4); local
507 ptr = pred + 8 - (width - (xpos >> 1)) + ((8 - (height - (ypos >> 1))) << 4); local
[all...]
H A Dchv_filter.cpp190 uint8 *ptr, *ptr_e; local
221 ptr = rec + (brwidth << 6) + (bc << 3);
225 ptr_e = ptr + 8; /* pointer to where the loop ends */
232 jVal0 = *(ptr - width); /* C */
233 jVal1 = *ptr; /* D */
241 *(ptr - width) = (uint8)(jVal0); /* C */
242 *ptr = (uint8)(jVal0); /* D */
244 jVal0 = *(ptr - (width << 1)); /* B */
245 jVal1 = *(ptr + width); /* E */
252 *(ptr
467 uint8 *ptr, *ptr_e; local
[all...]
H A Dderinging_chroma.cpp41 uint8 *ptr; local
57 ptr = &Rec_C[h_blk];
58 max_blk = min_blk = *ptr;
59 FindMaxMin(ptr, &min_blk, &max_blk, width);
70 ptr = &Rec_C[addr_v + h0 - 1];
74 pelu = *(ptr - width);
75 pelc = *ptr;
76 pell = *(ptr + width);
77 ptr++;
81 pelu = *(ptr
[all...]
H A Dderinging_luma.cpp40 uint8 *ptr; local
62 ptr = &Rec_Y[(int32)(BLK_V) * width + MB_H + BLK_H];
63 FindMaxMin(ptr, &min_blk, &max_blk, incr);
117 ptr = &Rec_Y[(int32)(MB_V + BLK_V) * width + BLK_H];
118 FindMaxMin(ptr, &min_blk, &max_blk, incr);
175 ptr = &Rec_Y[(int32)(MB_V + BLK_V) * width + MB_H + BLK_H];
176 FindMaxMin(ptr, &min_blk, &max_blk, incr);
/frameworks/native/include/utils/
H A DStrongPointer.h107 void set_pointer(T* ptr);
206 void sp<T>::set_pointer(T* ptr) { argument
207 m_ptr = ptr;
/frameworks/rs/driver/
H A DrsdVertexArray.h36 const uint8_t * ptr; member in class:RsdVertexArray::Attrib
/frameworks/av/cmds/stagefright/
H A DSineSource.cpp74 int16_t *ptr = (int16_t *)buffer->data(); local
82 *ptr++ = amplitude;
84 *ptr++ = amplitude;
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_get_scale_factors.cpp188 int32 *ptr = &scalefac->l[0]; local
205 *(ptr++) = (tmp3 << (32 - tmp2)) >> tmp4;
212 *(ptr++) = 0;
219 ptr += tmp4;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_transform.c103 i32 *ptr; local
156 for (row = 4, ptr = data; row--; ptr += 4)
158 tmp0 = ptr[0] + ptr[2];
159 tmp1 = ptr[0] - ptr[2];
160 tmp2 = (ptr[1] >> 1) - ptr[3];
161 tmp3 = ptr[
261 i32 *ptr; local
[all...]
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputApplicationHandle.cpp29 jfieldID ptr; member in struct:android::__anon1135
93 int ptr = env->GetIntField(inputApplicationHandleObj, gInputApplicationHandleClassInfo.ptr); local
95 if (ptr) {
96 handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr);
101 env->SetIntField(inputApplicationHandleObj, gInputApplicationHandleClassInfo.ptr,
113 int ptr = env->GetIntField(obj, gInputApplicationHandleClassInfo.ptr); local
114 if (ptr) {
115 env->SetIntField(obj, gInputApplicationHandleClassInfo.ptr,
[all...]
/frameworks/compile/linkloader/tests/images/
H A Dtest.c18 static void hello_function(const char *ptr){ argument
19 printf("%s", ptr);
/frameworks/native/libs/utils/
H A DFileMap.cpp138 void* ptr; local
169 ptr = mmap(NULL, adjLength, prot, flags, fd, adjOffset);
170 if (ptr == MAP_FAILED) {
182 mBasePtr = ptr;
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp43 const GLvoid *ptr, GLsizei count);
59 const GLvoid *ptr, GLsizei count) {
60 glColorPointer(size, type, stride, ptr);
58 glColorPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr, GLsizei count) argument
/frameworks/opt/emoji/
H A DEmojiFactory.cpp60 char *saveptr, *ptr; local
61 ptr = emoji_libraries;
63 ptr = strtok_r(ptr, ":", &saveptr);
64 if (NULL == ptr) {
67 TryRegisterEmojiFactory(ptr);
68 ptr = NULL;

Completed in 372 milliseconds

123456