Searched refs:ptr (Results 1 - 25 of 223) sorted by relevance

123456789

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetObjectPtrLabel.java1 // C function void glGetObjectPtrLabel ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label )
3 public static native String glGetObjectPtrLabel(long ptr); argument
H A DglGetObjectPtrLabelKHR.java1 // C function void glGetObjectPtrLabelKHR ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label )
3 public static native String glGetObjectPtrLabelKHR(long ptr); argument
H A DglObjectPtrLabel.java1 // C function void glObjectPtrLabel ( const void *ptr, GLsizei length, const GLchar *label )
3 public static native void glObjectPtrLabel(long ptr, String label); argument
H A DglObjectPtrLabelKHR.java1 // C function void glObjectPtrLabelKHR ( const void *ptr, GLsizei length, const GLchar *label )
3 public static native void glObjectPtrLabelKHR(long ptr, String label); argument
H A DglGetObjectPtrLabel.cpp1 /* void glGetObjectPtrLabel ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label ) */
3 android_glGetObjectPtrLabel(JNIEnv *_env, jobject _this, jlong ptr) { argument
H A DglGetObjectPtrLabelKHR.cpp1 /* void glGetObjectPtrLabelKHR ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label ) */
3 android_glGetObjectPtrLabelKHR(JNIEnv *_env, jobject _this, jlong ptr) { argument
H A DglObjectPtrLabel.cpp1 /* void glObjectPtrLabel ( const void *ptr, GLsizei length, const GLchar *label ) */
3 android_glObjectPtrLabel(JNIEnv *_env, jobject _this, jlong ptr, jstring label) { argument
H A DglObjectPtrLabelKHR.cpp1 /* void glObjectPtrLabelKHR ( const void *ptr, GLsizei length, const GLchar *label ) */
3 android_glObjectPtrLabelKHR(JNIEnv *_env, jobject _this, jlong ptr, jstring label) { argument
/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 Dchvr_filter.cpp39 uint8 *ptr, *ptr_c, *ptr_n; local
97 /* Set the ptr to the first pixel of the first block of the second row
100 ptr = rec + (brwidth << 6) + (bc << 3);
124 a3_0 = *ptr - *(ptr - w1);
130 ptr_c = ptr - w3; /* Points to pixel three rows above */
131 ptr_n = ptr + w1; /* Points to pixel one row below */
167 ++ptr;
179 a3_0 = *(ptr) - *(ptr
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
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/core/java/com/android/internal/util/
H A DVirtualRefBasePtr.java26 public VirtualRefBasePtr(long ptr) { argument
27 mNativePtr = ptr;
51 private static native void nIncStrong(long ptr); argument
52 private static native void nDecStrong(long ptr); argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/
H A DVirtualRefBasePtr_Delegate.java37 /*package*/ static synchronized void nIncStrong(long ptr) { argument
38 long counter = sRefCount.get(ptr);
39 sRefCount.put(ptr, ++counter);
43 /*package*/ static synchronized void nDecStrong(long ptr) { argument
44 long counter = sRefCount.get(ptr);
47 sRefCount.put(ptr, --counter);
49 sRefCount.delete(ptr);
50 sManager.removeJavaReferenceFor(ptr);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dm4venc_oscl.h32 #define M4VENC_FREE(ptr) free(ptr)
34 #define M4VENC_MEMSET(ptr,val,size) memset(ptr,val,size)
/frameworks/base/core/java/android/view/
H A DSurfaceSession.java30 private static native void nativeDestroy(long ptr); argument
31 private static native void nativeKill(long ptr); argument
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp216 uint8_t *ptr = dup->data(); local
218 *ptr++ = 0xff;
219 *ptr++ = 0xf9; // b11111001, ID=1(MPEG-2), layer=0, protection_absent=1
221 *ptr++ =
227 *ptr++ =
230 *ptr++ = (aac_frame_length >> 3) & 0xff;
231 *ptr++ = (aac_frame_length & 7) << 5;
234 *ptr++ = 0;
236 memcpy(ptr, accessUnit->data(), accessUnit->size());
678 uint8_t *ptr local
854 uint8_t *ptr = packetDataStart; local
900 uint8_t *ptr = packetDataStart; local
982 uint8_t *ptr = packetDataStart; local
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputApplicationHandle.cpp29 jfieldID ptr; member in struct:android::__anon1111
93 jlong ptr = env->GetLongField(inputApplicationHandleObj, gInputApplicationHandleClassInfo.ptr); local
95 if (ptr) {
96 handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr);
101 env->SetLongField(inputApplicationHandleObj, gInputApplicationHandleClassInfo.ptr,
113 jlong ptr = env->GetLongField(obj, gInputApplicationHandleClassInfo.ptr); local
114 if (ptr) {
115 env->SetLongField(obj, gInputApplicationHandleClassInfo.ptr,
[all...]
/frameworks/rs/driver/runtime/
H A Drs_core.c44 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) { argument
45 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
48 extern uint32_t __attribute__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expectedValue, uint32_t newValue) { argument
49 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
52 extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile int32_t *ptr) { argument
53 return __sync_fetch_and_add(ptr, 1);
56 extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile uint32_t *ptr) { argument
57 return __sync_fetch_and_add(ptr, 1);
60 extern int32_t __attribute__((overloadable)) rsAtomicDec(volatile int32_t *ptr) { argument
61 return __sync_fetch_and_sub(ptr,
64 rsAtomicDec(volatile uint32_t *ptr) argument
68 rsAtomicAdd(volatile int32_t *ptr, int32_t value) argument
72 rsAtomicAdd(volatile uint32_t *ptr, uint32_t value) argument
76 rsAtomicSub(volatile int32_t *ptr, int32_t value) argument
80 rsAtomicSub(volatile uint32_t *ptr, uint32_t value) argument
84 rsAtomicAnd(volatile int32_t *ptr, int32_t value) argument
88 rsAtomicAnd(volatile uint32_t *ptr, uint32_t value) argument
92 rsAtomicOr(volatile int32_t *ptr, int32_t value) argument
96 rsAtomicOr(volatile uint32_t *ptr, uint32_t value) argument
100 rsAtomicXor(volatile int32_t *ptr, int32_t value) argument
104 rsAtomicXor(volatile uint32_t *ptr, uint32_t value) argument
113 rsAtomicMin(volatile uint32_t *ptr, uint32_t value) argument
123 rsAtomicMin(volatile int32_t *ptr, int32_t value) argument
133 rsAtomicMax(volatile uint32_t *ptr, uint32_t value) argument
143 rsAtomicMax(volatile int32_t *ptr, int32_t value) argument
[all...]
/frameworks/rs/
H A Drs_compat.spec6 param uintptr_t ptr
/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...]
H A Dh264bsd_util.h142 #define ALLOCATE(ptr, count, type) \
144 (ptr) = H264SwDecMalloc(sizeof(type), (count)); \
148 #define FREE(ptr) \
150 H264SwDecFree((ptr)); (ptr) = NULL; \
153 #define ALIGN(ptr, bytePos) \
154 (ptr + ( ((bytePos - (uintptr_t)ptr) & (bytePos - 1)) / sizeof(*ptr) ))
/frameworks/native/cmds/servicemanager/
H A Dbinder.c46 binder_size_t *offs = (binder_size_t *)(uintptr_t)txn->data.ptr.offsets;
50 (uint64_t)txn->target.ptr, (uint64_t)txn->cookie, txn->code, txn->flags);
53 hexdump((void *)(uintptr_t)txn->data.ptr.buffer, txn->data_size);
55 obj = (struct flat_binder_object *) (((char*)(uintptr_t)txn->data.ptr.buffer) + *offs++);
56 fprintf(stderr," - type %08x flags %08x ptr %016"PRIx64" cookie %016"PRIx64"\n",
197 data.txn.target.ptr = 0;
204 data.txn.data.ptr.buffer = (uintptr_t)&status;
205 data.txn.data.ptr.offsets = 0;
210 data.txn.data.ptr.buffer = (uintptr_t)reply->data0;
211 data.txn.data.ptr
216 binder_parse(struct binder_state *bs, struct binder_io *bio, uintptr_t ptr, size_t size, binder_handler func) argument
460 void *ptr = bio->data; local
502 uint32_t *ptr = bio_alloc(bio, sizeof(n)); local
507 bio_put_obj(struct binder_io *bio, void *ptr) argument
542 uint16_t *ptr; local
569 uint16_t *ptr; local
603 void *ptr = bio->data; local
612 uint32_t *ptr = bio_get(bio, sizeof(*ptr)); local
[all...]
/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);

Completed in 565 milliseconds

123456789