Home
last modified time | relevance | path

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

12

/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/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 …]
Dcvsegmentation.cpp401 uchar* sptr = src->data.ptr; in cvPyrMeanShiftFiltering() local
439 for( i = 0; i < size.height; i++, sptr += sstep - size.width*3, in cvPyrMeanShiftFiltering()
443 for( j = 0; j < size.width; j++, sptr += 3, dptr += 3 ) in cvPyrMeanShiftFiltering()
451 c0 = sptr[0], c1 = sptr[1], c2 = sptr[2]; in cvPyrMeanShiftFiltering()
468 ptr = sptr + (miny - i)*sstep + (minx - j)*3; in cvPyrMeanShiftFiltering()
Dcvsmooth.cpp1092 const uchar* sptr = temp->data.ptr + (i+radius)*temp->step + radius*cn; in icvBilateralFiltering_8u() local
1100 int val0 = sptr[j]; in icvBilateralFiltering_8u()
1103 int val = sptr[j + space_ofs[k]]; in icvBilateralFiltering_8u()
1118 int b0 = sptr[j], g0 = sptr[j+1], r0 = sptr[j+2]; in icvBilateralFiltering_8u()
1121 const uchar* sptr_k = sptr + j + space_ofs[k]; in icvBilateralFiltering_8u()
1235 const float* sptr = temp->data.fl + (i+radius)*temp_step + radius*cn; in icvBilateralFiltering_32f() local
1243 float val0 = sptr[j]; in icvBilateralFiltering_32f()
1246 float val = sptr[j + space_ofs[k]]; in icvBilateralFiltering_32f()
1263 float b0 = sptr[j], g0 = sptr[j+1], r0 = sptr[j+2]; in icvBilateralFiltering_32f()
1266 const float* sptr_k = sptr + j + space_ofs[k]; in icvBilateralFiltering_32f()
Dcvstereobm.cpp115 const uchar* sptr = src->data.ptr; in icvPrefilter() local
125 vsum[x] = (ushort)(sptr[x]*(wsz2 + 2)); in icvPrefilter()
130 vsum[x] = (ushort)(vsum[x] + sptr[srcstep*y + x]); in icvPrefilter()
135 const uchar* top = sptr + srcstep*MAX(y-wsz2-1,0); in icvPrefilter()
136 const uchar* bottom = sptr + srcstep*MIN(y+wsz2,size.height-1); in icvPrefilter()
137 const uchar* prev = sptr + srcstep*MAX(y-1,0); in icvPrefilter()
138 const uchar* curr = sptr + srcstep*y; in icvPrefilter()
139 const uchar* next = sptr + srcstep*MIN(y+1,size.height-1); in icvPrefilter()
Dcvstereogc.cpp454 const uchar* sptr = src->data.ptr + sstep*y; in icvInitGraySubpix() local
455 const uchar* sptr_prev = y > 0 ? sptr - sstep : sptr; in icvInitGraySubpix()
456 const uchar* sptr_next = y < rows-1 ? sptr + sstep : sptr; in icvInitGraySubpix()
458 int v_prev = sptr[0]; in icvInitGraySubpix()
462 int v = sptr[x], v1, minv = v, maxv = v; in icvInitGraySubpix()
472 v1 = (v + sptr[x+1])/2; in icvInitGraySubpix()
/external/qemu/distrib/libpng-1.2.19/
Dpnggccrd.c2251 png_bytep sptr, dp; in png_do_read_interlace() local
2259 sptr = row + (width - 1) * pixel_bytes; in png_do_read_interlace()
2325 "1" (sptr), // esi/rsi in png_do_read_interlace()
2342 sptr -= width_mmx*BPP3; in png_do_read_interlace()
2349 png_memcpy(v, sptr, BPP3); in png_do_read_interlace()
2355 sptr -= BPP3; in png_do_read_interlace()
2389 "1" (sptr), // esi/rsi in png_do_read_interlace()
2439 "1" (sptr), // esi/rsi in png_do_read_interlace()
2486 "1" (sptr), // esi/rsi in png_do_read_interlace()
2495 sptr -= (width_mmx*BPP4 - BPP4); // sign fixed in png_do_read_interlace()
[all …]
Dpngvcrd.c976 png_bytep sptr; in png_combine_row() local
985 sptr = png_ptr->row_buf + 1 + offset_table[png_ptr->pass]* in png_combine_row()
993 png_memcpy(dp, sptr, pixel_bytes); in png_combine_row()
994 sptr += incr1; in png_combine_row()
1211 png_bytep sptr, dp; in png_do_read_interlace() local
1218 sptr = row + (width - 1) * pixel_bytes; in png_do_read_interlace()
1244 mov esi, sptr in png_do_read_interlace()
1272 sptr -= width_mmx*3; in png_do_read_interlace()
1279 png_memcpy(v, sptr, 3); in png_do_read_interlace()
1285 sptr -= 3; in png_do_read_interlace()
[all …]
/external/webkit/Tools/android/flex-2.5.4a/
Dmisc.c558 int sptr = 1; local
560 while ( isascii( array[sptr] ) &&
561 isdigit( array[sptr] ) )
566 ++sptr;
568 c = array[sptr];
569 array[sptr] = '\0';
573 array[sptr] = c;
580 int sptr = 2; local
582 while ( isascii( array[sptr] ) &&
583 isxdigit( (char) array[sptr] ) )
[all …]
/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/qemu/
Dosdep.c192 int vasprintf( char **sptr, char *fmt, va_list argv ) in vasprintf() argument
194 int wanted = vsnprintf( *sptr = NULL, 0, fmt, argv ); in vasprintf()
195 if( (wanted > 0) && ((*sptr = malloc( 1 + wanted )) != NULL) ) in vasprintf()
196 return vsprintf( *sptr, fmt, argv ); in vasprintf()
201 int asprintf( char **sptr, char *fmt, ... ) in asprintf() argument
206 retval = vasprintf( sptr, fmt, argv ); in asprintf()
/external/clang/test/SemaObjCXX/
Darc-object-init-destroy.mm5 void test_pseudo_destructors(__strong id *sptr, __weak id *wptr) {
6 sptr->~id(); // okay
8 sptr->~strong_id(); // okay
10sptr->~weak_id(); // expected-error{{pseudo-destructor destroys object of type '__strong id' with …
13 sptr->id::~id(); // okay
17 void test_delete(__strong id *sptr, __weak id *wptr) {
18 delete sptr;
20 …delete [] sptr; // expected-warning{{destroying an array of '__strong id'; this array must not hav…
/external/skia/src/effects/
DSkBlurImageFilter.cpp49 const SkColor* sptr = src.getAddr32(0, y); in boxBlurX() local
57 SkColor l = *(sptr - leftOffset); in boxBlurX()
64 SkColor r = *(sptr + rightOffset + 1); in boxBlurX()
70 sptr++; in boxBlurX()
94 const SkColor* sptr = src.getAddr32(x, 0); in boxBlurY() local
102 SkColor l = *(sptr - topOffset * srcStride); in boxBlurY()
109 SkColor r = *(sptr + (bottomOffset + 1) * srcStride); in boxBlurY()
115 sptr += srcStride; in boxBlurY()
/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/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/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.mm57 void test_delete(__strong id *sptr, __weak id *wptr) {
62 delete sptr;
72 void test_array_delete(__strong id *sptr, __weak id *wptr) {
83 delete [] sptr;
/external/aac/libSYS/src/
Dwav_file.cpp266 SHORT *sptr = (SHORT*)buffer; in WAV_InputRead() local
294 *sptr++ = (SHORT) tmp; in WAV_InputRead()
304 sptr[i] = ulaw2pcm(bptr[i<<1]) ; in WAV_InputRead()
462 SHORT *sptr = (SHORT*)sampleBuffer; in WAV_OutputWrite() local
484 case 16: tmp = *sptr++; break; in WAV_OutputWrite()
/external/clang/test/SemaCXX/
Dconstant-expression-cxx11.cpp294 constexpr S* sptr = &s; variable
295 constexpr bool dyncast = sptr == dynamic_cast<S*>(sptr); // expected-error {{constant expression}} …
299 int a : dynamic_cast<S*>(sptr) == dynamic_cast<S*>(sptr); // \
302 int b : reinterpret_cast<S*>(sptr) == reinterpret_cast<S*>(sptr); // \
305 int c : (S*)(long)(sptr) == (S*)(long)(sptr); // \
311 int e : (Str*)(sptr) == (Str*)(sptr); // \
314 int f : &(U&)(*sptr) == &(U&)(*sptr); // \
317 int g : (S*)(void*)(sptr) == sptr; // \
/external/hyphenation/
Dcsutil.h14 char * mystrsep(char ** sptr, const char delim);
/external/openssl/apps/
Denc.c519 unsigned char *sptr; in MAIN() local
520 if(nosalt) sptr = NULL; in MAIN()
552 sptr = salt; in MAIN()
555 EVP_BytesToKey(cipher,dgst,sptr, in MAIN()
/external/clang/test/PCH/
Dexprs.c72 compound_literal *sptr = &s; variable

12