Home
last modified time | relevance | path

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

12

/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/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/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/
DFlacDecoderJni.java51 @Nullable private byte[] tempBuffer; field in FlacDecoderJni
83 if (tempBuffer == null) { in setData()
84 tempBuffer = new byte[TEMP_BUFFER_SIZE]; in setData()
128 byte[] tempBuffer = Util.castNonNull(this.tempBuffer); in read()
130 int read = readFromExtractorInput(extractorInput, tempBuffer, /* offset= */ 0, byteCount); in read()
137 extractorInput, tempBuffer, read, /* length= */ byteCount - read); in read()
140 target.put(tempBuffer, 0, byteCount); in read()
268 ExtractorInput extractorInput, byte[] tempBuffer, int offset, int length) throws IOException { in readFromExtractorInput() argument
269 int read = extractorInput.read(tempBuffer, offset, length); in readFromExtractorInput()
/external/icu/icu4c/source/test/intltest/
Dmsfmrgts.cpp105 UnicodeString tempBuffer; in Test4074764() local
107 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); in Test4074764()
108 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format")) in Test4074764()
110 logln("Formatted with one extra param : " + tempBuffer); in Test4074764()
124 tempBuffer.remove(); in Test4074764()
125 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status); in Test4074764()
127 if( tempBuffer != "Message without param" || failure(status, "messageFormat->format")) in Test4074764()
129 logln("Formatted with no params : " + tempBuffer); in Test4074764()
131 tempBuffer.remove(); in Test4074764()
132 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/OpenCL-CTS/test_conformance/buffers/
Dtest_sub_buffers.cpp79 cl_char *tempBuffer = (cl_char*)malloc(buffer1.mSize); in Execute() local
80 if (!tempBuffer) { in Execute()
84 …cl_int error = clEnqueueReadBuffer( queue, buffer1, CL_TRUE, 0, buffer1.mSize, tempBuffer, 0, NULL… in Execute()
92 tempBuffer[ i ] |= tag; in Execute()
96 …error = clEnqueueWriteBuffer( queue, buffer1, CL_TRUE, 0, buffer1.mSize, tempBuffer, 0, NULL, NULL… in Execute()
98 free(tempBuffer); in Execute()
605 cl_char * tempBuffer = new cl_char[ mainSize ]; in test_sub_buffers_overlapping() local
613 …ReadBuffer( queue, subBuffers[ i ], CL_TRUE, 0, subBuffers[ i ].mSize, tempBuffer, 0, NULL, NULL ); in test_sub_buffers_overlapping()
615 …ror = read_buffer_via_kernel( context, queue, subBuffers[ i ], subBuffers[ i ].mSize, tempBuffer ); in test_sub_buffers_overlapping()
618 if ( memcmp( tempBuffer, contents + subBuffers[ i ].mOrigin, subBuffers[ i ].mSize ) != 0 ) in test_sub_buffers_overlapping()
[all …]
/external/OpenCL-CTS/test_conformance/vectors/
Dtest_step.cpp45 char tempBuffer[2048]; in test_step_internal() local
96 doSingleReplace(tempBuffer, 2048, pattern, ".EXTENSIONS.", in test_step_internal()
103 doReplace(srcBuffer, 2048, tempBuffer, ".TYPE.", in test_step_internal()
/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/icu/icu4c/source/common/
Duloc.cpp756 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in ulocimp_getKeywordValue() local
770 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); in ulocimp_getKeywordValue()
1399 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_openKeywords() local
1407 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); in uloc_openKeywords()
1477 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in _canonicalize() local
1488 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err); in _canonicalize()
1765 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_getVariant() local
1774 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err); in uloc_getVariant()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java773 ByteBuffer tempBuffer = ByteBuffer.allocate(65536);
774 tempBuffer.order(ByteOrder.LITTLE_ENDIAN);
785 if (maxSize > tempBuffer.capacity()) {
786 tempBuffer = ByteBuffer.allocate(maxSize);
787 tempBuffer.order(ByteOrder.LITTLE_ENDIAN);
790 tempBuffer.clear();
800 tempBuffer.putInt(fieldSection.getFieldIndex(field));
801 tempBuffer.putInt(annotationSetSection.getItemOffset(fieldAnnotationsKey));
809 tempBuffer.putInt(methodSection.getMethodIndex(method));
810 tempBuffer.putInt(annotationSetSection.getItemOffset(methodAnnotationsKey));
[all …]
/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/lzma/CPP/7zip/Archive/7z/
D7zEncode.cpp338 CMyComPtr<ISequentialOutStream> tempBuffer = tempBufferSpec; in Encode() local
340 tempBuffers.Add(tempBuffer); in Encode()
/external/angle/src/tests/gl_tests/
DWebGLFramebufferTest.cpp166 std::vector<uint8_t> tempBuffer(width * height * 4); in testAttachment() local
170 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, tempBuffer.data()); in testAttachment()
/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/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/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/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()
/external/llvm-project/mlir/lib/IR/
DAsmPrinter.cpp601 SmallString<16> tempBuffer; in generateAlias() local
607 name = sanitizeIdentifier(name, tempBuffer, /*allowedPunctChars=*/"$_-", in generateAlias()
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.osgi_3.13.0.v20180409-1500.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...

12