Searched refs:num_codes (Results 1 – 3 of 3) sorted by relevance
| /plan9/sys/src/cmd/gs/src/ |
| H A D | gsfcmap.c | 416 int num_codes; member 478 const int num_codes = cmap->num_codes; in gs_cmap_ToUnicode_next_entry() local 483 for (i = index; i < num_codes; i++) in gs_cmap_ToUnicode_next_entry() 486 if (i >= num_codes) in gs_cmap_ToUnicode_next_entry() 490 for (j = i + 1, c2 = c1 + 1; j < num_codes; j++, c2++) { in gs_cmap_ToUnicode_next_entry() 540 gs_cmap_ToUnicode_alloc(gs_memory_t *mem, int id, int num_codes, int key_size, gs_cmap_t **ppcmap) in gs_cmap_ToUnicode_alloc() argument 568 map = (uchar *)gs_alloc_bytes(mem, num_codes * gs_cmap_ToUnicode_code_bytes, in gs_cmap_ToUnicode_alloc() 572 memset(map, 0, num_codes * gs_cmap_ToUnicode_code_bytes); in gs_cmap_ToUnicode_alloc() 578 cmap->num_codes = num_codes; in gs_cmap_ToUnicode_alloc() 591 const int num_codes = ((gs_cmap_ToUnicode_t *)pcmap)->num_codes; in gs_cmap_ToUnicode_add_pair() local [all …]
|
| H A D | gsfcmap.h | 60 int gs_cmap_ToUnicode_alloc(gs_memory_t *mem, int id, int num_codes, int key_size,
|
| H A D | gdevpdte.c | 97 uint num_codes = 256, key_size = 1; in pdf_add_ToUnicode() local 102 num_codes = pfcid->cidata.common.CIDCount; in pdf_add_ToUnicode() 108 num_codes = pfcid->cidata.common.CIDCount; in pdf_add_ToUnicode() 115 num_codes = 65536; in pdf_add_ToUnicode() 119 code = gs_cmap_ToUnicode_alloc(pdev->pdf_memory, pdfont->rid, num_codes, key_size, in pdf_add_ToUnicode()
|