/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 259 memset(imgMos->Y.ptr[0], 255, (imgMos->Y.width * imgMos->Y.height)); in runBlend() 261 memset(imgMos->V.ptr[0], 128, (imgMos->V.width * imgMos->V.height) << 1); in runBlend() 293 imageMosaicYVU = imgMos->Y.ptr[0]; in runBlend() 343 ImageTypeShort yptr = m_pFrameYPyr->ptr[h]; in FillFramePyramid() 344 ImageTypeShort uptr = m_pFrameUPyr->ptr[h]; in FillFramePyramid() 345 ImageTypeShort vptr = m_pFrameVPyr->ptr[h]; in FillFramePyramid() 463 if (imgMos.Y.ptr[y][x] != imgMos.Y.ptr[y][x+1] && in DoMergeAndBlend() 464 imgMos.Y.ptr[y][x] != 255 && in DoMergeAndBlend() 465 imgMos.Y.ptr[y][x+1] != 255) in DoMergeAndBlend() 468 unsigned char idx1 = imgMos.Y.ptr[y][x]; in DoMergeAndBlend() [all …]
|
D | Pyramid.cpp | 46 curr->ptr = y + border; in allocatePyramidPacked() 76 img->ptr = y + border; in allocateImage() 123 base = pyr->ptr[-h] - off; in BorderSpread() 136 base = pyr->ptr[top - pyr->border] - pyr->border; in BorderSpread() 141 base = pyr->ptr[pyr->height + pyr->border - bot] - pyr->border; in BorderSpread() 158 scr->ptr[j2][i] = (short) in BorderExpandOdd() 159 ((6 * in->ptr[j][i] + (in->ptr[j-1][i] + in->ptr[j+1][i]) + 4) >> 3); in BorderExpandOdd() 160 scr->ptr[j2+1][i] = (short)((in->ptr[j][i] + in->ptr[j+1][i] + 1) >> 1); in BorderExpandOdd() 170 out->ptr[j][i2] = (short) (out->ptr[j][i2] + in BorderExpandOdd() 171 (mode * ((6 * scr->ptr[j][i] + in BorderExpandOdd() [all …]
|
D | ImageUtils.cpp | 386 yuv->Y.ptr = y; in allocateImage() 387 yuv->V.ptr = &y[height]; in allocateImage() 388 yuv->U.ptr = &y[height + heightUV]; in allocateImage() 401 img->Y.ptr[i] = position; in mapYUVInfoToImage() 403 img->V.ptr[i] = position; in mapYUVInfoToImage() 405 img->U.ptr[i] = position; in mapYUVInfoToImage()
|
D | Pyramid.h | 34 ImageTypeShort *ptr; // Pointer containing the image
|
D | Interp.h | 51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; in ciCalc()
|
D | ImageUtils.h | 142 ImageType *ptr; member
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
D | BluetoothScanner.java | 205 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in startListening() 206 if (mClients.get(ptr).listener == listener) { in startListening() 256 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in stopListening() 257 ClientRecord client = mClients.get(ptr); in stopListening() 259 mClients.remove(ptr); in stopListening() 326 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in removeDevice() 327 ClientRecord client = mClients.get(ptr); in removeDevice() 490 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in sendDeviceAdded() 491 ClientRecord client = mClients.get(ptr); in sendDeviceAdded() 508 for (int ptr = client.devices.size() - 1; ptr > -1; ptr--) { in sendDeviceChanged() [all …]
|
/packages/modules/DnsResolver/ |
D | sethostent.cpp | 70 char *buf, *ptr; in _hf_gethtbyname2() local 85 if ((ptr = buf = (char*) malloc(len = info->buflen)) == NULL) { in _hf_gethtbyname2() 119 HENT_SCOPY(hent.h_name, hp->h_name, ptr, len); in _hf_gethtbyname2() 122 HENT_SCOPY(aliases[anum], hp->h_aliases[anum], ptr, len); in _hf_gethtbyname2() 124 ptr = (char*) ALIGN(ptr); in _hf_gethtbyname2() 125 if ((size_t)(ptr - buf) >= info->buflen) goto nospc; in _hf_gethtbyname2() 129 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr, len); in _hf_gethtbyname2() 144 ptr = info->buf; in _hf_gethtbyname2() 150 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _hf_gethtbyname2() 151 HENT_ARRAY(hp->h_addr_list, num, ptr, len); in _hf_gethtbyname2() [all …]
|
D | hostent.h | 50 #define HENT_ARRAY(dst, anum, ptr, len) do { \ argument 53 dst = (char**) ptr; \ 54 ptr += _len; \ 58 #define HENT_COPY(dst, src, slen, ptr, len) do { \ argument 60 memcpy(ptr, src, (size_t) slen); \ 61 dst = ptr; \ 62 ptr += slen; \ 66 #define HENT_SCOPY(dst, src, ptr, len) do { \ argument 68 HENT_COPY(dst, src, _len, ptr, len); \
|
D | res_comp.cpp | 107 int dn_skipname(const uint8_t* ptr, const uint8_t* eom) { in dn_skipname() argument 108 const uint8_t* saveptr = ptr; in dn_skipname() 110 if (ns_name_skip(&ptr, eom) == -1) return (-1); in dn_skipname() 111 return (ptr - saveptr); in dn_skipname()
|
D | res_comp.h | 23 int dn_skipname(const uint8_t* ptr, const uint8_t* eom);
|
D | gethnamaddr.cpp | 123 #define BOUNDS_CHECK(ptr, count) \ argument 125 if (eom - (ptr) < (count)) goto no_recovery; \
|
/packages/apps/Gallery2/jni/filters/ |
D | edge.c | 38 uint8_t* ptr = destination; in JNIFUNCF() local 62 tmp += *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF() 63 tmp += *(ptr + (loc + 4 + l)) * 2.0f; in JNIFUNCF() 64 tmp += *(ptr + (loc + row_stride + 4 + l)); in JNIFUNCF() 65 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF() 66 tmp -= *(ptr + (loc - 4 + l)) * 2.0f; in JNIFUNCF() 67 tmp -= *(ptr + (loc + row_stride - 4 + l)); in JNIFUNCF() 76 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF() 77 tmp -= *(ptr + (loc - row_stride + l)) * 2.0f; in JNIFUNCF() 78 tmp -= *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF() [all …]
|
/packages/apps/Terminal/src/com/android/terminal/ |
D | Terminal.java | 194 private static native int nativeDestroy(long ptr); in nativeDestroy() argument 196 private static native int nativeRun(long ptr); in nativeRun() argument 197 private static native int nativeResize(long ptr, int rows, int cols, int scrollRows); in nativeResize() argument 198 private static native int nativeGetCellRun(long ptr, int row, int col, CellRun run); in nativeGetCellRun() argument 199 private static native int nativeGetRows(long ptr); in nativeGetRows() argument 200 private static native int nativeGetCols(long ptr); in nativeGetCols() argument 201 private static native int nativeGetScrollRows(long ptr); in nativeGetScrollRows() argument 203 private static native boolean nativeDispatchKey(long ptr, int modifiers, int key); in nativeDispatchKey() argument 204 private static native boolean nativeDispatchCharacter(long ptr, int modifiers, int character); in nativeDispatchCharacter() argument
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 548 static jint com_android_terminal_Terminal_nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeDestroy() argument 549 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeDestroy() 554 static jint com_android_terminal_Terminal_nativeRun(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeRun() argument 555 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeRun() 560 jclass clazz, jlong ptr, jint rows, jint cols, jint scrollRows) { in com_android_terminal_Terminal_nativeResize() argument 561 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeResize() 585 jclass clazz, jlong ptr, jint row, jint col, jobject run) { in com_android_terminal_Terminal_nativeGetCellRun() argument 586 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeGetCellRun() 646 static jint com_android_terminal_Terminal_nativeGetRows(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeGetRows() argument 647 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeGetRows() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | byte_array_view.h | 34 ReadOnlyByteArrayView(const uint8_t *const ptr, const size_t size) in ReadOnlyByteArrayView() argument 35 : mPtr(ptr), mSize(size) {} in ReadOnlyByteArrayView() 66 ReadWriteByteArrayView(uint8_t *const ptr, const size_t size) in ReadWriteByteArrayView() argument 67 : mPtr(ptr), mSize(size) {} in ReadWriteByteArrayView()
|
D | int_array_view.h | 55 IntArrayView(const int *const ptr, const size_t size) in IntArrayView() argument 56 : mPtr(ptr), mSize(size) {} in IntArrayView() 67 AK_FORCE_INLINE static IntArrayView singleElementView(const int *const ptr) { in singleElementView() argument 68 return IntArrayView(ptr, 1); in singleElementView()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | allocators.h | 79 static void Free(void *ptr) { std::free(ptr); } in Free() argument 220 static void Free(void *ptr) { (void)ptr; } // Do nothing in Free() argument
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpegstream.cpp | 157 jlong ptr = env->GetLongField(thiz, fidNumber); in getWPtr() local 162 JpegWriter* w_ptr = reinterpret_cast<JpegWriter*>(ptr); in getWPtr() 178 jlong ptr = env->GetLongField(thiz, fidNumber); in getRPtr() local 183 JpegReader* r_ptr = reinterpret_cast<JpegReader*>(ptr); in getRPtr()
|
/packages/apps/LegacyCamera/jni/ |
D | mosaic_renderer_jni.cpp | 204 unsigned char* ptr = gPreviewImage[mID]; in ClearPreviewImage() local 209 ptr[i++] = 0; in ClearPreviewImage() 210 ptr[i++] = 0; in ClearPreviewImage() 211 ptr[i++] = 0; in ClearPreviewImage() 212 ptr[i++] = 255; in ClearPreviewImage()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 170 for (int ptr = deviceIds.length - 1; ptr > -1; ptr--) { in hasValidInputDevice() 171 InputDevice device = inMan.getInputDevice(deviceIds[ptr]); in hasValidInputDevice()
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_feature_matching.h | 59 db_PointInfo_f *ptr; 86 db_PointInfo_u *ptr;
|
D | db_feature_matching.cpp | 2634 bp[i][j].ptr=new db_PointInfo_f [bd]; in db_AllocBuckets_f() 2654 bp[i][j].ptr=new db_PointInfo_u [bd]; in db_AllocBuckets_u() 2667 delete [] bp[i][j].ptr; in db_FreeBuckets_f() 2679 delete [] bp[i][j].ptr; in db_FreeBuckets_u() 2716 pir=&(br->ptr[nr]); in db_FillBuckets_f() 2751 pir=&(br->ptr[nr]); in db_FillBuckets_u() 2811 pir=&(br->ptr[nr]); in db_FillBucketsPrewarped_f() 2855 pir=&(br->ptr[nr]); in db_FillBucketsPrewarped_u() 2907 pir=&(br->ptr[nr]); in db_FillBucketsPrewarpedAffine_u() 3031 pir_r=b_r->ptr; in db_MatchPointAgainstBucket_f() [all …]
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | lib_wprint.c | 425 char *ptr; in _get_handle() local 432 ptr = malloc(size); in _get_handle() 433 if (ptr) { in _get_handle() 435 memset(ptr, 0, size); in _get_handle() 439 _job_queue[index].printer_addr = ptr; in _get_handle() 441 ptr += (MAX_PRINTER_ADDR_LENGTH + 1); in _get_handle() 442 _job_queue[index].mime_type = ptr; in _get_handle() 443 ptr += (MAX_MIME_LENGTH + 1); in _get_handle() 444 _job_queue[index].pathname = ptr; in _get_handle()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 91 uint32 *ptr = (uint32 *) pInBuffer; in isWhiteStrip() local 92 for (int i = 0; i < inBufferSize / 4; i++, ptr++) { in isWhiteStrip() 93 if (*ptr != 0xffffffff) { in isWhiteStrip() 1674 ubyte *ptr; in Encapsulate() local 1680 ptr = (ubyte *) localInBuffer + scanlineWidth * numLeftoverScanlines; in Encapsulate() 1681 memcpy(leftoverScanlineBuffer, ptr, scanlineWidth * numLeftoverScanlines); in Encapsulate()
|