Home
last modified time | relevance | path

Searched refs:size (Results 18551 - 18575 of 56270) sorted by relevance

1...<<741742743744745746747748749750>>...2251

/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_arm.c147 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 Dsnapshot.c96 * 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 Dk3-ringacc.c146 * @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 Dsnapshot.c130 * 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 Dusbnet.c37 * 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 Ddevice.c803 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 Dpuda.c88 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 Dbtf_dump.c399 * 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 Dkvm_util.c326 * 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 Daf_afftdn.c235 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 Dbtf_dump.c399 * 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 Denv.cc112 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 Dtz2icu.cpp123 // 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 Dgeocoding_data.pb.cc222 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 Dtz2icu.cpp123 // 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 DCodecTest.cpp179 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 DHexagonGenInsert.cpp60 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 Dapi.pb.h165 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 Des31fSRGBDecodeTests.cpp643 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...]
/applications/standard/contacts_data/contacts/src/
H A Dcontacts_api.cpp235 unsigned int size = attrs.attributes.size(); in AttributesPredicates() local
236 if (size > 0) { in AttributesPredicates()
242 for (unsigned int i = 0; i < size; ++i) { in AttributesPredicates()
244 if (i != size - 1) { in AttributesPredicates()
248 if (size > 0) { in AttributesPredicates()
255 unsigned int size = attrs.attributes.size(); in CheckAttributes() local
256 if (size == 0) { in CheckAttributes()
346 unsigned int size in BuildQueryContactsPredicates() local
443 unsigned int size = holders.size(); BuildQueryGroupsPredicates() local
490 unsigned int size = attrs.attributes.size(); BuildQueryMyCardPredicates() local
521 unsigned int size = attrs.attributes.size(); BuildQueryContactData() local
810 unsigned int size = value.size(); LocalExecuteAddContact() local
899 unsigned int size = value.size(); LocalExecuteUpdateContact() local
1094 unsigned int size = executeHelper->argc; SetChildActionCodeAndConvertParams() local
[all...]
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
H A Dapp_account_manager_service_module_test.cpp119 ASSERT_EQ(accounts.size(), 0); in ClearDataStorage()
293 EXPECT_EQ(accessibleAccounts.size(), SIZE_ZERO); in HWTEST_F()
956 ASSERT_EQ(appAccounts.size(), SIZE_ONE); in HWTEST_F()
986 ASSERT_EQ(appAccounts.size(), SIZE_ONE); in HWTEST_F()
1014 ASSERT_EQ(appAccounts.size(), SIZE_ONE); in HWTEST_F()
1047 ASSERT_EQ(appAccounts.size(), SIZE_ONE); in HWTEST_F()
1099 ASSERT_EQ(appAccounts.size(), SIZE_ONE); in HWTEST_F()
1158 ASSERT_EQ(appAccounts.size(), SIZE_ONE); in HWTEST_F()
1191 ASSERT_EQ(appAccounts.size(), SIZE_ONE); in HWTEST_F()
1222 ASSERT_EQ(appAccounts.size(), SIZE_ON in HWTEST_F()
[all...]
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.cpp202 size_t size = path.size(); in MakeDirRecursive() local
203 if (size == 0) { in MakeDirRecursive()
210 index = pathIndex == std::string::npos ? size : pathIndex + 1; in MakeDirRecursive()
216 } while (index < size); in MakeDirRecursive()
221 size_t size = path.size(); in CheckDirRecursive() local
222 if (size == 0) { in CheckDirRecursive()
228 index = pathIndex == std::string::npos ? size : pathIndex + 1; in CheckDirRecursive()
234 } while (index < size); in CheckDirRecursive()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_mem.c588 /* If the current size of TMEM is out of range of the in kbase_region_tracker_init()
672 /* The region flag or region size has changed since creation so bail. */ in kbase_region_tracker_init_jit()
818 * its last backed size as we're going to unmap it in kbase_free_alloced_region()
980 size_t size, u64 *offset) in kbasep_find_enclosing_cpu_mapping()
991 if ((uintptr_t)uaddr + size < (uintptr_t)uaddr) { /* overflow check */ in kbasep_find_enclosing_cpu_mapping()
995 vma = find_vma_intersection(current->mm, uaddr, uaddr + size); in kbasep_find_enclosing_cpu_mapping()
1016 if ((uaddr + size) > (map_start + map_size)) { in kbasep_find_enclosing_cpu_mapping()
1026 int kbasep_find_enclosing_cpu_mapping_offset(struct kbase_context *kctx, unsigned long uaddr, size_t size, u64 *offset) in kbasep_find_enclosing_cpu_mapping_offset() argument
1032 map = kbasep_find_enclosing_cpu_mapping(kctx, uaddr, size, offset); in kbasep_find_enclosing_cpu_mapping_offset()
1045 void kbase_sync_single(struct kbase_context *kctx, phys_addr_t cpu_pa, phys_addr_t gpu_pa, off_t offset, size_t size, in kbase_sync_single() argument
979 kbasep_find_enclosing_cpu_mapping(struct kbase_context *kctx, unsigned long uaddr, size_t size, u64 *offset) kbasep_find_enclosing_cpu_mapping() argument
1098 size_t size; kbase_do_syncset() local
1524 kbase_alloc_phy_pages(struct kbase_va_region *reg, size_t vsize, size_t size) kbase_alloc_phy_pages() argument
1697 size_t size; kbase_jit_debugfs_common_read() local
2198 unsigned long size = alloc->imported.user_buf.size; kbase_jd_user_buf_unmap() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_mem.c603 /* If the current size of TMEM is out of range of the in kbase_region_tracker_init()
691 /* The region flag or region size has changed since creation so bail. */ in kbase_region_tracker_init_jit()
846 * its last backed size as we're going to unmap it in kbase_free_alloced_region()
1011 unsigned long uaddr, size_t size, u64 *offset) in kbasep_find_enclosing_cpu_mapping()
1022 if ((uintptr_t) uaddr + size < (uintptr_t) uaddr) /* overflow check */ in kbasep_find_enclosing_cpu_mapping()
1025 vma = find_vma_intersection(current->mm, uaddr, uaddr+size); in kbasep_find_enclosing_cpu_mapping()
1044 if ((uaddr + size) > (map_start + map_size)) in kbasep_find_enclosing_cpu_mapping()
1055 unsigned long uaddr, size_t size, u64 *offset) in kbasep_find_enclosing_cpu_mapping_offset()
1061 map = kbasep_find_enclosing_cpu_mapping(kctx, uaddr, size, offset); in kbasep_find_enclosing_cpu_mapping_offset()
1075 off_t offset, size_t size, enu in kbase_sync_single()
1009 kbasep_find_enclosing_cpu_mapping( struct kbase_context *kctx, unsigned long uaddr, size_t size, u64 *offset) kbasep_find_enclosing_cpu_mapping() argument
1053 kbasep_find_enclosing_cpu_mapping_offset( struct kbase_context *kctx, unsigned long uaddr, size_t size, u64 *offset) kbasep_find_enclosing_cpu_mapping_offset() argument
1073 kbase_sync_single(struct kbase_context *kctx, phys_addr_t cpu_pa, phys_addr_t gpu_pa, off_t offset, size_t size, enum kbase_sync_type sync_fn) kbase_sync_single() argument
1131 size_t size; kbase_do_syncset() local
1573 kbase_alloc_phy_pages(struct kbase_va_region *reg, size_t vsize, size_t size) kbase_alloc_phy_pages() argument
1729 size_t size; kbase_jit_debugfs_common_read() local
2255 unsigned long size = alloc->imported.user_buf.size; kbase_jd_user_buf_unmap() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dpage_router_manager.cpp472 if (pageRouterStack_.size() > 1) { in StartClean()
485 if (pageRouterStack_.size() == 1) { in StartClean()
517 if (pageRouterStack_.size() <= 1) { in StartPop()
597 auto stackSize = static_cast<int32_t>(pageRouterStack_.size() + restorePageStack_.size()); in GetStackSize()
613 return static_cast<int32_t>(restorePageStack_.size() + pageRouterStack_.size()) - 1; in GetCurrentPageIndex()
616 return static_cast<int32_t>(restorePageStack_.size()) + 1; in GetCurrentPageIndex()
619 auto index = static_cast<int32_t>(restorePageStack_.size() + pageRouterStack_.size()); in GetCurrentPageIndex()
[all...]

Completed in 65 milliseconds

1...<<741742743744745746747748749750>>...2251