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

123456789

/frameworks/native/opengl/tools/glgen/stubs/gles11/
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 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 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 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...]
H A Dmem_align.c99 unsigned char *ptr; local
104 ptr = mem_ptr;
106 ptr -= *(ptr - 1);
108 pMemop->Free(CodecID, ptr);
/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/rs/cpu_ref/linkloader/utils/
H A Draw_ostream.cpp37 t_format.ptr = new char[length+1];
38 t_format.ptr[length] = '\0';
39 vsnprintf(t_format.ptr, length, format_s, valist);
40 int real_len = strlen(t_format.ptr);
42 memmove(t_format.ptr + fill_len, t_format.ptr, real_len);
43 memset(t_format.ptr, fill_char, fill_len);
48 os << mf.ptr;
49 delete mf.ptr;
/frameworks/rs/driver/runtime/
H A Drs_core.c37 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) { argument
38 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
41 extern uint32_t __attribute__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expectedValue, uint32_t newValue) { argument
42 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
45 extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile int32_t *ptr) { argument
46 return __sync_fetch_and_add(ptr, 1);
49 extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile uint32_t *ptr) { argument
50 return __sync_fetch_and_add(ptr, 1);
53 extern int32_t __attribute__((overloadable)) rsAtomicDec(volatile int32_t *ptr) { argument
54 return __sync_fetch_and_sub(ptr,
57 rsAtomicDec(volatile uint32_t *ptr) argument
61 rsAtomicAdd(volatile int32_t *ptr, int32_t value) argument
65 rsAtomicAdd(volatile uint32_t *ptr, uint32_t value) argument
69 rsAtomicSub(volatile int32_t *ptr, int32_t value) argument
73 rsAtomicSub(volatile uint32_t *ptr, uint32_t value) argument
77 rsAtomicAnd(volatile int32_t *ptr, int32_t value) argument
81 rsAtomicAnd(volatile uint32_t *ptr, uint32_t value) argument
85 rsAtomicOr(volatile int32_t *ptr, int32_t value) argument
89 rsAtomicOr(volatile uint32_t *ptr, uint32_t value) argument
93 rsAtomicXor(volatile int32_t *ptr, int32_t value) argument
97 rsAtomicXor(volatile uint32_t *ptr, uint32_t value) argument
106 rsAtomicMin(volatile uint32_t *ptr, uint32_t value) argument
116 rsAtomicMin(volatile int32_t *ptr, int32_t value) argument
126 rsAtomicMax(volatile uint32_t *ptr, uint32_t value) argument
136 rsAtomicMax(volatile int32_t *ptr, int32_t value) argument
[all...]
/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::__anon999
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/cpu_ref/
H A DrsCpuRuntimeMathFuncs.cpp59 extern float SC_frexpf(float v, int* ptr);
60 float __attribute__((overloadable)) frexp(float v, int* ptr) {return SC_frexpf(v, ptr);} argument
66 extern float SC_lgammaf_r(float v, int* ptr);
67 float __attribute__((overloadable)) lgamma(float v, int* ptr) {return SC_lgammaf_r(v, ptr);} argument
72 extern float SC_modff(float v, float* ptr);
73 float modf(float v, float* ptr) {return SC_modff(v, ptr);} argument
77 extern float SC_remquof(float t, float v, int* ptr);
78 remquo(float t, float v, int* ptr) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DUtils.h33 uint16_t U16_AT(const uint8_t *ptr);
34 uint32_t U32_AT(const uint8_t *ptr);
35 uint64_t U64_AT(const uint8_t *ptr);
37 uint16_t U16LE_AT(const uint8_t *ptr);
38 uint32_t U32LE_AT(const uint8_t *ptr);
39 uint64_t U64LE_AT(const uint8_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((count) * sizeof(type)); \
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.c45 binder_size_t *offs = (binder_size_t *)(uintptr_t)txn->data.ptr.offsets;
49 (uint64_t)txn->target.ptr, (uint64_t)txn->cookie, txn->code, txn->flags);
52 hexdump((void *)(uintptr_t)txn->data.ptr.buffer, txn->data_size);
54 obj = (struct flat_binder_object *) (((char*)(uintptr_t)txn->data.ptr.buffer) + *offs++);
55 fprintf(stderr," - type %08x flags %08x ptr %016"PRIx64" cookie %016"PRIx64"\n",
182 data.txn.target.ptr = 0;
189 data.txn.data.ptr.buffer = (uintptr_t)&status;
190 data.txn.data.ptr.offsets = 0;
195 data.txn.data.ptr.buffer = (uintptr_t)reply->data0;
196 data.txn.data.ptr
201 binder_parse(struct binder_state *bs, struct binder_io *bio, uintptr_t ptr, size_t size, binder_handler func) argument
441 void *ptr = bio->data; local
483 uint32_t *ptr = bio_alloc(bio, sizeof(n)); local
488 bio_put_obj(struct binder_io *bio, void *ptr) argument
523 uint16_t *ptr; local
550 uint16_t *ptr; local
584 void *ptr = bio->data; local
593 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);
/frameworks/base/core/jni/
H A Dandroid_view_KeyCharacterMap.cpp101 static void nativeWriteToParcel(JNIEnv* env, jobject clazz, jlong ptr, jobject parcelObj) { argument
102 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr);
110 static void nativeDispose(JNIEnv *env, jobject clazz, jlong ptr) { argument
111 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr);
115 static jchar nativeGetCharacter(JNIEnv *env, jobject clazz, jlong ptr, argument
117 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr);
121 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, argument
123 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr);
136 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { argument
137 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr);
141 nativeGetMatch(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, jcharArray charsArray, jint metaState) argument
157 nativeGetDisplayLabel(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) argument
162 nativeGetKeyboardType(JNIEnv *env, jobject clazz, jlong ptr) argument
167 nativeGetEvents(JNIEnv *env, jobject clazz, jlong ptr, jcharArray charsArray) argument
[all...]
/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
817 uint8_t *ptr = &buffer->data()[sizeof(kData)]; local
900 uint8_t *ptr = buffer->data(); local
[all...]

Completed in 487 milliseconds

123456789