Home
last modified time | relevance | path

Searched refs:struct_count (Results 1 – 4 of 4) sorted by relevance

/external/tesseract/ccutil/
Dmemry.cpp176 inT32 struct_count; //no of required structs in alloc_struct() local
187 struct_count = (count - 1) / sizeof (MEMUNION); in alloc_struct()
188 if (struct_count < MAX_STRUCTS) { in alloc_struct()
192 index = identify_struct_owner (struct_count, name); in alloc_struct()
194 owner_counts[struct_count][index]++; in alloc_struct()
198 returnelement = free_structs[struct_count]; in alloc_struct()
208 element->ptr = struct_blocks[struct_count]; in alloc_struct()
209 struct_blocks[struct_count] = element; in alloc_struct()
210 blocks_in_use[struct_count]++; in alloc_struct()
213 blocksize = STRUCT_BLOCK_SIZE / (struct_count + 1) - 1; in alloc_struct()
[all …]
Dmemblk.cpp955 inT32 struct_count, //cell size in identify_struct_owner() argument
960 for (index = 0; index < name_counts[struct_count] in identify_struct_owner()
961 && strcmp (name, owner_names[struct_count][index]); index++); in identify_struct_owner()
963 if (index == name_counts[struct_count]) { in identify_struct_owner()
964 name_counts[struct_count]++; in identify_struct_owner()
965 owner_names[struct_count][index] = name; in identify_struct_owner()
966 owner_counts[struct_count][index] = 0; in identify_struct_owner()
985 inT32 struct_count; //no of required structs in check_struct() local
992 struct_count = (count - 1) / sizeof (MEMUNION); in check_struct()
993 if (struct_count < 0 || struct_count >= MAX_STRUCTS) in check_struct()
[all …]
Dmemblk.h175 inT32 struct_count, //cell size
/external/libffi/src/cris/
Dffi.c73 unsigned int struct_count = 0; in ffi_prep_args() local
106 uiLocOnStack = 4 * ecif->cif->nargs + struct_count; in ffi_prep_args()
107 struct_count = struct_count + (*p_arg)->size; in ffi_prep_args()
153 return (struct_count); in ffi_prep_args()