Searched refs:hist (Results 1 - 25 of 41) sorted by relevance

12

/external/webkit/Source/WebKit/qt/tests/qwebhistory/
H A Dtst_qwebhistory.cpp70 QWebHistory* hist; member in class:tst_QWebHistory
92 hist = page->history();
106 QCOMPARE(hist->currentItem().title(), QString("page5"));
114 QCOMPARE(hist->count(), histsize);
124 hist->back();
128 hist->back();
138 while (hist->canGoBack()) {
139 hist->back();
145 hist->forward();
149 hist
208 save << *hist; local
216 load >> *hist; local
248 save << *hist; local
250 load >> *hist; local
278 save << *hist; local
283 load >> *hist; local
[all...]
/external/opencv/cv/src/
H A Dcvcalccontrasthistogram.cpp46 CvHistogram* hist, int dont_clear ))
50 CvHistogram* hist, int dont_clear ))
63 CvHistogram* hist, int dont_clear )
68 if( !hist || !img )
71 dims = hist->c_dims;
75 if( hist->type != CV_HIST_ARRAY )
82 for( i = 0; i < hist->c_dims; i++ )
84 if( !hist->thresh[i] )
86 assert( hist->chdims[i] );
89 j = hist
[all...]
H A Dcvhistogram.cpp47 CvHistogram *hist = 0; local
58 CV_CALL( hist = (CvHistogram *)cvAlloc( sizeof( CvHistogram )));
60 hist->type = CV_HIST_MAGIC_VAL;
61 hist->thresh2 = 0;
62 hist->bins = 0;
65 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes,
67 CV_CALL( cvCreateData( hist->bins ));
71 CV_CALL( hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE ));
79 CV_CALL( cvSetHistBinRanges( hist, range
92 cvMakeHistHeaderForArray( int dims, int *sizes, CvHistogram *hist, float *data, float **ranges, int uniform ) argument
188 cvThreshHist( CvHistogram* hist, double thresh ) argument
224 cvNormalizeHist( CvHistogram* hist, double factor ) argument
273 cvGetMinMaxHistValue( const CvHistogram* hist, float *value_min, float* value_max, int* idx_min, int* idx_max ) argument
721 cvSetHistBinRanges( CvHistogram* hist, float** ranges, int uniform ) argument
794 icvCalcHistLookupTables8u( const CvHistogram* hist, int dims, int* size, int* tab ) argument
1402 cvCalcArrHist( CvArr** img, CvHistogram* hist, int do_not_clear, const CvArr* mask ) argument
2141 cvCalcArrBackProjectPatch( CvArr** arr, CvArr* dst, CvSize patch_size, CvHistogram* hist, int method, double norm_factor ) argument
2261 cvCalcProbDensity( const CvHistogram* hist, const CvHistogram* hist_mask, CvHistogram* hist_dens, double scale ) argument
2313 CvHistogram* hist = 0; local
2461 const CvHistogram * hist = (const CvHistogram *) struct_ptr; local
[all...]
H A Dcvthresh.cpp197 icvGetThreshVal_Otsu( const CvHistogram* hist )
214 if( !CV_IS_HIST(hist) || CV_IS_SPARSE_HIST(hist) || hist->mat.dims != 1 )
218 count = hist->mat.dim[0].size;
219 h = (float*)cvPtr1D( hist->bins, 0 );
221 if( !CV_HIST_HAS_RANGES(hist) || CV_IS_UNIFORM_HIST(hist) )
223 if( CV_HIST_HAS_RANGES(hist) )
225 low = hist
299 CvHistogram* hist = 0; local
[all...]
H A Dcvpgh.cpp320 /* convert hist to floats */
334 cvCalcPGH( const CvSeq * contour, CvHistogram * hist )
343 if( !CV_IS_HIST(hist))
346 if( CV_IS_SPARSE_HIST( hist ))
349 dims = cvGetDims( hist->bins, size );
357 IPPI_CALL( icvCalcPGH( contour, ((CvMatND*)(hist->bins))->data.fl, size[0], size[1] ));
H A Dcvmotempl.cpp288 CvHistogram* hist = 0; local
328 CV_CALL( hist = cvCreateHist( 1, &hist_size, CV_HIST_ARRAY, &ranges ));
330 cvCalcArrHist( &_orient, hist, 0, mask );
333 cvGetMinMaxHistValue( hist, 0, 0, 0, &base_orient );
408 cvReleaseHist( &hist );
/external/srec/srec/clib/
H A Dspecnorm.c48 else spec->hist[spec_val - spec->low_entry] += UNIT_SIZE;
105 count += spec->hist[ii];
111 cumval += spec->hist[ii];
116 count += spec->hist[jj];
117 accum += spec->hist[jj] * (jj - ii);
141 count += spec->hist[jj];
142 accum += spec->hist[jj] * ii;
149 totcount += spec->hist[jj];
235 spec->hist = (long *) CALLOC_CLR(high_entry - low_entry + 1,
236 sizeof(int), "clib.spec.hist");
[all...]
/external/blktrace/btt/
H A Dunplug_hist.c30 int hist[NBKTS * sizeof(int)]; member in struct:hist_bkt
41 memset(hbp->hist, 0, NBKTS * sizeof(int));
60 hbp->hist[idx]++;
78 fprintf(fp, "%d %d\n", i, hbp->hist[i]);
/external/libvorbis/vq/
H A Dbookutil.h39 extern void build_tree_from_lengths(int vals, long *hist, long *lengths);
40 extern void build_tree_from_lengths0(int vals, long *hist, long *lengths);
H A Dbookutil.c338 void build_tree_from_lengths(int vals, long *hist, long *lengths){ argument
342 memcpy(histsave,hist,vals*sizeof(long));
356 if(least==-1 || hist[j]<=least){
357 least=hist[j];
362 if((least==-1 || hist[j]<=least) && membership[j]!=first){
363 least=hist[j];
372 least=hist[first]+hist[second];
376 hist[j]=least;
407 void build_tree_from_lengths0(int vals, long *hist, lon argument
[all...]
H A Dhuffbuild.c130 long *hist=_ogg_calloc(vals,sizeof(long)); local
133 for(j=loval;j<vals;j++)hist[j]=guard;
141 hist[val]++;
149 build_tree_from_lengths0(vals,hist,lengths);
/external/oprofile/pp/
H A Dopgprof.cpp186 u16 * hist = (u16*)xcalloc(histsize, sizeof(u16)); local
208 if (hist[pos] + count > (u16)-1) {
209 hist[pos] = (u16)-1;
211 << hist[pos] + count - ((u16)-1) << endl;
213 hist[pos] += (u16)count;
218 op_write_file(fp, hist, histsize * sizeof(u16));
225 free(hist);
/external/srec/srec/include/
H A Dspecnorm.h55 long *hist; member in struct:__anon12456
/external/opencv/cv/include/
H A Dcvcompat.h124 #define cvCalcHistMask(img, mask, hist, doNotClear) cvCalcHist(img, hist, doNotClear, mask)
479 #define cvQueryHistValue_1D( hist, idx0 ) \
480 ((float)cvGetReal1D( (hist)->bins, (idx0)))
481 #define cvQueryHistValue_2D( hist, idx0, idx1 ) \
482 ((float)cvGetReal2D( (hist)->bins, (idx0), (idx1)))
483 #define cvQueryHistValue_3D( hist, idx0, idx1, idx2 ) \
484 ((float)cvGetReal3D( (hist)->bins, (idx0), (idx1), (idx2)))
485 #define cvQueryHistValue_nD( hist, idx ) \
486 ((float)cvGetRealND( (hist)
[all...]
H A Dcv.h779 CVAPI(void) cvCalcPGH( const CvSeq* contour, CvHistogram* hist );
829 CVAPI(void) cvSetHistBinRanges( CvHistogram* hist, float** ranges,
834 int dims, int* sizes, CvHistogram* hist,
839 CVAPI(void) cvReleaseHist( CvHistogram** hist ); variable
842 CVAPI(void) cvClearHist( CvHistogram* hist ); variable
845 CVAPI(void) cvGetMinMaxHistValue( const CvHistogram* hist,
853 CVAPI(void) cvNormalizeHist( CvHistogram* hist, double factor );
857 CVAPI(void) cvThreshHist( CvHistogram* hist, double threshold );
880 CVAPI(void) cvCalcArrHist( CvArr** arr, CvHistogram* hist,
884 CV_INLINE void cvCalcHist( IplImage** image, CvHistogram* hist, argument
[all...]
/external/jdiff/src/jdiff/
H A DHTMLStatistics.java195 int[] hist = new int[101];
197 hist[i] = 0;
204 hist[bucket]++;
228 total += hist[i];
231 if (hist[i] != 0) {
234 h_.writeText(" <TD>" + (hist[i]/total) + "</TD>");
235 h_.writeText(" <TD><img alt=\"|\" src=\"../black.gif\" height=20 width=" + (hist[i]*300/total) + "></TD>");
242 if (hist[i] != 0) {
243 h_.writeText(i + "," + (hist[i]/total));
282 int[] hist
[all...]
/external/netperf/
H A DAndroid.mk21 L_COMMON_SRC := hist.h netlib.c netsh.c nettest_bsd.c nettest_dlpi.c \
/external/opencv/cxcore/include/
H A Dcxtypes.h806 it turns to CV_HIST_UNIFORM_FLAG of hist->type */
819 #define CV_IS_HIST( hist ) \
820 ((hist) != NULL && \
821 (((CvHistogram*)(hist))->type & CV_MAGIC_MASK) == CV_HIST_MAGIC_VAL && \
822 (hist)->bins != NULL)
824 #define CV_IS_UNIFORM_HIST( hist ) \
825 (((hist)->type & CV_HIST_UNIFORM_FLAG) != 0)
827 #define CV_IS_SPARSE_HIST( hist ) \
828 CV_IS_SPARSE_MAT((hist)->bins)
830 #define CV_HIST_HAS_RANGES( hist ) \
[all...]
/external/libpng/
H A Dpngset.c182 png_set_hIST(png_structp png_ptr, png_infop info_ptr, png_uint_16p hist) argument
205 png_ptr->hist = (png_uint_16p)png_malloc_warn(png_ptr,
207 if (png_ptr->hist == NULL)
214 png_ptr->hist[i] = hist[i];
215 info_ptr->hist = png_ptr->hist;
H A Dpngget.c562 png_get_hIST(png_structp png_ptr, png_infop info_ptr, png_uint_16p *hist) argument
567 && hist != NULL)
569 *hist = info_ptr->hist;
H A Dpng.c554 png_free(png_ptr, info_ptr->hist);
555 info_ptr->hist = NULL;
/external/qemu/distrib/libpng-1.2.19/
H A Dpngset.c218 png_set_hIST(png_structp png_ptr, png_infop info_ptr, png_uint_16p hist) argument
238 png_ptr->hist = (png_uint_16p)png_malloc_warn(png_ptr,
240 if (png_ptr->hist == NULL)
247 png_ptr->hist[i] = hist[i];
248 info_ptr->hist = png_ptr->hist;
H A Dpngget.c525 png_get_hIST(png_structp png_ptr, png_infop info_ptr, png_uint_16p *hist) argument
528 && hist != NULL)
531 *hist = info_ptr->hist;
/external/valgrind/tsan/
H A Dthread_sanitizer.cc5323 AtomicHistoryEntry hist [kHistSize];
8802 AtomicHistoryEntry& hprv = atomic->hist
8804 AtomicHistoryEntry& hist = atomic->hist
8807 hist.val = v;
8808 hist.tid = thr->tid();
8809 hist.clk = thr->vts()->clk(thr->tid());
8810 if (hist.vts != 0) {
8811 VTS::Unref(hist.vts);
8812 hist
[all...]
/external/linux-tools-perf/
H A DAndroid.mk55 util/hist.c \

Completed in 638 milliseconds

12