Home
last modified time | relevance | path

Searched refs:buffer (Results 10576 - 10600 of 14922) sorted by relevance

1...<<421422423424425426427428429430>>...597

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DRobustResourceInitTest.cpp374 GLBuffer buffer; in TEST_P() local
375 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P()
398 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P()
414 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P()
419 // Regression test for passing a zero size init buffer with the extension.
424 GLBuffer buffer; in TEST_P() local
425 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P()
939 GLBuffer buffer; in TEST_P() local
940 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer); in TEST_P()
1043 // Test drawing with the resolved depth buffer in TEST_P()
[all...]
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dvp8l_enc.c1427 // Allocates the memory for argb (W x H) buffer, 2 rows of context for
1559 // using 'row' as a temporary buffer of size 'width'.
1566 // TODO(skal): this tmp buffer is not needed if VP8LBundleColorMap() can be in ApplyPalette()
1577 uint16_t buffer[PALETTE_INV_SIZE]; in ApplyPalette() local
1587 // Set each element in buffer to max uint16_t. in ApplyPalette()
1588 memset(buffer, 0xff, sizeof(buffer)); in ApplyPalette()
1591 if (buffer[ind] != 0xffffu) { in ApplyPalette()
1595 buffer[ind] = j; in ApplyPalette()
1602 APPLY_PALETTE_FOR(buffer[ApplyPaletteHash in ApplyPalette()
[all...]
/third_party/selinux/libsepol/cil/src/
H A Dcil.c515 char *buffer = NULL; in cil_add_file() local
520 buffer = cil_malloc(size + 2); in cil_add_file()
521 memcpy(buffer, data, size); in cil_add_file()
522 memset(buffer + size, 0, 2); in cil_add_file()
524 rc = cil_parser(name, buffer, size + 2, &db->parse); in cil_add_file()
530 free(buffer); in cil_add_file()
531 buffer = NULL; in cil_add_file()
536 free(buffer); in cil_add_file()
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jar ... java.lang.String, byte[], int) String source byte[] buffer int offset int prev com.ibm.icu. ...
/kernel/linux/linux-5.10/mm/
H A Dpage_alloc.c5826 void *buffer, size_t *length, loff_t *ppos) in numa_zonelist_order_handler()
5829 return __parse_numa_zonelist_order(buffer); in numa_zonelist_order_handler()
5830 return proc_dostring(table, write, buffer, length, ppos); in numa_zonelist_order_handler()
8154 void *buffer, size_t *length, loff_t *ppos) in postcore_initcall()
8158 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in postcore_initcall()
8170 void *buffer, size_t *length, loff_t *ppos) in watermark_scale_factor_sysctl_handler()
8174 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in watermark_scale_factor_sysctl_handler()
8200 void *buffer, size_t *length, loff_t *ppos) in sysctl_min_unmapped_ratio_sysctl_handler()
8204 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_min_unmapped_ratio_sysctl_handler()
8227 void *buffer, size_ in sysctl_min_slab_ratio_sysctl_handler()
5825 numa_zonelist_order_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) numa_zonelist_order_handler() argument
8169 watermark_scale_factor_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) watermark_scale_factor_sysctl_handler() argument
8199 sysctl_min_unmapped_ratio_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) sysctl_min_unmapped_ratio_sysctl_handler() argument
8226 sysctl_min_slab_ratio_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) sysctl_min_slab_ratio_sysctl_handler() argument
8250 lowmem_reserve_ratio_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) lowmem_reserve_ratio_sysctl_handler() argument
8280 percpu_pagelist_fraction_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) percpu_pagelist_fraction_sysctl_handler() argument
[all...]
/kernel/linux/linux-6.6/drivers/target/iscsi/
H A Discsi_target.c2241 pr_err("Unable to locate text_in buffer for sendtargets" in iscsit_process_text_cmd()
2657 * buffer size derived from the CDB. in iscsit_handle_immediate_data()
4069 u8 *buffer, *tmp_buf, opcode; in iscsit_get_rx_pdu() local
4074 buffer = kcalloc(ISCSI_HDR_LEN, sizeof(*buffer), GFP_KERNEL); in iscsit_get_rx_pdu()
4075 if (!buffer) in iscsit_get_rx_pdu()
4087 iov.iov_base = buffer; in iscsit_get_rx_pdu()
4096 hdr = (struct iscsi_hdr *) buffer; in iscsit_get_rx_pdu()
4099 tmp_buf = krealloc(buffer, in iscsit_get_rx_pdu()
4105 buffer in iscsit_get_rx_pdu()
[all...]
/kernel/linux/linux-6.6/mm/
H A Dpage_alloc.c4890 void *buffer, size_t *length, loff_t *ppos) in numa_zonelist_order_handler()
4893 return __parse_numa_zonelist_order(buffer); in numa_zonelist_order_handler()
4894 return proc_dostring(table, write, buffer, length, ppos); in numa_zonelist_order_handler()
5827 void *buffer, size_t *length, loff_t *ppos) in min_free_kbytes_sysctl_handler()
5831 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in min_free_kbytes_sysctl_handler()
5843 void *buffer, size_t *length, loff_t *ppos) in watermark_scale_factor_sysctl_handler()
5847 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in watermark_scale_factor_sysctl_handler()
5873 void *buffer, size_t *length, loff_t *ppos) in sysctl_min_unmapped_ratio_sysctl_handler()
5877 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_min_unmapped_ratio_sysctl_handler()
5900 void *buffer, size_ in sysctl_min_slab_ratio_sysctl_handler()
4889 numa_zonelist_order_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) numa_zonelist_order_handler() argument
5826 min_free_kbytes_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) min_free_kbytes_sysctl_handler() argument
5842 watermark_scale_factor_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) watermark_scale_factor_sysctl_handler() argument
5872 sysctl_min_unmapped_ratio_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) sysctl_min_unmapped_ratio_sysctl_handler() argument
5899 sysctl_min_slab_ratio_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) sysctl_min_slab_ratio_sysctl_handler() argument
5923 lowmem_reserve_ratio_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) lowmem_reserve_ratio_sysctl_handler() argument
5944 percpu_pagelist_high_fraction_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) percpu_pagelist_high_fraction_sysctl_handler() argument
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dbytecode-graph-builder.cc121 Node* buffer[] = {n0, nodes...}; in NewNode() local
122 return MakeNode(op, arraysize(buffer), buffer); in NewNode()
363 // Growth increment for the temporary buffer used to construct input lists to
4261 Node** buffer = EnsureInputBufferSize(input_count_with_deps); in MakeNode() local
4263 memcpy(buffer, value_inputs, kSystemPointerSize * value_input_count); in MakeNode()
4265 Node** current_input = buffer + value_input_count; in MakeNode()
4283 result = graph()->NewNode(op, input_count_with_deps, buffer, incomplete); in MakeNode()
4327 Node** buffer = EnsureInputBufferSize(count + 1); in NewPhi() local
4328 MemsetPointer(buffer, inpu in NewPhi()
4336 Node** buffer = EnsureInputBufferSize(count + 1); NewEffectPhi() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiCommandBuffersTests.cpp303 Move<VkBuffer> buffer; in readColorAttachment() local
309 // Create destination buffer in readColorAttachment()
323 buffer = createBuffer(m_vkd, m_device, &bufferParams); in readColorAttachment()
324 bufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, m_device, *buffer), MemoryRequirement::HostVisible); in readColorAttachment()
325 VK_CHECK(m_vkd.bindBufferMemory(m_device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readColorAttachment()
328 // Copy image to buffer in readColorAttachment()
330 copyImageToBuffer(m_vkd, m_primaryCommandBuffers[0].get(), *m_colorImage, *buffer, tcu::IVec2(DEFAULT_IMAGE_SIZE.width, DEFAULT_IMAGE_SIZE.height)); in readColorAttachment()
335 // Read buffer data in readColorAttachment()
479 // check if buffer has been executed in executeCommandBuffer()
557 // Command buffer in allocatePrimaryBufferTest()
4336 copyAndFlush(const DeviceInterface& vkd, VkDevice device, BufferWithMemory& buffer, const std::vector<ManyDrawsVertex>& vertices) copyAndFlush() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiCommandBuffersTests.cpp303 Move<VkBuffer> buffer; in readColorAttachment() local
309 // Create destination buffer in readColorAttachment()
323 buffer = createBuffer(m_vkd, m_device, &bufferParams); in readColorAttachment()
324 bufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, m_device, *buffer), MemoryRequirement::HostVisible); in readColorAttachment()
325 VK_CHECK(m_vkd.bindBufferMemory(m_device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readColorAttachment()
328 // Copy image to buffer in readColorAttachment()
330 copyImageToBuffer(m_vkd, m_primaryCommandBuffers[0].get(), *m_colorImage, *buffer, tcu::IVec2(DEFAULT_IMAGE_SIZE.width, DEFAULT_IMAGE_SIZE.height)); in readColorAttachment()
335 // Read buffer data in readColorAttachment()
479 // check if buffer has been executed in executeCommandBuffer()
557 // Command buffer in allocatePrimaryBufferTest()
4336 copyAndFlush(const DeviceInterface& vkd, VkDevice device, BufferWithMemory& buffer, const std::vector<ManyDrawsVertex>& vertices) copyAndFlush() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Dglslang_wrapper_utils.cpp186 ASSERT(xfb->buffer == ShaderInterfaceVariableXfbInfo::kInvalid); in SetXfbInfo()
196 xfb->buffer = xfbBuffer; in SetXfbInfo()
1999 "Parsing the xfb buffer index below must be adjusted");
2044 if ((info.xfb.buffer != ShaderInterfaceVariableInfo::kInvalid || !info.fieldXfb.empty()) &&
2142 if (xfb.buffer == ShaderInterfaceVariableXfbInfo::kInvalid)
2147 // Varyings captured to the same buffer have the same stride.
2148 ASSERT(mXfbVaryings[xfb.buffer].empty() ||
2149 mXfbVaryings[xfb.buffer][0].info->stride == xfb.stride);
2151 mXfbVaryings[xfb.buffer].push_back({&xfb, baseId, fieldIndex});
2244 // Define the buffer strid
[all...]
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/
H A Dzip_file.h284 bool ReadZStreamFromMMap(const BytePtr &buffer, void* &dataPtr,
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcanvas_rendering_context_2d_model_ng.h105 void GetImageDataModel(const ImageSize& imageSize, uint8_t* buffer) override;
H A Doffscreen_canvas_rendering_context_2d_model_ng.h102 void GetImageDataModel(const ImageSize& imageSize, uint8_t* buffer) override;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/
H A Doffscreen_canvas_rendering_context_2d_model_impl.h101 void GetImageDataModel(const ImageSize& imageSize, uint8_t* buffer) override;
H A Dcanvas_rendering_context_2d_model_impl.h101 void GetImageDataModel(const ImageSize& imageSize, uint8_t* buffer) override;
/foundation/arkui/ace_engine/frameworks/core/components/camera/standard_system/
H A Dcamera.h83 int32_t SaveData(char *buffer, int32_t size, std::string& path);
/foundation/arkui/ace_engine/interfaces/native/
H A Dnative_gesture.h566 * @param buffer Indicates the buffer.
567 * @param bufferSize Indicates the buffer size.
568 * @param result Indicates the length of the string to be written to the buffer.
571 * Returns {@link ARKUI_ERROR_CODE_BUFFER_SIZE_NOT_ENOUGH} if the buffer is not large enough.
574 int32_t OH_ArkUI_GetGestureTag(ArkUI_GestureRecognizer* recognizer, char* buffer, int32_t bufferSize, int32_t* result);
581 * @param size Indicates the buffer size.
582 * @param result Indicates the length of the string to be written to the buffer.
585 * Returns {@link ARKUI_ERROR_CODE_BUFFER_SIZE_NOT_ENOUGH} if the buffer is not large enough.
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dservice_collaboration_menu_ace_helper.h101 RefPtr<PixelMap> CreatePixelMap(void *buffer, uint32_t code, uint32_t dataLength);
/foundation/arkui/napi/interfaces/inner_api/napi/
H A Dnative_node_api.h60 NAPI_EXTERN napi_status napi_run_actor(napi_env env, uint8_t* buffer, size_t bufferSize,
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocapturer/include/
H A Daudio_capturer.h102 * Called when buffer to be enqueued.
104 * @param length Indicates requested buffer length.
311 * @param buffer Indicates the pointer to the buffer into which the audio data is to be written.
312 * @param userSize Indicates the size of the buffer into which the audio data is to be written, in bytes.
323 virtual int32_t Read(uint8_t &buffer, size_t userSize, bool isBlockingRead) const = 0;
376 * @brief Obtains a reasonable minimum buffer size for capturer, however, the capturer can
441 * @brief set the buffer duration for capturer, minimum buffer duration is 5msec
444 * @param bufferDuration Indicates a buffer duratio
[all...]
/foundation/multimedia/audio_framework/services/audio_service/server/include/
H A Dpro_renderer_stream_impl.h84 void ConvertSrcToFloat(uint8_t *buffer, size_t bufLength, float volume);
/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/
H A Dnapi_audio_capturer.h54 uint8_t *buffer = nullptr; member
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/example/
H A Daudio_inner_capturer_test.cpp80 ret = fwrite(reinterpret_cast<void *>(bufferDesc.buffer), 1, bufferDesc.bufLength, pfd_); in OnReadData()
/foundation/multimedia/audio_lite/services/impl/audio_source/
H A Daudio_source.cpp260 int32_t ret = audioCapture_->CaptureFrame(audioCapture_, frame.buffer, frame.bufferLen, &readlen); in ReadFrame()

Completed in 95 milliseconds

1...<<421422423424425426427428429430>>...597