/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
H A D | MidpointDisplacementHeightMap.java | 123 float[][] tempBuffer = new float[size][size];
126 tempBuffer[0][0] = random.nextFloat();
127 tempBuffer[0][size - 1] = random.nextFloat();
128 tempBuffer[size - 1][0] = random.nextFloat();
129 tempBuffer[size - 1][size - 1] = random.nextFloat();
136 nextCoords = doSquareStep(tempBuffer, nextCoords, stepSize, offsetRange, random);
140 nextCoords = doDiamondStep(tempBuffer, nextCoords, stepSize, offsetRange, random);
148 setHeightAtPoint((float) tempBuffer[i][j], j, i);
162 * @param tempBuffer the temprary heightmap
169 protected int[] doSquareStep(float[][] tempBuffer, in argument 201 doDiamondStep(float[][] tempBuffer, int[] coords, int stepSize, float offsetRange, Random random) argument [all...] |
H A D | ParticleDepositionHeightMap.java | 137 float[][] tempBuffer = new float[size][size];
184 tempBuffer[x][y] += 1;
206 if (tempBuffer[tx][ty] + 1.0f < tempBuffer[sx][sy]) {
207 tempBuffer[tx][ty] += 1.0f;
208 tempBuffer[sx][sy] -= 1.0f;
220 if (tempBuffer[sx][sy] > tempBuffer[calderaX][calderaY]) {
228 calderaStartPoint = tempBuffer[calderaX][calderaY];
260 if (tempBuffer[caldera [all...] |
H A D | HillHeightMap.java | 126 float[][] tempBuffer = new float[size][size];
131 addHill(tempBuffer, random);
137 setHeightAtPoint((float) tempBuffer[i][j], j, i);
154 * @param tempBuffer
159 protected void addHill(float[][] tempBuffer, Random random) {
argument 199 tempBuffer[i][j] += height;
|
H A D | FaultHeightMap.java | 138 float[][] tempBuffer = new float[size][size];
142 addFault(tempBuffer, random);
147 setHeightAtPoint(tempBuffer[i][j], i, j);
157 protected void addFault(float[][] tempBuffer, Random random) {
argument 162 addLineFault(tempBuffer, random, faultHeight, range);
165 addCircleFault(tempBuffer, random, faultHeight, range);
170 protected void addLineFault(float[][] tempBuffer, Random random, float faultHeight, float range) {
argument 181 tempBuffer[i][j] += calcHeight(dist, random, faultHeight, range);
186 protected void addCircleFault(float[][] tempBuffer, Random random, float faultHeight, float range) {
argument 209 tempBuffer[ [all...] |
H A D | FluidSimHeightMap.java | 148 float[][] tempBuffer = new float[2][size * size];
159 tempBuffer[0][j + i * size] = tempBuffer[1][j + i * size] = randomRange(random, minInitialHeight, maxInitialHeight);
175 oldBuffer = tempBuffer[1 - curBuf];
176 newBuffer = tempBuffer[curBuf];
214 heightData[x + y * size] = (float) (tempBuffer[curBuf][x + y * size]);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
H A D | GZIPSerializer.java | 85 ByteBuffer tempBuffer = ByteBuffer.allocate(512000); 86 Serializer.writeClassAndObject(tempBuffer, message); 91 gzipOutput.write(tempBuffer.array());
|
H A D | ZIPSerializer.java | 92 ByteBuffer tempBuffer = ByteBuffer.allocate(512000); 93 Serializer.writeClassAndObject(tempBuffer, message); 102 zipOutput.write(tempBuffer.array());
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
H A D | Utf8Utils.java | 71 private static char[] tempBuffer = null; field in class:Utf8Utils 84 if (tempBuffer == null || tempBuffer.length < length) { 85 tempBuffer = new char[length]; 87 char[] chars = tempBuffer;
|
/external/icu4c/test/intltest/ |
H A D | msfmrgts.cpp | 101 UnicodeString tempBuffer; local 103 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); 104 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format")) 106 logln("Formatted with one extra param : " + tempBuffer); 119 //tempBuffer = messageFormatter->format(NULL, 1, tempBuffer, FieldPosition(FieldPosition::DONT_CARE), status); 120 tempBuffer.remove(); 121 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, po 195 UnicodeString tempBuffer; local [all...] |
/external/icu4c/common/ |
H A D | uloc.c | 837 char tempBuffer[ULOC_FULLNAME_CAPACITY]; local 841 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); 1555 char tempBuffer[ULOC_FULLNAME_CAPACITY]; local 1563 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); 1627 char tempBuffer[ULOC_FULLNAME_CAPACITY]; local 1642 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err); 1981 char tempBuffer[ULOC_FULLNAME_CAPACIT local [all...] |
/external/yaffs2/yaffs2/ |
H A D | yaffs_guts.c | 189 if (dev->tempBuffer[i].line == 0) { 190 dev->tempBuffer[i].line = lineNo; 194 dev->tempBuffer[j].maxLine = 195 dev->tempBuffer[j].line; 198 return dev->tempBuffer[i].buffer; 206 T(YAFFS_TRACE_BUFFERS, (TSTR(" %d "), dev->tempBuffer[i].line)); 225 if (dev->tempBuffer[i].buffer == buffer) { 226 dev->tempBuffer[i].line = 0; 249 if (dev->tempBuffer[i].buffer == buffer) 6419 dev->tempBuffer[ [all...] |
H A D | yaffs_guts.h | 739 yaffs_TempBuffer tempBuffer[YAFFS_N_TEMP_BUFFERS]; member in struct:yaffs_DeviceStruct
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.osgi_3.6.1.R36x_v20100806.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.osgi_3.6.2.R36x_v20101103.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |