Home
last modified time | relevance | path

Searched refs:tempBuffer (Results 1 – 21 of 21) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessageRegressionTest.java79 String tempBuffer = messageFormatter.format(paramArray); in Test4074764() local
80 if (!tempBuffer.equals("Message with param:BUG")) in Test4074764()
82 logln("Formatted with one extra param : " + tempBuffer); in Test4074764()
86 tempBuffer = messageFormatter.format(null); in Test4074764()
87 if (!tempBuffer.equals("Message without param")) in Test4074764()
89 logln("Formatted with no params : " + tempBuffer); in Test4074764()
91 tempBuffer = messageFormatter.format(paramArray); in Test4074764()
92 if (!tempBuffer.equals("Message without param")) in Test4074764()
93 … errln("Formatted with arguments > subsitution failed. result = " + tempBuffer.toString()); in Test4074764()
94 logln("Formatted with extra params : " + tempBuffer); in Test4074764()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMessageRegressionTest.java82 String tempBuffer = messageFormatter.format(paramArray); in Test4074764() local
83 if (!tempBuffer.equals("Message with param:BUG")) in Test4074764()
85 logln("Formatted with one extra param : " + tempBuffer); in Test4074764()
89 tempBuffer = messageFormatter.format(null); in Test4074764()
90 if (!tempBuffer.equals("Message without param")) in Test4074764()
92 logln("Formatted with no params : " + tempBuffer); in Test4074764()
94 tempBuffer = messageFormatter.format(paramArray); in Test4074764()
95 if (!tempBuffer.equals("Message without param")) in Test4074764()
96 … errln("Formatted with arguments > subsitution failed. result = " + tempBuffer.toString()); in Test4074764()
97 logln("Formatted with extra params : " + tempBuffer); in Test4074764()
[all …]
/external/icu/icu4c/source/test/intltest/
Dmsfmrgts.cpp104 UnicodeString tempBuffer; in Test4074764() local
106 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); in Test4074764()
107 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format")) in Test4074764()
109 logln("Formatted with one extra param : " + tempBuffer); in Test4074764()
123 tempBuffer.remove(); in Test4074764()
124 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status); in Test4074764()
126 if( tempBuffer != "Message without param" || failure(status, "messageFormat->format")) in Test4074764()
128 logln("Formatted with no params : " + tempBuffer); in Test4074764()
130 tempBuffer.remove(); in Test4074764()
131 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); in Test4074764()
[all …]
/external/mesa3d/src/mesa/main/
Dimage.c478 GLuint *tempBuffer; in _mesa_convert_colors() local
481 tempBuffer = malloc(count * MAX_PIXEL_BYTES); in _mesa_convert_colors()
482 if (!tempBuffer) in _mesa_convert_colors()
491 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors()
502 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort)); in _mesa_convert_colors()
506 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors()
518 memcpy(dst, tempBuffer, count * 4 * sizeof(GLfloat)); in _mesa_convert_colors()
524 GLubyte (*dst1)[4] = (GLubyte (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors()
535 memcpy(dst, tempBuffer, count * 4 * sizeof(GLubyte)); in _mesa_convert_colors()
539 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors()
[all …]
/external/dng_sdk/source/
Ddng_string.cpp224 dng_memory_data tempBuffer (aBufSize); in Extract_Multibyte() local
256 tempBuffer.Buffer_char ()); in Extract_Multibyte()
266 tempBuffer.Buffer (), in Extract_Multibyte()
1666 dng_memory_data tempBuffer ( in Replace() local
1672 strncpy (tempBuffer.Buffer_char (), in Replace()
1681 strncpy (tempBuffer.Buffer_char () + match_offset, in Replace()
1689 strncpy (tempBuffer.Buffer_char () + match_offset + len3, in Replace()
1693 Set (tempBuffer.Buffer_char ()); in Replace()
2074 dng_memory_data tempBuffer (tempBufferSize); in ForceASCII() local
2076 char *dPtr = tempBuffer.Buffer_char (); in ForceASCII()
[all …]
Ddng_read_image.cpp861 dng_pixel_buffer tempBuffer (buffer); in DoGet() local
866 tempBuffer.fArea.t = MapRow (row); in DoGet()
868 tempBuffer.fArea.b = tempBuffer.fArea.t + 1; in DoGet()
870 tempBuffer.fData = (void *) buffer.DirtyPixel (row, in DoGet()
874 fImage.Get (tempBuffer); in DoGet()
885 dng_pixel_buffer tempBuffer (buffer); in DoPut() local
890 tempBuffer.fArea.t = MapRow (row); in DoPut()
892 tempBuffer.fArea.b = tempBuffer.fArea.t + 1; in DoPut()
894 tempBuffer.fData = (void *) buffer.ConstPixel (row, in DoPut()
898 fImage.Put (tempBuffer); in DoPut()
[all …]
Ddng_jpeg_image.cpp100 AutoPtr<dng_memory_block> tempBuffer; in Process() local
145 tempBuffer); in Process()
Ddng_image_writer.cpp3009 AutoPtr<dng_memory_block> &tempBuffer) in EncodePredictor() argument
3105 if (!tempBuffer.Get () || tempBuffer->LogicalSize () < tempBufferSize) in EncodePredictor()
3108 tempBuffer.Reset (host.Allocate (tempBufferSize)); in EncodePredictor()
3116 tempBuffer->Buffer_uint8 (), in EncodePredictor()
4176 AutoPtr<dng_memory_block> &tempBuffer) in WriteTile() argument
4279 tempBuffer); in WriteTile()
4395 AutoPtr<dng_memory_block> tempBuffer; in Process() local
4458 tempBuffer); in Process()
4680 AutoPtr<dng_memory_block> tempBuffer; in WriteImage() local
4743 tempBuffer); in WriteImage()
Ddng_image_writer.h1212 AutoPtr<dng_memory_block> &tempBuffer);
1237 AutoPtr<dng_memory_block> &tempBuffer);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java681 ByteBuffer tempBuffer = ByteBuffer.allocate(65536);
682 tempBuffer.order(ByteOrder.LITTLE_ENDIAN);
693 if (maxSize > tempBuffer.capacity()) {
694 tempBuffer = ByteBuffer.allocate(maxSize);
695 tempBuffer.order(ByteOrder.LITTLE_ENDIAN);
698 tempBuffer.clear();
708 tempBuffer.putInt(fieldSection.getFieldIndex(field));
709 tempBuffer.putInt(annotationSetSection.getItemOffset(fieldAnnotationsKey));
717 tempBuffer.putInt(methodSection.getMethodIndex(method));
718 tempBuffer.putInt(annotationSetSection.getItemOffset(methodAnnotationsKey));
[all …]
/external/icu/icu4c/source/common/
Duloc.cpp858 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_getKeywordValue() local
872 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); in uloc_getKeywordValue()
1624 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_openKeywords() local
1632 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); in uloc_openKeywords()
1696 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in _canonicalize() local
1711 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err); in _canonicalize()
2047 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_getVariant() local
2056 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err); in uloc_getVariant()
/external/skia/src/gpu/
DGrContextPriv.cpp621 std::unique_ptr<char[]> tempBuffer; in writeSurfacePixels() local
640 tempBuffer.reset(new char[size]); in writeSurfacePixels()
641 SkPixmap tempSrc(tempSrcII, tempBuffer.get(), tempSrcII.minRowBytes()); in writeSurfacePixels()
659 tempBuffer.reset(new char[trimRowBytes * height]); in writeSurfacePixels()
660 char* dst = reinterpret_cast<char*>(tempBuffer.get()) + trimRowBytes * (height - 1); in writeSurfacePixels()
665 buffer = tempBuffer.get(); in writeSurfacePixels()
/external/skqp/src/gpu/
DGrContext.cpp526 std::unique_ptr<char[]> tempBuffer; in writeSurfacePixels() local
545 tempBuffer.reset(new char[size]); in writeSurfacePixels()
546 SkPixmap tempSrc(tempSrcII, tempBuffer.get(), tempSrcII.minRowBytes()); in writeSurfacePixels()
564 tempBuffer.reset(new char[trimRowBytes * height]); in writeSurfacePixels()
565 char* dst = reinterpret_cast<char*>(tempBuffer.get()) + trimRowBytes * (height - 1); in writeSurfacePixels()
570 buffer = tempBuffer.get(); in writeSurfacePixels()
/external/skia/src/codec/
DSkRawCodec.cpp306 SkAutoSTMalloc<kMinSizeToRead, uint8> tempBuffer(sizeToRead); in bufferMoreData() local
307 const size_t bytesRead = fStream->read(tempBuffer.get(), sizeToRead); in bufferMoreData()
311 return fStreamBuffer.write(tempBuffer.get(), bytesRead); in bufferMoreData()
/external/skqp/src/codec/
DSkRawCodec.cpp306 SkAutoSTMalloc<kMinSizeToRead, uint8> tempBuffer(sizeToRead); in bufferMoreData() local
307 const size_t bytesRead = fStream->read(tempBuffer.get(), sizeToRead); in bufferMoreData()
311 return fStreamBuffer.write(tempBuffer.get(), bytesRead); in bufferMoreData()
/external/webrtc/webrtc/voice_engine/test/android/android_test/src/org/webrtc/voiceengine/test/
DAndroidTest.java1053 short[] tempBuffer = new short[160]; // Only used for native case
1057 rdSamples = _ar.read(tempBuffer, 0, 160);
/external/lzma/CPP/7zip/Archive/7z/
D7zEncode.cpp338 CMyComPtr<ISequentialOutStream> tempBuffer = tempBufferSpec; in Encode() local
340 tempBuffers.Add(tempBuffer); in Encode()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferOperations.cpp813 glw::GLint* tempBuffer = (glw::GLint*)gl.mapBufferRange( in initializeBufferObjectData() local
820 tempBuffer[i] = data[i]; in initializeBufferObjectData()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetISO2022.java1241 ByteBuffer tempBuffer = ByteBuffer.wrap(tempBuf); in decodeLoop() local
1242 tempBuffer.limit(tempBufLen); in decodeLoop()
1243 targetUniChar = MBCSSimpleGetNextUChar(cnv, tempBuffer, false); in decodeLoop()
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp741 const Buffer tempBuffer (m_context.getRenderContext()); in iterate() local
757 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *tempBuffer); in iterate()
759 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, *tempBuffer); in iterate()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c3843 INTERFACE_INFO * tempBuffer; in getifaddrs_ipv4() local
3868 tempBuffer = (INTERFACE_INFO *) realloc( buffer, size ); in getifaddrs_ipv4()
3869 require_action( tempBuffer, exit, err = WSAENOBUFS ); in getifaddrs_ipv4()
3870 buffer = tempBuffer; in getifaddrs_ipv4()