Home
last modified time | relevance | path

Searched refs:buffer (Results 6226 - 6250 of 14922) sorted by relevance

1...<<241242243244245246247248249250>>...597

/third_party/icu/icu4c/source/test/intltest/
H A Dtsdcfmsy.cpp400 UnicodeString buffer; in Verify() local
402 buffer = df.format(value, buffer, pos); in Verify()
403 if(buffer != expected){ in Verify()
405 expected + ", Got " + buffer); in Verify()
/third_party/icu/icu4c/source/common/
H A Dcaniter.cpp136 buffer.setToBogus(); in next()
137 return buffer; in next()
141 buffer.remove(); in next()
146 buffer.append(pieces[i][current[i]]); in next()
148 //String result = buffer.toString(); // not needed in next()
161 return buffer; in next()
315 /* Test for buffer overflows */ in permute()
400 /* Test for buffer overflows */ in getEquivalents()
488 /* Test for buffer overflows */ in getEquivalents2()
545 //if (PROGRESS) printf(" buffer in extract()
[all...]
/third_party/icu/tools/multi/proj/provider/glue/
H A Dcoll_fe.cpp79 public: virtual int32_t internalGetShortDefinitionString(const char *locale, char *buffer, int32_t capacity, UErrorCode &status) const; \
303 int32_t GLUE_SYM (Collator ) :: internalGetShortDefinitionString(const char *locale, char *buffer, int32_t capacity, UErrorCode &status) const { in GLUE_SYM()
305 int32_t intRes = OICU_ucol_getShortDefinitionString(_this, locale, buffer, capacity, &status); in GLUE_SYM()
313 char *p = buffer+strlen(buffer); in GLUE_SYM()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DUnicodeCompressor.java43 * // Compress an array "chars" of length "len" using a buffer of 512 bytes
298 * @param buffer The string to compress.
302 public static byte [] compress(String buffer) in compress() argument
304 return compress(buffer.toCharArray(), 0, buffer.length()); in compress()
309 * @param buffer The character buffer to compress.
315 public static byte [] compress(char [] buffer, in compress() argument
321 // use a buffer that we know will never overflow in compress()
325 // buffer mus in compress()
[all...]
H A DUnicodeDecompressor.java35 * // Decompress an array "bytes" of length "len" using a buffer of 512 chars
90 /** Size of our internal buffer */
93 /** Internal buffer for saving state */
96 /** Number of characters in our internal buffer */
111 * @param buffer The byte array to decompress.
115 public static String decompress(byte [] buffer){ in decompress() argument
116 char [] buf = decompress(buffer, 0, buffer.length); in decompress()
122 * @param buffer The byte array to decompress.
128 public static char [] decompress(byte [] buffer, in argument
[all...]
/third_party/libwebsockets/lib/abstract/transports/
H A Dunit-test.c106 lwsl_hexdump_debug(priv->expect->buffer, priv->expect->len); in process_expect()
107 s = priv->abs->ap->rx(priv->abs->api, priv->expect->buffer, in process_expect()
265 if (!priv->expect->buffer) { in unit_test_sequencer_cb()
321 if (memcmp(buf, priv->expect->buffer, len)) { in lws_atcut_tx()
323 lwsl_hexdump_debug(priv->expect->buffer, len); in lws_atcut_tx()
/third_party/lzma/CPP/7zip/Archive/7z/
H A D7zDecode.cpp444 CByteBuffer_Wipe buffer(len * 2);
448 ((Byte *)buffer)[k * 2] = (Byte)c;
449 ((Byte *)buffer)[k * 2 + 1] = (Byte)(c >> 8);
451 RINOK(cryptoSetPassword->CryptoSetPassword((const Byte *)buffer, (UInt32)buffer.Size()))
/third_party/mesa3d/src/egl/drivers/dri2/
H A Degl_dri2.h128 EGLenum target, EGLClientBuffer buffer,
174 * shared buffer mode.
373 struct NativeWindowBuffer *buffer; member
375 /* in-fence associated with buffer, -1 once passed down to dri layer: */
387 struct NativeWindowBuffer *buffer; member
492 EGLClientBuffer buffer, const EGLint *attr_list);
496 EGLClientBuffer buffer, const EGLint *attr_list);
/third_party/node/deps/v8/src/wasm/
H A Dwasm-module-builder.h205 void WriteSignature(ZoneBuffer* buffer) const;
206 void WriteBody(ZoneBuffer* buffer) const;
207 void WriteAsmWasmOffsetTable(ZoneBuffer* buffer) const;
379 void WriteTo(ZoneBuffer* buffer) const;
380 void WriteAsmJsOffsetTable(ZoneBuffer* buffer) const;
/third_party/node/deps/icu-small/source/common/
H A Dcaniter.cpp136 buffer.setToBogus(); in next()
137 return buffer; in next()
141 buffer.remove(); in next()
146 buffer.append(pieces[i][current[i]]); in next()
148 //String result = buffer.toString(); // not needed in next()
161 return buffer; in next()
315 /* Test for buffer overflows */ in permute()
400 /* Test for buffer overflows */ in getEquivalents()
488 /* Test for buffer overflows */ in getEquivalents2()
545 //if (PROGRESS) printf(" buffer in extract()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dfeedback.c52 _mesa_FeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ) in _mesa_FeedbackBuffer()
64 if (!buffer && size > 0) { in _mesa_FeedbackBuffer()
65 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(buffer==NULL)" ); in _mesa_FeedbackBuffer()
94 ctx->Feedback.Buffer = buffer; in _mesa_FeedbackBuffer()
113 * Put a vertex into the feedback buffer.
149 * Establish a buffer for selection mode values.
151 * \param size buffer size.
152 * \param buffer buffer.
159 * the fields in __struct gl_contextRec::Select with the given buffer
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Dgfx7_cmd_buffer.c196 struct anv_buffer *buffer = cmd_buffer->state.gfx.index_buffer; in cmd_buffer_flush_dynamic_state() local
212 buffer->address.bo, in cmd_buffer_flush_dynamic_state()
215 ib.BufferStartingAddress = anv_address_add(buffer->address, offset); in cmd_buffer_flush_dynamic_state()
216 ib.BufferEndingAddress = anv_address_add(buffer->address, in cmd_buffer_flush_dynamic_state()
217 buffer->vk.size); in cmd_buffer_flush_dynamic_state()
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_buffer.c21 /* buffer commands */
23 /* mandatory buffer create infos to cache */
105 * buffer. To be noted, we'll still set cache entry create_info to the in vn_buffer_cache_entries_create()
320 .buffer = buf_handle, in vn_buffer_init()
391 VkBuffer buffer, in vn_DestroyBuffer()
396 struct vn_buffer *buf = vn_buffer_from_handle(buffer); in vn_DestroyBuffer()
403 vn_async_vkDestroyBuffer(dev->instance, device, buffer, NULL); in vn_DestroyBuffer()
433 const struct vn_buffer *buf = vn_buffer_from_handle(pInfo->buffer); in vn_GetBufferMemoryRequirements2()
499 /* buffer view commands */
390 vn_DestroyBuffer(VkDevice device, VkBuffer buffer, const VkAllocationCallbacks *pAllocator) vn_DestroyBuffer() argument
/third_party/mesa3d/src/util/sha1/
H A Dsha1.c55 SHA1Transform(uint32_t state[5], const uint8_t buffer[SHA1_BLOCK_LENGTH]) in SHA1Transform() argument
61 (void)memcpy(block, buffer, SHA1_BLOCK_LENGTH); in SHA1Transform()
132 (void)memcpy(&context->buffer[j], data, (i = 64-j)); in SHA1Update()
133 SHA1Transform(context->state, context->buffer); in SHA1Update()
140 (void)memcpy(&context->buffer[j], &data[i], len - i); in SHA1Update()
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
H A Dmain.c539 char buffer[BUFFSIZE]; in open_read_close() local
556 while ((c = read(fileHandle, buffer, BUFFSIZE)) > 0) { in open_read_close()
557 if (write(nullFileHandle, buffer, c) < 0) { in open_read_close()
565 if ((c = read(fileHandle2, buffer, BUFFSIZE)) > 0) { in open_read_close()
566 if (write(nullFileHandle, buffer, c) < 0) { in open_read_close()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_pipeline_state.cpp108 const int buffer = output->output_buffer; in fill_so_declaration() local
117 int skip_components = output->dst_offset - next_offset[buffer]; in fill_so_declaration()
123 entries[*num_entries].OutputSlot = buffer; in fill_so_declaration()
127 next_offset[buffer] = output->dst_offset + output->num_components; in fill_so_declaration()
138 entries[*num_entries].OutputSlot = buffer; in fill_so_declaration()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_transfer.c48 /* Compute offset into a 1D/2D/3D buffer of a certain box.
61 static void etna_patch_data(void *buffer, const struct pipe_transfer *ptrans) in etna_patch_data() argument
77 etna_etc2_calculate_blocks(buffer, ptrans->stride, in etna_patch_data()
82 etna_etc2_patch(buffer, level->patch_offsets); in etna_patch_data()
87 static void etna_unpatch_data(void *buffer, const struct pipe_transfer *ptrans) in etna_unpatch_data() argument
96 etna_etc2_patch(buffer, level->patch_offsets); in etna_unpatch_data()
110 * with a completely new buffer in etna_transfer_unmap()
129 * tiling format. Write back the updated buffer contents. in etna_transfer_unmap()
133 /* map buffer object */ in etna_transfer_unmap()
220 * being mapped. If we add buffer reallocatio in etna_transfer_map()
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/
H A Dscrypt.c107 static int scrypt_set_membuf(unsigned char **buffer, size_t *buflen, in scrypt_set_membuf() argument
110 OPENSSL_clear_free(*buffer, *buflen); in scrypt_set_membuf()
111 *buffer = NULL; in scrypt_set_membuf()
115 if ((*buffer = OPENSSL_malloc(1)) == NULL) { in scrypt_set_membuf()
120 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in scrypt_set_membuf()
443 /* Memory checks: check total allocated buffer size fits in uint64_t */ in scrypt_alg()
/third_party/python/Lib/multiprocessing/
H A Dqueues.py32 # Queue type using a pipe, buffer and thread
164 # Start thread which transfers data from buffer to pipe
205 def _finalize_close(buffer, notempty):
208 buffer.append(_sentinel)
212 def _feed(buffer, notempty, send_bytes, writelock, reader_close,
218 bpopleft = buffer.popleft
230 if not buffer:
/third_party/python/Lib/
H A Dsite.py651 buffer = []
653 buffer.append(USER_BASE)
655 buffer.append(USER_SITE)
657 if buffer:
658 print(os.pathsep.join(buffer))
/third_party/pulseaudio/speex/libspeexdsp/
H A Dfftwrap.c175 Ipp8u *buffer; member
194 table->buffer = ippsMalloc_8u(bufferSize); in spx_fft_init()
202 ippsFree(t->buffer); in spx_fft_destroy()
210 ippsDFTFwd_RToPack_32f(in, out, t->dftSpec, t->buffer); in spx_fft()
216 ippsDFTInv_PackToR_32f(in, out, t->dftSpec, t->buffer); in spx_ifft()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/
H A DvktObjectRefreshTests.cpp139 vk::Move<vk::VkBuffer> buffer = createBuffer(vkd, device, &bufferCreateInfo); in refreshObjects() local
140 const vk::VkMemoryRequirements bufferRequirements = getBufferMemoryRequirements(vkd, device, *buffer); in refreshObjects()
142 vkd.bindBufferMemory(device, *buffer, bufferAllocation->getMemory(), 0); in refreshObjects()
143 vk::Move<vk::VkBufferView> bufferView = makeBufferView(vkd, device, *buffer, vk::VK_FORMAT_R32G32B32A32_SFLOAT, 0ull, VK_WHOLE_SIZE); in refreshObjects()
267 { vk::VK_OBJECT_TYPE_BUFFER, buffer.get().getInternal() }, in refreshObjects()
300 // record command buffer in refreshObjects()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
H A DD3DTextureSurfaceWGL.cpp54 << "Unknown client buffer texture format: " << textureDesc.Format; in GetD3D11TextureInfo()
63 return egl::EglBadParameter() << "Could not query the D3D11 device from the client buffer."; in GetD3D11TextureInfo()
130 << "Unknown client buffer texture format: " << surfaceDesc.Format; in GetD3D9TextureInfo()
155 return egl::EglBadParameter() << "Could not query the D3D9 device from the client buffer."; in GetD3D9TextureInfo()
190 IUnknown *buffer = static_cast<IUnknown *>(clientBuffer); in GetD3DTextureInfo() local
193 if (SUCCEEDED(buffer->QueryInterface<ID3D11Texture2D>(&texture11))) in GetD3DTextureInfo()
198 else if (SUCCEEDED(buffer->QueryInterface<IDirect3DTexture9>(&texture9))) in GetD3DTextureInfo()
206 << "Provided buffer is not a IDirect3DTexture9 or ID3D11Texture2D."; in GetD3DTextureInfo()
409 EGLint buffer) in bindTexImage()
434 egl::Error D3DTextureSurfaceWGL::releaseTexImage(const gl::Context *context, EGLint buffer) in releaseTexImage() argument
407 bindTexImage(const gl::Context *context, gl::Texture *texture, EGLint buffer) bindTexImage() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkImageUtil.hpp148 std::unique_ptr<BufferWithMemory> buffer; member in vk::ImageWithBuffer
246 * Copies buffer data into an image. The buffer is expected to be
253 const vk::VkBuffer& buffer,
269 const VkBuffer& buffer,
282 * Copies image data into a buffer. The buffer is expected to be
288 vk::VkBuffer buffer,
300 vk::VkBuffer buffer,
/third_party/skia/src/codec/
H A DSkBmpRLECodec.cpp140 * @return the number of bytes remaining in the stream buffer after
145 uint8_t* buffer = fStreamBuffer; in checkForMoreData() local
147 // We will be reusing the same buffer, starting over from the beginning. in checkForMoreData()
148 // Move any remaining bytes to the start of the buffer. in checkForMoreData()
151 memmove(buffer, SkTAddOffset<uint8_t>(buffer, fCurrRLEByte), remainingBytes); in checkForMoreData()
153 // Adjust the buffer ptr to the start of the unfilled data. in checkForMoreData()
154 buffer += remainingBytes; in checkForMoreData()
157 // bytes of additional space remaining in the buffer, assuming that we in checkForMoreData()
158 // have already copied remainingBytes to the start of the buffer in checkForMoreData()
[all...]

Completed in 23 milliseconds

1...<<241242243244245246247248249250>>...597