/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MessageRegressionTest.java | 79 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/ |
D | MessageRegressionTest.java | 82 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/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/ |
D | FlacDecoderJni.java | 51 @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/ |
D | msfmrgts.cpp | 105 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/ |
D | image.c | 478 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/ |
D | test_sub_buffers.cpp | 79 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/vec_step/ |
D | test_step.cpp | 44 char tempBuffer[2048]; in test_step_internal() local 90 doSingleReplace(tempBuffer, 2048, pattern, in test_step_internal() 97 doReplace(srcBuffer, 2048, tempBuffer, in test_step_internal()
|
/external/dng_sdk/source/ |
D | dng_string.cpp | 224 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 …]
|
D | dng_read_image.cpp | 861 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 …]
|
D | dng_jpeg_image.cpp | 100 AutoPtr<dng_memory_block> tempBuffer; in Process() local 145 tempBuffer); in Process()
|
D | dng_image_writer.cpp | 3009 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()
|
D | dng_image_writer.h | 1212 AutoPtr<dng_memory_block> &tempBuffer); 1237 AutoPtr<dng_memory_block> &tempBuffer);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | DexWriter.java | 773 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/icu/icu4c/source/common/ |
D | uloc.cpp | 779 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_getKeywordValue() local 793 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); in uloc_getKeywordValue() 1495 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_openKeywords() local 1503 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); in uloc_openKeywords() 1567 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in _canonicalize() local 1580 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err); in _canonicalize() 1891 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_getVariant() local 1900 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err); in uloc_getVariant()
|
/external/skqp/src/gpu/ |
D | GrContext.cpp | 526 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/ |
D | SkRawCodec.cpp | 305 SkAutoSTMalloc<kMinSizeToRead, uint8> tempBuffer(sizeToRead); in bufferMoreData() local 306 const size_t bytesRead = fStream->read(tempBuffer.get(), sizeToRead); in bufferMoreData() 310 return fStreamBuffer.write(tempBuffer.get(), bytesRead); in bufferMoreData()
|
/external/skqp/src/codec/ |
D | SkRawCodec.cpp | 306 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/ |
D | AndroidTest.java | 1053 short[] tempBuffer = new short[160]; // Only used for native case 1057 rdSamples = _ar.read(tempBuffer, 0, 160);
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zEncode.cpp | 338 CMyComPtr<ISequentialOutStream> tempBuffer = tempBufferSpec; in Encode() local 340 tempBuffers.Add(tempBuffer); in Encode()
|
/external/angle/src/tests/gl_tests/ |
D | WebGLFramebufferTest.cpp | 166 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/ |
D | esextcTextureBufferOperations.cpp | 813 glw::GLint* tempBuffer = (glw::GLint*)gl.mapBufferRange( in initializeBufferObjectData() local 820 tempBuffer[i] = data[i]; in initializeBufferObjectData()
|
/external/deqp/modules/gles31/functional/ |
D | es31fBasicComputeShaderTests.cpp | 741 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/ |
D | CharsetISO2022.java | 1241 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/ |
D | mDNSWin32.c | 3843 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()
|