Lines Matching defs:table

342  * but someone has length and will includes NULLs in table as one of data.
343 * Please note, CCL table which has a length data and data will include NULLs,
826 * Insert CCL entry to CCL table with maintain optimized order.
835 ccl_chars_t *table;
842 dprintf("Inserting {%o, %o} to table %o\n", cs, ce, table_base);
844 * Searching the table to find out where should put the new item.
846 for (i = 0, table = table_base; i < table_size; i++, table++) {
847 tns = table->cc_ns;
848 tcs = table->cc_cs;
849 tne = table->cc_ne;
850 tce = table->cc_ce;
853 * Quick! insert to font of current table entries.
857 for (; i < table_size; i++, table++) {
858 tns = table->cc_ns;
859 tcs = table->cc_cs;
860 tne = table->cc_ne;
861 tce = table->cc_ce;
862 table->cc_ns = ns;
863 table->cc_cs = cs;
864 table->cc_ne = ne;
865 table->cc_ce = ce;
878 table->cc_ns = ns;
879 table->cc_cs = cs;
890 * Adding new one to end of table.
892 table->cc_ns = ns;
893 table->cc_cs = cs;
894 table->cc_ne = ne;
895 table->cc_ce = ce;
909 table->cc_ne = ne;
910 table->cc_ce = ce;
915 saved_table = table++;
922 for (; i < table_size; i++, table++) {
923 if (MLCMPLT(ne, ce, table->cc_ns, (table->cc_cs - 1))) {
926 if (MLCMPLE(table->cc_ns, (table->cc_cs - 1), ne, ce) &&
927 MLCMPLE(ne, ce, table->cc_ne, (table->cc_ce + 1))) {
929 * Tack with this table.
931 if (MLCMPLT(ne, ce, table->cc_ne, table->cc_ce)) {
932 ne = table->cc_ne;
933 ce = table->cc_ce;
935 table++;
950 for (; i < table_size; i++, table++)
951 *(++saved_table) = *table;
972 ccl_chars_t *table;
982 for (i = 0, table = table_base; i < table_size; i++, table++) {
983 tns = table->cc_ns;
984 tcs = table->cc_cs;
985 tne = table->cc_ne;
986 tce = table->cc_ce;
994 table->cc_ns = ne;
995 table->cc_cs = ce + 1;
1002 table->cc_ns = ne;
1003 table->cc_cs = ce + 1;
1007 for (; i < table_size; i++, table++) {
1008 ns = table->cc_ns;
1009 cs = table->cc_cs;
1010 ne = table->cc_ne;
1011 ce = table->cc_ce;
1012 table->cc_ns = tns;
1013 table->cc_cs = tcs;
1014 table->cc_ne = tne;
1015 table->cc_ce = tce;
1027 * Shrink current table(type 2).
1029 table->cc_ne = ns;
1030 table->cc_ce = cs - 1;
1031 table++;
1038 saved_table = table;
1039 for (; i < table_size; i++, table++) {
1041 table->cc_ns, table->cc_cs)) {
1047 } else if (MLCMPGT(table->cc_ne, table->cc_ce,
1052 table->cc_ns = ne;
1053 table->cc_cs = ce + 1;
1064 *saved_table++ = *table++;
1073 dump_table(ccl_chars_t *table, int size)
1084 printf("Duming table %o with size %d\n", table, size);
1086 for (i = 0; i < size; i++, table++) {
1087 printf("{%3o, %3o}, ", table->cc_cs, table->cc_ce);