/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | StringRef.cpp | 99 makeArrayRef(data(), size()), 100 makeArrayRef(Other.data(), Other.size()), 109 std::string Result(size(), char()); 110 for (size_type i = 0, e = size(); i != e; ++i) { 117 std::string Result(size(), char()); 118 for (size_type i = 0, e = size(); i != e; ++i) { 141 size_t N = Str.size(); 184 while (This.size() >= Str.size()) { 209 size_t N = Str.size(); [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsCalibration.cpp | 50 const typename vector<T>::iterator mid = data.begin()+data.size()/2; in destructiveMedian() 54 if (data.size()%2 == 0) // Even number of elements, need average of two centermost elements in destructiveMedian() 64 const int numDataPoints = (int)dataPoints.size(); in theilSenLinearRegression() 107 const int maxNdx = (int)values.size() - 1; in linearSample() 113 DE_ASSERT(lowerNdx >= 0 && lowerNdx < (int)values.size()); in linearSample() 114 DE_ASSERT(higherNdx >= 0 && higherNdx < (int)values.size()); in linearSample() 127 const int numDataPoints = (int)dataPoints.size(); in theilSenSiegelLinearRegression() 180 return (int)frameTimes.size() >= maxNumFrames || (frameTimes.size() >= 2 && in isDone() 181 frameTimes[frameTimes.size() in isDone() [all...] |
/third_party/zlib/examples/ |
H A D | enough.c | 1 /* enough.c -- determine the maximum size of inflate's Huffman code tables over 14 1.3 17 Feb 2008 Add argument for initial root table size 15 Fix bug for initial root table size == max - 1 26 maximum code length in bits to determine the maximum table size for zlib's 53 The size of that table is determined by the longest code with that root-bit 54 prefix. If that longest code has length len, then the table has size 1 << 82 size is recalled in order to avoid recalculating from the same juncture. 147 index, and the calculation of size in main() for the size of the array. 162 vector is of a variable size, an 176 size_t size; // size of allocation global() member 228 size_t size; // number of elements in num and done global() member [all...] |
/foundation/ability/ability_runtime/test/unittest/app_running_manager_test/ |
H A D | app_running_manager_test.cpp | 131 EXPECT_EQ(appRunningManager->appRunningRecordMap_.size(), RECORD_MAP_SIZE); in HWTEST_F() 136 EXPECT_EQ(debugInfos.size(), DEBUG_INFOS_SIZE); in HWTEST_F() 161 EXPECT_EQ(abilityTokens.size(), ABILITY_TOKENS_SIZE); in HWTEST_F() 269 EXPECT_EQ(appRunningManager->appRunningRecordMap_.size(), recordId); in HWTEST_F() 398 EXPECT_EQ(hostPids.size(), 1); in HWTEST_F() 404 EXPECT_EQ(providerPids.size(), 1); in HWTEST_F() 413 EXPECT_EQ(hostPids.size(), 0); in HWTEST_F() 415 EXPECT_EQ(providerPids.size(), 0); in HWTEST_F() 435 EXPECT_EQ(hostPids.size(), 1); in HWTEST_F() 441 EXPECT_EQ(providerPids.size(), in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | xattr.c | 26 static void *xattr_alloc(struct f2fs_sb_info *sbi, int size, bool *is_inline) in xattr_alloc() argument 28 if (likely(size == sbi->inline_xattr_slab_size)) { in xattr_alloc() 33 return f2fs_kzalloc(sbi, size, GFP_NOFS); in xattr_alloc() 47 const char *name, void *buffer, size_t size) in f2fs_xattr_generic_get() 63 buffer, size, NULL); in f2fs_xattr_generic_get() 69 size_t size, int flags) in f2fs_xattr_generic_set() 85 value, size, NULL, flags); in f2fs_xattr_generic_set() 102 const char *name, void *buffer, size_t size) in f2fs_xattr_advise_get() 112 size_t size, int flags) in f2fs_xattr_advise_set() 268 /* inline xattr header or entry across max inline xattr size */ in __find_inline_xattr() 45 f2fs_xattr_generic_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) f2fs_xattr_generic_get() argument 66 f2fs_xattr_generic_set(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, const void *value, size_t size, int flags) f2fs_xattr_generic_set() argument 100 f2fs_xattr_advise_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) f2fs_xattr_advise_get() argument 109 f2fs_xattr_advise_set(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, const void *value, size_t size, int flags) f2fs_xattr_advise_set() argument 394 unsigned int size = VALID_XATTR_BLOCK_SIZE; read_all_xattrs() local 519 unsigned int size, len; f2fs_getxattr() local 581 size_t size; f2fs_listxattr() local 617 f2fs_xattr_value_same(struct f2fs_xattr_entry *entry, const void *value, size_t size) f2fs_xattr_value_same() argument 626 __f2fs_setxattr(struct inode *inode, int index, const char *name, const void *value, size_t size, struct page *ipage, int flags) __f2fs_setxattr() argument 772 f2fs_setxattr(struct inode *inode, int index, const char *name, const void *value, size_t size, struct page *ipage, int flags) f2fs_setxattr() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
H A D | base.c | 208 nvkm_perfdom_init(struct nvkm_perfdom *dom, void *data, u32 size) in nvkm_perfdom_init() argument 217 nvif_ioctl(object, "perfdom init size %d\n", size); in nvkm_perfdom_init() 218 if (!(ret = nvif_unvers(ret, &data, &size, args->none))) { in nvkm_perfdom_init() 238 nvkm_perfdom_sample(struct nvkm_perfdom *dom, void *data, u32 size) in nvkm_perfdom_sample() argument 247 nvif_ioctl(object, "perfdom sample size %d\n", size); in nvkm_perfdom_sample() 248 if (!(ret = nvif_unvers(ret, &data, &size, args->none))) { in nvkm_perfdom_sample() 262 nvkm_perfdom_read(struct nvkm_perfdom *dom, void *data, u32 size) in nvkm_perfdom_read() argument 271 nvif_ioctl(object, "perfdom read size in nvkm_perfdom_read() 293 nvkm_perfdom_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) nvkm_perfdom_mthd() argument 366 nvkm_perfdom_new_(struct nvkm_perfmon *perfmon, const struct nvkm_oclass *oclass, void *data, u32 size, struct nvkm_object **pobject) nvkm_perfdom_new_() argument 434 nvkm_perfmon_mthd_query_domain(struct nvkm_perfmon *perfmon, void *data, u32 size) nvkm_perfmon_mthd_query_domain() argument 482 nvkm_perfmon_mthd_query_signal(struct nvkm_perfmon *perfmon, void *data, u32 size) nvkm_perfmon_mthd_query_signal() argument 536 nvkm_perfmon_mthd_query_source(struct nvkm_perfmon *perfmon, void *data, u32 size) nvkm_perfmon_mthd_query_source() argument 588 nvkm_perfmon_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) nvkm_perfmon_mthd() argument 605 nvkm_perfmon_child_new(const struct nvkm_oclass *oclass, void *data, u32 size, struct nvkm_object **pobject) nvkm_perfmon_child_new() argument 646 nvkm_perfmon_new(struct nvkm_pm *pm, const struct nvkm_oclass *oclass, void *data, u32 size, struct nvkm_object **pobject) nvkm_perfmon_new() argument 664 nvkm_pm_oclass_new(struct nvkm_device *device, const struct nvkm_oclass *oclass, void *data, u32 size, struct nvkm_object **pobject) nvkm_pm_oclass_new() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/device_include/ |
H A D | svga3d_surfacedefs.h | 1182 * svga3dsurface_get_mip_size - Given a base level size and the mip level, 1183 * compute the size of the mip level. 1188 surf_size_struct size; in svga3dsurface_get_mip_size() local 1190 size.width = max_t(u32, base_level.width >> mip_level, 1); in svga3dsurface_get_mip_size() 1191 size.height = max_t(u32, base_level.height >> mip_level, 1); in svga3dsurface_get_mip_size() 1192 size.depth = max_t(u32, base_level.depth >> mip_level, 1); in svga3dsurface_get_mip_size() 1193 size.pad64 = 0; in svga3dsurface_get_mip_size() 1195 return size; in svga3dsurface_get_mip_size() 1219 const surf_size_struct *size) in svga3dsurface_calculate_pitch() 1224 svga3dsurface_get_size_in_blocks(desc, size, in svga3dsurface_calculate_pitch() 1218 svga3dsurface_calculate_pitch(const struct svga3d_surface_desc *desc, const surf_size_struct *size) svga3dsurface_calculate_pitch() argument 1243 svga3dsurface_get_image_buffer_size(const struct svga3d_surface_desc *desc, const surf_size_struct *size, u32 pitch) svga3dsurface_get_image_buffer_size() argument 1283 surf_size_struct size = svga3dsurface_get_serialized_size() local 1442 struct drm_vmw_size size; global() member 1507 svga3dsurface_setup_cache(const struct drm_vmw_size *size, SVGA3dSurfaceFormat format, u32 num_mip_levels, u32 num_layers, u32 num_samples, struct svga3dsurface_cache *cache) svga3dsurface_setup_cache() argument 1611 const struct drm_vmw_size *size = &cache->mip[mip].size; svga3dsurface_inc_loc() local 1655 const struct drm_vmw_size *size; svga3dsurface_max_loc() local [all...] |
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | xattr.c | 26 static void *xattr_alloc(struct f2fs_sb_info *sbi, int size, bool *is_inline) in xattr_alloc() argument 28 if (likely(size == sbi->inline_xattr_slab_size)) { in xattr_alloc() 34 return f2fs_kzalloc(sbi, size, GFP_NOFS); in xattr_alloc() 48 const char *name, void *buffer, size_t size) in f2fs_xattr_generic_get() 64 buffer, size, NULL); in f2fs_xattr_generic_get() 71 size_t size, int flags) in f2fs_xattr_generic_set() 87 value, size, NULL, flags); in f2fs_xattr_generic_set() 104 const char *name, void *buffer, size_t size) in f2fs_xattr_advise_get() 115 size_t size, int flags) in f2fs_xattr_advise_set() 265 /* inline xattr header or entry across max inline xattr size */ in __find_inline_xattr() 46 f2fs_xattr_generic_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) f2fs_xattr_generic_get() argument 67 f2fs_xattr_generic_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *value, size_t size, int flags) f2fs_xattr_generic_set() argument 102 f2fs_xattr_advise_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) f2fs_xattr_advise_get() argument 111 f2fs_xattr_advise_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *value, size_t size, int flags) f2fs_xattr_advise_set() argument 393 unsigned int size = VALID_XATTR_BLOCK_SIZE; read_all_xattrs() local 519 unsigned int size, len; f2fs_getxattr() local 581 size_t size; f2fs_listxattr() local 619 f2fs_xattr_value_same(struct f2fs_xattr_entry *entry, const void *value, size_t size) f2fs_xattr_value_same() argument 628 __f2fs_setxattr(struct inode *inode, int index, const char *name, const void *value, size_t size, struct page *ipage, int flags) __f2fs_setxattr() argument 791 f2fs_setxattr(struct inode *inode, int index, const char *name, const void *value, size_t size, struct page *ipage, int flags) f2fs_setxattr() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
H A D | base.c | 208 nvkm_perfdom_init(struct nvkm_perfdom *dom, void *data, u32 size) in nvkm_perfdom_init() argument 217 nvif_ioctl(object, "perfdom init size %d\n", size); in nvkm_perfdom_init() 218 if (!(ret = nvif_unvers(ret, &data, &size, args->none))) { in nvkm_perfdom_init() 238 nvkm_perfdom_sample(struct nvkm_perfdom *dom, void *data, u32 size) in nvkm_perfdom_sample() argument 247 nvif_ioctl(object, "perfdom sample size %d\n", size); in nvkm_perfdom_sample() 248 if (!(ret = nvif_unvers(ret, &data, &size, args->none))) { in nvkm_perfdom_sample() 262 nvkm_perfdom_read(struct nvkm_perfdom *dom, void *data, u32 size) in nvkm_perfdom_read() argument 271 nvif_ioctl(object, "perfdom read size in nvkm_perfdom_read() 293 nvkm_perfdom_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) nvkm_perfdom_mthd() argument 366 nvkm_perfdom_new_(struct nvkm_perfmon *perfmon, const struct nvkm_oclass *oclass, void *data, u32 size, struct nvkm_object **pobject) nvkm_perfdom_new_() argument 434 nvkm_perfmon_mthd_query_domain(struct nvkm_perfmon *perfmon, void *data, u32 size) nvkm_perfmon_mthd_query_domain() argument 482 nvkm_perfmon_mthd_query_signal(struct nvkm_perfmon *perfmon, void *data, u32 size) nvkm_perfmon_mthd_query_signal() argument 536 nvkm_perfmon_mthd_query_source(struct nvkm_perfmon *perfmon, void *data, u32 size) nvkm_perfmon_mthd_query_source() argument 588 nvkm_perfmon_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) nvkm_perfmon_mthd() argument 605 nvkm_perfmon_child_new(const struct nvkm_oclass *oclass, void *data, u32 size, struct nvkm_object **pobject) nvkm_perfmon_child_new() argument 646 nvkm_perfmon_new(struct nvkm_pm *pm, const struct nvkm_oclass *oclass, void *data, u32 size, struct nvkm_object **pobject) nvkm_perfmon_new() argument 664 nvkm_pm_oclass_new(struct nvkm_device *device, const struct nvkm_oclass *oclass, void *data, u32 size, struct nvkm_object **pobject) nvkm_pm_oclass_new() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_bo.c | 61 vc4->purgeable.size / 1024, vc4->purgeable.num); in vc4_bo_stats_print() 141 vc4->bo_labels[label].size_allocated += gem_obj->size; in vc4_bo_set_label() 145 vc4->bo_labels[bo->label].size_allocated -= gem_obj->size; in vc4_bo_set_label() 161 static uint32_t bo_page_index(size_t size) in bo_page_index() argument 163 return (size / PAGE_SIZE) - 1; in bo_page_index() 196 size_t size) in vc4_get_cache_list_for_size() 199 uint32_t page_index = bo_page_index(size); in vc4_get_cache_list_for_size() 260 vc4->purgeable.size += bo->base.base.size; in vc4_bo_add_to_purgeable_pool() 285 vc4->purgeable.size in vc4_bo_remove_from_purgeable_pool_locked() 195 vc4_get_cache_list_for_size(struct drm_device *dev, size_t size) vc4_get_cache_list_for_size() argument 359 vc4_bo_get_from_cache(struct drm_device *dev, uint32_t size, enum vc4_kernel_bo_type type) vc4_bo_get_from_cache() argument 394 vc4_create_object(struct drm_device *dev, size_t size) vc4_create_object() argument 425 size_t size = roundup(unaligned_size, PAGE_SIZE); vc4_bo_create() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | flac_parser.c | 45 /** estimate for average size of a FLAC frame */ 55 /** largest possible size of flac header */ 98 int wrap_buf_allocated_size; /**< actual allocated size of the buffer */ 155 * The pointer can be NULL. In any case it will be reallocated to hold the size. 178 "couldn't reallocate wrap buffer of size %d", len); in flac_fifo_read_wrap() 249 static int flac_fifo_write(FifoBuffer *f, const uint8_t *src, size_t size) in flac_fifo_write() argument 253 if (flac_fifo_space(f) < size) { in flac_fifo_write() 254 int ret = flac_fifo_grow(f, FFMAX(flac_fifo_size(f), size)); in flac_fifo_write() 259 if (size) in flac_fifo_write() 264 size_t len = FFMIN(f->end - wptr, size); in flac_fifo_write() 278 flac_fifo_drain(FifoBuffer *f, size_t size) flac_fifo_drain() argument 291 flac_fifo_alloc(FifoBuffer *f, size_t size) flac_fifo_alloc() argument 318 int size = 0; find_headers_search_validate() local 354 int size = 0, mod_offset = (buf_size - 1) % 4, i, j; find_headers_search() local 381 int search_end, size = 0, read_len, temp; find_new_headers() local [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | wire_format_lite.cc | 482 GOOGLE_CHECK_LE(value.size(), kint32max); in WriteString() 483 output->WriteVarint32(value.size()); in WriteString() 491 GOOGLE_CHECK_LE(value.size(), kint32max); in WriteStringMaybeAliased() 492 output->WriteVarint32(value.size()); in WriteStringMaybeAliased() 493 output->WriteRawMaybeAliased(value.data(), value.size()); in WriteStringMaybeAliased() 498 GOOGLE_CHECK_LE(value.size(), kint32max); in WriteBytes() 499 output->WriteVarint32(value.size()); in WriteBytes() 506 GOOGLE_CHECK_LE(value.size(), kint32max); in WriteBytesMaybeAliased() 507 output->WriteVarint32(value.size()); in WriteBytesMaybeAliased() 508 output->WriteRawMaybeAliased(value.data(), value.size()); in WriteBytesMaybeAliased() 522 const int size = value.GetCachedSize(); WriteMessage() local 527 WriteSubMessageMaybeToArray( int size, const MessageLite& value, io::CodedOutputStream* output) WriteSubMessageMaybeToArray() argument 536 const int size = value.GetCachedSize(); WriteGroupMaybeToArray() local 545 const int size = value.GetCachedSize(); WriteMessageMaybeToArray() local 583 VerifyUtf8String(const char* data, int size, Operation op, const char* field_name) VerifyUtf8String() argument [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | exif_metadata_formatter.cpp | 546 { "Orientation", std::make_tuple(exifOrientation, std::size(exifOrientation)) }, 547 { "GPSLatitudeRef", std::make_tuple(exifGPSLatitudeRef, std::size(exifGPSLatitudeRef)) }, 548 { "GPSDestLatitudeRef", std::make_tuple(exifGPSLatitudeRef, std::size(exifGPSLatitudeRef)) }, 549 { "GPSLongitudeRef", std::make_tuple(exifGPSLongitudeRef, std::size(exifGPSLongitudeRef)) }, 550 { "GPSDestLongitudeRef", std::make_tuple(exifGPSLongitudeRef, std::size(exifGPSLongitudeRef)) }, 551 { "WhiteBalance", std::make_tuple(exifWhiteBalance, std::size(exifWhiteBalance)) }, 552 { "Flash", std::make_tuple(exifFlash, std::size(exifFlash)) }, 553 { "LightSource", std::make_tuple(exifLightSource, std::size(exifLightSource)) }, 554 { "MeteringMode", std::make_tuple(exifMeteringMode, std::size(exifMeteringMode)) }, 555 { "SceneType", std::make_tuple(exifSceneType, std::size(exifSceneTyp 631 IsValidValue(const TagDetails *array, const size_t &size, const int64_t &key) IsValidValue() argument [all...] |
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | pci-sysfs.c | 661 unsigned int size = 64; in pci_read_config() local 667 size = dev->cfg_size; in pci_read_config() 669 size = 128; in pci_read_config() 671 if (off > size) in pci_read_config() 673 if (off + count > size) { in pci_read_config() 674 size -= off; in pci_read_config() 675 count = size; in pci_read_config() 677 size = count; in pci_read_config() 682 if ((off & 1) && size) { in pci_read_config() 687 size in pci_read_config() 738 unsigned int size = count; pci_write_config() local 972 unsigned long nr, start, size; pci_mmap_fits() local 1250 size_t size; pci_read_rom() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ct.c | 62 * | offset | contents | size | 79 * enough space to avoid backpressure on the driver. We increase the size 98 u32 size; member 140 space = CIRC_SPACE(ctb->tail, ctb->head, ctb->size) - ctb->resv_space; in guc_ct_buffer_reset() 154 ctb->size = size_in_bytes / 4; in guc_ct_buffer_init() 192 u32 desc_addr, u32 buff_addr, u32 size) in ct_register_buffer() 213 size); in ct_register_buffer() 255 CT_DEBUG(ct, "base=%#x size=%u\n", intel_guc_ggtt_offset(guc, ct->vma), blob_size); in intel_guc_ct_init() 262 CT_DEBUG(ct, "%s desc %#tx cmds %#tx size %u/%u\n", "send", in intel_guc_ct_init() 273 CT_DEBUG(ct, "%s desc %#tx cmds %#tx size in intel_guc_ct_init() 191 ct_register_buffer(struct intel_guc_ct *ct, bool send, u32 desc_addr, u32 buff_addr, u32 size) ct_register_buffer() argument 306 u32 base, desc, cmds, size; intel_guc_ct_enable() local 411 u32 size = ctb->size; ct_write() local 865 u32 size = ctb->size; ct_read() local [all...] |
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | io-pgtable-arm.c | 63 /* Calculate the block/page mapping size at level l for pagetable in d. */ 190 static void *__arm_lpae_alloc_pages(size_t size, gfp_t gfp, in __arm_lpae_alloc_pages() argument 194 int order = get_order(size); in __arm_lpae_alloc_pages() 206 dma = dma_map_single(dev, pages, size, DMA_TO_DEVICE); in __arm_lpae_alloc_pages() 222 dma_unmap_single(dev, dma, size, DMA_TO_DEVICE); in __arm_lpae_alloc_pages() 228 static void __arm_lpae_free_pages(void *pages, size_t size, in __arm_lpae_free_pages() argument 233 size, DMA_TO_DEVICE); in __arm_lpae_free_pages() 234 free_pages((unsigned long)pages, get_order(size)); in __arm_lpae_free_pages() 255 unsigned long iova, size_t size, size_t pgcount, 344 phys_addr_t paddr, size_t size, size_ in __arm_lpae_map() 343 __arm_lpae_map(struct arm_lpae_io_pgtable *data, unsigned long iova, phys_addr_t paddr, size_t size, size_t pgcount, arm_lpae_iopte prot, int lvl, arm_lpae_iopte *ptep, gfp_t gfp, size_t *mapped) __arm_lpae_map() argument 538 arm_lpae_split_blk_unmap(struct arm_lpae_io_pgtable *data, struct iommu_iotlb_gather *gather, unsigned long iova, size_t size, arm_lpae_iopte blk_pte, int lvl, arm_lpae_iopte *ptep, size_t pgcount) arm_lpae_split_blk_unmap() argument 598 __arm_lpae_unmap(struct arm_lpae_io_pgtable *data, struct iommu_iotlb_gather *gather, unsigned long iova, size_t size, size_t pgcount, int lvl, arm_lpae_iopte *ptep) __arm_lpae_unmap() argument 1116 dummy_tlb_flush(unsigned long iova, size_t size, size_t granule, void *cookie) dummy_tlb_flush() argument 1164 size_t size, mapped; arm_lpae_run_tests() local [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | factory-base.cc | 61 int size = map.instance_size(); in NewStruct() local 62 return handle(NewStructInternal(roots, map, size, allocation), isolate()); in NewStruct() 79 int size = map.instance_size(); in NewCodeDataContainer() local 81 AllocateRawWithImmortalMap(size, allocation, map)); in NewCodeDataContainer() 103 FATAL("Fatal JavaScript invalid size error %d", length); in NewFixedArray() 152 FATAL("Invalid FixedArray size %d", length); in NewFixedArrayWithZeroes() 169 FATAL("Fatal JavaScript invalid size error %d", length); in NewFixedDoubleArray() 172 int size = FixedDoubleArray::SizeFor(length); in NewFixedDoubleArray() local 175 AllocateRawWithImmortalMap(size, allocation, map, kDoubleAligned); in NewFixedDoubleArray() 214 FATAL("Fatal JavaScript invalid size erro in NewByteArray() 218 int size = ByteArray::SizeFor(length); NewByteArray() local 240 int size = BytecodeArray::SizeFor(length); NewBytecodeArray() local 309 NewArrayList(int size, AllocationType allocation) NewArrayList() argument 355 int size = PreparseData::SizeFor(data_length, children_length); NewPreparseData() local 467 int size = NewObjectBoilerplateDescription() local 535 int size = FeedbackMetadata::SizeFor(slot_count); NewFeedbackMetadata() local 555 int size = CoverageInfo::SizeFor(slot_count); NewCoverageInfo() local 659 int size = SeqStringT::SizeFor(length); NewRawStringWithMap() local 826 int size = ScopeInfo::SizeFor(length); NewScopeInfo() local 868 int size = DescriptorArray::SizeFor(number_of_all_descriptors); NewDescriptorArray() local 897 int size = SeqOneByteString::SizeFor(length); AllocateRawOneByteInternalizedString() local 921 int size = SeqTwoByteString::SizeFor(length); AllocateRawTwoByteInternalizedString() local 935 AllocateRawArray(int size, AllocationType allocation) AllocateRawArray() argument 974 AllocateRawWithImmortalMap( int size, AllocationType allocation, Map map, AllocationAlignment alignment) AllocateRawWithImmortalMap() argument 988 AllocateRaw(int size, AllocationType allocation, AllocationAlignment alignment) AllocateRaw() argument 1016 int size = SwissNameDictionary::SizeFor(capacity); NewSwissNameDictionaryWithCapacity() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
H A D | vktRasterizationProvokingVertexTests.cpp | 62 tcu::UVec2 size; member 280 const VkExtent3D extent = makeExtent3D(m_params.size.x(), m_params.size.y(), 1u); in iterate() 325 const VkDeviceSize bufferSize = textureFormat.getPixelSize() * m_params.size.x() * m_params.size.y(); in iterate() 338 const std::vector<VkViewport> viewports (1, makeViewport(tcu::UVec2(m_params.size))); in iterate() 339 const std::vector<VkRect2D> scissors (1, makeRect2D(tcu::UVec2(m_params.size))); in iterate() 407 framebuffer = makeFramebuffer(vk, device, *renderPass, *imageView, m_params.size.x(), m_params.size.y(), 1u); in iterate() 494 provoking.push_back(vertices.size() in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktShaderLibrary.cpp | 169 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 191 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 208 for (size_t ndx = 0; ndx < valueBlock.outputs.size(); ndx++) in genCompareOp() 257 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in genFragmentShader() 308 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in specializeVertexShader() 332 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in specializeVertexShader() 386 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in specializeFragmentShader() 411 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in specializeFragmentShader() 444 for (size_t ndx = 0; ndx < specParams.caseSpec.values.inputs.size(); ndx++) in generateVertexSpecialization() 486 for (size_t ndx = 0; ndx < specParams.caseSpec.values.outputs.size(); nd in generateFragmentSpecialization() 612 int size; global() member 754 createBuffer(Context& context, vk::VkDeviceSize size, vk::VkBufferUsageFlags usageFlags) createBuffer() argument 820 createRenderPass(Context& context, vk::VkFormat colorAttFormat, deUint32 size) createRenderPass() argument 1033 createPipeline(Context& context, const vector<Value>& inputValues, const ValueBufferLayout& inputLayout, const PipelineProgram& program, vk::VkRenderPass renderPass, vk::VkPipelineLayout pipelineLayout, tcu::UVec2 renderSize, deUint32 size) createPipeline() argument 1127 createFramebuffer(Context& context, vk::VkRenderPass renderPass, Move<vk::VkImageView> colorAttView[4], deUint32 size, int width, int height) createFramebuffer() argument 1522 const vk::VkDeviceSize size = (vk::VkDeviceSize)(RENDER_WIDTH * RENDER_HEIGHT * tcu::getPixelSize(vk::mapVkFormat(m_rtFormat))); ShaderCaseInstance() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
H A D | vktShaderLibrary.cpp | 169 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 191 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 208 for (size_t ndx = 0; ndx < valueBlock.outputs.size(); ndx++) in genCompareOp() 257 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in genFragmentShader() 308 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in specializeVertexShader() 332 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in specializeVertexShader() 386 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in specializeFragmentShader() 411 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in specializeFragmentShader() 444 for (size_t ndx = 0; ndx < specParams.caseSpec.values.inputs.size(); ndx++) in generateVertexSpecialization() 486 for (size_t ndx = 0; ndx < specParams.caseSpec.values.outputs.size(); nd in generateFragmentSpecialization() 612 int size; global() member 754 createBuffer(Context& context, vk::VkDeviceSize size, vk::VkBufferUsageFlags usageFlags) createBuffer() argument 820 createRenderPass(Context& context, vk::VkFormat colorAttFormat, deUint32 size) createRenderPass() argument 1033 createPipeline(Context& context, const vector<Value>& inputValues, const ValueBufferLayout& inputLayout, const PipelineProgram& program, vk::VkRenderPass renderPass, vk::VkPipelineLayout pipelineLayout, tcu::UVec2 renderSize, deUint32 size) createPipeline() argument 1127 createFramebuffer(Context& context, vk::VkRenderPass renderPass, Move<vk::VkImageView> colorAttView[4], deUint32 size, int width, int height) createFramebuffer() argument 1522 const vk::VkDeviceSize size = (vk::VkDeviceSize)(RENDER_WIDTH * RENDER_HEIGHT * tcu::getPixelSize(vk::mapVkFormat(m_rtFormat))); ShaderCaseInstance() local [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/dynamic_component/ |
H A D | dynamic_component_renderer_impl.cpp | 191 auto dynamicPageSizeCallback = [weak = WeakClaim(this)](const SizeF& size) { in RegisterSizeChangedCallback() 192 TAG_LOGI(AceLogTag::ACE_ISOLATED_COMPONENT, "card size callback: %{public}s", size.ToString().c_str()); in RegisterSizeChangedCallback() 199 [weak, size]() { in RegisterSizeChangedCallback() 202 renderer->HandleCardSizeChangeEvent(size); in RegisterSizeChangedCallback() 209 void DynamicComponentRendererImpl::HandleCardSizeChangeEvent(const SizeF& size) in HandleCardSizeChangeEvent() argument 223 auto width = adaptiveWidth_ ? int32_t(size.Width() + padding.Width()) : rect.Width(); in HandleCardSizeChangeEvent() 224 auto height = adaptiveHeight_ ? int32_t(size.Height() + padding.Height()) : rect.Height(); in HandleCardSizeChangeEvent() 227 "[%{public}d] component size not changed: [%{public}f x %{public}f]", instanceId, width, height); in HandleCardSizeChangeEvent() 231 "[%{public}d] update component size in HandleCardSizeChangeEvent() 409 UpdateViewportConfig( const SizeF& size, float density, int32_t orientation, AnimationOption animationOpt) UpdateViewportConfig() argument 472 auto size = output.size(); SearchElementInfoByAccessibilityId() local 486 auto size = output.size(); SearchElementInfosByText() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | svg_animate.cpp | 201 if (values.size() == 1) { in DiscreteAnimate() 205 } else if (values.size() == 2) { in DiscreteAnimate() 224 if (values.size() < 3) { in DiscreteWithValues() 230 float keyTime = ((int)(100.0f / (values.size()))) / 100.0f; in DiscreteWithValues() 250 if (values.size() < 3 || keyTimes_.size() != values.size()) { in DiscreteWithKeyTimes() 333 if (values.size() <= 2) { in LinearAnimate() 353 if (values.size() < 3) { in LinearWithValues() 358 float keyTime = ((int)(100.0f / (values.size() in LinearWithValues() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/effect/test/unittest/ |
H A D | sk_image_chain_unittest.cpp | 36 opts.size.width = 2048; in HWTEST_F() 37 opts.size.height = 2048; in HWTEST_F() 62 opts.size.width = 2048; in HWTEST_F() 63 opts.size.height = 2048; in HWTEST_F() 90 opts.size.width = -1; in HWTEST_F() 91 opts.size.height = -1; in HWTEST_F() 120 opts.size.width = 2048; in HWTEST_F() 121 opts.size.height = 2048; in HWTEST_F() 190 opts.size.width = 1; in HWTEST_F() 191 opts.size in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/firmware/tegra/ |
H A D | bpmp-debugfs.c | 18 size_t size; member 21 static void seqbuf_init(struct seqbuf *seqbuf, void *buf, size_t size) in seqbuf_init() argument 24 seqbuf->size = size; in seqbuf_init() 30 return seqbuf->pos < seqbuf->size ? seqbuf->size - seqbuf->pos : 0; in seqbuf_avail() 35 return seqbuf->pos <= seqbuf->size ? 0 : -EOVERFLOW; in seqbuf_status() 40 return seqbuf->pos >= seqbuf->size; in seqbuf_eof() 75 const struct file *file, char *buf, int size) in get_filename() 89 filename = dentry_path(file->f_path.dentry, buf, size); in get_filename() 74 get_filename(struct tegra_bpmp *bpmp, const struct file *file, char *buf, int size) get_filename() argument 509 mrq_debugfs_dumpdir(struct tegra_bpmp *bpmp, dma_addr_t addr, size_t size, size_t *nbytes) mrq_debugfs_dumpdir() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdpart.c | 42 parent->part.size : parent->size; in allocate_partition() 64 child->part.size = part->size; in allocate_partition() 105 if (parent_size - child->part.offset >= child->part.size) { in allocate_partition() 106 child->part.size = parent_size - child->part.offset - in allocate_partition() 107 child->part.size; in allocate_partition() 111 child->part.size); in allocate_partition() 116 if (child->part.size == MTDPART_SIZ_FULL) in allocate_partition() 117 child->part.size in allocate_partition() [all...] |