/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 636 int i, u16 size) in enetc_get_rx_buff() 642 size, DMA_FROM_DEVICE); in enetc_get_rx_buff() 669 int i, u16 size) in enetc_map_rx_buff_to_skb() 671 struct enetc_rx_swbd *rx_swbd = enetc_get_rx_buff(rx_ring, i, size); in enetc_map_rx_buff_to_skb() 683 __skb_put(skb, size); in enetc_map_rx_buff_to_skb() 691 u16 size, struct sk_buff *skb) in enetc_add_rx_buff_to_skb() 693 struct enetc_rx_swbd *rx_swbd = enetc_get_rx_buff(rx_ring, i, size); in enetc_add_rx_buff_to_skb() 696 rx_swbd->page_offset, size, ENETC_RXB_TRUESIZE); in enetc_add_rx_buff_to_skb() 717 u16 size; in enetc_clean_rx_ring() local 734 size in enetc_clean_rx_ring() 635 enetc_get_rx_buff(struct enetc_bdr *rx_ring, int i, u16 size) enetc_get_rx_buff() argument 668 enetc_map_rx_buff_to_skb(struct enetc_bdr *rx_ring, int i, u16 size) enetc_map_rx_buff_to_skb() argument 690 enetc_add_rx_buff_to_skb(struct enetc_bdr *rx_ring, int i, u16 size, struct sk_buff *skb) enetc_add_rx_buff_to_skb() argument 872 int size, i; enetc_free_txbdr() local 916 size_t size = sizeof(union enetc_rx_bd); enetc_alloc_rxbdr() local 942 int size; enetc_free_rxbdr() local 1036 int size = cbdr->bd_count * sizeof(struct enetc_cbd); enetc_alloc_cbdr() local 1057 int size = cbdr->bd_count * sizeof(struct enetc_cbd); enetc_free_cbdr() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-drv.c | 154 size_t size; /* section size */ member 200 if (!sec || !sec->size) in iwl_alloc_fw_desc() 203 data = vmalloc(sec->size); in iwl_alloc_fw_desc() 207 desc->len = sec->size; in iwl_alloc_fw_desc() 331 int size = sec + 1; in alloc_sec_data() local 332 size_t alloc_size = sizeof(*img->sec) * size; in alloc_sec_data() 334 if (img->sec && img->sec_counter >= size) in alloc_sec_data() 342 img->sec_counter = size; in alloc_sec_data() 358 size_t size) in set_sec_size() 355 set_sec_size(struct iwl_firmware_pieces *pieces, enum iwl_ucode_type type, int sec, size_t size) set_sec_size() argument 408 iwl_store_ucode_sec(struct iwl_firmware_pieces *pieces, const void *data, enum iwl_ucode_type type, int size) iwl_store_ucode_sec() argument 1082 size_t size; iwl_parse_tlv_firmware() local [all...] |
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | usbnet.c | 40 * Nineteen USB 1.1 max size bulk transactions per frame (ms), max. 42 * One maximum size Ethernet packet takes twenty four of them. 43 * For high speed, each frame comfortably fits almost 36 max size 472 size_t size = dev->rx_urb_size; in rx_submit() 481 skb = __netdev_alloc_skb(dev->net, size, flags); in rx_submit() 483 skb = __netdev_alloc_skb_ip_align(dev->net, size, flags); in rx_submit() 497 skb->data, size, rx_complete, skb); in rx_submit() 1970 u16 value, u16 index, void *data, u16 size) in __usbnet_read_cmd() 1976 " value=0x%04x index=0x%04x size=%d\n", in __usbnet_read_cmd() 1977 cmd, reqtype, value, index, size); in __usbnet_read_cmd() 471 size_t size = dev->rx_urb_size; rx_submit() local 1968 __usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, void *data, u16 size) __usbnet_read_cmd() argument 1999 __usbnet_write_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, const void *data, u16 size) __usbnet_write_cmd() argument 2035 usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, void *data, u16 size) usbnet_read_cmd() argument 2053 usbnet_write_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, const void *data, u16 size) usbnet_write_cmd() argument 2071 usbnet_read_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, void *data, u16 size) usbnet_read_cmd_nopm() argument 2083 usbnet_write_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, const void *data, u16 size) usbnet_write_cmd_nopm() argument 2109 usbnet_write_cmd_async(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, const void *data, u16 size) usbnet_write_cmd_async() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_arm.c | 147 unsigned int size, enum vchiq_bulk_dir dir); 355 unsigned int size, void *userdata, enum vchiq_bulk_mode mode) in vchiq_bulk_transmit() 365 size, userdata, mode, in vchiq_bulk_transmit() 370 (void *)data, size, VCHIQ_BULK_TRANSMIT); in vchiq_bulk_transmit() 392 unsigned int size, void *userdata, in vchiq_bulk_receive() 402 size, userdata, in vchiq_bulk_receive() 407 (void *)data, size, VCHIQ_BULK_RECEIVE); in vchiq_bulk_receive() 430 unsigned int size, enum vchiq_bulk_dir dir) in vchiq_blocking_bulk_transfer() 463 (bulk->size != size)) { in vchiq_blocking_bulk_transfer() 354 vchiq_bulk_transmit(unsigned int handle, const void *data, unsigned int size, void *userdata, enum vchiq_bulk_mode mode) vchiq_bulk_transmit() argument 391 vchiq_bulk_receive(unsigned int handle, void *data, unsigned int size, void *userdata, enum vchiq_bulk_mode mode) vchiq_bulk_receive() argument 429 vchiq_blocking_bulk_transfer(unsigned int handle, void *data, unsigned int size, enum vchiq_bulk_dir dir) vchiq_blocking_bulk_transfer() argument 1634 unsigned int size; global() member 1701 unsigned int size; global() member [all...] |
/kernel/linux/linux-5.10/kernel/power/ |
H A D | snapshot.c | 96 * Preferred image size in bytes (tunable via /sys/power/image_size). 98 * size will not exceed N bytes, but if that is impossible, it will 259 unsigned int used_space; /* total size of objects allocated out 274 static void *chain_alloc(struct chain_allocator *ca, unsigned int size) in chain_alloc() argument 278 if (LINKED_PAGE_DATA_SIZE - ca->used_space < size) { in chain_alloc() 291 ca->used_space += size; in chain_alloc() 1641 * minimum_image_size - Estimate the minimum acceptable size of an image. 1645 * minimum acceptable size of a hibernation image to use as the lower limit for 1648 * We assume that the minimum image size should be proportional to 1657 unsigned long size; in minimum_image_size() local 1693 unsigned long saveable, size, max_size, count, highmem, pages = 0; hibernate_preallocate_memory() local [all...] |
/kernel/linux/linux-6.6/drivers/soc/ti/ |
H A D | k3-ringacc.c | 146 * @size: Ring size in elements 165 u32 size; member 317 dev_dbg(dev, "dump elmsize %d, size %d, mode %d, proxy_id %d\n", in k3_ringacc_ring_dump() 318 ring->elm_size, ring->size, ring->mode, ring->proxy_id); in k3_ringacc_ring_dump() 346 unsigned long size; in k3_ringacc_request_ring() local 348 size = gp_rings->start + gp_rings->num; in k3_ringacc_request_ring() 349 id = find_next_zero_bit(ringacc->rings_inuse, size, in k3_ringacc_request_ring() 351 if (id == size) in k3_ringacc_request_ring() 472 ring_cfg.count = ring->size; in k3_ringacc_ring_reset_sci() [all...] |
/kernel/linux/linux-6.6/kernel/power/ |
H A D | snapshot.c | 130 * Preferred image size in bytes (tunable via /sys/power/image_size). 132 * size will not exceed N bytes, but if that is impossible, it will 293 unsigned int used_space; /* total size of objects allocated out 308 static void *chain_alloc(struct chain_allocator *ca, unsigned int size) in chain_alloc() argument 312 if (LINKED_PAGE_DATA_SIZE - ca->used_space < size) { in chain_alloc() 325 ca->used_space += size; in chain_alloc() 1783 * minimum_image_size - Estimate the minimum acceptable size of an image. 1787 * minimum acceptable size of a hibernation image to use as the lower limit for 1790 * We assume that the minimum image size should be proportional to 1799 unsigned long size; in minimum_image_size() local 1835 unsigned long saveable, size, max_size, count, highmem, pages = 0; hibernate_preallocate_memory() local [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | usbnet.c | 37 * Nineteen USB 1.1 max size bulk transactions per frame (ms), max. 39 * One maximum size Ethernet packet takes twenty four of them. 40 * For high speed, each frame comfortably fits almost 36 max size 487 size_t size = dev->rx_urb_size; in rx_submit() local 496 skb = __netdev_alloc_skb(dev->net, size, flags); in rx_submit() 498 skb = __netdev_alloc_skb_ip_align(dev->net, size, flags); in rx_submit() 512 skb->data, size, rx_complete, skb); in rx_submit() 2006 u16 value, u16 index, void *data, u16 size) in __usbnet_read_cmd() 2012 " value=0x%04x index=0x%04x size=%d\n", in __usbnet_read_cmd() 2013 cmd, reqtype, value, index, size); in __usbnet_read_cmd() 2005 __usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, void *data, u16 size) __usbnet_read_cmd() argument 2036 __usbnet_write_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, const void *data, u16 size) __usbnet_write_cmd() argument 2072 usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, void *data, u16 size) usbnet_read_cmd() argument 2090 usbnet_write_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, const void *data, u16 size) usbnet_write_cmd() argument 2108 usbnet_read_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, void *data, u16 size) usbnet_read_cmd_nopm() argument 2120 usbnet_write_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, const void *data, u16 size) usbnet_write_cmd_nopm() argument 2146 usbnet_write_cmd_async(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, const void *data, u16 size) usbnet_write_cmd_async() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/ |
H A D | device.c | 803 rdev->lldi.vr->qp.size != rdev->lldi.vr->cq.size) { in c4iw_rdev_open() 804 pr_err("%s: unsupported qp and cq id ranges qp start %u size %u cq start %u size %u\n", in c4iw_rdev_open() 806 rdev->lldi.vr->qp.size, rdev->lldi.vr->cq.size, in c4iw_rdev_open() 807 rdev->lldi.vr->cq.size); in c4iw_rdev_open() 813 pr_err("%s: unsupported sge host page size %u\n", in c4iw_rdev_open() 823 pr_debug("dev %s stag start 0x%0x size 0x%0x num stags %d pbl start 0x%0x size in c4iw_rdev_open() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | puda.c | 88 buf->mem.size, DMA_BIDIRECTIONAL); in irdma_puda_post_recvbuf() 100 FIELD_PREP(IRDMAQPSQ_GEN1_FRAG_LEN, buf->mem.size)); in irdma_puda_post_recvbuf() 103 FIELD_PREP(IRDMAQPSQ_FRAG_LEN, buf->mem.size) | in irdma_puda_post_recvbuf() 145 buf_mem.size = sizeof(struct irdma_puda_buf); in irdma_puda_alloc_buf() 146 buf_mem.va = kzalloc(buf_mem.size, GFP_KERNEL); in irdma_puda_alloc_buf() 151 buf->mem.size = len; in irdma_puda_alloc_buf() 152 buf->mem.va = kzalloc(buf->mem.size, GFP_KERNEL); in irdma_puda_alloc_buf() 156 buf->mem.size, DMA_BIDIRECTIONAL); in irdma_puda_alloc_buf() 163 buf->buf_mem.size = buf_mem.size; in irdma_puda_alloc_buf() [all...] |
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | btf_dump.c | 399 * that if some type is "embedded" into a struct/union, it's size needs to be 413 * struct B definition, as struct B has a pointer to struct A, so the size of 414 * field x is known without knowing struct A size: it's sizeof(void *). 425 * In this case, struct B's field x is a pointer, so it's size is known 426 * regardless of the size of (anonymous) struct it points to. But because this 850 /* size of a non-packed struct has to be a multiple of its alignment */ in btf_is_struct_packed() 851 if (t->size % max_align != 0) in btf_is_struct_packed() 1013 btf_dump_emit_bit_padding(d, off, t->size * 8, align, false, lvl + 1); in btf_dump_emit_struct_def() 1019 if (vlen || t->size) { in btf_dump_emit_struct_def() 1138 if (t->size in btf_dump_emit_enum_def() 2256 __s64 size; btf_dump_type_data_check_overflow() local 2424 int size, err = 0; btf_dump_dump_type_data() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 326 * Arbitrarily allocate 512 pages (2mb when page size is 4kb) for the in vm_nr_pages_required() 336 * maximum page table size for a memory region will be when the in vm_nr_pages_required() 337 * smallest page size is used. Considering each page contains x page in vm_nr_pages_required() 338 * table descriptors, the total extra size for page tables (for extra in vm_nr_pages_required() 390 * extra_mem_pages - Non-slot0 physical memory total size 400 * extra_mem_pages is only used to calculate the maximum page table size, 460 " guest_phys_addr: 0x%llx size: 0x%llx", in kvm_vm_restart() 736 int kvm_memfd_alloc(size_t size, bool hugepages) in kvm_memfd_alloc() argument 747 r = ftruncate(fd, size); in kvm_memfd_alloc() 750 r = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, size); in kvm_memfd_alloc() 878 __vm_set_user_memory_region(struct kvm_vm *vm, uint32_t slot, uint32_t flags, uint64_t gpa, uint64_t size, void *hva) __vm_set_user_memory_region() argument 892 vm_set_user_memory_region(struct kvm_vm *vm, uint32_t slot, uint32_t flags, uint64_t gpa, uint64_t size, void *hva) vm_set_user_memory_region() argument 1447 size_t size = npages * page_size; virt_map() local 1635 uint32_t size = vcpu->vm->dirty_ring_size; vcpu_map_dirty_ring() local 1748 size_t size; kvm_gsi_routing_create() local 2047 vm_calc_num_guest_pages(enum vm_guest_mode mode, size_t size) vm_calc_num_guest_pages() argument 2106 size_t size = nr_elements * sizeof(*data); read_stat_data() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_afftdn.c | 235 static void factor(double *array, int size) in factor() argument 237 for (int i = 0; i < size - 1; i++) { in factor() 238 for (int j = i + 1; j < size; j++) { in factor() 239 double d = array[j + i * size] / array[i + i * size]; in factor() 241 array[j + i * size] = d; in factor() 242 for (int k = i + 1; k < size; k++) { in factor() 243 array[j + k * size] -= d * array[i + k * size]; in factor() 249 static void solve(double *matrix, double *vector, int size) in solve() argument 311 int size = 0; spectral_flatness() local 335 floor_offset(const double *S, int size, double mean) floor_offset() argument [all...] |
/third_party/libbpf/src/ |
H A D | btf_dump.c | 399 * that if some type is "embedded" into a struct/union, it's size needs to be 413 * struct B definition, as struct B has a pointer to struct A, so the size of 414 * field x is known without knowing struct A size: it's sizeof(void *). 425 * In this case, struct B's field x is a pointer, so it's size is known 426 * regardless of the size of (anonymous) struct it points to. But because this 850 /* size of a non-packed struct has to be a multiple of its alignment */ in btf_is_struct_packed() 851 if (t->size % max_align != 0) in btf_is_struct_packed() 1013 btf_dump_emit_bit_padding(d, off, t->size * 8, align, false, lvl + 1); in btf_dump_emit_struct_def() 1019 if (vlen || t->size) { in btf_dump_emit_struct_def() 1138 if (t->size in btf_dump_emit_enum_def() 2256 __s64 size; btf_dump_type_data_check_overflow() local 2424 int size, err = 0; btf_dump_dump_type_data() local [all...] |
/third_party/node/src/ |
H A D | env.cc | 112 for (uint32_t i = offset; i < native_execution_async_resources_.size(); i++) in push_async_context() 116 // When this call comes from JS (as a way of increasing the stack size), in push_async_context() 143 if (LIKELY(offset < native_execution_async_resources_.size() && in pop_async_context() 146 for (uint32_t i = offset + 1; i < native_execution_async_resources_.size(); in pop_async_context() 152 if (native_execution_async_resources_.size() < in pop_async_context() 154 native_execution_async_resources_.size() > 16) { in pop_async_context() 204 size_t id = contexts_.size(); in TrackContext() 378 if (values.size() > i && id == values[i].id) { \ in DeserializeProperties() 579 size_t size = PATH_MAX_BYTES; in GetCwd() local 580 const int err = uv_cwd(cwd, &size); in GetCwd() 1826 size_t size = sizeof(*this); SelfSize() local [all...] |
/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | tz2icu.cpp | 123 // Minimal size = 5 bytes (4+1) 134 // Minimal size = 6 bytes (4+1+3bits) 221 assert(aliases.size() == 0); 419 assert(info.types.size() == (unsigned) typecnt); in readzoneinfo() 433 for (i=0; i<(int32_t)info.types.size(); ++i) { in readzoneinfo() 473 vector<bool> abbrseen(abbroffset.size(), false); in readzoneinfo() 507 for (int32_t ii=0;ii<(int32_t) abbrseen.size();++ii) { in readzoneinfo() 688 for(int32_t i=0;i<(int32_t)subfiles.size();i+=2) { in scandir() 697 for(int32_t i=0;i<(int32_t)subdirs.size();i+=2) { in scandir() 1002 if (ruleIDset.size() ! in readFinalZonesAndRules() [all...] |
/third_party/libphonenumber/cpp/src/phonenumbers/ohos/ |
H A D | geocoding_data.pb.cc | 222 void GeocodingInfo::SetCachedSize(int size) const { in SetCachedSize() 223 _cached_size_.Set(size); in SetCachedSize() 407 static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); in _InternalSerialize() 464 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(languages_.size()); in ByteSizeLong() 465 for (int i = 0, n = languages_.size(); i < n; i++) { in ByteSizeLong() 487 total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size(); in ByteSizeLong() 626 void PrefixesInfo::SetCachedSize(int size) const { in SetCachedSize() 627 _cached_size_.Set(size); in SetCachedSize() 784 static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); in _InternalSerialize() 843 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(descriptions_.size()); in ByteSizeLong() [all...] |
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
H A D | tz2icu.cpp | 123 // Minimal size = 5 bytes (4+1) 134 // Minimal size = 6 bytes (4+1+3bits) 221 assert(aliases.size() == 0); 419 assert(info.types.size() == (unsigned) typecnt); in readzoneinfo() 433 for (i=0; i<(int32_t)info.types.size(); ++i) { in readzoneinfo() 473 vector<bool> abbrseen(abbroffset.size(), false); in readzoneinfo() 507 for (int32_t ii=0;ii<(int32_t) abbrseen.size();++ii) { in readzoneinfo() 688 for(int32_t i=0;i<(int32_t)subfiles.size();i+=2) { in scandir() 697 for(int32_t i=0;i<(int32_t)subdirs.size();i+=2) { in scandir() 1002 if (ruleIDset.size() ! in readFinalZonesAndRules() [all...] |
/third_party/skia/tests/ |
H A D | CodecTest.cpp | 179 const SkImageInfo& info, const SkISize& size, SkCodec::Result expectedResult, in test_codec() 182 REPORTER_ASSERT(r, info.dimensions() == size); in test_codec() 290 SkISize size, in check_scanline_decode() 299 test_codec(r, path, codec, bm, info, size, expectedResult, codecDigest, nullptr); in check_scanline_decode() 378 SkISize size, in check_subset_decode() 384 if (size.width() * size.height() == 1) { in check_subset_decode() 393 subset = generate_random_subset(&rand, size.width(), size.height()); in check_subset_decode() 398 SkImageInfo subsetInfo = info.makeDimensions(subset.size()); in check_subset_decode() 178 test_codec(skiatest::Reporter* r, const char* path, Codec* codec, SkBitmap& bm, const SkImageInfo& info, const SkISize& size, SkCodec::Result expectedResult, SkMD5::Digest* digest, const SkMD5::Digest* goodDigest) test_codec() argument 285 check_scanline_decode(skiatest::Reporter* r, SkCodec* codec, SkMD5::Digest* codecDigest, const SkImageInfo& info, const char path[], SkISize size, bool supportsScanlineDecoding, bool supportsIncomplete, bool supportsNewScanlineDecoding) check_scanline_decode() argument 375 check_subset_decode(skiatest::Reporter* r, SkCodec* codec, const SkImageInfo& info, SkISize size, bool supportsSubsetDecoding, bool supportsIncomplete) check_subset_decode() argument 417 check_android_codec(skiatest::Reporter* r, std::unique_ptr<SkCodec> codec, const SkMD5::Digest& codecDigest, const SkImageInfo& info, const char path[], SkISize size, bool supportsScanlineDecoding, bool supportsSubsetDecoding, bool supportsIncomplete, bool supportsNewScanlineDecoding) check_android_codec() argument 473 check(skiatest::Reporter* r, const char path[], SkISize size, bool supportsScanlineDecoding, bool supportsSubsetDecoding, bool supportsIncomplete, bool supportsNewScanlineDecoding = false) check() argument 1387 auto size = codec->getSampledDimensions(opts.fSampleSize); DEF_TEST() local 1761 const auto size = codec->getSampledDimensions(kSampleSize); DEF_TEST() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonGenInsert.cpp | 60 cl::Hidden, cl::ZeroOrMore, cl::desc("Maximum size of OrderedRegisterList")); 62 cl::Hidden, cl::ZeroOrMore, cl::desc("Maximum size of IFMap")); 124 if (Idx >= size()) in remove() 143 assert(Idx < size()); in operator []() 148 if (Idx >= size()) 166 if (size() <= Idx) in ensure() 277 if (RInd >= CVect.size()) in lookup() 394 assert(Idx < Seq.size()); in operator []() 398 unsigned size() const { 399 return Seq.size(); [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | api.pb.h | 165 void SetCachedSize(int size) const final; 260 void set_name(const char* value, size_t size); 276 void set_version(const char* value, size_t size); 418 void SetCachedSize(int size) const final; 477 void set_name(const char* value, size_t size); 493 void set_request_type_url(const char* value, size_t size); 509 void set_response_type_url(const char* value, size_t size); 651 void SetCachedSize(int size) const final; 687 void set_name(const char* value, size_t size); 703 void set_root(const char* value, size_t size); 772 set_name(const char* value, size_t size) set_name() argument 776 reinterpret_cast<const char*>(value), size), GetArena()); set_name() local 909 set_version(const char* value, size_t size) set_version() argument 913 reinterpret_cast<const char*>(value), size), GetArena()); set_version() local 1111 set_name(const char* value, size_t size) set_name() argument 1115 reinterpret_cast<const char*>(value), size), GetArena()); set_name() local 1173 set_request_type_url(const char* value, size_t size) set_request_type_url() argument 1177 reinterpret_cast<const char*>(value), size), GetArena()); set_request_type_url() local 1255 set_response_type_url(const char* value, size_t size) set_response_type_url() argument 1259 reinterpret_cast<const char*>(value), size), GetArena()); set_response_type_url() local 1397 set_name(const char* value, size_t size) set_name() argument 1401 reinterpret_cast<const char*>(value), size), GetArena()); set_name() local 1459 set_root(const char* value, size_t size) set_root() argument 1463 reinterpret_cast<const char*>(value), size), GetArena()); set_root() local [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSRGBDecodeTests.cpp | 643 glw::GLint size, location; in SRGBTestProgram() local 652 gl.getActiveUniform(this->getHandle(), idx, maxLen, NULL, &size, &type, &uniformName[0]); in SRGBTestProgram() 687 if ( (m_uniformDataList.empty() == false) && (location >= 0) && (location <= (int)m_uniformDataList.size()) ) in setUniformToggle() 704 for (std::size_t idx = 0; idx < m_uniformDataList.size(); idx++) in getUniformLocation() 985 for (std::size_t renderBufferIdx = 0; renderBufferIdx < m_renderBufferList.size(); renderBufferIdx++) in deinit() 996 for (std::size_t textureSourceIdx = 0; textureSourceIdx < m_textureSourceList.size(); textureSourceIdx++) in deinit() 1002 for (std::size_t samplerIdx = 0; samplerIdx < m_samplerList.size(); samplerIdx++) in deinit() 1115 for (int shaderParamsIdx = 0; shaderParamsIdx < (int)m_shaderParametersList.size(); shaderParamsIdx++) in genShaderPrograms() 1130 for (int uniformNameIdx = 0; uniformNameIdx < (int)uniformsToToggle.size(); uniformNameIdx++) in genShaderPrograms() 1142 for (std::size_t idx = 0; idx < m_shaderProgramList.size(); id in deleteShaderPrograms() [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | sunxi_nand.c | 689 if (nand->ecc.size == 512) in sunxi_nfc_hw_ecc_enable() 783 memset(data, pattern, ecc->size); in sunxi_nfc_hw_ecc_correct() 812 sunxi_nfc_randomizer_read_buf(nand, NULL, ecc->size, false, page); in sunxi_nfc_hw_ecc_read_chunk() 814 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_read_chunk() 845 ecc->size, false); in sunxi_nfc_hw_ecc_read_chunk() 848 ecc->size); in sunxi_nfc_hw_ecc_read_chunk() 853 ret = nand_check_erased_ecc_chunk(data, ecc->size, in sunxi_nfc_hw_ecc_read_chunk() 859 memcpy_fromio(data, nfc->regs + NFC_RAM0_BASE, ecc->size); in sunxi_nfc_hw_ecc_read_chunk() 920 ret = sunxi_nfc_dma_op_prepare(nfc, buf, ecc->size, nchunks, in sunxi_nfc_hw_ecc_read_chunks_dma() 952 int data_off = i * ecc->size; in sunxi_nfc_hw_ecc_read_chunks_dma() [all...] |
/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | devio.c | 56 #define USB_SG_SIZE 16384 /* split-size for large txs */ 87 u32 size; member 186 hcd_buffer_free_pages(hcd, usbm->size, in dec_usb_memory_use_count() 189 usbm->size + sizeof(struct usb_memory)); in dec_usb_memory_use_count() 223 size_t size = vma->vm_end - vma->vm_start; in usbdev_mmap() local 229 ret = usbfs_increase_memory_usage(size + sizeof(struct usb_memory)); in usbdev_mmap() 240 size, GFP_USER | __GFP_NOWARN, &dma_handle); in usbdev_mmap() 246 memset(mem, 0, size); in usbdev_mmap() 250 usbm->size = size; in usbdev_mmap() 522 int i, size; snoop_urb_data() local 544 unsigned i, len, size; copy_urb_data_to_user() local 1451 proc_conninfo_ex(struct usb_dev_state *ps, void __user *arg, size_t size) proc_conninfo_ex() argument 2303 int size; proc_ioctl() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | devio.c | 56 #define USB_SG_SIZE 16384 /* split-size for large txs */ 87 u32 size; member 198 hcd_buffer_free_pages(hcd, usbm->size, in dec_usb_memory_use_count() 201 usbm->size + sizeof(struct usb_memory)); in dec_usb_memory_use_count() 235 size_t size = vma->vm_end - vma->vm_start; in usbdev_mmap() local 241 ret = usbfs_increase_memory_usage(size + sizeof(struct usb_memory)); in usbdev_mmap() 252 size, GFP_USER | __GFP_NOWARN, &dma_handle); in usbdev_mmap() 258 memset(mem, 0, size); in usbdev_mmap() 262 usbm->size = size; in usbdev_mmap() 533 int i, size; snoop_urb_data() local 555 unsigned i, len, size; copy_urb_data_to_user() local 1466 proc_conninfo_ex(struct usb_dev_state *ps, void __user *arg, size_t size) proc_conninfo_ex() argument 2318 int size; proc_ioctl() local [all...] |