| 1 | #ifndef _JUDYPRIVATE1L_INCLUDED |
| 2 | #define _JUDYPRIVATE1L_INCLUDED |
| 3 | // _________________ |
| 4 | // |
| 5 | // Copyright (C) 2000 - 2002 Hewlett-Packard Company |
| 6 | // |
| 7 | // This program is free software; you can redistribute it and/or modify it |
| 8 | // under the term of the GNU Lesser General Public License as published by the |
| 9 | // Free Software Foundation; either version 2 of the License, or (at your |
| 10 | // option) any later version. |
| 11 | // |
| 12 | // This program is distributed in the hope that it will be useful, but WITHOUT |
| 13 | // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 14 | // FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License |
| 15 | // for more details. |
| 16 | // |
| 17 | // You should have received a copy of the GNU Lesser General Public License |
| 18 | // along with this program; if not, write to the Free Software Foundation, |
| 19 | // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 20 | // _________________ |
| 21 | |
| 22 | // @(#) $Revision: 4.31 $ $Source: /judy/src/JudyCommon/JudyPrivate1L.h $ |
| 23 | |
| 24 | // **************************************************************************** |
| 25 | // Declare common cJU_* names for JP Types that occur in both Judy1 and JudyL, |
| 26 | // for use by code that ifdefs JUDY1 and JUDYL. Only JP Types common to both |
| 27 | // Judy1 and JudyL are #defined here with equivalent cJU_* names. JP Types |
| 28 | // unique to only Judy1 or JudyL are listed in comments, so the type lists |
| 29 | // match the Judy1.h and JudyL.h files. |
| 30 | // |
| 31 | // This file also defines cJU_* for other JP-related constants and functions |
| 32 | // that some shared JUDY1/JUDYL code finds handy. |
| 33 | // |
| 34 | // At least in principle this file should be included AFTER Judy1.h or JudyL.h. |
| 35 | // |
| 36 | // WARNING: This file must be kept consistent with the enums in Judy1.h and |
| 37 | // JudyL.h. |
| 38 | // |
| 39 | // TBD: You might think, why not define common cJU_* enums in, say, |
| 40 | // JudyPrivate.h, and then inherit them into superset enums in Judy1.h and |
| 41 | // JudyL.h? The problem is that the enum lists for each class (cJ1_* and |
| 42 | // cJL_*) must be numerically "packed" into the correct order, for two reasons: |
| 43 | // (1) allow the compiler to generate "tight" switch statements with no wasted |
| 44 | // slots (although this is not very big), and (2) allow calculations using the |
| 45 | // enum values, although this is also not an issue if the calculations are only |
| 46 | // within each cJ*_JPIMMED_*_* class and the members are packed within the |
| 47 | // class. |
| 48 | |
| 49 | #ifdef JUDY1 |
| 50 | |
| 51 | #define cJU_JRPNULL cJ1_JRPNULL |
| 52 | #define cJU_JPNULL1 cJ1_JPNULL1 |
| 53 | #define cJU_JPNULL2 cJ1_JPNULL2 |
| 54 | #define cJU_JPNULL3 cJ1_JPNULL3 |
| 55 | #ifdef JU_64BIT |
| 56 | #define cJU_JPNULL4 cJ1_JPNULL4 |
| 57 | #define cJU_JPNULL5 cJ1_JPNULL5 |
| 58 | #define cJU_JPNULL6 cJ1_JPNULL6 |
| 59 | #define cJU_JPNULL7 cJ1_JPNULL7 |
| 60 | #endif |
| 61 | #define cJU_JPNULLMAX cJ1_JPNULLMAX |
| 62 | #define cJU_JPBRANCH_L2 cJ1_JPBRANCH_L2 |
| 63 | #define cJU_JPBRANCH_L3 cJ1_JPBRANCH_L3 |
| 64 | #ifdef JU_64BIT |
| 65 | #define cJU_JPBRANCH_L4 cJ1_JPBRANCH_L4 |
| 66 | #define cJU_JPBRANCH_L5 cJ1_JPBRANCH_L5 |
| 67 | #define cJU_JPBRANCH_L6 cJ1_JPBRANCH_L6 |
| 68 | #define cJU_JPBRANCH_L7 cJ1_JPBRANCH_L7 |
| 69 | #endif |
| 70 | #define cJU_JPBRANCH_L cJ1_JPBRANCH_L |
| 71 | #define j__U_BranchBJPPopToWords j__1_BranchBJPPopToWords |
| 72 | #define cJU_JPBRANCH_B2 cJ1_JPBRANCH_B2 |
| 73 | #define cJU_JPBRANCH_B3 cJ1_JPBRANCH_B3 |
| 74 | #ifdef JU_64BIT |
| 75 | #define cJU_JPBRANCH_B4 cJ1_JPBRANCH_B4 |
| 76 | #define cJU_JPBRANCH_B5 cJ1_JPBRANCH_B5 |
| 77 | #define cJU_JPBRANCH_B6 cJ1_JPBRANCH_B6 |
| 78 | #define cJU_JPBRANCH_B7 cJ1_JPBRANCH_B7 |
| 79 | #endif |
| 80 | #define cJU_JPBRANCH_B cJ1_JPBRANCH_B |
| 81 | #define cJU_JPBRANCH_U2 cJ1_JPBRANCH_U2 |
| 82 | #define cJU_JPBRANCH_U3 cJ1_JPBRANCH_U3 |
| 83 | #ifdef JU_64BIT |
| 84 | #define cJU_JPBRANCH_U4 cJ1_JPBRANCH_U4 |
| 85 | #define cJU_JPBRANCH_U5 cJ1_JPBRANCH_U5 |
| 86 | #define cJU_JPBRANCH_U6 cJ1_JPBRANCH_U6 |
| 87 | #define cJU_JPBRANCH_U7 cJ1_JPBRANCH_U7 |
| 88 | #endif |
| 89 | #define cJU_JPBRANCH_U cJ1_JPBRANCH_U |
| 90 | #ifndef JU_64BIT |
| 91 | #define cJU_JPLEAF1 cJ1_JPLEAF1 |
| 92 | #endif |
| 93 | #define cJU_JPLEAF2 cJ1_JPLEAF2 |
| 94 | #define cJU_JPLEAF3 cJ1_JPLEAF3 |
| 95 | #ifdef JU_64BIT |
| 96 | #define cJU_JPLEAF4 cJ1_JPLEAF4 |
| 97 | #define cJU_JPLEAF5 cJ1_JPLEAF5 |
| 98 | #define cJU_JPLEAF6 cJ1_JPLEAF6 |
| 99 | #define cJU_JPLEAF7 cJ1_JPLEAF7 |
| 100 | #endif |
| 101 | #define cJU_JPLEAF_B1 cJ1_JPLEAF_B1 |
| 102 | // cJ1_JPFULLPOPU1 |
| 103 | #define cJU_JPIMMED_1_01 cJ1_JPIMMED_1_01 |
| 104 | #define cJU_JPIMMED_2_01 cJ1_JPIMMED_2_01 |
| 105 | #define cJU_JPIMMED_3_01 cJ1_JPIMMED_3_01 |
| 106 | #ifdef JU_64BIT |
| 107 | #define cJU_JPIMMED_4_01 cJ1_JPIMMED_4_01 |
| 108 | #define cJU_JPIMMED_5_01 cJ1_JPIMMED_5_01 |
| 109 | #define cJU_JPIMMED_6_01 cJ1_JPIMMED_6_01 |
| 110 | #define cJU_JPIMMED_7_01 cJ1_JPIMMED_7_01 |
| 111 | #endif |
| 112 | #define cJU_JPIMMED_1_02 cJ1_JPIMMED_1_02 |
| 113 | #define cJU_JPIMMED_1_03 cJ1_JPIMMED_1_03 |
| 114 | #define cJU_JPIMMED_1_04 cJ1_JPIMMED_1_04 |
| 115 | #define cJU_JPIMMED_1_05 cJ1_JPIMMED_1_05 |
| 116 | #define cJU_JPIMMED_1_06 cJ1_JPIMMED_1_06 |
| 117 | #define cJU_JPIMMED_1_07 cJ1_JPIMMED_1_07 |
| 118 | #ifdef JU_64BIT |
| 119 | // cJ1_JPIMMED_1_08 |
| 120 | // cJ1_JPIMMED_1_09 |
| 121 | // cJ1_JPIMMED_1_10 |
| 122 | // cJ1_JPIMMED_1_11 |
| 123 | // cJ1_JPIMMED_1_12 |
| 124 | // cJ1_JPIMMED_1_13 |
| 125 | // cJ1_JPIMMED_1_14 |
| 126 | // cJ1_JPIMMED_1_15 |
| 127 | #endif |
| 128 | #define cJU_JPIMMED_2_02 cJ1_JPIMMED_2_02 |
| 129 | #define cJU_JPIMMED_2_03 cJ1_JPIMMED_2_03 |
| 130 | #ifdef JU_64BIT |
| 131 | // cJ1_JPIMMED_2_04 |
| 132 | // cJ1_JPIMMED_2_05 |
| 133 | // cJ1_JPIMMED_2_06 |
| 134 | // cJ1_JPIMMED_2_07 |
| 135 | #endif |
| 136 | #define cJU_JPIMMED_3_02 cJ1_JPIMMED_3_02 |
| 137 | #ifdef JU_64BIT |
| 138 | // cJ1_JPIMMED_3_03 |
| 139 | // cJ1_JPIMMED_3_04 |
| 140 | // cJ1_JPIMMED_3_05 |
| 141 | // cJ1_JPIMMED_4_02 |
| 142 | // cJ1_JPIMMED_4_03 |
| 143 | // cJ1_JPIMMED_5_02 |
| 144 | // cJ1_JPIMMED_5_03 |
| 145 | // cJ1_JPIMMED_6_02 |
| 146 | // cJ1_JPIMMED_7_02 |
| 147 | #endif |
| 148 | #define cJU_JPIMMED_CAP cJ1_JPIMMED_CAP |
| 149 | |
| 150 | #else // JUDYL **************************************************************** |
| 151 | |
| 152 | #define cJU_JRPNULL cJL_JRPNULL |
| 153 | #define cJU_JPNULL1 cJL_JPNULL1 |
| 154 | #define cJU_JPNULL2 cJL_JPNULL2 |
| 155 | #define cJU_JPNULL3 cJL_JPNULL3 |
| 156 | #ifdef JU_64BIT |
| 157 | #define cJU_JPNULL4 cJL_JPNULL4 |
| 158 | #define cJU_JPNULL5 cJL_JPNULL5 |
| 159 | #define cJU_JPNULL6 cJL_JPNULL6 |
| 160 | #define cJU_JPNULL7 cJL_JPNULL7 |
| 161 | #endif |
| 162 | #define cJU_JPNULLMAX cJL_JPNULLMAX |
| 163 | #define cJU_JPBRANCH_L2 cJL_JPBRANCH_L2 |
| 164 | #define cJU_JPBRANCH_L3 cJL_JPBRANCH_L3 |
| 165 | #ifdef JU_64BIT |
| 166 | #define cJU_JPBRANCH_L4 cJL_JPBRANCH_L4 |
| 167 | #define cJU_JPBRANCH_L5 cJL_JPBRANCH_L5 |
| 168 | #define cJU_JPBRANCH_L6 cJL_JPBRANCH_L6 |
| 169 | #define cJU_JPBRANCH_L7 cJL_JPBRANCH_L7 |
| 170 | #endif |
| 171 | #define cJU_JPBRANCH_L cJL_JPBRANCH_L |
| 172 | #define j__U_BranchBJPPopToWords j__L_BranchBJPPopToWords |
| 173 | #define cJU_JPBRANCH_B2 cJL_JPBRANCH_B2 |
| 174 | #define cJU_JPBRANCH_B3 cJL_JPBRANCH_B3 |
| 175 | #ifdef JU_64BIT |
| 176 | #define cJU_JPBRANCH_B4 cJL_JPBRANCH_B4 |
| 177 | #define cJU_JPBRANCH_B5 cJL_JPBRANCH_B5 |
| 178 | #define cJU_JPBRANCH_B6 cJL_JPBRANCH_B6 |
| 179 | #define cJU_JPBRANCH_B7 cJL_JPBRANCH_B7 |
| 180 | #endif |
| 181 | #define cJU_JPBRANCH_B cJL_JPBRANCH_B |
| 182 | #define cJU_JPBRANCH_U2 cJL_JPBRANCH_U2 |
| 183 | #define cJU_JPBRANCH_U3 cJL_JPBRANCH_U3 |
| 184 | #ifdef JU_64BIT |
| 185 | #define cJU_JPBRANCH_U4 cJL_JPBRANCH_U4 |
| 186 | #define cJU_JPBRANCH_U5 cJL_JPBRANCH_U5 |
| 187 | #define cJU_JPBRANCH_U6 cJL_JPBRANCH_U6 |
| 188 | #define cJU_JPBRANCH_U7 cJL_JPBRANCH_U7 |
| 189 | #endif |
| 190 | #define cJU_JPBRANCH_U cJL_JPBRANCH_U |
| 191 | #define cJU_JPLEAF1 cJL_JPLEAF1 |
| 192 | #define cJU_JPLEAF2 cJL_JPLEAF2 |
| 193 | #define cJU_JPLEAF3 cJL_JPLEAF3 |
| 194 | #ifdef JU_64BIT |
| 195 | #define cJU_JPLEAF4 cJL_JPLEAF4 |
| 196 | #define cJU_JPLEAF5 cJL_JPLEAF5 |
| 197 | #define cJU_JPLEAF6 cJL_JPLEAF6 |
| 198 | #define cJU_JPLEAF7 cJL_JPLEAF7 |
| 199 | #endif |
| 200 | #define cJU_JPLEAF_B1 cJL_JPLEAF_B1 |
| 201 | #define cJU_JPIMMED_1_01 cJL_JPIMMED_1_01 |
| 202 | #define cJU_JPIMMED_2_01 cJL_JPIMMED_2_01 |
| 203 | #define cJU_JPIMMED_3_01 cJL_JPIMMED_3_01 |
| 204 | #ifdef JU_64BIT |
| 205 | #define cJU_JPIMMED_4_01 cJL_JPIMMED_4_01 |
| 206 | #define cJU_JPIMMED_5_01 cJL_JPIMMED_5_01 |
| 207 | #define cJU_JPIMMED_6_01 cJL_JPIMMED_6_01 |
| 208 | #define cJU_JPIMMED_7_01 cJL_JPIMMED_7_01 |
| 209 | #endif |
| 210 | #define cJU_JPIMMED_1_02 cJL_JPIMMED_1_02 |
| 211 | #define cJU_JPIMMED_1_03 cJL_JPIMMED_1_03 |
| 212 | #ifdef JU_64BIT |
| 213 | #define cJU_JPIMMED_1_04 cJL_JPIMMED_1_04 |
| 214 | #define cJU_JPIMMED_1_05 cJL_JPIMMED_1_05 |
| 215 | #define cJU_JPIMMED_1_06 cJL_JPIMMED_1_06 |
| 216 | #define cJU_JPIMMED_1_07 cJL_JPIMMED_1_07 |
| 217 | #define cJU_JPIMMED_2_02 cJL_JPIMMED_2_02 |
| 218 | #define cJU_JPIMMED_2_03 cJL_JPIMMED_2_03 |
| 219 | #define cJU_JPIMMED_3_02 cJL_JPIMMED_3_02 |
| 220 | #endif |
| 221 | #define cJU_JPIMMED_CAP cJL_JPIMMED_CAP |
| 222 | |
| 223 | #endif // JUDYL |
| 224 | |
| 225 | |
| 226 | // **************************************************************************** |
| 227 | // cJU*_ other than JP types: |
| 228 | |
| 229 | #ifdef JUDY1 |
| 230 | |
| 231 | #define cJU_LEAFW_MAXPOP1 cJ1_LEAFW_MAXPOP1 |
| 232 | #ifndef JU_64BIT |
| 233 | #define cJU_LEAF1_MAXPOP1 cJ1_LEAF1_MAXPOP1 |
| 234 | #endif |
| 235 | #define cJU_LEAF2_MAXPOP1 cJ1_LEAF2_MAXPOP1 |
| 236 | #define cJU_LEAF3_MAXPOP1 cJ1_LEAF3_MAXPOP1 |
| 237 | #ifdef JU_64BIT |
| 238 | #define cJU_LEAF4_MAXPOP1 cJ1_LEAF4_MAXPOP1 |
| 239 | #define cJU_LEAF5_MAXPOP1 cJ1_LEAF5_MAXPOP1 |
| 240 | #define cJU_LEAF6_MAXPOP1 cJ1_LEAF6_MAXPOP1 |
| 241 | #define cJU_LEAF7_MAXPOP1 cJ1_LEAF7_MAXPOP1 |
| 242 | #endif |
| 243 | #define cJU_IMMED1_MAXPOP1 cJ1_IMMED1_MAXPOP1 |
| 244 | #define cJU_IMMED2_MAXPOP1 cJ1_IMMED2_MAXPOP1 |
| 245 | #define cJU_IMMED3_MAXPOP1 cJ1_IMMED3_MAXPOP1 |
| 246 | #ifdef JU_64BIT |
| 247 | #define cJU_IMMED4_MAXPOP1 cJ1_IMMED4_MAXPOP1 |
| 248 | #define cJU_IMMED5_MAXPOP1 cJ1_IMMED5_MAXPOP1 |
| 249 | #define cJU_IMMED6_MAXPOP1 cJ1_IMMED6_MAXPOP1 |
| 250 | #define cJU_IMMED7_MAXPOP1 cJ1_IMMED7_MAXPOP1 |
| 251 | #endif |
| 252 | |
| 253 | #define JU_LEAF1POPTOWORDS(Pop1) J1_LEAF1POPTOWORDS(Pop1) |
| 254 | #define JU_LEAF2POPTOWORDS(Pop1) J1_LEAF2POPTOWORDS(Pop1) |
| 255 | #define JU_LEAF3POPTOWORDS(Pop1) J1_LEAF3POPTOWORDS(Pop1) |
| 256 | #ifdef JU_64BIT |
| 257 | #define JU_LEAF4POPTOWORDS(Pop1) J1_LEAF4POPTOWORDS(Pop1) |
| 258 | #define JU_LEAF5POPTOWORDS(Pop1) J1_LEAF5POPTOWORDS(Pop1) |
| 259 | #define JU_LEAF6POPTOWORDS(Pop1) J1_LEAF6POPTOWORDS(Pop1) |
| 260 | #define JU_LEAF7POPTOWORDS(Pop1) J1_LEAF7POPTOWORDS(Pop1) |
| 261 | #endif |
| 262 | #define JU_LEAFWPOPTOWORDS(Pop1) J1_LEAFWPOPTOWORDS(Pop1) |
| 263 | |
| 264 | #ifndef JU_64BIT |
| 265 | #define JU_LEAF1GROWINPLACE(Pop1) J1_LEAF1GROWINPLACE(Pop1) |
| 266 | #endif |
| 267 | #define JU_LEAF2GROWINPLACE(Pop1) J1_LEAF2GROWINPLACE(Pop1) |
| 268 | #define JU_LEAF3GROWINPLACE(Pop1) J1_LEAF3GROWINPLACE(Pop1) |
| 269 | #ifdef JU_64BIT |
| 270 | #define JU_LEAF4GROWINPLACE(Pop1) J1_LEAF4GROWINPLACE(Pop1) |
| 271 | #define JU_LEAF5GROWINPLACE(Pop1) J1_LEAF5GROWINPLACE(Pop1) |
| 272 | #define JU_LEAF6GROWINPLACE(Pop1) J1_LEAF6GROWINPLACE(Pop1) |
| 273 | #define JU_LEAF7GROWINPLACE(Pop1) J1_LEAF7GROWINPLACE(Pop1) |
| 274 | #endif |
| 275 | #define JU_LEAFWGROWINPLACE(Pop1) J1_LEAFWGROWINPLACE(Pop1) |
| 276 | |
| 277 | #define j__udyCreateBranchL j__udy1CreateBranchL |
| 278 | #define j__udyCreateBranchB j__udy1CreateBranchB |
| 279 | #define j__udyCreateBranchU j__udy1CreateBranchU |
| 280 | #define j__udyCascade1 j__udy1Cascade1 |
| 281 | #define j__udyCascade2 j__udy1Cascade2 |
| 282 | #define j__udyCascade3 j__udy1Cascade3 |
| 283 | #ifdef JU_64BIT |
| 284 | #define j__udyCascade4 j__udy1Cascade4 |
| 285 | #define j__udyCascade5 j__udy1Cascade5 |
| 286 | #define j__udyCascade6 j__udy1Cascade6 |
| 287 | #define j__udyCascade7 j__udy1Cascade7 |
| 288 | #endif |
| 289 | #define j__udyCascadeL j__udy1CascadeL |
| 290 | #define j__udyInsertBranch j__udy1InsertBranch |
| 291 | |
| 292 | #define j__udyBranchBToBranchL j__udy1BranchBToBranchL |
| 293 | #ifndef JU_64BIT |
| 294 | #define j__udyLeafB1ToLeaf1 j__udy1LeafB1ToLeaf1 |
| 295 | #endif |
| 296 | #define j__udyLeaf1ToLeaf2 j__udy1Leaf1ToLeaf2 |
| 297 | #define j__udyLeaf2ToLeaf3 j__udy1Leaf2ToLeaf3 |
| 298 | #ifndef JU_64BIT |
| 299 | #define j__udyLeaf3ToLeafW j__udy1Leaf3ToLeafW |
| 300 | #else |
| 301 | #define j__udyLeaf3ToLeaf4 j__udy1Leaf3ToLeaf4 |
| 302 | #define j__udyLeaf4ToLeaf5 j__udy1Leaf4ToLeaf5 |
| 303 | #define j__udyLeaf5ToLeaf6 j__udy1Leaf5ToLeaf6 |
| 304 | #define j__udyLeaf6ToLeaf7 j__udy1Leaf6ToLeaf7 |
| 305 | #define j__udyLeaf7ToLeafW j__udy1Leaf7ToLeafW |
| 306 | #endif |
| 307 | |
| 308 | #define jpm_t j1pm_t |
| 309 | #define Pjpm_t Pj1pm_t |
| 310 | |
| 311 | #define jlb_t j1lb_t |
| 312 | #define Pjlb_t Pj1lb_t |
| 313 | |
| 314 | #define JU_JLB_BITMAP J1_JLB_BITMAP |
| 315 | |
| 316 | #define j__udyAllocJPM j__udy1AllocJ1PM |
| 317 | #define j__udyAllocJBL j__udy1AllocJBL |
| 318 | #define j__udyAllocJBB j__udy1AllocJBB |
| 319 | #define j__udyAllocJBBJP j__udy1AllocJBBJP |
| 320 | #define j__udyAllocJBU j__udy1AllocJBU |
| 321 | #ifndef JU_64BIT |
| 322 | #define j__udyAllocJLL1 j__udy1AllocJLL1 |
| 323 | #endif |
| 324 | #define j__udyAllocJLL2 j__udy1AllocJLL2 |
| 325 | #define j__udyAllocJLL3 j__udy1AllocJLL3 |
| 326 | #ifdef JU_64BIT |
| 327 | #define j__udyAllocJLL4 j__udy1AllocJLL4 |
| 328 | #define j__udyAllocJLL5 j__udy1AllocJLL5 |
| 329 | #define j__udyAllocJLL6 j__udy1AllocJLL6 |
| 330 | #define j__udyAllocJLL7 j__udy1AllocJLL7 |
| 331 | #endif |
| 332 | #define j__udyAllocJLW j__udy1AllocJLW |
| 333 | #define j__udyAllocJLB1 j__udy1AllocJLB1 |
| 334 | #define j__udyFreeJPM j__udy1FreeJ1PM |
| 335 | #define j__udyFreeJBL j__udy1FreeJBL |
| 336 | #define j__udyFreeJBB j__udy1FreeJBB |
| 337 | #define j__udyFreeJBBJP j__udy1FreeJBBJP |
| 338 | #define j__udyFreeJBU j__udy1FreeJBU |
| 339 | #ifndef JU_64BIT |
| 340 | #define j__udyFreeJLL1 j__udy1FreeJLL1 |
| 341 | #endif |
| 342 | #define j__udyFreeJLL2 j__udy1FreeJLL2 |
| 343 | #define j__udyFreeJLL3 j__udy1FreeJLL3 |
| 344 | #ifdef JU_64BIT |
| 345 | #define j__udyFreeJLL4 j__udy1FreeJLL4 |
| 346 | #define j__udyFreeJLL5 j__udy1FreeJLL5 |
| 347 | #define j__udyFreeJLL6 j__udy1FreeJLL6 |
| 348 | #define j__udyFreeJLL7 j__udy1FreeJLL7 |
| 349 | #endif |
| 350 | #define j__udyFreeJLW j__udy1FreeJLW |
| 351 | #define j__udyFreeJLB1 j__udy1FreeJLB1 |
| 352 | #define j__udyFreeSM j__udy1FreeSM |
| 353 | |
| 354 | #define j__uMaxWords j__u1MaxWords |
| 355 | |
| 356 | #ifdef DEBUG |
| 357 | #define JudyCheckPop Judy1CheckPop |
| 358 | #endif |
| 359 | |
| 360 | #else // JUDYL **************************************************************** |
| 361 | |
| 362 | #define cJU_LEAFW_MAXPOP1 cJL_LEAFW_MAXPOP1 |
| 363 | #define cJU_LEAF1_MAXPOP1 cJL_LEAF1_MAXPOP1 |
| 364 | #define cJU_LEAF2_MAXPOP1 cJL_LEAF2_MAXPOP1 |
| 365 | #define cJU_LEAF3_MAXPOP1 cJL_LEAF3_MAXPOP1 |
| 366 | #ifdef JU_64BIT |
| 367 | #define cJU_LEAF4_MAXPOP1 cJL_LEAF4_MAXPOP1 |
| 368 | #define cJU_LEAF5_MAXPOP1 cJL_LEAF5_MAXPOP1 |
| 369 | #define cJU_LEAF6_MAXPOP1 cJL_LEAF6_MAXPOP1 |
| 370 | #define cJU_LEAF7_MAXPOP1 cJL_LEAF7_MAXPOP1 |
| 371 | #endif |
| 372 | #define cJU_IMMED1_MAXPOP1 cJL_IMMED1_MAXPOP1 |
| 373 | #define cJU_IMMED2_MAXPOP1 cJL_IMMED2_MAXPOP1 |
| 374 | #define cJU_IMMED3_MAXPOP1 cJL_IMMED3_MAXPOP1 |
| 375 | #ifdef JU_64BIT |
| 376 | #define cJU_IMMED4_MAXPOP1 cJL_IMMED4_MAXPOP1 |
| 377 | #define cJU_IMMED5_MAXPOP1 cJL_IMMED5_MAXPOP1 |
| 378 | #define cJU_IMMED6_MAXPOP1 cJL_IMMED6_MAXPOP1 |
| 379 | #define cJU_IMMED7_MAXPOP1 cJL_IMMED7_MAXPOP1 |
| 380 | #endif |
| 381 | |
| 382 | #define JU_LEAF1POPTOWORDS(Pop1) JL_LEAF1POPTOWORDS(Pop1) |
| 383 | #define JU_LEAF2POPTOWORDS(Pop1) JL_LEAF2POPTOWORDS(Pop1) |
| 384 | #define JU_LEAF3POPTOWORDS(Pop1) JL_LEAF3POPTOWORDS(Pop1) |
| 385 | #ifdef JU_64BIT |
| 386 | #define JU_LEAF4POPTOWORDS(Pop1) JL_LEAF4POPTOWORDS(Pop1) |
| 387 | #define JU_LEAF5POPTOWORDS(Pop1) JL_LEAF5POPTOWORDS(Pop1) |
| 388 | #define JU_LEAF6POPTOWORDS(Pop1) JL_LEAF6POPTOWORDS(Pop1) |
| 389 | #define JU_LEAF7POPTOWORDS(Pop1) JL_LEAF7POPTOWORDS(Pop1) |
| 390 | #endif |
| 391 | #define JU_LEAFWPOPTOWORDS(Pop1) JL_LEAFWPOPTOWORDS(Pop1) |
| 392 | |
| 393 | #define JU_LEAF1GROWINPLACE(Pop1) JL_LEAF1GROWINPLACE(Pop1) |
| 394 | #define JU_LEAF2GROWINPLACE(Pop1) JL_LEAF2GROWINPLACE(Pop1) |
| 395 | #define JU_LEAF3GROWINPLACE(Pop1) JL_LEAF3GROWINPLACE(Pop1) |
| 396 | #ifdef JU_64BIT |
| 397 | #define JU_LEAF4GROWINPLACE(Pop1) JL_LEAF4GROWINPLACE(Pop1) |
| 398 | #define JU_LEAF5GROWINPLACE(Pop1) JL_LEAF5GROWINPLACE(Pop1) |
| 399 | #define JU_LEAF6GROWINPLACE(Pop1) JL_LEAF6GROWINPLACE(Pop1) |
| 400 | #define JU_LEAF7GROWINPLACE(Pop1) JL_LEAF7GROWINPLACE(Pop1) |
| 401 | #endif |
| 402 | #define JU_LEAFWGROWINPLACE(Pop1) JL_LEAFWGROWINPLACE(Pop1) |
| 403 | |
| 404 | #define j__udyCreateBranchL j__udyLCreateBranchL |
| 405 | #define j__udyCreateBranchB j__udyLCreateBranchB |
| 406 | #define j__udyCreateBranchU j__udyLCreateBranchU |
| 407 | #define j__udyCascade1 j__udyLCascade1 |
| 408 | #define j__udyCascade2 j__udyLCascade2 |
| 409 | #define j__udyCascade3 j__udyLCascade3 |
| 410 | #ifdef JU_64BIT |
| 411 | #define j__udyCascade4 j__udyLCascade4 |
| 412 | #define j__udyCascade5 j__udyLCascade5 |
| 413 | #define j__udyCascade6 j__udyLCascade6 |
| 414 | #define j__udyCascade7 j__udyLCascade7 |
| 415 | #endif |
| 416 | #define j__udyCascadeL j__udyLCascadeL |
| 417 | #define j__udyInsertBranch j__udyLInsertBranch |
| 418 | |
| 419 | #define j__udyBranchBToBranchL j__udyLBranchBToBranchL |
| 420 | #define j__udyLeafB1ToLeaf1 j__udyLLeafB1ToLeaf1 |
| 421 | #define j__udyLeaf1ToLeaf2 j__udyLLeaf1ToLeaf2 |
| 422 | #define j__udyLeaf2ToLeaf3 j__udyLLeaf2ToLeaf3 |
| 423 | #ifndef JU_64BIT |
| 424 | #define j__udyLeaf3ToLeafW j__udyLLeaf3ToLeafW |
| 425 | #else |
| 426 | #define j__udyLeaf3ToLeaf4 j__udyLLeaf3ToLeaf4 |
| 427 | #define j__udyLeaf4ToLeaf5 j__udyLLeaf4ToLeaf5 |
| 428 | #define j__udyLeaf5ToLeaf6 j__udyLLeaf5ToLeaf6 |
| 429 | #define j__udyLeaf6ToLeaf7 j__udyLLeaf6ToLeaf7 |
| 430 | #define j__udyLeaf7ToLeafW j__udyLLeaf7ToLeafW |
| 431 | #endif |
| 432 | |
| 433 | #define jpm_t jLpm_t |
| 434 | #define Pjpm_t PjLpm_t |
| 435 | |
| 436 | #define jlb_t jLlb_t |
| 437 | #define Pjlb_t PjLlb_t |
| 438 | |
| 439 | #define JU_JLB_BITMAP JL_JLB_BITMAP |
| 440 | |
| 441 | #define j__udyAllocJPM j__udyLAllocJLPM |
| 442 | #define j__udyAllocJBL j__udyLAllocJBL |
| 443 | #define j__udyAllocJBB j__udyLAllocJBB |
| 444 | #define j__udyAllocJBBJP j__udyLAllocJBBJP |
| 445 | #define j__udyAllocJBU j__udyLAllocJBU |
| 446 | #define j__udyAllocJLL1 j__udyLAllocJLL1 |
| 447 | #define j__udyAllocJLL2 j__udyLAllocJLL2 |
| 448 | #define j__udyAllocJLL3 j__udyLAllocJLL3 |
| 449 | #ifdef JU_64BIT |
| 450 | #define j__udyAllocJLL4 j__udyLAllocJLL4 |
| 451 | #define j__udyAllocJLL5 j__udyLAllocJLL5 |
| 452 | #define j__udyAllocJLL6 j__udyLAllocJLL6 |
| 453 | #define j__udyAllocJLL7 j__udyLAllocJLL7 |
| 454 | #endif |
| 455 | #define j__udyAllocJLW j__udyLAllocJLW |
| 456 | #define j__udyAllocJLB1 j__udyLAllocJLB1 |
| 457 | // j__udyLAllocJV |
| 458 | #define j__udyFreeJPM j__udyLFreeJLPM |
| 459 | #define j__udyFreeJBL j__udyLFreeJBL |
| 460 | #define j__udyFreeJBB j__udyLFreeJBB |
| 461 | #define j__udyFreeJBBJP j__udyLFreeJBBJP |
| 462 | #define j__udyFreeJBU j__udyLFreeJBU |
| 463 | #define j__udyFreeJLL1 j__udyLFreeJLL1 |
| 464 | #define j__udyFreeJLL2 j__udyLFreeJLL2 |
| 465 | #define j__udyFreeJLL3 j__udyLFreeJLL3 |
| 466 | #ifdef JU_64BIT |
| 467 | #define j__udyFreeJLL4 j__udyLFreeJLL4 |
| 468 | #define j__udyFreeJLL5 j__udyLFreeJLL5 |
| 469 | #define j__udyFreeJLL6 j__udyLFreeJLL6 |
| 470 | #define j__udyFreeJLL7 j__udyLFreeJLL7 |
| 471 | #endif |
| 472 | #define j__udyFreeJLW j__udyLFreeJLW |
| 473 | #define j__udyFreeJLB1 j__udyLFreeJLB1 |
| 474 | #define j__udyFreeSM j__udyLFreeSM |
| 475 | // j__udyLFreeJV |
| 476 | |
| 477 | #define j__uMaxWords j__uLMaxWords |
| 478 | |
| 479 | #ifdef DEBUG |
| 480 | #define JudyCheckPop JudyLCheckPop |
| 481 | #endif |
| 482 | |
| 483 | #endif // JUDYL |
| 484 | |
| 485 | #endif // _JUDYPRIVATE1L_INCLUDED |