Home | History | Annotate | Download | only in makeconv

Lines Matching defs:section

394  * One function invocation generates one section table.
399 * 2. Allocate the section table with possible optimization for linear access.
400 * 3. Write temporary version of the section table with start indexes of
403 * 0: write 0 as a result value (unused byte in linear-access section table)
421 uint32_t *section;
444 /* step 2: allocate the section; set count, section */
460 fprintf(stderr, "error: toUnicode extension table section overflow: %ld section entries\n", (long)count);
464 /* allocate the section: 1 entry for the header + count for the items */
465 section=(uint32_t *)utm_allocN(extData->toUTable, 1+count);
467 /* write the section header */
468 *section++=((uint32_t)count<<UCNV_EXT_TO_U_BYTE_SHIFT)|defaultValue;
470 /* step 3: write temporary section table with subsection starts */
472 j=0; /* section table index */
483 section[j++]=((uint32_t)prev<<UCNV_EXT_TO_U_BYTE_SHIFT)|(uint32_t)i;
490 section[j++]=((uint32_t)high<<UCNV_EXT_TO_U_BYTE_SHIFT)|(uint32_t)i;
496 subLimit=UCNV_EXT_TO_U_GET_VALUE(section[0]);
499 subLimit= (j+1)<count ? UCNV_EXT_TO_U_GET_VALUE(section[j+1]) : limit;
502 section[j]&=~UCNV_EXT_TO_U_VALUE_MASK;
529 section[j]|=defaultValue;
532 section[j]|=(uint32_t)utm_countItems(extData->toUTable);
701 * output section consists of two arrays, one for input UChars and one
742 /* step 2: allocate the section; set count, section */
746 /* allocate the section: 1 entry for the header + count for the items */
750 /* write the section header */
754 /* step 3: write temporary section table with subsection starts */
756 j=0; /* section table index */
946 * and start a recursion on the corresponding mappings section