/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | pkg_gencmn.cpp | 57 Therefore, the top of the name strings block is the offset of the first item, 499 uint32_t top=stringTop+length; in allocString() local 502 if(top>STRING_STORE_SIZE) { in allocString() 507 stringTop=top; in allocString()
|
/third_party/skia/src/utils/ |
H A D | SkPatchUtils.cpp | 186 // Level of detail per axis, based on the larger side between top and bottom or left and right in GetLevelOfDetail() 309 SkPoint bottom = fBottom.next(), top = fTop.next(); in MakeVertices() local 318 SkPoint s0 = SkPoint::Make((1.0f - v) * top.x() + v * bottom.x(), in MakeVertices() 319 (1.0f - v) * top.y() + v * bottom.y()); in MakeVertices()
|
/third_party/optimized-routines/math/ |
H A D | pow.c | 176 uint64_t ki, idx, top, sbits; in exp_inline() local 224 top = (ki + sign_bias) << (52 - EXP_TABLE_BITS); in exp_inline() 227 sbits = T[idx + 1] + top; in exp_inline()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | BitTracker.h | 84 return Uses.top(); in front() 218 // (4) x.T = x (i.e. T = "top") 336 // Generate a "top" cell of given size. 337 static RegisterCell top(uint16_t Width); 371 BitTracker::RegisterCell::top(uint16_t Width) {
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | cp.c | 95 struct stat top; 129 // Detect recursive copies via repeated top node (cp -R .. .) or in cp_node() 350 destdir = !stat(destname, &TT.top) && S_ISDIR(TT.top.st_mode); in cp_main()
|
/foundation/arkui/ace_engine/adapter/ohos/capability/html/ |
H A D | html_to_span.cpp | 89 if (align == "top") { in StringToTextVerticalAlign() 507 if (key == "padding" || key == "padding-top" || key == "padding-right" || key == "padding-bottom" || in IsPaddingAttr() 516 if (key == "margin" || key == "margin-top" || key == "margin-right" || key == "margin-bottom" || in IsMarginAttr() 525 if (key == "border-radius" || key == "border-top-left-radius" || key == "border-top-right-radius" || in IsBorderAttr() 548 paddings->top = NG::CalcLength::FromString(words[TOP_PARAM]); in SetPaddingOption() 553 paddings->top = NG::CalcLength::FromString(words[TOP_PARAM]); in SetPaddingOption() 558 paddings->top = NG::CalcLength::FromString(words[TOP_PARAM]); in SetPaddingOption() 563 paddings->top = NG::CalcLength::FromString(words[TOP_PARAM]); in SetPaddingOption() 568 } else if (key == "padding-top") { in SetPaddingOption() [all...] |
/kernel/linux/linux-5.10/drivers/net/can/ |
H A D | kvaser_pciefd.c | 658 u8 top; in kvaser_pciefd_pwm_stop() local 664 top = (pwm_ctrl >> KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT) & 0xff; in kvaser_pciefd_pwm_stop() 667 pwm_ctrl |= top; in kvaser_pciefd_pwm_stop() 674 int top, trigger; in kvaser_pciefd_pwm_start() local 682 top = can->kv_pcie->bus_freq / (2 * 500000) - 1; in kvaser_pciefd_pwm_start() 684 pwm_ctrl = top & 0xff; in kvaser_pciefd_pwm_start() 685 pwm_ctrl |= (top & 0xff) << KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT; in kvaser_pciefd_pwm_start() 689 trigger = (100 * top - 95 * (top + 1) + 50) / 100; in kvaser_pciefd_pwm_start() 691 pwm_ctrl |= (top in kvaser_pciefd_pwm_start() [all...] |
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A D | smt.c | 1175 int top ; in smt_fill_state() local 1182 top = 0 ; in smt_fill_state() 1184 top |= SMT_ST_WRAPPED ; /* state wrapped */ in smt_fill_state() 1188 top |= SMT_ST_UNATTACHED ; /* unattached concentrator */ in smt_fill_state() 1192 top |= SMT_ST_TWISTED_A ; /* twisted cable */ in smt_fill_state() 1195 top |= SMT_ST_TWISTED_B ; /* twisted cable */ in smt_fill_state() 1198 top |= SMT_ST_SRF ; in smt_fill_state() 1201 top |= SMT_ST_ROOTED_S ; in smt_fill_state() 1203 top |= SMT_ST_SYNC_SERVICE ; in smt_fill_state() 1204 state->st_topology = top ; in smt_fill_state() [all...] |
/kernel/linux/linux-6.6/drivers/net/can/ |
H A D | kvaser_pciefd.c | 631 u8 top; in kvaser_pciefd_pwm_stop() local 637 top = FIELD_GET(KVASER_PCIEFD_KCAN_PWM_TOP_MASK, pwm_ctrl); in kvaser_pciefd_pwm_stop() 639 pwm_ctrl |= FIELD_PREP(KVASER_PCIEFD_KCAN_PWM_TRIGGER_MASK, top); in kvaser_pciefd_pwm_stop() 646 int top, trigger; in kvaser_pciefd_pwm_start() local 653 top = can->kv_pcie->bus_freq / (2 * 500000) - 1; in kvaser_pciefd_pwm_start() 655 pwm_ctrl = FIELD_PREP(KVASER_PCIEFD_KCAN_PWM_TRIGGER_MASK, top); in kvaser_pciefd_pwm_start() 656 pwm_ctrl |= FIELD_PREP(KVASER_PCIEFD_KCAN_PWM_TOP_MASK, top); in kvaser_pciefd_pwm_start() 660 trigger = (100 * top - 95 * (top + 1) + 50) / 100; in kvaser_pciefd_pwm_start() 662 pwm_ctrl |= FIELD_PREP(KVASER_PCIEFD_KCAN_PWM_TOP_MASK, top); in kvaser_pciefd_pwm_start() [all...] |
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_xtree.c | 164 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup() 335 btsp = btstack->top; in xtSearch() 382 btsp = btstack->top; in xtSearch() 440 btsp = btstack->top; in xtSearch() 545 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtInsert() 1361 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtExtend() 1526 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate() 1819 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate() 1980 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtAppend() 2775 XT_GETSEARCH(ip, btstack.top, b in xtTruncate_pmap() [all...] |
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | smt.c | 1175 int top ; in smt_fill_state() local 1182 top = 0 ; in smt_fill_state() 1184 top |= SMT_ST_WRAPPED ; /* state wrapped */ in smt_fill_state() 1188 top |= SMT_ST_UNATTACHED ; /* unattached concentrator */ in smt_fill_state() 1192 top |= SMT_ST_TWISTED_A ; /* twisted cable */ in smt_fill_state() 1195 top |= SMT_ST_TWISTED_B ; /* twisted cable */ in smt_fill_state() 1198 top |= SMT_ST_SRF ; in smt_fill_state() 1201 top |= SMT_ST_ROOTED_S ; in smt_fill_state() 1203 top |= SMT_ST_SYNC_SERVICE ; in smt_fill_state() 1204 state->st_topology = top ; in smt_fill_state() [all...] |
/third_party/backends/backend/ |
H A D | epson2-ops.c | 887 htole32a(&buf[12], s->top); in e2_set_extended_scanning_parameters() 1209 int top = s->top - (1 * s->line_distance); in e2_set_scanning_parameters() local 1211 if (top < 0) in e2_set_scanning_parameters() 1212 top = 0; in e2_set_scanning_parameters() 1214 status = esci_set_scan_area(s, s->left, top, in e2_set_scanning_parameters() 1220 status = esci_set_scan_area(s, s->left, s->top, in e2_set_scanning_parameters() 1309 s->top = ((SANE_UNFIX(s->val[OPT_TL_Y].w) / MM_PER_INCH) * in e2_init_parameters() 1415 * If (s->top + s->params.lines) is larger than the max scan area, reset in e2_init_parameters() 1421 (s->params.lines + s->top)) { in e2_init_parameters() [all...] |
/third_party/python/Lib/idlelib/ |
H A D | pyshell.py | 331 self.pyshell.top.wakeup() 650 top = Toplevel(self.tkconsole.root) 653 sc = ScrolledCanvas(top, bg=background, highlightthickness=0) 954 # Insert UserInputTaggingDelegator at the top of the percolator, 957 self.text.insert = self.per.top.insert 1172 self.top.quit() 1178 self.top.mainloop() # nested mainloop() 1219 self.top.quit() # exit the nested mainloop() in readline() 1234 self.top.quit() 1320 self.top [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | device9.c | 1410 pSourceRect->left, pSourceRect->top, in NineDevice9_UpdateSurface() 1431 copy_height = pSourceRect->bottom - pSourceRect->top; in NineDevice9_UpdateSurface() 1436 pSourceRect->top >= 0 && in NineDevice9_UpdateSurface() 1469 user_assert(!(pSourceRect->left % w) && !(pSourceRect->top % h), in NineDevice9_UpdateSurface() 1516 * However driver can expect that the top dimension is greater for src than dst. in NineDevice9_UpdateTexture() 1690 pSourceRect->left, pSourceRect->top, in NineDevice9_StretchRect() 1693 DBG("pDestRect=(%u,%u)-(%u,%u)\n", pDestRect->left, pDestRect->top, in NineDevice9_StretchRect() 1706 pSourceRect->top == 0 && in NineDevice9_StretchRect() 1711 pDestRect->top == 0 && in NineDevice9_StretchRect() 1731 pDestRect->top < in NineDevice9_StretchRect() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | render_custom_paint.h | 115 virtual std::unique_ptr<ImageData> GetImageData(double left, double top, double width, double height) = 0; 292 auto saveState = saveStates_.top(); in RestoreStates()
|
H A D | offscreen_canvas.h | 207 auto saveState = saveStates_.top(); in RestoreStates() 216 virtual std::unique_ptr<ImageData> GetImageData(double left, double top, double width, double height) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | offscreen_canvas_paint_method.cpp | 119 double left, double top, double width, double height) in GetImageData() 124 double scaledTop = top + std::min(height, 0.0); in GetImageData() 118 GetImageData( double left, double top, double width, double height) GetImageData() argument
|
/foundation/arkui/ace_engine/frameworks/core/accessibility/ |
H A D | accessibility_manager.h | 79 int32_t top = 0; member 170 virtual void SetWindowPos(int32_t left, int32_t top, int32_t windowId) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | box_component_helper.h | 260 const Dimension& top, const Dimension& bottom, const AnimationOption& option = AnimationOption()) in SetBorderWidth() 268 border.SetTopWidth(top, option); in SetBorderWidth() 259 SetBorderWidth(const RefPtr<Decoration> decoration, const Dimension& left, const Dimension& right, const Dimension& top, const Dimension& bottom, const AnimationOption& option = AnimationOption()) SetBorderWidth() argument
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/image_animator/ |
H A D | image_animator_pattern_test_ng.cpp | 161 imageProperties.top = IMAGE_TOP; in CreateImageAnimator() 183 imageProperties.top = IMAGE_TOP; in CreatePixelMapAnimator()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/side_bar/ |
H A D | side_bar_container_layout_property.h | 157 auto top = propControlButtonStyle_->propControlButtonTop.value_or(DEFAULT_CONTROL_BUTTON_TOP); variable 164 jsonControl->Put("top", std::to_string(top.Value()).c_str());
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | swiper_composed_element.cpp | 63 DumpLog::GetInstance().AddDesc(std::string("top: ").append(GetSwiperTop())); in Dump() 85 jsonValue->Put("top", GetSwiperTop().c_str()); in GetIndicatorStyle() 204 auto top = renderSwiper->GetSwiperTop(); in GetSwiperTop() local 205 return top.ToString(); in GetSwiperTop()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | side_bar_container_modifier.cpp | 85 Dimension top = Dimension(values[1], DimensionUnit::VP); in SetControlButton() local 89 SideBarContainerModelNG::SetControlButtonTop(frameNode, top); in SetControlButton()
|
/foundation/arkui/ace_engine/interfaces/inner_api/form_render/src/ |
H A D | form_renderer_delegate_proxy.cpp | 271 int32_t FormRendererDelegateProxy::OnGetRectRelativeToWindow(int32_t &top, int32_t &left) in OnGetRectRelativeToWindow() argument 293 reply.ReadInt32(top); in OnGetRectRelativeToWindow()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_particle_noise_field.cpp | 47 float top = center.y_ - size.y_ * HALF; in CalculateDistanceToRectangleEdge() local 52 float tTop = ROSEN_EQ(direction.y_, 0.f) ? -1.f : (top - position.y_) / direction.y_; in CalculateDistanceToRectangleEdge()
|