Home
last modified time | relevance | path

Searched refs:bufIdx (Results 1 – 5 of 5) sorted by relevance

/third_party/node/deps/npm/node_modules/iconv-lite/encodings/
Dutf7.js155 buf = Buffer.alloc(str.length*5 + 10), bufIdx = 0;
162bufIdx += buf.write(base64Accum.slice(0, base64AccumIdx).toString('base64').replace(/\//g, ',').re…
166 buf[bufIdx++] = minusChar; // Write '-', then go to direct mode.
171 buf[bufIdx++] = uChar; // Write direct character
174 buf[bufIdx++] = minusChar;
179 buf[bufIdx++] = andChar; // Write '&', then go to base64 mode.
187 bufIdx += buf.write(base64Accum.toString('base64').replace(/\//g, ','), bufIdx);
197 return buf.slice(0, bufIdx);
201 var buf = Buffer.alloc(10), bufIdx = 0;
204bufIdx += buf.write(this.base64Accum.slice(0, this.base64AccumIdx).toString('base64').replace(/\//…
[all …]
Dinternal.js105 var buf = Buffer.alloc(str.length * 3), bufIdx = 0;
111 buf[bufIdx++] = charCode;
113 buf[bufIdx++] = 0xC0 + (charCode >>> 6);
114 buf[bufIdx++] = 0x80 + (charCode & 0x3f);
117 buf[bufIdx++] = 0xE0 + (charCode >>> 12);
118 buf[bufIdx++] = 0x80 + ((charCode >>> 6) & 0x3f);
119 buf[bufIdx++] = 0x80 + (charCode & 0x3f);
122 return buf.slice(0, bufIdx);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp419 for (deUint32 bufIdx = 0; bufIdx < DE_LENGTH_OF_ARRAY(defaultTestColors); bufIdx++) in init() local
436 …cator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), MemoryRequireme… in init()
437 …kd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(), m_bufferA… in init()
439 …deMemcpy(m_bufferAllocs[bufIdx]->getHostPtr(), &defaultTestColors[bufIdx], static_cast<size_t>(kSi… in init()
440 flushAlloc(m_vkd, *m_device, *m_bufferAllocs[bufIdx]); in init()
829 for (deUint32 bufIdx = 0; bufIdx < m_params.numCalls; bufIdx++) in init() local
846 …cator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), MemoryRequireme… in init()
847 …kd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(), m_bufferA… in init()
849 …deMemcpy(m_bufferAllocs[bufIdx]->getHostPtr(), &m_testColors[bufIdx], static_cast<size_t>(kSizeofV… in init()
850 flushAlloc(m_vkd, *m_device, *m_bufferAllocs[bufIdx]); in init()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp419 for (deUint32 bufIdx = 0; bufIdx < DE_LENGTH_OF_ARRAY(defaultTestColors); bufIdx++) in init() local
436 …cator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), MemoryRequireme… in init()
437 …kd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(), m_bufferA… in init()
439 …deMemcpy(m_bufferAllocs[bufIdx]->getHostPtr(), &defaultTestColors[bufIdx], static_cast<size_t>(kSi… in init()
440 flushAlloc(m_vkd, *m_device, *m_bufferAllocs[bufIdx]); in init()
829 for (deUint32 bufIdx = 0; bufIdx < m_params.numCalls; bufIdx++) in init() local
846 …cator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, **m_buffers[bufIdx]), MemoryRequireme… in init()
847 …kd.bindBufferMemory(*m_device, **m_buffers[bufIdx], m_bufferAllocs[bufIdx]->getMemory(), m_bufferA… in init()
849 …deMemcpy(m_bufferAllocs[bufIdx]->getHostPtr(), &m_testColors[bufIdx], static_cast<size_t>(kSizeofV… in init()
850 flushAlloc(m_vkd, *m_device, *m_bufferAllocs[bufIdx]); in init()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Duloc_tag.cpp1475 int32_t bufIdx = 0; in _appendLDMLExtensionAsKeywords() local
1553 *(buf + bufIdx) = SEP; in _appendLDMLExtensionAsKeywords()
1554 bufIdx++; in _appendLDMLExtensionAsKeywords()
1558 uprv_memcpy(buf + bufIdx, attr->attribute, len); in _appendLDMLExtensionAsKeywords()
1559 bufIdx += len; in _appendLDMLExtensionAsKeywords()
1563 *(buf + bufIdx) = 0; in _appendLDMLExtensionAsKeywords()
1564 bufIdx++; in _appendLDMLExtensionAsKeywords()
1661 if (bufSize - bufIdx - 1 >= bcpKeyLen) { in _appendLDMLExtensionAsKeywords()
1662 uprv_memcpy(buf + bufIdx, bcpKeyBuf, bcpKeyLen); in _appendLDMLExtensionAsKeywords()
1663 pKey = buf + bufIdx; in _appendLDMLExtensionAsKeywords()
[all …]