/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | dePoolArray.hpp | 68 void resize (deUintptr size); 69 void resize (deUintptr size, const T& value); 71 deUintptr size (void) const { return m_numElements; } in size() function in de::PoolArray 361 resize(size()+1); in pushBack() 362 at(size()-1) = value; in pushBack() 368 T val = at(size()-1); in popBack() 369 resize(size()-1); in popBack()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglChooseConfigTests.cpp | 89 if (as.size() != bs.size()) in configListEqual() 92 for (int configNdx = 0; configNdx < (int)as.size(); configNdx++) in configListEqual() 190 EGLU_CHECK_CALL(egl, chooseConfig(m_display, &attribList[0], &resultConfigs[0], (EGLint)resultConfigs.size(), &numConfigs)); in executeTest() 228 for (size_t findNdx = 0; findNdx < attributes.size(); findNdx++) in fillDontCare() 297 return eglu::getConfigID(m_eglTestCtx.getLibrary(), m_display, configs[rnd.getInt(0, (int)configs.size()-1)]); in getValue() 369 const int numAttribs = rnd.getInt(0, (int)m_attribSet.size()*2); in iterate() 614 randomGroup->addChild(new ChooseConfigRandomCase(m_eglTestCtx, "color_sizes", "Random color size rules", toSet(rgbaSizes))); in init() 625 randomGroup->addChild(new ChooseConfigRandomCase(m_eglTestCtx, "color_depth_stencil_sizes", "Random color, depth and stencil size rules", toSet(colorDepthStencilSizes))); in init() 635 randomGroup->addChild(new ChooseConfigRandomCase(m_eglTestCtx, "buffer_sizes", "Various buffer size rule in init() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_search_bridge.cpp | 120 CalcDimension size = themeFontSize; in SetTextFont() local 122 !ArkTSUtils::ParseJsDimensionVpNG(vm, secondArg, size) || size.Unit() == DimensionUnit::PERCENT in SetTextFont() 123 || LessNotEqual(size.Value(), 0.0)) { in SetTextFont() 127 ArkTSUtils::ParseJsDimensionFp(vm, secondArg, size); in SetTextFont() 128 value.fontSizeNumber = size.Value(); in SetTextFont() 129 value.fontSizeUnit = static_cast<int8_t>(size.Unit()); in SetTextFont() 270 if (value >= 0 && value < static_cast<int32_t>(TEXT_ALIGNS.size())) { in SetSearchTextAlign() 321 struct ArkUISizeType size = {0.0, 0}; in SetCancelButton() local 331 size in SetCancelButton() 412 CalcDimension size; SetPlaceholderFont() local 470 CalcDimension size; SetSearchIcon() local 543 CalcDimension size = theme->GetFontSize(); SetSearchButton() local [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_holder.cpp | 171 // Render size changed, schedule update engine thread. in SetRenderSize() 176 const SCENE_NS::ICamera::Ptr& camera, BASE_NS::Math::UVec2 size, RENDER_NS::RenderHandleReference ref) in SetCameraTarget() 191 cd->width = size.x; in SetCameraTarget() 192 cd->height = size.y; in SetCameraTarget() 938 SCENE_PLUGIN_VERBOSE_LOG("found %zu meshes", meshes.size()); in RemoveUriComponentsFromMeshes() 963 SCENE_PLUGIN_VERBOSE_LOG("found %zu meshes", meshes.size()); in FindMesh() 1017 SCENE_PLUGIN_VERBOSE_LOG("found %zu materials", materials.size()); in FindMaterial() 1070 if (ix != BASE_NS::string_view::npos && ix != name.size() - 1) { in FindAnimation() 1089 SCENE_PLUGIN_VERBOSE_LOG("found %zu animations", animations.size()); in FindAnimation() 1129 SCENE_PLUGIN_VERBOSE_LOG("%s, found %zu animations", __func__, animations.size()); in ResolveAnimations() 175 SetCameraTarget( const SCENE_NS::ICamera::Ptr& camera, BASE_NS::Math::UVec2 size, RENDER_NS::RenderHandleReference ref) SetCameraTarget() argument [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl2_rendering_context_impl.cpp | 268 if (unit >= samplerUnits_.size()) { in BindSampler() 635 GLsizei size = 0; in GetTransformFeedbackVarying() local 638 glGetTransformFeedbackVarying(programId, index, bufSize, &length, &size, &type, name); in GetTransformFeedbackVarying() 640 " index %{public}u", name, type, length, size, index); in GetTransformFeedbackVarying() 646 webGLActiveInfo->SetActiveSize(size); in GetTransformFeedbackVarying() 1235 glVertexAttribIPointer(vertexInfo.index, vertexInfo.size, vertexInfo.type, vertexInfo.stride, in VertexAttribIPointer() 1323 napi_env env, GLenum targets[2], int64_t readOffset, int64_t writeOffset, int64_t size) in CopyBufferSubData() 1327 targets[0], targets[1], readOffset, writeOffset, size); in CopyBufferSubData() 1329 !WebGLArg::CheckNoneNegInt<GLint>(size)) { in CopyBufferSubData() 1335 SET_ERROR_WITH_LOG(WebGLRenderingContextBase::INVALID_OPERATION, "readBuffer is nullptr or size i in CopyBufferSubData() 1322 CopyBufferSubData( napi_env env, GLenum targets[2], int64_t readOffset, int64_t writeOffset, int64_t size) CopyBufferSubData() argument 1563 BindBufferRange( napi_env env, const BufferBaseArg& arg, napi_value bufferObj, GLintptr offset, GLsizeiptr size) BindBufferRange() argument 1658 InvalidateSubFrameBuffer( napi_env env, GLenum target, napi_value data, const BufferPosition& position, const BufferSize& size) InvalidateSubFrameBuffer() argument 1796 GLsizei size = static_cast<GLsizei>(bufferData.GetBufferLength() / bufferData.GetBufferDataSize()); GetActiveUniforms() local 1878 GLsizei size = 0; GetActiveUniformBlockName() local 1898 size_t size = bufferData.GetBufferLength() / bufferData.GetBufferDataSize(); CheckClearBuffer() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | sienna_cichlid_ppt.c | 942 int i, size = 0, ret = 0; in sienna_cichlid_print_clk_levels() local 974 size += sprintf(buf + size, "%d: %uMhz %s\n", i, value, in sienna_cichlid_print_clk_levels() 996 size += sprintf(buf + size, "%d: %uMhz %s\n", i, freq_values[i], in sienna_cichlid_print_clk_levels() 1006 size += sprintf(buf + size, "%d: %s %s %dMhz %s\n", i, in sienna_cichlid_print_clk_levels() 1030 return size; in sienna_cichlid_print_clk_levels() 1037 int ret = 0, size = 0; in sienna_cichlid_force_clk_levels() local 1082 return size; in sienna_cichlid_force_clk_levels() 1230 uint32_t i, size = 0; sienna_cichlid_get_power_profile_mode() local 1326 sienna_cichlid_set_power_profile_mode(struct smu_context *smu, long *input, uint32_t size) sienna_cichlid_set_power_profile_mode() argument 1536 sienna_cichlid_read_sensor(struct smu_context *smu, enum amd_pp_sensors sensor, void *data, uint32_t *size) sienna_cichlid_read_sensor() argument [all...] |
/kernel/linux/linux-5.10/include/rdma/ |
H A D | ib_verbs.h | 339 /* Max size of RNDV header */ 1878 u16 size; member 1892 u16 size; member 1917 u16 size; member 1935 u16 size; member 1949 u16 size; member 1964 u16 size; member 1978 u16 size; member 1993 u16 size; member 2006 u16 size; member 2013 u16 size; global() member 2019 u16 size; global() member 2024 u16 size; global() member 2035 u16 size; global() member 2042 u16 size; global() member 2061 u16 size; global() member 3975 ib_dma_map_single(struct ib_device *dev, void *cpu_addr, size_t size, enum dma_data_direction direction) ib_dma_map_single() argument 3991 ib_dma_unmap_single(struct ib_device *dev, u64 addr, size_t size, enum dma_data_direction direction) ib_dma_unmap_single() argument 4007 ib_dma_map_page(struct ib_device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction) ib_dma_map_page() argument 4025 ib_dma_unmap_page(struct ib_device *dev, u64 addr, size_t size, enum dma_data_direction direction) ib_dma_unmap_page() argument 4103 ib_dma_sync_single_for_cpu(struct ib_device *dev, u64 addr, size_t size, enum dma_data_direction dir) ib_dma_sync_single_for_cpu() argument 4119 ib_dma_sync_single_for_device(struct ib_device *dev, u64 addr, size_t size, enum dma_data_direction dir) ib_dma_sync_single_for_device() argument 4135 ib_dma_alloc_coherent(struct ib_device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag) ib_dma_alloc_coherent() argument 4150 ib_dma_free_coherent(struct ib_device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle) ib_dma_free_coherent() argument [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | frecord.c | 194 if (!ni->attr_list.size || in ni_find_attr() 255 if (!ni->attr_list.size) { in ni_enum_attr_ex() 291 if (!ni->attr_list.size) { in ni_load_attr() 342 if (!ni->attr_list.size) in ni_load_all_mi() 398 if (base_only || type == ATTR_LIST || !ni->attr_list.size) { in ni_remove_attr() 444 if (PtrOffset(ni->attr_list.le, le) >= ni->attr_list.size) in ni_remove_attr() 468 if (type != ATTR_LIST && !le && ni->attr_list.size) { in ni_ins_new_attr() 576 if (roff > le32_to_cpu(attr->size)) { in ni_repack() 583 le32_to_cpu(attr->size) - roff); in ni_repack() 678 asize = le32_to_cpu(attr_list->size); in ni_try_remove_attr_list() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | skbuff.h | 365 * skb_frag_size() - Returns the size of a skb fragment 374 * skb_frag_size_set() - Sets the size of a skb fragment 376 * @size: size of fragment 378 static inline void skb_frag_size_set(skb_frag_t *frag, unsigned int size) in skb_frag_size_set() argument 380 frag->bv_len = size; in skb_frag_size_set() 384 * skb_frag_size_add() - Increments the size of a skb fragment by @delta 394 * skb_frag_size_sub() - Decrements the size of a skb fragment by @delta 566 int mm_account_pinned_pages(struct mmpin *mmp, size_t size); 837 * @truesize: Buffer size 1283 alloc_skb(unsigned int size, gfp_t priority) alloc_skb() argument 1333 alloc_skb_fclone(unsigned int size, gfp_t priority) alloc_skb_fclone() argument 2422 skb_frag_fill_page_desc(skb_frag_t *frag, struct page *page, int off, int size) skb_frag_fill_page_desc() argument 2431 __skb_fill_page_desc_noacc(struct skb_shared_info *shinfo, int i, struct page *page, int off, int size) __skb_fill_page_desc_noacc() argument 2465 __skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) __skb_fill_page_desc() argument 2468 __skb_fill_page_desc_noacc(skb_shinfo(skb), i, page, off, size); __skb_fill_page_desc() local 2493 skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) skb_fill_page_desc() argument 2511 skb_fill_page_desc_noacc(struct sk_buff *skb, int i, struct page *page, int off, int size) skb_fill_page_desc_noacc() argument 3533 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 3635 unsigned int size = skb->len; skb_padto() local 3656 unsigned int size = skb->len; __skb_put_padto() local 3954 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-6.6/drivers/usb/dwc3/ |
H A D | gadget.c | 612 /* Burst size is only needed in SuperSpeed mode */ in dwc3_gadget_set_ep_config() 680 * dwc3_gadget_calc_tx_fifo_size - calculates the txfifo size value 684 * Calculates the size value based on the equation below: 692 * The max packet size is set to 1024, as the txfifo requirements mainly apply 725 int size; in dwc3_gadget_clear_tx_fifos() local 731 /* Read ep0IN related TXFIFO size */ in dwc3_gadget_clear_tx_fifos() 733 size = dwc3_readl(dwc->regs, DWC3_GTXFIFOSIZ(0)); in dwc3_gadget_clear_tx_fifos() 735 fifo_depth = DWC3_GTXFIFOSIZ_TXFDEP(size); in dwc3_gadget_clear_tx_fifos() 737 fifo_depth = DWC31_GTXFIFOSIZ_TXFDEP(size); in dwc3_gadget_clear_tx_fifos() 745 size in dwc3_gadget_clear_tx_fifos() 3169 int size; dwc3_gadget_init_in_endpoint() local 3218 int size; dwc3_gadget_init_out_endpoint() local [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_surface.c | 505 addrCreateInput.size = sizeof(ADDR_CREATE_INPUT); in ac_addrlib_create() 506 addrCreateOutput.size = sizeof(ADDR_CREATE_OUTPUT); in ac_addrlib_create() 758 /* If the DCC size of a subresource (1 mip level or 1 slice) in gfx6_compute_level() 764 * (i.e. only compute the slice size and see if it's aligned) in gfx6_compute_level() 775 /* Compute the DCC slice size because addrlib doesn't in gfx6_compute_level() 777 * slice is the same size) it's easy to compute. in gfx6_compute_level() 782 * with one slice size to get a correct fast clear in gfx6_compute_level() 783 * size. in gfx6_compute_level() 933 AddrBaseSwizzleIn.size = sizeof(ADDR_COMPUTE_BASE_SWIZZLE_INPUT); in gfx6_surface_settings() 934 AddrBaseSwizzleOut.size in gfx6_surface_settings() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cBufferStorageTests.cpp | 109 void InitData(glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, const glw::GLvoid* data); 111 void InitStorage(glw::GLenum target, glw::GLenum flags, glw::GLsizeiptr size, const glw::GLvoid* data); 119 void BindRange(glw::GLuint index, glw::GLintptr offset, glw::GLsizeiptr size) const; 135 glw::GLintptr offset, glw::GLsizeiptr size); 137 static void Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, 146 static void GetSubData(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size, 154 static void Storage(const glw::Functions& gl, glw::GLenum target, glw::GLenum flags, glw::GLsizeiptr size, 157 static void SubData(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size, 498 * @param size <size> paramete 501 InitData(glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, const glw::GLvoid* data) InitData() argument 522 InitStorage(glw::GLenum target, glw::GLenum flags, glw::GLsizeiptr size, const glw::GLvoid* data) InitStorage() argument 668 BindRange(const glw::Functions& gl, glw::GLuint id, glw::GLenum target, glw::GLuint index, glw::GLintptr offset, glw::GLsizeiptr size) BindRange() argument 683 Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, const glw::GLvoid* data) Data() argument 744 GetSubData(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size, glw::GLvoid* data) GetSubData() argument 792 Storage(const glw::Functions& gl, glw::GLenum target, glw::GLenum flags, glw::GLsizeiptr size, const glw::GLvoid* data) Storage() argument 807 SubData(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size, glw::GLvoid* data) SubData() argument 2426 const GLsizeiptr size = test_cases[i].m_size; iterate() local 2473 const GLsizeiptr size = test_cases[i].m_size; iterate() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonConstPropagation.cpp | 135 unsigned size() const { return Size; } in size() function in __anon24612::LatticeCell 160 bool isSingle() const { return size() == 1; } in isSingle() 509 for (unsigned i = 0; i < size(); ++i) { in print() 537 for (unsigned i = 0; i < L.size(); ++i) { in meet() 611 assert(size() > 0 && "Empty cell"); in properties() 613 for (unsigned i = 1; i < size(); ++i) { in properties() 1029 for (unsigned i = 0, n = ToRemove.size(); i < n; ++i) in rewrite() 1130 for (unsigned i = 0; i < LS2.size(); ++i) { in evaluateCMPrr() 1157 for (unsigned i = 0; i < LS.size(); ++i) { in evaluateCMPri() 1185 for (unsigned i = 0; i < LS.size(); in evaluateCMPrp() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_ctrl.c | 140 u64 size; in i40iw_sc_parse_fpm_commit_buf() local 171 size = info[k].cnt * info[k].size + info[k].base; in i40iw_sc_parse_fpm_commit_buf() 172 if (size & 0x1FFFFF) in i40iw_sc_parse_fpm_commit_buf() 173 *sd = (u32)((size >> 21) + 1); /* add 1 for remainder */ in i40iw_sc_parse_fpm_commit_buf() 175 *sd = (u32)(size >> 21); in i40iw_sc_parse_fpm_commit_buf() 181 * i40iw_sc_decode_fpm_query() - Decode a 64 bit value into max count and size 187 * Decode a 64 bit value from fpm query buffer into max count and size 195 u32 size; in i40iw_sc_decode_fpm_query() local 199 size in i40iw_sc_decode_fpm_query() 221 u32 size; i40iw_sc_parse_fpm_query_buf() local 3412 i40iw_sc_send_lsmm(struct i40iw_sc_qp *qp, void *lsmm_buf, u32 size, i40iw_stag stag) i40iw_sc_send_lsmm() argument 3447 i40iw_sc_send_lsmm_nostag(struct i40iw_sc_qp *qp, void *lsmm_buf, u32 size) i40iw_sc_send_lsmm_nostag() argument 3972 u64 size = 0; i40iw_est_sd() local [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | rtnetlink.c | 493 size_t size = 0; in rtnl_link_get_slave_info_data_size() local 505 size = nla_total_size(sizeof(struct nlattr)) + in rtnl_link_get_slave_info_data_size() 510 return size; in rtnl_link_get_slave_info_data_size() 516 size_t size; in rtnl_link_get_size() local 521 size = nla_total_size(sizeof(struct nlattr)) + /* IFLA_LINKINFO */ in rtnl_link_get_size() 526 size += nla_total_size(sizeof(struct nlattr)) + in rtnl_link_get_size() 531 size += nla_total_size(ops->get_xstats_size(dev)); in rtnl_link_get_size() 533 size += rtnl_link_get_slave_info_data_size(dev); in rtnl_link_get_size() 535 return size; in rtnl_link_get_size() 584 size_t size; in rtnl_link_get_af_size() local 918 size_t size = nla_total_size(0); rtnl_vfinfo_size() local 996 size_t size; rtnl_prop_list_size() local 1008 size_t size = nla_total_size(1); rtnl_proto_down_size() local 3651 size_t size; rtnl_alt_ifname() local 5077 int attr_id, size; rtnl_get_offload_stats() local 5127 int size; rtnl_get_offload_stats_size() local 5300 size_t size = NLMSG_ALIGN(sizeof(struct if_stats_msg)); if_nlmsg_stats_size() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | mxfenc.c | 95 int frame_size; ///< frame size in bytes 97 int max_gop; ///< maximum gop size, used by mpeg-2 descriptor 459 // Determine the best BER size in klv_encode_ber_length() 460 int size = klv_ber_length(len); in klv_encode_ber_length() local 461 if (size == 1) { in klv_encode_ber_length() 467 size --; in klv_encode_ber_length() 469 avio_w8(pb, 0x80 + size); in klv_encode_ber_length() 470 while(size) { in klv_encode_ber_length() 471 size--; in klv_encode_ber_length() 472 avio_w8(pb, len >> 8 * size in klv_encode_ber_length() 577 mxf_write_local_tag(AVFormatContext *s, int size, int tag) mxf_write_local_tag() argument 690 uint64_t size = 0; mxf_utf16len() local 711 uint64_t size; mxf_utf16_local_tag_length() local 731 uint64_t size = mxf_utf16len(value); mxf_write_local_tag_utf16() local 1334 int size = cur_pos - pos; mxf_update_klv_size() local 1732 klv_fill_size(uint64_t size) klv_fill_size() argument [all...] |
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | instruction-selector.cc | 128 for (size_t i = 0; i < instruction_block->phis().size(); i++) { in SelectInstructions() 327 for (size_t i = 0; i < phi->operands().size(); i++) { in UpdateRenamesInPhi() 339 if (static_cast<size_t>(rename) >= virtual_register_rename_.size()) break; in GetRename() 361 if (static_cast<size_t>(vreg) >= virtual_register_rename_.size()) { in SetRename() 371 DCHECK_LT(id, virtual_registers_.size()); in GetVirtualRegister() 383 for (size_t n = 0; n < virtual_registers_.size(); ++n) { in GetVirtualRegistersForTesting() 395 DCHECK_LT(id, defined_.size()); in IsDefined() 402 DCHECK_LT(id, defined_.size()); in MarkAsDefined() 413 DCHECK_LT(id, used_.size()); in IsUsed() 420 DCHECK_LT(id, used_.size()); in MarkAsUsed() 585 size_t size() const { return objects_.size(); } size() function in v8::internal::compiler::StateObjectDeduplicator [all...] |
/foundation/ability/idl_tool/codegen/ |
H A D | ts_code_emitter.cpp | 65 if (item.callbackName_.size() > 0) { in EmitInterfaceImports() 108 if (item.callbackName_.size() > 0) { in EmitInterfaceDefinition() 164 for (size_t index = 0; index < method.parameters_.size(); index++) { in EmitInterfaceMethodLastPara() 168 if (index != method.parameters_.size() - 1) { in EmitInterfaceMethodLastPara() 176 if (method.callbackName_.size() > 0) { in EmitInterfaceMethodLastPara() 182 if (method.retParameter_.name_.size() > 0) { in EmitInterfaceMethodLastPara() 197 for (size_t index = 0; index < method.parameters_.size(); index++) { in EmitInterfaceMethodLastPara() 198 bool isLast = (index == method.parameters_.size() - 1) ? true : false; in EmitInterfaceMethodLastPara() 301 if (methods_[methodIndex].callbackName_.size() > 0) { in EmitInterfaceProxyMethodImpl() 363 for (size_t index = 0; index < methods_[methodIndex].parameters_.size(); inde in EmitInterfaceMethodCallback() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_column_pattern.cpp | 126 Size size = MeasureUtil::MeasureTextSize(measureContext); in OnModifyDone() local 127 prop.fontheight = size.Height(); in OnModifyDone() 183 auto childSize = static_cast<int32_t>(host->GetChildren().size()); in InitMouseAndPressEvent() 326 auto size = geometryNode->GetFrameSize(); in OnDirtyLayoutWrapperSwap() local 327 if (!NearEqual(offset, offset_) || !NearEqual(size, size_)) { in OnDirtyLayoutWrapperSwap() 329 size_ = size; in OnDirtyLayoutWrapperSwap() 403 if (child.size() != showOptionCount) { in FlushCurrentOptions() 557 uint32_t totalOptionCount = options[host].size(); in NotLoopOptions() 569 auto size = MeasureUtil::MeasureTextSize(measureContext); in AddAnimationTextProperties() local 571 optionProperties_[currentIndex].fontheight = size in AddAnimationTextProperties() [all...] |
/foundation/barrierfree/accessibility/frameworks/aafwk/src/ |
H A D | accessible_ability_client_impl.cpp | 427 if (positions.size() == 0) { in InjectGesture() 568 while (index < elementList.size()) { in SortElementInfosIfNecessary() 585 if (static_cast<int32_t>(sortedElementInfos.size()) > 0) { in SortElementInfosIfNecessary() 725 HILOG_DEBUG("windowId[%{public}d], childIds.size[%{public}zu] childTreeId:%{public}d", in GetChildren() 726 windowId, childIds.size(), parent.GetChildTreeId()); in GetChildren() 727 if ((childIds.size() == 0) && (parent.GetChildWindowId() > 0 || parent.GetChildTreeId() > 0)) { in GetChildren() 804 HILOG_DEBUG("SearchElementInfosByText get resilt size 0, begin SearchElementInfoRecursiveByWinid"); in GetByContent() 811 HILOG_DEBUG("get resilt size:%{public}zu", elementInfos.size()); in GetByContent() 858 HILOG_DEBUG("SearchByText get result size in SearchElementInfoRecursiveByContent() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_relational_get_data_test.cpp | 389 auto count = entries.size(); in HWTEST_F() 394 count += entries.size(); in HWTEST_F() 445 EXPECT_EQ(entries.size(), EXPECT_COUNT); in HWTEST_F() 495 EXPECT_EQ(entries.size(), RECORD_COUNT); in HWTEST_F() 521 EXPECT_EQ(entries.size(), RECORD_COUNT); in HWTEST_F() 576 EXPECT_EQ(entries.size(), EXPECT_COUNT); in HWTEST_F() 621 EXPECT_EQ(entries.size(), expectCount); in HWTEST_F() 641 EXPECT_EQ(entries.size(), expectCount); in HWTEST_F() 705 EXPECT_EQ(entries.size(), RECORD_COUNT); in HWTEST_F() 776 const size_t RECORD_COUNT = sqls.size(); in HWTEST_F() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp_client_parse.c | 333 LOG_ERROR("[%{public}s][%{public}d] Invalid pdu size [%u]", __FUNCTION__, __LINE__, parameterLength); in SdpParseServerResponse() 452 /// Descriptor size in SdpParseSingleAttributeList() 580 /// Descriptor size in SdpParseAttributeListArray() 691 LOG_ERROR("current[%{public}d], total[%{public}d] size[%{public}d]", in SdpParseSearchResponse() 1461 static int SdpGetAttributeForBool(uint8_t *buffer, uint8_t size, SdpService *service) in SdpGetAttributeForBool() argument 1469 if (size != DE_SIZE_8) { in SdpGetAttributeForBool() 1489 static int SdpGetAttributeForUint(uint8_t *buffer, uint8_t size, SdpService *service) in SdpGetAttributeForUint() argument 1496 switch (size) { in SdpGetAttributeForUint() 1555 static int SdpGetAttributeForInt(uint8_t *buffer, uint8_t size, SdpService *service) in SdpGetAttributeForInt() argument 1562 switch (size) { in SdpGetAttributeForInt() 1613 SdpGetAttributeForUuid(uint8_t *buffer, uint8_t size, SdpService *service) SdpGetAttributeForUuid() argument 1665 SdpGetAttributeForString(uint8_t *buffer, uint8_t size, SdpService *service) SdpGetAttributeForString() argument 1710 SdpGetAttributeForUrl(uint8_t *buffer, uint8_t size, SdpService *service) SdpGetAttributeForUrl() argument 1760 uint8_t size = bufferInfo->buffer[0] & 0x07; SdpGetAttribute() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | cwsr_trap_handler_gfx9.asm | 321 // ttmp SR memory offset : size(VGPR)+size(SGPR)+0x40 361 // HWREG SR memory offset : size(VGPR)+size(SGPR) 401 // SGPR SR memory offset : size(VGPR) 495 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 6 //LDS size in dwords = lds_size * 64dw 496 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 2 //LDS size in bytes 499 // LDS at offset: size(VGPR)+SIZE(SGPR)+SIZE(HWREG) 700 s_lshl_b32 s_restore_alloc_size, s_restore_alloc_size, 6 //LDS size in dwords = lds_size * 64dw 701 s_lshl_b32 s_restore_alloc_size, s_restore_alloc_size, 2 //LDS size i [all...] |
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/ |
H A D | hash_utils.c | 523 int size = 0; in htab_dt_scan_seg_sizes() local 529 prop = of_get_flat_dt_prop(node, "ibm,processor-segment-sizes", &size); in htab_dt_scan_seg_sizes() 532 for (; size >= 4; size -= 4, ++prop) { in htab_dt_scan_seg_sizes() 579 int size = 0; in htab_dt_scan_page_sizes() local 585 prop = of_get_flat_dt_prop(node, "ibm,segment-page-sizes", &size); in htab_dt_scan_page_sizes() 590 size /= 4; in htab_dt_scan_page_sizes() 592 while(size > 0) { in htab_dt_scan_page_sizes() 599 size -= 3; prop += 3; in htab_dt_scan_page_sizes() 603 prop += lpnum * 2; size in htab_dt_scan_page_sizes() 1035 phys_addr_t base = 0, size = 0, end; htab_initialize() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 121 /* If context sharing is not requested, allow the old size structure */ in qib_get_base_info() 167 * to be the actual buffer size, since the protocol code treats it in qib_get_base_info() 390 /* we "know" system pages and TID pages are same size */ in qib_tid_update() 415 /* just in case size changes in future */ in qib_tid_update() 520 /* just in case size changes in future */ in qib_tid_free() 831 unsigned long start, size; in mmap_rcvegrbufs() local 836 size = rcd->rcvegrbuf_size; in mmap_rcvegrbufs() 837 total_size = rcd->rcvegrbuf_chunks * size; in mmap_rcvegrbufs() 859 for (i = 0; i < rcd->rcvegrbuf_chunks; i++, start += size) { in mmap_rcvegrbufs() 861 ret = remap_pfn_range(vma, start, pfn, size, in mmap_rcvegrbufs() 900 size_t size; mmap_kvaddr() local 1221 size_t size; init_subctxts() local [all...] |