Lines Matching defs:chunk

48     /** Initial chunk count (). */
85 int chunk = fElementDeclIndex >> CHUNK_SHIFT;
87 ensureElementDeclCapacity(chunk);
88 if (fElementDecl[chunk][index] == null) {
89 fElementDecl[chunk][index] = new XSElementDecl();
91 fElementDecl[chunk][index].reset();
94 return fElementDecl[chunk][index];
98 int chunk = fAttrDeclIndex >> CHUNK_SHIFT;
100 ensureAttrDeclCapacity(chunk);
101 if (fAttrDecl[chunk][index] == null) {
102 fAttrDecl[chunk][index] = new XSAttributeDecl();
104 fAttrDecl[chunk][index].reset();
107 return fAttrDecl[chunk][index];
112 int chunk = fAttributeUseIndex >> CHUNK_SHIFT;
114 ensureAttributeUseCapacity(chunk);
115 if (fAttributeUse[chunk][index] == null) {
116 fAttributeUse[chunk][index] = new XSAttributeUseImpl();
118 fAttributeUse[chunk][index].reset();
121 return fAttributeUse[chunk][index];
126 int chunk = fCTDeclIndex >> CHUNK_SHIFT;
128 ensureCTDeclCapacity(chunk);
129 if (fCTDecl[chunk][index] == null) {
131 fCTDecl[chunk][index] = new XSComplexTypeDecl();
133 fCTDecl[chunk][index].reset();
136 return fCTDecl[chunk][index];
140 int chunk = fSTDeclIndex >> CHUNK_SHIFT;
142 ensureSTDeclCapacity(chunk);
143 if (fSTDecl[chunk][index] == null) {
144 fSTDecl[chunk][index] = dvFactory.newXSSimpleTypeDecl();
146 fSTDecl[chunk][index].reset();
149 return fSTDecl[chunk][index];
154 int chunk = fParticleDeclIndex >> CHUNK_SHIFT;
156 ensureParticleDeclCapacity(chunk);
157 if (fParticleDecl[chunk][index] == null) {
158 fParticleDecl[chunk][index] = new XSParticleDecl();
160 fParticleDecl[chunk][index].reset();
163 return fParticleDecl[chunk][index];
167 int chunk = fModelGroupIndex >> CHUNK_SHIFT;
169 ensureModelGroupCapacity(chunk);
170 if (fModelGroup[chunk][index] == null) {
171 fModelGroup[chunk][index] = new XSModelGroupImpl();
173 fModelGroup[chunk][index].reset();
176 return fModelGroup[chunk][index];
185 private boolean ensureElementDeclCapacity(int chunk) {
186 if (chunk >= fElementDecl.length) {
188 } else if (fElementDecl[chunk] != null) {
192 fElementDecl[chunk] = new XSElementDecl[CHUNK_SIZE];
202 private boolean ensureParticleDeclCapacity(int chunk) {
203 if (chunk >= fParticleDecl.length) {
205 } else if (fParticleDecl[chunk] != null) {
209 fParticleDecl[chunk] = new XSParticleDecl[CHUNK_SIZE];
213 private boolean ensureModelGroupCapacity(int chunk) {
214 if (chunk >= fModelGroup.length) {
216 } else if (fModelGroup[chunk] != null) {
220 fModelGroup[chunk] = new XSModelGroupImpl[CHUNK_SIZE];
236 private boolean ensureAttrDeclCapacity(int chunk) {
237 if (chunk >= fAttrDecl.length) {
239 } else if (fAttrDecl[chunk] != null) {
243 fAttrDecl[chunk] = new XSAttributeDecl[CHUNK_SIZE];
253 private boolean ensureAttributeUseCapacity(int chunk) {
254 if (chunk >= fAttributeUse.length) {
256 } else if (fAttributeUse[chunk] != null) {
260 fAttributeUse[chunk] = new XSAttributeUseImpl[CHUNK_SIZE];
270 private boolean ensureSTDeclCapacity(int chunk) {
271 if (chunk >= fSTDecl.length) {
273 } else if (fSTDecl[chunk] != null) {
277 fSTDecl[chunk] = new XSSimpleTypeDecl[CHUNK_SIZE];
287 private boolean ensureCTDeclCapacity(int chunk) {
289 if (chunk >= fCTDecl.length) {
291 } else if (fCTDecl[chunk] != null){
295 fCTDecl[chunk] = new XSComplexTypeDecl[CHUNK_SIZE];