Home
last modified time | relevance | path

Searched refs:size (Results 23401 - 23425 of 47333) sorted by relevance

1...<<931932933934935936937938939940>>...1894

/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dmap.c107 VALUE ret = rb_str_new(key.data, key.size); in table_key_to_ruby()
532 if (!upb_strtable_insert2(&new_self->table, k.data, k.size, dup)) { in Map_dup()
558 if (!upb_strtable_insert2(&new_self->table, k.data, k.size, dup)) { in Map_deep_copy()
617 if (!upb_strtable_lookup2(&other->table, k.data, k.size, &other_v)) { in Map_eq()
775 upb_strtable_remove2(&self->table, k.data, k.size, &oldv); in Map_merge_into_self()
778 upb_strtable_insert2(&self->table, k.data, k.size, v); in Map_merge_into_self()
/third_party/protobuf/python/google/protobuf/internal/
H A Dencoder.py41 sizer takes a value of this field's type and computes its byte size. The
53 * Whatever component of the field size we can compute at startup, we do.
83 """Compute the size of a varint value."""
97 """Compute the size of a signed varint value."""
114 # Just pass in type 0, since the type won't affect the tag+type size.
127 """A sizer which uses the function compute_value_size to compute the size of
185 """Like _SimpleSizer except for a fixed-size field. The input is the size
214 # a parameter and returns its encoded size.
314 # MessageSet is special: it needs custom logic to compute its size properl
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Darg.h129 return FormatConvertImpl(absl::string_view(v.data(), v.size()), conv, sink); in FormatConvertImpl()
149 size_t to_write = value.size(); in FormatConvertImpl()
160 if (piece.size() > to_write) { in FormatConvertImpl()
161 piece.remove_suffix(piece.size() - to_write); in FormatConvertImpl()
164 to_write -= piece.size(); in FormatConvertImpl()
268 *v2.p_ = static_cast<int>(sink->size()); in ConvertHelper()
/third_party/skia/gm/
H A Dgpu_blur_utils.cpp78 SkISize size = {dstB.width() + 2*outset.x(), dstB.height() + 2*outset.y()}; in slow_blur() local
79 src = tileInto(std::move(src), srcB, size, outset - dstB.topLeft(), mode); in slow_blur()
83 dstB = SkIRect::MakePtSize(outset, dstB.size()); in slow_blur()
121 return tileInto(std::move(src), srcRect, dstB.size(), -outset, SkTileMode::kClamp); in slow_blur()
319 // confirmation that the resulting blur is the right size and in the right place. in run()
404 auto dstRect = SkIRect::MakeSize(dstB.size()).makeOffset(x, y); in do_very_large_blur_gm()
421 sdc->fillRectToRectWithFP(SkIRect::MakeSize(dstB.size()), in do_very_large_blur_gm()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureFormatTests.cpp98 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, int size, int depth);
99 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth);
126 TextureCubeArrayFormatCase::TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, int size, int depth) in TextureCubeArrayFormatCase() argument
132 , m_size (size) in TextureCubeArrayFormatCase()
140 TextureCubeArrayFormatCase::TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth) in TextureCubeArrayFormatCase() argument
146 , m_size (size) in TextureCubeArrayFormatCase()
/third_party/vk-gl-cts/modules/glshared/
H A DglsVertexArrayTests.hpp152 virtual void data (Target target, int size, const char* data, Usage usage) = 0;
153 virtual void subdata (Target target, int offset, int size, const char* data) = 0;
154 virtual void bind (int attribNdx, int offset, int size, InputType inType, OutputType outType, bool normalized, int stride) = 0;
174 virtual void data (Target target, int size, const char* data, Usage usage);
175 virtual void subdata (Target target, int offset, int size, const char* data);
176 virtual void bind (int attribNdx, int offset, int size, InputType inType, OutputType outType, bool normalized, int stride);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmGraphicsShaderTestUtil.hpp171 DE_ASSERT(inputs.size() == 1); in getInputType()
177 DE_ASSERT(outputs.size() == 1); in getOutputType()
183 DE_ASSERT(inputs.size() == 1); in getInputBuffer()
189 DE_ASSERT(outputs.size() == 1); in getOutputBuffer()
195 return inputs.size() == 0; in empty()
242 DE_ASSERT(pcs.size() == 1); in getBuffer()
/third_party/vk-gl-cts/modules/egl/
H A DteglChooseConfigReference.cpp379 for (size_t ndx = 0; ndx < values.size(); ndx++) in setValues()
518 configInfos.resize(eglConfigs.size()); in chooseConfigReference()
520 for (size_t ndx = 0; ndx < eglConfigs.size(); ndx++) in chooseConfigReference()
528 for (size_t ndx = 0; ndx < eglConfigs.size(); ndx++) in chooseConfigReference()
541 dst.resize(filteredConfigs.size()); in chooseConfigReference()
542 for (size_t ndx = 0; ndx < filteredConfigs.size(); ndx++) in chooseConfigReference()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DQualifierTypes.cpp79 return qualifiers.size() >= 1 && IsScopeQualifierWrapper(qualifiers[0]); in IsInvariantCorrect()
106 for (size_t i = 1; i < qualifiers.size(); ++i) in HasRepeatingQualifiers()
264 for (size_t i = 1; i < qualifiers.size(); ++i) in AreQualifiersInOrder()
563 for (size_t i = 1; i < sortedSequence.size(); ++i) in GetVariableTypeQualifierFromSortedSequence()
637 for (size_t i = 1; i < sortedSequence.size(); ++i) in GetParameterTypeQualifierFromSortedSequence()
742 for (size_t i = 0u; i < rightQualifier.localSize.size(); ++i) in JoinLayoutQualifiers()
750 "Cannot have multiple different work group size specifiers", in JoinLayoutQualifiers()
/third_party/node/deps/ada/
H A Dada.h1034 return input.size() >= 2 && has_hex_prefix_unsafe(input); in has_hex_prefix()
1046 return input.size() >= 2 &&
1048 ((input.size() == 2) || (input[2] == '/' || input[2] == '\\' ||
1054 return input.size() >= 2 && (is_alpha(input[0]) && (input[1] == ':'));
1061 return view.size() >= prefix.size() && in begins_with()
1644 * Modify the string_view so that it has the new size pos, assuming that pos <=
1645 * input.size(). This function cannot throw.
1730 * faster than std::to_string(x).size().
4342 int hash_value = (2 * scheme.size() in is_special()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiExternalMemoryTests.cpp77 template<typename T, int size>
78 T multiplyComponents (const tcu::Vector<T, size>& v) in multiplyComponents()
81 for (int i = 0; i < size; ++i) in multiplyComponents()
152 size_t size, in writeHostMemory()
155 void* const ptr = vk::mapMemory(vkd, device, memory, 0, size, 0); in writeHostMemory()
157 deMemcpy(ptr, data, size); in writeHostMemory()
167 size_t size, in checkHostMemory()
170 void* const ptr = vk::mapMemory(vkd, device, memory, 0, size, 0); in checkHostMemory()
174 if (deMemCmp(ptr, data, size) != 0) in checkHostMemory()
180 std::vector<deUint8> genTestData (deUint32 seed, size_t size) in genTestData() argument
149 writeHostMemory(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkDeviceMemory memory, size_t size, const void* data) writeHostMemory() argument
164 checkHostMemory(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkDeviceMemory memory, size_t size, const void* data) checkHostMemory() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/goya/
H A Dgoya.c438 /* PMMU and HPMMU are the same except of page size */ in goya_get_fixed_properties()
547 outbound_region.size = HOST_PHYS_SIZE; in goya_init_iatu()
581 "Not " HL_NAME "? BAR %d size %llu, expecting %llu\n", in goya_early_init()
592 "Not " HL_NAME "? BAR %d size %llu, expecting %llu\n", in goya_early_init()
743 /* Now that we have the DRAM size in ASIC prop, we need to check in goya_late_init()
744 * its size and configure the DMA_IF DDR wrap protection (which is in in goya_late_init()
745 * the MMU block) accordingly. The value is the log2 of the DRAM size in goya_late_init()
2671 void *cpu_addr, dma_addr_t dma_addr, size_t size) in goya_cb_mmap()
2679 (dma_addr - HOST_PHYS_BASE), size); in goya_cb_mmap()
2774 static void *goya_dma_alloc_coherent(struct hl_device *hdev, size_t size, in goya_dma_alloc_coherent() argument
2670 goya_cb_mmap(struct hl_device *hdev, struct vm_area_struct *vma, void *cpu_addr, dma_addr_t dma_addr, size_t size) goya_cb_mmap() argument
2787 goya_dma_free_coherent(struct hl_device *hdev, size_t size, void *cpu_addr, dma_addr_t dma_handle) goya_dma_free_coherent() argument
3039 goya_dma_pool_zalloc(struct hl_device *hdev, size_t size, gfp_t mem_flags, dma_addr_t *dma_handle) goya_dma_pool_zalloc() argument
3065 goya_cpu_accessible_dma_pool_alloc(struct hl_device *hdev, size_t size, dma_addr_t *dma_handle) goya_cpu_accessible_dma_pool_alloc() argument
3077 goya_cpu_accessible_dma_pool_free(struct hl_device *hdev, size_t size, void *vaddr) goya_cpu_accessible_dma_pool_free() argument
4363 goya_get_event_desc(u16 event_type, char *desc, size_t size) goya_get_event_desc() argument
4724 goya_get_events_stat(struct hl_device *hdev, bool aggregate, u32 *size) goya_get_events_stat() argument
4737 goya_memset_device_memory(struct hl_device *hdev, u64 addr, u64 size, u64 val, bool is_dram) goya_memset_device_memory() argument
4813 u32 size = hdev->pldm ? 0x10000 : prop->sram_size; goya_context_switch() local
4850 u32 size = prop->mmu_pgt_size + MMU_DRAM_DEFAULT_PAGE_SIZE + goya_mmu_clear_pgt_range() local
4863 u32 size = MMU_DRAM_DEFAULT_PAGE_SIZE; goya_mmu_set_dram_default_page() local
5054 goya_mmu_invalidate_cache_range(struct hl_device *hdev, bool is_hard, u32 asid, u64 va, u64 size) goya_mmu_invalidate_cache_range() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_nx.c531 unsigned long long addr, int size) in qla82xx_pci_mem_bound_check()
535 !addr_in_range(addr + size - 1, QLA82XX_ADDR_DDR_NET, in qla82xx_pci_mem_bound_check()
537 ((size != 1) && (size != 2) && (size != 4) && (size != 8))) in qla82xx_pci_mem_bound_check()
651 u64 off, void *data, int size) in qla82xx_pci_mem_read_direct()
670 (qla82xx_pci_is_same_window(ha, off + size - 1) == 0)) { in qla82xx_pci_mem_read_direct()
685 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla82xx_pci_mem_read_direct()
697 switch (size) { in qla82xx_pci_mem_read_direct()
530 qla82xx_pci_mem_bound_check(struct qla_hw_data *ha, unsigned long long addr, int size) qla82xx_pci_mem_bound_check() argument
650 qla82xx_pci_mem_read_direct(struct qla_hw_data *ha, u64 off, void *data, int size) qla82xx_pci_mem_read_direct() argument
722 qla82xx_pci_mem_write_direct(struct qla_hw_data *ha, u64 off, void *data, int size) qla82xx_pci_mem_write_direct() argument
1287 qla82xx_pci_mem_write_2M(struct qla_hw_data *ha, u64 off, void *data, int size) qla82xx_pci_mem_write_2M() argument
1394 long size = 0; qla82xx_fw_load_from_flash() local
1424 qla82xx_pci_mem_read_2M(struct qla_hw_data *ha, u64 off, void *data, int size) qla82xx_pci_mem_read_2M() argument
1758 u32 i, flashaddr, size; qla82xx_fw_load_from_blob() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_nx.c528 unsigned long long addr, int size) in qla82xx_pci_mem_bound_check()
532 !addr_in_range(addr + size - 1, QLA82XX_ADDR_DDR_NET, in qla82xx_pci_mem_bound_check()
534 ((size != 1) && (size != 2) && (size != 4) && (size != 8))) in qla82xx_pci_mem_bound_check()
648 u64 off, void *data, int size) in qla82xx_pci_mem_read_direct()
667 (qla82xx_pci_is_same_window(ha, off + size - 1) == 0)) { in qla82xx_pci_mem_read_direct()
682 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla82xx_pci_mem_read_direct()
694 switch (size) { in qla82xx_pci_mem_read_direct()
527 qla82xx_pci_mem_bound_check(struct qla_hw_data *ha, unsigned long long addr, int size) qla82xx_pci_mem_bound_check() argument
647 qla82xx_pci_mem_read_direct(struct qla_hw_data *ha, u64 off, void *data, int size) qla82xx_pci_mem_read_direct() argument
719 qla82xx_pci_mem_write_direct(struct qla_hw_data *ha, u64 off, void *data, int size) qla82xx_pci_mem_write_direct() argument
1284 qla82xx_pci_mem_write_2M(struct qla_hw_data *ha, u64 off, void *data, int size) qla82xx_pci_mem_write_2M() argument
1391 long size = 0; qla82xx_fw_load_from_flash() local
1421 qla82xx_pci_mem_read_2M(struct qla_hw_data *ha, u64 off, void *data, int size) qla82xx_pci_mem_read_2M() argument
1755 u32 i, flashaddr, size; qla82xx_fw_load_from_blob() local
[all...]
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dbtusb.c1338 int err, size; in btusb_submit_intr_urb() local
1349 size = le16_to_cpu(data->intr_ep->wMaxPacketSize); in btusb_submit_intr_urb()
1351 buf = kmalloc(size, mem_flags); in btusb_submit_intr_urb()
1359 usb_fill_int_urb(urb, data->udev, pipe, buf, size, in btusb_submit_intr_urb()
1452 int err, size = HCI_MAX_FRAME_SIZE; in btusb_submit_bulk_urb() local
1463 buf = kmalloc(size, mem_flags); in btusb_submit_bulk_urb()
1471 usb_fill_bulk_urb(urb, data->udev, pipe, buf, size, in btusb_submit_bulk_urb()
1612 int err, size; in btusb_submit_isoc_urb() local
1623 size = le16_to_cpu(data->isoc_rx_ep->wMaxPacketSize) * in btusb_submit_isoc_urb()
1626 buf = kmalloc(size, mem_flag in btusb_submit_isoc_urb()
1704 int err, size = HCI_MAX_FRAME_SIZE; btusb_submit_diag_urb() local
2698 int err, size = 64; btusb_mtk_submit_wmt_recv_urb() local
2955 int pipe, err, size = sizeof(u32); btusb_mtk_reg_read() local
3657 btusb_qca_send_vendor_req(struct usb_device *udev, u8 request, void *data, u16 size) btusb_qca_send_vendor_req() argument
3692 size_t count, size, sent = 0; btusb_setup_qca_download_fw() local
[all...]
/third_party/json/tests/src/
H A Dunit-bjdata.cpp310 // compare result + size
313 CHECK(result.size() == 9);
361 // compare result + size
364 CHECK(result.size() == 5);
398 // compare result + size
401 CHECK(result.size() == 3);
419 // compare result + size
422 CHECK(result.size() == 3);
451 // compare result + size
454 CHECK(result.size()
[all...]
/third_party/node/deps/v8/src/heap/
H A Dfactory.cc333 HeapObject Factory::AllocateRaw(int size, AllocationType allocation, in AllocateRaw() argument
336 size, allocation, AllocationOrigin::kRuntime, alignment); in AllocateRaw()
343 int size = map->instance_size(); in AllocateRawWithAllocationSite() local
346 size += AllocationMemento::kSize; in AllocateRawWithAllocationSite()
349 size, allocation); in AllocateRawWithAllocationSite()
375 int size = map->instance_size(); in New() local
377 size, allocation); in New()
386 Handle<HeapObject> Factory::NewFillerObject(int size, in NewFillerObject() argument
392 size, allocation, origin, alignment); in NewFillerObject()
393 heap->CreateFillerObjectAt(result.address(), size, ClearRecordedSlot in NewFillerObject()
467 int size = FixedArray::SizeFor(length); TryNewFixedArray() local
501 int size = FeedbackVector::SizeFor(length); NewFeedbackVector() local
522 int size = EmbedderDataArray::SizeFor(length); NewEmbedderDataArray() local
562 int size = T::SizeFor(capacity); AllocateSmallOrderedHashTable() local
637 int size = SwissNameDictionary::SizeFor(0); CreateCanonicalEmptySwissNameDictionary() local
838 int size; AllocateInternalizedStringImpl() local
1146 NewContextInternal(Handle<Map> map, int size, int variadic_part_length, AllocationType allocation) NewContextInternal() argument
1152 DCHECK_LE(Context::SizeFor(variadic_part_length), size); NewContextInternal() local
2404 int size = BytecodeArray::SizeFor(source->length()); CopyBytecodeArray() local
3099 NewUninitializedJSGlobalProxy(int size) NewUninitializedJSGlobalProxy() argument
[all...]
/third_party/mesa3d/include/GL/
H A Dglext.h397 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
445 GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
533 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
534 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
535 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
553 GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
554 GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
555 GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
665 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
666 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenu
[all...]
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_fw_module_test.cpp477 GTEST_LOG_(INFO) << "TestAnsSubscriber::Parse event size=" << events.size(); in Parse()
687 EXPECT_EQ((uint32_t)eventParser.GetOnConsumedReq().size(), MAX_ACTIVE_NUM_PERSECOND); in HWTEST_F()
688 EXPECT_EQ((uint32_t)eventParser.GetOnConsumedWithSortingMapReq().size(), MAX_ACTIVE_NUM_PERSECOND); in HWTEST_F()
822 EXPECT_EQ((int)notifications.size(), (int)0); in HWTEST_F()
1217 info.size.width = width; in MakePixelMap()
1218 info.size.height = height; in MakePixelMap()
1852 ASSERT_EQ(entries.size(), std::size_t(0)); in HWTEST_F()
1915 ASSERT_EQ(entries.size(), std::size_t(0)); in HWTEST_F()
1949 ASSERT_EQ(entries.size(), st in HWTEST_F()
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/coda/
H A Dcoda-common.c1718 unsigned int size; in coda_queue_setup() local
1721 size = q_data->sizeimage; in coda_queue_setup()
1724 return sizes[0] < size ? -EINVAL : 0; in coda_queue_setup()
1727 sizes[0] = size; in coda_queue_setup()
1729 coda_dbg(1, ctx, "get %d buffer(s) of size %d each.\n", *nbuffers, in coda_queue_setup()
1730 size); in coda_queue_setup()
1879 if (ctx->bitstream.size && vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { in coda_buf_queue()
1933 size_t size, const char *name, struct dentry *parent) in coda_alloc_aux_buf()
1935 buf->vaddr = dma_alloc_coherent(dev->dev, size, &buf->paddr, in coda_alloc_aux_buf()
1939 "Failed to allocate %s buffer of size in coda_alloc_aux_buf()
1932 coda_alloc_aux_buf(struct coda_dev *dev, struct coda_aux_buf *buf, size_t size, const char *name, struct dentry *parent) coda_alloc_aux_buf() argument
2898 coda_copy_firmware(struct coda_dev *dev, const u8 * const buf, size_t size) coda_copy_firmware() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Dwmi.c167 u16 size; in ath6kl_wmi_dix_2_dot3() local
172 size = sizeof(struct ath6kl_llc_snap_hdr) + sizeof(struct wmi_data_hdr); in ath6kl_wmi_dix_2_dot3()
173 if (skb_headroom(skb) < size) in ath6kl_wmi_dix_2_dot3()
483 u16 size; in ath6kl_wmi_tx_complete_event_rx() local
491 size = sizeof(struct wmi_tx_complete_event) + in ath6kl_wmi_tx_complete_event_rx()
493 msg_v1 = (struct tx_complete_msg_v1 *)(datap + size); in ath6kl_wmi_tx_complete_event_rx()
710 static inline struct sk_buff *ath6kl_wmi_get_new_buf(u32 size) in ath6kl_wmi_get_new_buf() argument
714 skb = ath6kl_buf_alloc(size); in ath6kl_wmi_get_new_buf()
718 skb_put(skb, size); in ath6kl_wmi_get_new_buf()
719 if (size) in ath6kl_wmi_get_new_buf()
1355 ath6kl_wmi_get_upper_threshold(s16 rssi, struct sq_threshold_params *sq_thresh, u32 size) ath6kl_wmi_get_upper_threshold() argument
1373 ath6kl_wmi_get_lower_threshold(s16 rssi, struct sq_threshold_params *sq_thresh, u32 size) ath6kl_wmi_get_lower_threshold() argument
1962 s8 size; ath6kl_wmi_startscan_cmd() local
2011 s8 size, *supp_rates; ath6kl_wmi_beginscan_cmd() local
2960 u16 size; ath6kl_wmi_add_wow_pattern_cmd() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dskbuff.h308 * size.
325 * skb_frag_size() - Returns the size of a skb fragment
334 * skb_frag_size_set() - Sets the size of a skb fragment
336 * @size: size of fragment
338 static inline void skb_frag_size_set(skb_frag_t *frag, unsigned int size) in skb_frag_size_set() argument
340 frag->bv_len = size; in skb_frag_size_set()
344 * skb_frag_size_add() - Increments the size of a skb fragment by @delta
354 * skb_frag_size_sub() - Decrements the size of a skb fragment by @delta
488 int mm_account_pinned_pages(struct mmpin *mmp, size_t size);
1099 alloc_skb(unsigned int size, gfp_t priority) alloc_skb() argument
1149 alloc_skb_fclone(unsigned int size, gfp_t priority) alloc_skb_fclone() argument
2150 __skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) __skb_fill_page_desc() argument
2183 skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) skb_fill_page_desc() argument
3128 skb_frag_dma_map(struct device *dev, const skb_frag_t *frag, size_t offset, size_t size, enum dma_data_direction dir) skb_frag_dma_map() argument
3230 unsigned int size = skb->len; skb_padto() local
3251 unsigned int size = skb->len; __skb_put_padto() local
3545 skb_copy_datagram_msg(const struct sk_buff *from, int offset, struct msghdr *msg, int size) skb_copy_datagram_msg() argument
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp.c122 * a sensible code size.
882 struct sk_buff *sk_stream_alloc_skb(struct sock *sk, int size, gfp_t gfp, in sk_stream_alloc_skb() argument
887 if (likely(!size)) { in sk_stream_alloc_skb()
900 size = ALIGN(size, 4); in sk_stream_alloc_skb()
905 skb = alloc_skb_fclone(size + sk->sk_prot->max_header, gfp); in sk_stream_alloc_skb()
918 * Make sure that we have exactly size bytes in sk_stream_alloc_skb()
921 skb->reserved_tailroom = skb->end - skb->tail - size; in sk_stream_alloc_skb()
985 size_t size, int flags) in do_tcp_sendpages()
1018 while (size > in do_tcp_sendpages()
984 do_tcp_sendpages(struct sock *sk, struct page *page, int offset, size_t size, int flags) do_tcp_sendpages() argument
1126 tcp_sendpage_locked(struct sock *sk, struct page *page, int offset, size_t size, int flags) tcp_sendpage_locked() argument
1138 tcp_sendpage(struct sock *sk, struct page *page, int offset, size_t size, int flags) tcp_sendpage() argument
1159 tcp_sendmsg_fastopen(struct sock *sk, struct msghdr *msg, int *copied, size_t size, struct ubuf_info *uarg) tcp_sendmsg_fastopen() argument
1207 tcp_sendmsg_locked(struct sock *sk, struct msghdr *msg, size_t size) tcp_sendmsg_locked() argument
1460 tcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) tcp_sendmsg() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/chips-media/
H A Dcoda-common.c1717 unsigned int size; in coda_queue_setup() local
1720 size = q_data->sizeimage; in coda_queue_setup()
1723 return sizes[0] < size ? -EINVAL : 0; in coda_queue_setup()
1726 sizes[0] = size; in coda_queue_setup()
1728 coda_dbg(1, ctx, "get %d buffer(s) of size %d each.\n", *nbuffers, in coda_queue_setup()
1729 size); in coda_queue_setup()
1878 if (ctx->bitstream.size && vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { in coda_buf_queue()
1932 size_t size, const char *name, struct dentry *parent) in coda_alloc_aux_buf()
1934 buf->vaddr = dma_alloc_coherent(dev->dev, size, &buf->paddr, in coda_alloc_aux_buf()
1938 "Failed to allocate %s buffer of size in coda_alloc_aux_buf()
1931 coda_alloc_aux_buf(struct coda_dev *dev, struct coda_aux_buf *buf, size_t size, const char *name, struct dentry *parent) coda_alloc_aux_buf() argument
2932 coda_copy_firmware(struct coda_dev *dev, const u8 * const buf, size_t size) coda_copy_firmware() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineLibraryTests.cpp187 const deUint32 libraryCount = static_cast<deUint32>(pipelineLibraries.size());
210 result.resize(result.size() - 1);
854 const deInt32 nodeNdxLast = static_cast<deInt32>(runtimePipelineTreeConfiguration.size()) - 1; in runTest()
873 if (!m_data.useMaintenance5 && (m_data.delayedShaderCreate || (m_data.pipelineTreeConfiguration.size() > 1))) in runTest()
970 DE_ASSERT(de::inBounds(node.parentIndex, 0, static_cast<deInt32>(runtimePipelineTreeConfiguration.size()))); in runTest()
988 const deUint32 vertexCount = static_cast<deUint32>(m_vertexData.size()); in runTest()
1022 const tcu::IVec2 size = { (deInt32)renderSize.x(), (deInt32)renderSize.y() }; in runTest() local
1023 copyImageToBuffer(vk, *cmdBuffer, *colorImage, *colorBuffer, size); in runTest()
1024 copyImageToBuffer(vk, *cmdBuffer, *depthImage, *depthBuffer, size, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, 1u, VK_IMAGE_ASPECT_DEPTH_BIT, VK_IMAGE_ASPECT_DEPTH_BIT); in runTest()
1141 RuntimePipelineTreeConfiguration runtimePipelineTreeConfiguration (m_data.pipelineTreeConfiguration.size()); in iterate()
[all...]

Completed in 109 milliseconds

1...<<931932933934935936937938939940>>...1894