Home
last modified time | relevance | path

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

12

/third_party/qrcodegen/c/
Dqrcodegen-demo.c63 uint8_t tempBuffer[qrcodegen_BUFFER_LEN_MAX]; in doBasicDemo() local
64 bool ok = qrcodegen_encodeText(text, tempBuffer, qrcode, errCorLvl, in doBasicDemo()
75 uint8_t tempBuffer[qrcodegen_BUFFER_LEN_MAX]; in doVarietyDemo() local
76 …bool ok = qrcodegen_encodeText("314159265358979323846264338327950288419716939937510", tempBuffer, … in doVarietyDemo()
84 uint8_t tempBuffer[qrcodegen_BUFFER_LEN_MAX]; in doVarietyDemo() local
85 …qrcodegen_encodeText("DOLLAR-AMOUNT:$39.87 PERCENTAGE:100.00% OPERATIONS:+-*/", tempBuffer, qrcode, in doVarietyDemo()
95 uint8_t tempBuffer[qrcodegen_BUFFER_LEN_MAX]; in doVarietyDemo() local
96 bool ok = qrcodegen_encodeText(text, tempBuffer, qrcode, in doVarietyDemo()
112 uint8_t tempBuffer[qrcodegen_BUFFER_LEN_MAX]; in doVarietyDemo() local
113 bool ok = qrcodegen_encodeText(text, tempBuffer, qrcode, in doVarietyDemo()
[all …]
Dqrcodegen.c129 bool qrcodegen_encodeText(const char *text, uint8_t tempBuffer[], uint8_t qrcode[], in qrcodegen_encodeText() argument
134 …n_encodeSegmentsAdvanced(NULL, 0, ecl, minVersion, maxVersion, mask, boostEcl, tempBuffer, qrcode); in qrcodegen_encodeText()
141 seg = qrcodegen_makeNumeric(text, tempBuffer); in qrcodegen_encodeText()
145 seg = qrcodegen_makeAlphanumeric(text, tempBuffer); in qrcodegen_encodeText()
150 tempBuffer[i] = (uint8_t)text[i]; in qrcodegen_encodeText()
156 seg.data = tempBuffer; in qrcodegen_encodeText()
158 …n_encodeSegmentsAdvanced(&seg, 1, ecl, minVersion, maxVersion, mask, boostEcl, tempBuffer, qrcode); in qrcodegen_encodeText()
197 enum qrcodegen_Ecc ecl, uint8_t tempBuffer[], uint8_t qrcode[]) { in qrcodegen_encodeSegments() argument
199 qrcodegen_VERSION_MIN, qrcodegen_VERSION_MAX, qrcodegen_Mask_AUTO, true, tempBuffer, qrcode); in qrcodegen_encodeSegments()
205 …int minVersion, int maxVersion, enum qrcodegen_Mask mask, bool boostEcl, uint8_t tempBuffer[], uin… in qrcodegen_encodeSegmentsAdvanced() argument
[all …]
Dqrcodegen.h187 bool qrcodegen_encodeText(const char *text, uint8_t tempBuffer[], uint8_t qrcode[],
264 enum qrcodegen_Ecc ecl, uint8_t tempBuffer[], uint8_t qrcode[]);
303 …int minVersion, int maxVersion, enum qrcodegen_Mask mask, bool boostEcl, uint8_t tempBuffer[], uin…
DReadme.markdown47 uint8_t tempBuffer[qrcodegen_BUFFER_LEN_MAX];
49 tempBuffer, qr0, qrcodegen_Ecc_MEDIUM,
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]
/third_party/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 …]
/third_party/cmsis/CMSIS/DSP/Source/InterpolationFunctions/
Darm_spline_interp_init_f32.c72 float32_t * tempBuffer) in arm_spline_init_f32() argument
84 float32_t * u = tempBuffer; /* (n-1)-long scratch buffer for u elements */ in arm_spline_init_f32()
85 float32_t * z = tempBuffer+(n-1); /* n-long scratch buffer for z elements */ in arm_spline_init_f32()
/third_party/skia/third_party/externals/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);
/third_party/node/deps/icu-small/source/common/
Duloc.cpp765 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in ulocimp_getKeywordValue() local
779 tmpLocaleID = _ConvertBCP47(localeID, tempBuffer, in ulocimp_getKeywordValue()
780 sizeof(tempBuffer), status, nullptr); in ulocimp_getKeywordValue()
1409 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_openKeywords() local
1417 tmpLocaleID = _ConvertBCP47(localeID, tempBuffer, in uloc_openKeywords()
1418 sizeof(tempBuffer), status, nullptr); in uloc_openKeywords()
1492 …PreflightingLocaleIDBuffer tempBuffer; // if localeID has a BCP47 extension, tmpLocaleID points t… in _canonicalize() local
1518 tmpLocaleID = _ConvertBCP47(localeIDPtr, tempBuffer.getBuffer(), in _canonicalize()
1519 tempBuffer.getCapacity(), err, in _canonicalize()
1520 &(tempBuffer.requestedCapacity)); in _canonicalize()
[all …]
/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DCommandRecordingContext.cpp122 void CommandRecordingContext::AddToTempBuffers(Ref<Buffer> tempBuffer) { in AddToTempBuffers() argument
123 mTempBuffers.emplace_back(tempBuffer); in AddToTempBuffers()
DCommandRecordingContext.h45 void AddToTempBuffers(Ref<Buffer> tempBuffer);
DCommandBufferD3D12.cpp215 Ref<Buffer> tempBuffer = ToBackend(std::move(tempBufferBase)); in RecordCopyTextureWithTemporaryBuffer() local
219 tempBuffer->TrackUsageAndTransitionNow(recordingContext, wgpu::BufferUsage::CopyDst); in RecordCopyTextureWithTemporaryBuffer()
221 bufferCopy.buffer = tempBuffer; in RecordCopyTextureWithTemporaryBuffer()
226 srcTexture, tempBuffer.Get(), copySize); in RecordCopyTextureWithTemporaryBuffer()
229 tempBuffer->TrackUsageAndTransitionNow(recordingContext, wgpu::BufferUsage::CopySrc); in RecordCopyTextureWithTemporaryBuffer()
231 RecordCopyBufferToTexture(recordingContext, dstCopy, tempBuffer->GetD3D12Resource(), 0, in RecordCopyTextureWithTemporaryBuffer()
236 recordingContext->AddToTempBuffers(std::move(tempBuffer)); in RecordCopyTextureWithTemporaryBuffer()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp464 Ref<Buffer> tempBuffer = in RecordCopyImageWithTemporaryBuffer() local
468 tempBufferCopy.buffer = tempBuffer.Get(); in RecordCopyImageWithTemporaryBuffer()
477 tempBuffer->TransitionUsageNow(recordingContext, wgpu::BufferUsage::CopyDst); in RecordCopyImageWithTemporaryBuffer()
483 tempBuffer->GetHandle(), 1, &srcToTempBufferRegion); in RecordCopyImageWithTemporaryBuffer()
485 tempBuffer->TransitionUsageNow(recordingContext, wgpu::BufferUsage::CopySrc); in RecordCopyImageWithTemporaryBuffer()
491 device->fn.CmdCopyBufferToImage(commands, tempBuffer->GetHandle(), dstImage, in RecordCopyImageWithTemporaryBuffer()
495 recordingContext->tempBuffers.emplace_back(tempBuffer); in RecordCopyImageWithTemporaryBuffer()
/third_party/cmsis/CMSIS/DSP/Include/dsp/
Dinterpolation_functions.h166 float32_t * tempBuffer);
/third_party/flutter/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()
/third_party/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()
/third_party/node/deps/npm/node_modules/qs/test/
Dstringify.js351 var tempBuffer = global.Buffer;
354 global.Buffer = tempBuffer;

12