Home
last modified time | relevance | path

Searched refs:buffer (Results 3776 - 3800 of 13350) sorted by relevance

1...<<151152153154155156157158159160>>...534

/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/
H A Dpbkdf1.c139 static int kdf_pbkdf1_set_membuf(unsigned char **buffer, size_t *buflen, in kdf_pbkdf1_set_membuf() argument
142 OPENSSL_clear_free(*buffer, *buflen); in kdf_pbkdf1_set_membuf()
143 *buffer = NULL; in kdf_pbkdf1_set_membuf()
147 if ((*buffer = OPENSSL_malloc(1)) == NULL) { in kdf_pbkdf1_set_membuf()
152 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in kdf_pbkdf1_set_membuf()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmUtils.hpp130 * \brief Abstract class for an input/output storage buffer object
150 : buffer(buffer_) in Resource()
156 virtual const BufferSp& getBuffer () const { return buffer; } in getBuffer()
157 virtual void getBytes (std::vector<deUint8>& bytes) const { buffer->getBytes(bytes); } in getBytes()
158 virtual size_t getByteSize (void) const { return buffer->getByteSize(); } in getByteSize()
167 BufferSp buffer; member in vkt::SpirVAssembly::Resource
343 // Generate unused decorations for an input/output buffer.
346 // Generate unused types and constants, including a buffer type.
349 // Generate the declaration of an unused buffer variable.
352 // Generate the body of an unused function that uses the previous buffer
[all...]
/third_party/skia/src/core/
H A DSkWriteBuffer.h28 virtual void writePad32(const void* buffer, size_t bytes) = 0;
86 void write(const void* buffer, size_t bytes) { in write() argument
87 fWriter.write(buffer, bytes); in write()
89 void writePad32(const void* buffer, size_t bytes) override {
90 fWriter.writePad(buffer, bytes);
100 // buffer provided in the constructor or the most recent call to reset.
/third_party/openssl/providers/implementations/kdfs/
H A Dpbkdf1.c133 static int kdf_pbkdf1_set_membuf(unsigned char **buffer, size_t *buflen, in kdf_pbkdf1_set_membuf() argument
136 OPENSSL_clear_free(*buffer, *buflen); in kdf_pbkdf1_set_membuf()
137 *buffer = NULL; in kdf_pbkdf1_set_membuf()
141 if ((*buffer = OPENSSL_malloc(1)) == NULL) { in kdf_pbkdf1_set_membuf()
146 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in kdf_pbkdf1_set_membuf()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
H A DFFMpegExtractor.cpp44 bool FFMpegExtractor::createAVIOContext(AAsset *asset, uint8_t *buffer, uint32_t bufferSize, in createAVIOContext() argument
50 buffer, // internal buffer for FFmpeg to use in createAVIOContext()
126 // Create a buffer for FFmpeg to use for decoding (freed in the custom deleter below) in decode()
127 auto buffer = reinterpret_cast<uint8_t*>(av_malloc(kInternalBufferSize)); in decode() local
133 av_free(c->buffer); in decode()
139 if (!createAVIOContext(asset, buffer, kInternalBufferSize, &tmp)){ in decode()
/third_party/skia/third_party/externals/icu/source/common/
H A Dlocutil.cpp171 char buffer[BUFLEN]; in initLocaleFromName() local
178 id.extract(prev, INT32_MAX, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName()
182 id.extract(prev, i - prev, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName()
183 // manually "convert" U+0040 at id[i] into '@' at buffer[i] in initLocaleFromName()
184 buffer[i] = '@'; in initLocaleFromName()
188 result = Locale::createFromName(buffer); in initLocaleFromName()
/third_party/skia/client_utils/android/
H A DFrontBufferedStream.cpp24 size_t read(void* buffer, size_t size) override;
26 size_t peek(void* buffer, size_t size) const override;
47 // Total size of the buffer.
120 // Only allow a rewind if we have not exceeded the buffer. in rewind()
151 // and the remainder of the max buffer size.
153 char* buffer = fBuffer + fOffset; local
154 const size_t buffered = fStream->read(buffer, bytesToBuffer);
160 // Copy the buffer to the destination buffer and update the amount read.
162 memcpy(dst, buffer, buffere
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmUtils.hpp130 * \brief Abstract class for an input/output storage buffer object
150 : buffer(buffer_) in Resource()
156 virtual const BufferSp& getBuffer () const { return buffer; } in getBuffer()
157 virtual void getBytes (std::vector<deUint8>& bytes) const { buffer->getBytes(bytes); } in getBytes()
158 virtual size_t getByteSize (void) const { return buffer->getByteSize(); } in getByteSize()
167 BufferSp buffer; member in vkt::SpirVAssembly::Resource
335 // Generate unused decorations for an input/output buffer.
338 // Generate unused types and constants, including a buffer type.
341 // Generate the declaration of an unused buffer variable.
344 // Generate the body of an unused function that uses the previous buffer
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_server_profile.cpp49 static void ReceiveData(uint16_t connectHandle, uint16_t event, void *eventData, Buffer *buffer, void *context);
246 * @param buffer Indicates att data.
251 uint16_t connectHandle, uint16_t event, void *eventData, Buffer *buffer, void *context) in ReceiveData()
267 object->DiscoverPrimaryServiceByUuidResponsePostTask(connectHandle, buffer, (AttEventData *)eventData); in ReceiveData()
280 object->ReadMultipleCharacteristicValueResponsePostTask(connectHandle, (AttEventData *)eventData, buffer); in ReceiveData()
286 object->WriteValueResponsePostTask(connectHandle, (AttEventData *)eventData, buffer); in ReceiveData()
289 object->WriteWithoutResponsePostTask(connectHandle, (AttEventData *)eventData, buffer); in ReceiveData()
292 object->WriteLongCharacteristicValueResponsePostTask(connectHandle, (AttEventData *)eventData, buffer); in ReceiveData()
839 Buffer *buffer = nullptr; in ReadBlobValueResponse() local
855 buffer in ReadBlobValueResponse()
250 ReceiveData( uint16_t connectHandle, uint16_t event, void *eventData, Buffer *buffer, void *context) ReceiveData() argument
2028 Buffer *buffer = GattServiceBase::BuildBuffer(value->get(), len); SendNotification() local
2051 Buffer *buffer = GattServiceBase::BuildBuffer(value->get(), len); SendIndication() local
2095 Buffer *buffer = GattServiceBase::BuildBuffer(value->get(), len); SendReadUsingCharacteristicValueResp() local
2124 Buffer *buffer = GattServiceBase::BuildBuffer(value->get(), len); SendReadBlobValueResp() local
2167 Buffer *buffer = nullptr; SendReadDescriptorResp() local
2227 Buffer *buffer = GattServiceBase::BuildBuffer(value->get(), len); SendPrepareWriteValueResp() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/s2255/
H A Ds2255drv.c8 * Some video buffer code based on vivi driver:
159 /* image buffer structure */
161 unsigned long dwFrames; /* number of frames in buffer */
211 struct s2255_bufferi buffer; member
280 /* buffer for one video frame */
282 /* common v4l buffer stuff -- must be first */
564 /* tell v4l buffer was filled */ in s2255_got_frame()
584 /* video buffer vmalloc implementation based partly on VIVI driver which is
606 (const char *)vc->buffer.frame[last_frame].lpvbits; in s2255_fillbuff()
673 dprintk(vc->dev, 4, "invalid buffer prepar in buffer_prepare()
990 __le32 *buffer = dev->cmdbuf; s2255_set_mode() local
1038 __le32 *buffer = dev->cmdbuf; s2255_cmd_status() local
2121 __le32 *buffer = dev->cmdbuf; s2255_start_acquire() local
2151 __le32 *buffer = dev->cmdbuf; s2255_stop_acquire() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/s2255/
H A Ds2255drv.c8 * Some video buffer code based on vivi driver:
159 /* image buffer structure */
161 unsigned long dwFrames; /* number of frames in buffer */
211 struct s2255_bufferi buffer; member
280 /* buffer for one video frame */
282 /* common v4l buffer stuff -- must be first */
564 /* tell v4l buffer was filled */ in s2255_got_frame()
584 /* video buffer vmalloc implementation based partly on VIVI driver which is
606 (const char *)vc->buffer.frame[last_frame].lpvbits; in s2255_fillbuff()
673 dprintk(vc->dev, 4, "invalid buffer prepar in buffer_prepare()
988 __le32 *buffer = dev->cmdbuf; s2255_set_mode() local
1036 __le32 *buffer = dev->cmdbuf; s2255_cmd_status() local
2119 __le32 *buffer = dev->cmdbuf; s2255_start_acquire() local
2149 __le32 *buffer = dev->cmdbuf; s2255_stop_acquire() local
[all...]
/third_party/backends/backend/
H A Dhp4200.c466 read_available_data (HP4200_Scanner * s, SANE_Byte * buffer, in read_available_data() argument
476 assert (buffer != NULL); in read_available_data()
499 if ((status = sanei_usb_read_bulk (s->fd, buffer, &really_read)) != in read_available_data()
512 buffer += really_read; in read_available_data()
624 SANE_Byte *buffer; in compute_datalink_bandwidth() local
626 buffer = malloc (2 * 98304); /* check this */ in compute_datalink_bandwidth()
627 if (!buffer) in compute_datalink_bandwidth()
639 status = read_available_data (s, buffer, &bytes_read); in compute_datalink_bandwidth()
654 free (buffer); in compute_datalink_bandwidth()
942 read_required_bytes (HP4200_Scanner * s, int required, SANE_Byte * buffer) in read_required_bytes() argument
1832 unsigned char *buffer; ciclic_buffer_init() local
[all...]
/foundation/ability/ability_runtime/interfaces/kits/c/ability_runtime/
H A Dapplication_context.h52 * @param buffer A pointer to a buffer that receives the cache directory of the application.
53 * @param bufferSize The length of the buffer.
54 * @param writeLength The string length actually written to the buffer,
58 * {@link ABILITY_RUNTIME_ERROR_CODE_PARAM_INVALID} if the buffer or writeLength is null,
59 * or the buffer size is less than the minimum buffer size.
64 char* buffer, int32_t bufferSize, int32_t* writeLength);
81 * @param buffer A pointer to a buffer tha
[all...]
/foundation/graphic/surface_lite/frameworks/
H A Dbuffer_queue_consumer.cpp37 bool BufferQueueConsumer::ReleaseBuffer(const SurfaceBufferImpl& buffer) in ReleaseBuffer() argument
39 return bufferQueue_->ReleaseBuffer(buffer); in ReleaseBuffer()
/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Dnative_buffer_inner.h27 const BufferHandle* OH_NativeBuffer_GetBufferHandle(const OH_NativeBuffer *buffer);
29 void OH_NativeBuffer_GetNativeBufferConfig(const OH_NativeBuffer *buffer, OH_NativeBuffer_Config* config);
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/download/
H A Dnetwork_typs.h24 using RxBody = size_t(*)(void* buffer, size_t size, size_t nitems, void* userParam);
25 using RxHeader = size_t(*)(void* buffer, size_t size, size_t nitems, void* userParam);
/foundation/communication/netstack/frameworks/js/napi/socket/options/src/
H A Dlocal_socket_options.cpp19 void LocalSocketOptions::SetBuffer(const std::string &buffer) in SetBuffer() argument
21 buffer_ = buffer; in SetBuffer()
/kernel/linux/linux-5.10/drivers/usb/storage/
H A Dprotocol.h33 /* struct scsi_cmnd transfer buffer access utilities */
36 extern unsigned int usb_stor_access_xfer_buf(unsigned char *buffer,
40 extern void usb_stor_set_xfer_buf(unsigned char *buffer,
/kernel/linux/linux-6.6/drivers/usb/storage/
H A Dprotocol.h33 /* struct scsi_cmnd transfer buffer access utilities */
36 extern unsigned int usb_stor_access_xfer_buf(unsigned char *buffer,
40 extern void usb_stor_set_xfer_buf(unsigned char *buffer,
/third_party/ffmpeg/libavcodec/
H A Dmediacodec.h71 * Opaque structure representing a MediaCodec buffer to render.
76 * Release a MediaCodec buffer and render it to the surface that is associated
78 * buffer, once released the underlying buffer returns to the codec, thus
81 * @param buffer the buffer to render
82 * @param render 1 to release and render the buffer to the surface or 0 to
83 * discard the buffer
86 int av_mediacodec_release_buffer(AVMediaCodecBuffer *buffer, int render);
89 * Release a MediaCodec buffer an
[all...]
H A Dalacdsp.h25 void (*decorrelate_stereo)(int32_t *buffer[2], int nb_samples,
27 void (*append_extra_bits[2])(int32_t *buffer[2], int32_t *extra_bits_buffer[2],
/third_party/gn/src/base/strings/
H A Dstring_util_posix.h16 inline int vsnprintf(char* buffer, in vsnprintf() argument
20 return ::vsnprintf(buffer, size, format, arguments); in vsnprintf()
/third_party/bounds_checking_function/src/
H A Dsscanf_s.c20 * except that input is obtained from a string (specified by the argument buffer) rather than from a stream
21 * The sscanf function reads data from buffer into the location given by each
29 * buffer Stored data.
43 int sscanf_s(const char *buffer, const char *format, ...) in sscanf_s() argument
49 ret = vsscanf_s(buffer, format, argList); in sscanf_s()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_etc2.h43 etna_etc2_calculate_blocks(uint8_t *buffer, unsigned stride,
49 etna_etc2_patch(uint8_t *buffer, const struct util_dynarray *offsets);
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dgetentropy.c26 void *buffer[256]; in getentropy_0100() local
27 int result = getentropy(buffer, 256); in getentropy_0100()

Completed in 23 milliseconds

1...<<151152153154155156157158159160>>...534