HomeSort by relevance Sort by last modified time
    Searched full:tempbuffer (Results 1 - 25 of 43) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
ThreadSafeDataTransportTest.cpp 47 SharedBuffer* tempBuffer = 0;
49 transport.data(&tempBuffer, &allDataReceived);
72 SharedBuffer* tempBuffer = 0;
74 transport.data(&tempBuffer, &allDataReceived);
76 EXPECT_FALSE(memcmp(testString3, tempBuffer->data(), tempBuffer->size()));
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
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, int[] coords, int stepSize, float offsetRange, Random random) {
    [all...]
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[calderaX][calderaY] > cutoff
    [all...]
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) {
162 addLineFault(tempBuffer, random, faultHeight, range);
165 addCircleFault(tempBuffer, random, faultHeight, range);
170 protected void addLineFault(float[][] tempBuffer, Random random, float faultHeight, float range) {
181 tempBuffer[i][j] += calcHeight(dist, random, faultHeight, range);
186 protected void addCircleFault(float[][] tempBuffer, Random random, float faultHeight, float range) {
209 tempBuffer[i][j] += calcHeight(dist, random, faultHeight, range);
    [all...]
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) {
199 tempBuffer[i][j] += height;
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]);
  /hardware/qcom/media/mm-video-legacy/vidc/venc/test/
video_encoder_test.c 808 struct venc_bufferpayload *tempbuffer = NULL; local
842 tempbuffer = (struct venc_bufferpayload *)queueitem->clientdata;
843 if (tempbuffer == NULL)
849 tempbuffer->filled_len = (encoder_context->input_height *
852 data_len = read_frame ( tempbuffer->pbuffer,
853 tempbuffer->filled_len,
862 enc_buffer.clientdata = (void *)tempbuffer;
864 enc_buffer.ptrbuffer = tempbuffer->pbuffer;
865 enc_buffer.sz = tempbuffer->sz;
866 enc_buffer.len = tempbuffer->filled_len
955 struct venc_bufferpayload *tempbuffer = NULL; local
    [all...]
  /hardware/qcom/media/mm-video-v4l2/vidc/venc/test/
video_encoder_test.c 755 struct venc_bufferpayload *tempbuffer = NULL; local
787 tempbuffer = (struct venc_bufferpayload *)queueitem->clientdata;
789 if (tempbuffer == NULL) {
795 tempbuffer->filled_len = (encoder_context->input_height *
798 data_len = read_frame ( tempbuffer->pbuffer,
799 tempbuffer->filled_len,
808 enc_buffer.clientdata = (void *)tempbuffer;
810 enc_buffer.ptrbuffer = tempbuffer->pbuffer;
811 enc_buffer.sz = tempbuffer->sz;
812 enc_buffer.len = tempbuffer->filled_len
897 struct venc_bufferpayload *tempbuffer = NULL; local
    [all...]
  /external/chromium_org/third_party/icu/source/common/
ushape.c 708 UChar *tempbuffer=NULL; local
724 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR);
726 if(tempbuffer == NULL) {
731 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR);
740 tempbuffer[j] = dest[i];
747 tempbuffer[i] = 0x0000;
752 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR);
790 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR);
793 if(tempbuffer == NULL) {
798 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR)
891 UChar *tempbuffer=NULL; local
951 UChar *tempbuffer=NULL; local
1071 UChar *tempbuffer=NULL; local
1480 UChar *tempbuffer, *tempsource = NULL; local
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
msfmrgts.cpp 104 UnicodeString tempBuffer;
106 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status);
107 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format"))
109 logln("Formatted with one extra param : " + tempBuffer);
122 //tempBuffer = messageFormatter->format(NULL, 1, tempBuffer, FieldPosition(FieldPosition::DONT_CARE), status);
123 tempBuffer.remove();
124 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status)
    [all...]
  /external/icu4c/test/intltest/
msfmrgts.cpp 101 UnicodeString tempBuffer;
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, pos, status)
    [all...]
  /external/icu4c/common/
ushape.cpp 715 UChar *tempbuffer=NULL; local
730 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR);
732 if(tempbuffer == NULL) {
739 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR);
748 tempbuffer[j] = dest[i];
755 tempbuffer[i] = 0x0000;
760 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR);
801 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR);
811 tempbuffer[j] = dest[i];
818 tempbuffer[i] = SPACE_CHAR
889 UChar *tempbuffer=NULL; local
952 UChar *tempbuffer=NULL; local
1072 UChar *tempbuffer=NULL; local
1482 UChar *tempbuffer, *tempsource = NULL; local
    [all...]
