Home
last modified time | relevance | path

Searched refs:alloc_mem (Results 1 – 17 of 17) sorted by relevance

/external/tesseract/ccstruct/
Dquspline.cpp41 xcoords = (inT32 *) alloc_mem ((count + 1) * sizeof (inT32)); in QSPLINE()
42 quadratics = (QUAD_COEFFS *) alloc_mem (count * sizeof (QUAD_COEFFS)); in QSPLINE()
75 xcoords = (inT32 *) alloc_mem ((segcount + 1) * sizeof (inT32)); in QSPLINE()
76 ptcounts = (inT32 *) alloc_mem ((segcount + 1) * sizeof (inT32)); in QSPLINE()
77 quadratics = (QUAD_COEFFS *) alloc_mem (segcount * sizeof (QUAD_COEFFS)); in QSPLINE()
173 xcoords = (inT32 *) alloc_mem ((segments + 1) * sizeof (inT32)); in operator =()
174 quadratics = (QUAD_COEFFS *) alloc_mem (segments * sizeof (QUAD_COEFFS)); in operator =()
317 xstarts = (int *) alloc_mem ((segments + 1 + increment) * sizeof (int)); in extrapolate()
319 (QUAD_COEFFS *) alloc_mem ((segments + increment) * sizeof (QUAD_COEFFS)); in extrapolate()
Dcoutln.cpp53 steps = (uinT8 *) alloc_mem (step_mem()); in C_OUTLINE()
88 steps = (uinT8 *) alloc_mem (step_mem()); in C_OUTLINE()
153 steps = (uinT8 *) alloc_mem (step_mem()); in C_OUTLINE()
676 steps = (uinT8 *) alloc_mem (step_mem()); in operator =()
Dlmedsq.cpp63 samples = (FCOORD *) alloc_mem (size * sizeof (FCOORD)); in LMS()
64 errors = (float *) alloc_mem (size * sizeof (float)); in LMS()
Dstatistc.cpp53 buckets = (inT32 *) alloc_mem ((max - min) * sizeof (inT32)); in STATS()
88 buckets = (inT32 *) alloc_mem ((max - min) * sizeof (inT32)); in set_range()
396 centres = (float *) alloc_mem ((max_clusters + 1) * sizeof (float)); in cluster()
/external/tesseract/cutil/
Dfreelist.cpp30 return ((int *) alloc_mem (size)); in memalloc()
44 newbuf = (int *) alloc_mem (size); in memrealloc()
/external/tesseract/ccutil/
Dmemry.h108 mem=(type*)alloc_mem((x)*(y)*sizeof(type)); /*get memory*/\
109 ptrs=(type**)alloc_mem((x)*sizeof(type*)); /*get ptrs*/\
177 extern DLLSYM void *alloc_mem( //get some memory
Dmemry.cpp108 string = (char *) alloc_mem (count); in alloc_string()
229 returnelement = (MEMUNION *) alloc_mem (count); in alloc_struct()
418 DLLSYM void *alloc_mem( //get some memory in alloc_mem() function
Dserialis.cpp37 ptr = alloc_mem (size); in de_serialise_bytes()
/external/tesseract/textord/
Doldbasel.cpp133 rows = (TO_ROW **) alloc_mem (rowcount * sizeof (TO_ROW *)); in correlate_lines()
362 partids = (char *) alloc_mem (blobcount * sizeof (char)); in find_textlines()
363 xcoords = (int *) alloc_mem (blobcount * sizeof (int)); in find_textlines()
364 ycoords = (int *) alloc_mem (blobcount * sizeof (int)); in find_textlines()
365 blobcoords = (TBOX *) alloc_mem (blobcount * sizeof (TBOX)); in find_textlines()
366 ydiffs = (float *) alloc_mem (blobcount * sizeof (float)); in find_textlines()
Dpithsync.cpp366 cutpts = (FPCUTPT *) alloc_mem ((right_edge - left_edge + pitch * 2 + 1) in check_pitch_sync2()
546 cutpts = (FPCUTPT *) alloc_mem ((right_edge - left_edge + pitch * 2 + 1) in check_pitch_sync3()
548 mins = (BOOL8 *) alloc_mem ((pitch_error * 2 + 1) * sizeof (BOOL8)); in check_pitch_sync3()
Dgap_map.cpp73 map = (inT16 *) alloc_mem ((map_max + 1) * sizeof (inT16)); in GAPMAP()
Dmakerow.cpp301 gradients = (float *) alloc_mem (blob_count * sizeof (float)); in compute_page_skew()
303 errors = (float *) alloc_mem (blob_count * sizeof (float)); in compute_page_skew()
644 deltas = (inT32 *) alloc_mem (line_count * sizeof (inT32)); in delete_non_dropout_rows()
645 occupation = (inT32 *) alloc_mem (line_count * sizeof (inT32)); in delete_non_dropout_rows()
1207 rows = (TO_ROW **) alloc_mem (rowcount * sizeof (TO_ROW *)); in compute_row_stats()
2164 (inT32 *) alloc_mem ((row->blob_list ()->length () + 1) * sizeof (inT32)); in make_baseline_spline()
2168 coeffs = (double *) alloc_mem (segments * 3 * sizeof (double)); in make_baseline_spline()
2200 coeffs = (double *) alloc_mem (3 * sizeof (double)); in make_baseline_spline()
2350 coeffs = (double *) alloc_mem (segments * 3 * sizeof (double)); in linear_spline_baseline()
Dtordmain.cpp744 word_dud = (inT8 *) alloc_mem (ok_words * sizeof (inT8)); in clean_noise_from_words()
899 (inT32 *) alloc_mem ((blob_count + row->baseline.segments + 1) * in tweak_row_baseline()
902 (double *) alloc_mem ((blob_count + row->baseline.segments) * 3 * in tweak_row_baseline()
/external/tesseract/ccmain/
Dcharcut.cpp56 min = (inT16 *) alloc_mem (count * sizeof (inT16)); in ELISTIZE()
57 max = (inT16 *) alloc_mem (count * sizeof (inT16)); in ELISTIZE()
Dreject.cpp533 ratings = (float *) alloc_mem (blob_count * sizeof (float)); in compute_reject_threshold()
1173 input_vector = (float *) alloc_mem (input_nodes * sizeof (float)); in nn_match_char()
/external/tesseract/image/
Dimg.h267 line = (uinT8 *) alloc_mem (linewidth * sizeof (uinT8)); in init()
Dimgs.cpp1690 window = (uinT8 **) alloc_mem (win_height * sizeof (uinT8 *)); in convolver()