Home
last modified time | relevance | path

Searched refs:sptr (Results 1 – 25 of 70) sorted by relevance

123

/external/qemu/distrib/jpeg-6b/
Djmemmgr.c589 jvirt_sarray_ptr sptr; in realize_virt_arrays() local
598 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
599 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
600 space_per_minheight += (long) sptr->maxaccess * in realize_virt_arrays()
601 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
602 maximum_space += (long) sptr->rows_in_array * in realize_virt_arrays()
603 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
639 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
640 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
641 minheights = ((long) sptr->rows_in_array - 1L) / sptr->maxaccess + 1L; in realize_virt_arrays()
[all …]
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jmemmgr.c592 jvirt_sarray_ptr sptr; in realize_virt_arrays() local
601 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
602 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
603 space_per_minheight += (long) sptr->maxaccess * in realize_virt_arrays()
604 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
605 maximum_space += (long) sptr->rows_in_array * in realize_virt_arrays()
606 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
642 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
643 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
644 minheights = ((long) sptr->rows_in_array - 1L) / sptr->maxaccess + 1L; in realize_virt_arrays()
[all …]
/external/chromium_org/third_party/libjpeg_turbo/
Djmemmgr.c622 jvirt_sarray_ptr sptr; in realize_virt_arrays() local
631 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
632 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
633 space_per_minheight += (long) sptr->maxaccess * in realize_virt_arrays()
634 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
635 maximum_space += (long) sptr->rows_in_array * in realize_virt_arrays()
636 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
672 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
673 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
674 minheights = ((long) sptr->rows_in_array - 1L) / sptr->maxaccess + 1L; in realize_virt_arrays()
[all …]
/external/jpeg/
Djmemmgr.c589 jvirt_sarray_ptr sptr; in realize_virt_arrays() local
598 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
599 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
600 space_per_minheight += (long) sptr->maxaccess * in realize_virt_arrays()
601 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
602 maximum_space += (long) sptr->rows_in_array * in realize_virt_arrays()
603 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
639 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
640 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
641 minheights = ((long) sptr->rows_in_array - 1L) / sptr->maxaccess + 1L; in realize_virt_arrays()
[all …]
/external/opencv/cv/src/
Dcvmorph.cpp540 const arrtype* sptr = src[1] + i; \
541 worktype s0 = sptr[0], s1 = sptr[1], \
542 s2 = sptr[2], s3 = sptr[3], t0, t1; \
546 sptr = src[k] + i; \
547 t0 = sptr[0]; t1 = sptr[1]; \
550 t0 = sptr[2]; t1 = sptr[3]; \
555 sptr = src[0] + i; \
556 t0 = sptr[0]; t1 = sptr[1]; \
561 t0 = sptr[2]; t1 = sptr[3]; \
567 sptr = src[k] + i; \
[all …]
Dcvfilter.cpp443 uchar *sptr = 0, *dptr; in process() local
538 sptr = src->data.ptr + src_y1*src->step + src_x*pix_size; in process()
545 delta = fill_cyclic_buffer( sptr, src->step, src_y, src_y1, src_y2 ); in process()
548 sptr += src->step*delta; in process()
1296 const int* sptr = src[0] + i, *sptr2; in icvFilterColSymm_32s8u() local
1297 int s0 = f*sptr[0], s1 = f*sptr[1], s2 = f*sptr[2], s3 = f*sptr[3]; in icvFilterColSymm_32s8u()
1300 sptr = src[k] + i; in icvFilterColSymm_32s8u()
1303 s0 += f*(sptr[0] + sptr2[0]); in icvFilterColSymm_32s8u()
1304 s1 += f*(sptr[1] + sptr2[1]); in icvFilterColSymm_32s8u()
1305 s2 += f*(sptr[2] + sptr2[2]); in icvFilterColSymm_32s8u()
[all …]
Dcvimgwarp.cpp1906 const uchar* sptr = sptr0 + sstep*yi + xi; in icvRemapFixedPt_8u() local
1908 dptr[x] = (uchar)((sptr[0]*a[0] + sptr[1]*a[1] + sptr[sstep]*a[2] + in icvRemapFixedPt_8u()
1909 sptr[sstep+1]*a[3])>>CV_REMAP_SHIFT*2); in icvRemapFixedPt_8u()
1925 const uchar* sptr = sptr0 + sstep*yi + xi*3; in icvRemapFixedPt_8u() local
1928 v0 = (sptr[0]*a[0] + sptr[3]*a[1] + in icvRemapFixedPt_8u()
1929 sptr[sstep]*a[2] + sptr[sstep+3]*a[3])>>CV_REMAP_SHIFT*2; in icvRemapFixedPt_8u()
1930 v1 = (sptr[1]*a[0] + sptr[4]*a[1] + in icvRemapFixedPt_8u()
1931 sptr[sstep+1]*a[2] + sptr[sstep+4]*a[3])>>CV_REMAP_SHIFT*2; in icvRemapFixedPt_8u()
1932 v2 = (sptr[2]*a[0] + sptr[5]*a[1] + in icvRemapFixedPt_8u()
1933 sptr[sstep+2]*a[2] + sptr[sstep+5]*a[3])>>CV_REMAP_SHIFT*2; in icvRemapFixedPt_8u()
[all …]
/external/chromium_org/third_party/skia/src/opts/
DSkBlurImage_opts_neon.cpp77 const SkPMColor* sptr = *src; in SkDoubleRowBoxBlur_NEON() local
87 load_2_pixels<srcDirection>(sptr - leftOffset * srcStrideX, srcStride)); in SkDoubleRowBoxBlur_NEON()
91 load_2_pixels<srcDirection>(sptr + (rightOffset + 1) * srcStrideX, srcStride)); in SkDoubleRowBoxBlur_NEON()
93 sptr += srcStrideX; in SkDoubleRowBoxBlur_NEON()
140 const SkPMColor* sptr = src; in SkBoxBlur_NEON() local
159 const SkPMColor* l = sptr - leftOffset * srcStrideX; in SkBoxBlur_NEON()
163 const SkPMColor* r = sptr + (rightOffset + 1) * srcStrideX; in SkBoxBlur_NEON()
166 sptr += srcStrideX; in SkBoxBlur_NEON()
168 SK_PREFETCH(sptr + (rightOffset + 16) * srcStrideX); in SkBoxBlur_NEON()
DSkBlurImage_opts_SSE4.cpp62 const SkPMColor* sptr = src; in SkBoxBlur_SSE4() local
80 SkColor l = *(sptr - leftOffset * srcStrideX); in SkBoxBlur_SSE4()
84 SkColor r = *(sptr + (rightOffset + 1) * srcStrideX); in SkBoxBlur_SSE4()
87 sptr += srcStrideX; in SkBoxBlur_SSE4()
89 _mm_prefetch(reinterpret_cast<const char*>(sptr + (rightOffset + 1) * srcStrideX), in SkBoxBlur_SSE4()
DSkBlurImage_opts_SSE2.cpp55 const SkPMColor* sptr = src; in SkBoxBlur_SSE2() local
78 SkColor l = *(sptr - leftOffset * srcStrideX); in SkBoxBlur_SSE2()
82 SkColor r = *(sptr + (rightOffset + 1) * srcStrideX); in SkBoxBlur_SSE2()
85 sptr += srcStrideX; in SkBoxBlur_SSE2()
87 _mm_prefetch(reinterpret_cast<const char*>(sptr + (rightOffset + 1) * srcStrideX), in SkBoxBlur_SSE2()
/external/skia/src/opts/
DSkBlurImage_opts_neon.cpp77 const SkPMColor* sptr = *src; in SkDoubleRowBoxBlur_NEON() local
87 load_2_pixels<srcDirection>(sptr - leftOffset * srcStrideX, srcStride)); in SkDoubleRowBoxBlur_NEON()
91 load_2_pixels<srcDirection>(sptr + (rightOffset + 1) * srcStrideX, srcStride)); in SkDoubleRowBoxBlur_NEON()
93 sptr += srcStrideX; in SkDoubleRowBoxBlur_NEON()
140 const SkPMColor* sptr = src; in SkBoxBlur_NEON() local
159 const SkPMColor* l = sptr - leftOffset * srcStrideX; in SkBoxBlur_NEON()
163 const SkPMColor* r = sptr + (rightOffset + 1) * srcStrideX; in SkBoxBlur_NEON()
166 sptr += srcStrideX; in SkBoxBlur_NEON()
168 SK_PREFETCH(sptr + (rightOffset + 16) * srcStrideX); in SkBoxBlur_NEON()
DSkBlurImage_opts_SSE2.cpp55 const SkPMColor* sptr = src; in SkBoxBlur_SSE2() local
82 SkColor l = *(sptr - leftOffset * srcStrideX); in SkBoxBlur_SSE2()
86 SkColor r = *(sptr + (rightOffset + 1) * srcStrideX); in SkBoxBlur_SSE2()
89 sptr += srcStrideX; in SkBoxBlur_SSE2()
91 _mm_prefetch(reinterpret_cast<const char*>(sptr + (rightOffset + 1) * srcStrideX), in SkBoxBlur_SSE2()
/external/webrtc/src/common_audio/signal_processing/
Dget_scaling_square.c26 WebRtc_Word16 *sptr = in_vector; in WebRtcSpl_GetScalingSquare() local
32 sabs = (*sptr > 0 ? *sptr++ : -*sptr++); in WebRtcSpl_GetScalingSquare()
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
Dget_scaling_square.c28 int16_t *sptr = in_vector; in WebRtcSpl_GetScalingSquare() local
34 sabs = (*sptr > 0 ? *sptr++ : -*sptr++); in WebRtcSpl_GetScalingSquare()
/external/libcxx/src/support/win32/
Dsupport.cpp20 int asprintf(char **sptr, const char *__restrict format, ...) in asprintf() argument
25 result = vasprintf(sptr, format, ap); in asprintf()
33 int vasprintf( char **sptr, const char *__restrict format, va_list ap ) in vasprintf() argument
35 *sptr = NULL; in vasprintf()
51 *sptr = p; in vasprintf()
/external/compiler-rt/lib/ubsan/
Dubsan_type_hash.h26 sptr Offset;
30 DynamicTypeInfo(const char *MDTN, sptr Offset, const char *STN) in DynamicTypeInfo()
38 sptr getOffset() const { return Offset; } in getOffset()
Dubsan_type_hash.cc120 sptr Offset) { in isDerivedFromAtOffset()
138 sptr OffsetHere = VTI->base_info[base].__offset_flags >> in isDerivedFromAtOffset()
157 const abi::__class_type_info *Derived, sptr Offset) { in findBaseAtOffset()
172 sptr OffsetHere = VTI->base_info[base].__offset_flags >> in findBaseAtOffset()
193 sptr Offset;
/external/libxml2/
Dchvalid.c170 const xmlChSRange *sptr; in xmlCharInRange() local
179 sptr = rptr->shortRange; in xmlCharInRange()
182 if ((unsigned short) val < sptr[mid].low) { in xmlCharInRange()
185 if ((unsigned short) val > sptr[mid].high) { in xmlCharInRange()
/external/chromium_org/third_party/libxml/src/
Dchvalid.c170 const xmlChSRange *sptr; in xmlCharInRange() local
179 sptr = rptr->shortRange; in xmlCharInRange()
182 if ((unsigned short) val < sptr[mid].low) { in xmlCharInRange()
185 if ((unsigned short) val > sptr[mid].high) { in xmlCharInRange()
/external/llvm/test/Feature/
Dtestalloca.ll13 %sptr = alloca %struct ; <%struct*> [#uses=2]
14 %nsptr = getelementptr %struct* %sptr, i64 0, i32 1 ; <%inners*> [#uses=1]
18 %fptr = getelementptr %struct* %sptr, i64 0, i32 1, i32 0 ; <float*> [#uses=1]
/external/qemu/util/
Dosdep.c502 int vasprintf( char **sptr, const char *fmt, va_list argv ) in vasprintf() argument
504 int wanted = vsnprintf( *sptr = NULL, 0, fmt, argv ); in vasprintf()
505 if( (wanted > 0) && ((*sptr = malloc( 1 + wanted )) != NULL) ) in vasprintf()
506 return vsprintf( *sptr, fmt, argv ); in vasprintf()
511 int asprintf( char **sptr, const char *fmt, ... ) in asprintf() argument
516 retval = vasprintf( sptr, fmt, argv ); in asprintf()
/external/compiler-rt/lib/msan/
Dmsan.cc466 sptr __msan_test_shadow(const void *x, uptr size) { in __msan_test_shadow()
477 sptr offset = __msan_test_shadow(x, size); in __msan_check_mem_is_initialized()
518 volatile sptr retval_tls_p = (sptr)&__msan_retval_tls; in __msan_get_retval_tls_offset()
519 volatile sptr tls_base_p = (sptr)get_tls_base(); in __msan_get_retval_tls_offset()
527 volatile sptr param_tls_p = (sptr)&__msan_param_tls; in __msan_get_param_tls_offset()
528 volatile sptr tls_base_p = (sptr)get_tls_base(); in __msan_get_param_tls_offset()
/external/opencv/cxcore/src/
Dcxutils.cpp720 const float* sptr = s->data.fl; in cvNormalize() local
727 v = sptr[i]; in cvNormalize()
735 v = fabs((double)sptr[i]); in cvNormalize()
741 v = fabs((double)sptr[i]); in cvNormalize()
747 dptr[i] = (float)(sptr[i]*norm); in cvNormalize()
753 const double* sptr = s->data.db; in cvNormalize() local
760 v = sptr[i]; in cvNormalize()
768 v = fabs(sptr[i]); in cvNormalize()
774 v = fabs(sptr[i]); in cvNormalize()
780 dptr[i] = sptr[i]*norm; in cvNormalize()
[all …]
/external/clang/test/CodeGenObjCXX/
Darc-new-delete.mm58 void test_delete(__strong id *sptr, __weak id *wptr) {
63 delete sptr;
73 void test_array_delete(__strong id *sptr, __weak id *wptr) {
83 delete [] sptr;
/external/compiler-rt/lib/asan/
Dasan_allocator.h50 bool AddrIsInside(uptr addr, uptr access_size, sptr *offset) { in AddrIsInside()
57 bool AddrIsAtLeft(uptr addr, uptr access_size, sptr *offset) { in AddrIsAtLeft()
65 bool AddrIsAtRight(uptr addr, uptr access_size, sptr *offset) { in AddrIsAtRight()

123