uloc.cpp     [all...]
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDownloadRunnable.java 185 byte[] tempBuffer = new byte[READ_SIZE];
188 int bufferLeft = tempBuffer.length;
214 readResult = byteStream.read(tempBuffer, bufferOffset,
259 int newSize = tempBuffer.length + READ_SIZE;
268 System.arraycopy(tempBuffer, 0, expandedBuffer, 0,
269 tempBuffer.length);
270 tempBuffer = expandedBuffer;
277 * (equal to the next open byte, because tempBuffer
283 System.arraycopy(tempBuffer, 0, byteBuffer, 0, bufferOffset);
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
GZIPSerializer.java 85 ByteBuffer tempBuffer = ByteBuffer.allocate(512000);
86 Serializer.writeClassAndObject(tempBuffer, message);
91 gzipOutput.write(tempBuffer.array());
ZIPSerializer.java 92 ByteBuffer tempBuffer = ByteBuffer.allocate(512000);
93 Serializer.writeClassAndObject(tempBuffer, message);
102 zipOutput.write(tempBuffer.array());
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
omxVCM4P2_TransRecBlockCoef_inter.c 71 OMX_S16 tempBuffer[72];
76 pTempBuffer = armAlignTo16Bytes(tempBuffer);
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
image.c 464 GLuint *tempBuffer;
467 tempBuffer = malloc(count * MAX_PIXEL_BYTES);
468 if (!tempBuffer)
477 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst);
488 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort));
492 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst);
504 memcpy(dst, tempBuffer, count * 4 * sizeof(GLfloat));
510 GLubyte (*dst1)[4] = (GLubyte (*)[4]) (useTemp ? tempBuffer : dst);
521 memcpy(dst, tempBuffer, count * 4 * sizeof(GLubyte));
525 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst)
    [all...]
  /external/mesa3d/src/mesa/main/
image.c 464 GLuint *tempBuffer;
467 tempBuffer = malloc(count * MAX_PIXEL_BYTES);
468 if (!tempBuffer)
477 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst);
488 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort));
492 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst);
504 memcpy(dst, tempBuffer, count * 4 * sizeof(GLfloat));
510 GLubyte (*dst1)[4] = (GLubyte (*)[4]) (useTemp ? tempBuffer : dst);
521 memcpy(dst, tempBuffer, count * 4 * sizeof(GLubyte));
525 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst)
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
Utf8Utils.java 71 private static char[] tempBuffer = null;
84 if (tempBuffer == null || tempBuffer.length < length) {
85 tempBuffer = new char[length];
87 char[] chars = tempBuffer;
  /hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
decoder_driver_test.c 789 struct vdec_bufferpayload *tempbuffer = NULL; local
831 tempbuffer = (struct vdec_bufferpayload *)queueitem->clientdata;
832 if (tempbuffer == NULL)
838 data_len = read_frame ( tempbuffer->bufferaddr,
839 tempbuffer->buffer_len,
850 frameinfo.bufferaddr = tempbuffer->bufferaddr;
852 frameinfo.pmem_fd = tempbuffer->pmem_fd;
853 frameinfo.pmem_offset = tempbuffer->offset;
856 tempbuffer;
907 tempbuffer = (struct vdec_bufferpayload *)
    [all...]
  /hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
decoder_driver_test.c 736 struct vdec_bufferpayload *tempbuffer = NULL; local
776 tempbuffer = (struct vdec_bufferpayload *)queueitem->clientdata;
778 if (tempbuffer == NULL) {
784 data_len = read_frame ( tempbuffer->bufferaddr,
785 tempbuffer->buffer_len,
795 frameinfo.bufferaddr = tempbuffer->bufferaddr;
797 frameinfo.pmem_fd = tempbuffer->pmem_fd;
798 frameinfo.pmem_offset = tempbuffer->offset;
801 tempbuffer;
852 tempbuffer = (struct vdec_bufferpayload *)
    [all...]
  /cts/suite/audio_quality/lib/src/audio/
AudioProtocol.cpp 162 //Buffer tempBuffer(len);
163 //readData(tempBuffer.getData(), len);
  /hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
WmaDecTest.c     [all...]
  /external/lzma/CPP/7zip/Archive/7z/
7zEncode.cpp 167 CMyComPtr<ISequentialOutStream> tempBuffer = tempBufferSpec;
169 tempBuffers.Add(tempBuffer);

Completed in 592 milliseconds

1 2