Home
last modified time | relevance | path

Searched refs:left (Results 826 - 850 of 3984) sorted by relevance

1...<<31323334353637383940>>...160

/third_party/skia/third_party/externals/tint/src/ast/
H A Dtraverse_expressions.h46 /// Expressions will be traversed from left to right
48 /// Expressions will be traversed from right to left
67 auto push_pair = [&](const ast::Expression* left, in TraverseExpressions()
71 to_visit.push_back(left); in TraverseExpressions()
73 to_visit.push_back(left); in TraverseExpressions()
/third_party/rust/crates/syn/src/
H A Dtt.rs85 let left = self.0.clone().into_iter().collect::<Vec<_>>(); in eq()
87 if left.len() != right.len() { in eq()
90 for (a, b) in left.into_iter().zip(right) { in eq()
/third_party/vk-gl-cts/framework/platform/win32/
H A DtcuWin32Window.cpp115 rc.left = 0; in setSize()
124 rc.right - rc.left, rc.bottom - rc.top, in setSize()
141 return IVec2(rc.right - rc.left, in getSize()
/foundation/arkui/ace_engine/frameworks/component_test/core/
H A Daction.cpp174 std::pair<NG::PointF, NG::PointF> left; in Decompose() local
177 left.first = NG::PointF(centerX - PINCH_OUT_POINT_OFFSET, centerY); in Decompose()
178 left.second = NG::PointF(centerX - distanceFingerMove - PINCH_OUT_POINT_OFFSET, centerY); in Decompose()
182 left.first = NG::PointF(rect_.Left() + PINCH_IN_POINT_OFFSET, centerY); in Decompose()
183 left.second = NG::PointF(rect_.Left() + distanceFingerMove, centerY); in Decompose()
187 float distance = left.second.GetX() - left.first.GetX(); in Decompose()
192 PointerEventAction { PointerActionState::DOWN, { left.first.GetX(), left.first.GetY() }, intervalMs }); in Decompose()
194 float pointX = left in Decompose()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/layout/
H A Dbox_layout_algorithm_test_ng.cpp123 noPadding.left = CalcLength(NOPADDING); in HWTEST_F()
181 noPadding.left = CalcLength(NOPADDING); in HWTEST_F()
234 noPadding.left = CalcLength(NOPADDING); in HWTEST_F()
294 noPadding.left = CalcLength(NOPADDING); in HWTEST_F()
359 noPadding.left = CalcLength(NOPADDING); in HWTEST_F()
417 noPadding.left = CalcLength(NOPADDING); in HWTEST_F()
479 noPadding.left = CalcLength(NOPADDING); in HWTEST_F()
532 noPadding.left = CalcLength(NOPADDING); in HWTEST_F()
592 noPadding.left = CalcLength(NOPADDING); in HWTEST_F()
641 noPadding.left in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/side_bar/
H A Dside_bar_container_layout_algorithm.cpp487 auto contentWidth = parentWidth - padding.left.value_or(0) - padding.right.value_or(0); in MeasureSideBarContent()
592 controlButtonLeftPx += padding.left.value_or(0); in LayoutControlButton()
595 * Control buttion left position need to special handle: in LayoutControlButton()
601 * control button offset the left, if value invalid set to default 16vp in LayoutControlButton()
630 float sideBarOffsetX = padding.left.value_or(0); in LayoutSideBar()
641 sideBarOffsetX = -(realSideBarWidth_ + realDividerWidth_ - padding.left.value_or(0)); in LayoutSideBar()
648 sideBarOffsetX = currentOffset_ + padding.left.value_or(0); in LayoutSideBar()
670 float contentOffsetX = padding.left.value_or(0); in LayoutSideBarContent()
675 contentOffsetX = realSideBarWidth_ + realDividerWidth_ + padding.left.value_or(0); in LayoutSideBarContent()
677 contentOffsetX = realSideBarWidth_ + realDividerWidth_ + currentOffset_ + padding.left in LayoutSideBarContent()
[all...]
/kernel/linux/linux-5.10/net/ceph/crush/
H A Dmapper.c179 static int left(int x) in left() function
214 /* descend to the left or right? */ in bucket_tree_choose()
215 l = left(n); in bucket_tree_choose()
647 int x, int left, int numrep, int type, in crush_choose_indep()
657 int endpos = outpos + left; in crush_choose_indep()
676 for (ftotal = 0; left > 0 && ftotal < tries; ftotal++) { in crush_choose_indep()
679 dprintk("%u %d a: ", ftotal, left); in crush_choose_indep()
684 dprintk("%u %d b: ", ftotal, left); in crush_choose_indep()
735 left--; in crush_choose_indep()
755 left in crush_choose_indep()
643 crush_choose_indep(const struct crush_map *map, struct crush_work *work, const struct crush_bucket *bucket, const __u32 *weight, int weight_max, int x, int left, int numrep, int type, int *out, int outpos, unsigned int tries, unsigned int recurse_tries, int recurse_to_leaf, int *out2, int parent_r, const struct crush_choose_arg *choose_args) crush_choose_indep() argument
[all...]
/kernel/linux/linux-6.6/net/ceph/crush/
H A Dmapper.c179 static int left(int x) in left() function
214 /* descend to the left or right? */ in bucket_tree_choose()
215 l = left(n); in bucket_tree_choose()
647 int x, int left, int numrep, int type, in crush_choose_indep()
657 int endpos = outpos + left; in crush_choose_indep()
676 for (ftotal = 0; left > 0 && ftotal < tries; ftotal++) { in crush_choose_indep()
679 dprintk("%u %d a: ", ftotal, left); in crush_choose_indep()
684 dprintk("%u %d b: ", ftotal, left); in crush_choose_indep()
735 left--; in crush_choose_indep()
755 left in crush_choose_indep()
643 crush_choose_indep(const struct crush_map *map, struct crush_work *work, const struct crush_bucket *bucket, const __u32 *weight, int weight_max, int x, int left, int numrep, int type, int *out, int outpos, unsigned int tries, unsigned int recurse_tries, int recurse_to_leaf, int *out2, int parent_r, const struct crush_choose_arg *choose_args) crush_choose_indep() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DBlit9.cpp171 rect.left = 0; in getSurfaceRect()
353 destOffset.x + (sourceRect.right - sourceRect.left), in copy()
370 adjustedSourceRect.left = 0; in copy()
371 adjustedSourceRect.right = sourceRect.right - sourceRect.left; in copy()
375 sourceSize.width = sourceRect.right - sourceRect.left; in copy()
405 destRect.left = destOffset.x; in formatConvert()
406 destRect.right = destOffset.x + (sourceRect.right - sourceRect.left); in formatConvert()
597 sourceRect.right - sourceRect.left, sourceRect.bottom - sourceRect.top, 1, in copySurfaceToTexture()
621 vp.X = destRect.left; in setViewportAndShaderConstants()
623 vp.Width = destRect.right - destRect.left; in setViewportAndShaderConstants()
[all...]
/third_party/skia/src/core/
H A DSkScan_Path.cpp110 int left SK_INIT_TO_AVOID_WARNING; in walk_edges()
126 left = x; in walk_edges()
132 int width = x - left; in walk_edges()
135 blitter->blitH(left, curr_y, width); in walk_edges()
173 int width = rightClip - left; in walk_edges()
175 blitter->blitH(left, curr_y, width); in walk_edges()
242 SkFixed left = leftE->fX; in walk_simple_edges() local
250 int L = SkFixedRoundToInt(left); in walk_simple_edges()
262 int L = SkFixedRoundToInt(left); in walk_simple_edges()
272 // left o in walk_simple_edges()
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dint64-lowering.cc420 Node* left = node->InputAt(0); in LowerNode() local
424 graph()->NewNode(machine()->Word32And(), GetReplacementLow(left), in LowerNode()
427 graph()->NewNode(machine()->Word32And(), GetReplacementHigh(left), in LowerNode()
446 Node* left = node->InputAt(0); in LowerNode() local
447 node->ReplaceInput(0, GetReplacementLow(left)); in LowerNode()
448 node->InsertInput(zone(), 1, GetReplacementHigh(left)); in LowerNode()
462 Node* left = node->InputAt(0); in LowerNode() local
463 node->ReplaceInput(0, GetReplacementLow(left)); in LowerNode()
464 node->InsertInput(zone(), 1, GetReplacementHigh(left)); in LowerNode()
478 Node* left in LowerNode() local
489 Node* left = node->InputAt(0); LowerNode() local
503 Node* left = node->InputAt(0); LowerNode() local
577 Node* left = node->InputAt(0); LowerNode() local
1063 Node* left = node->InputAt(0); LowerComparison() local
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-string-gen.cc126 void StringBuiltinsAssembler::GenerateStringEqual(TNode<String> left, in GenerateStringEqual() argument
128 TVARIABLE(String, var_left, left); in GenerateStringEqual()
133 TNode<IntPtrT> lhs_length = LoadStringLengthAsWord(left); in GenerateStringEqual()
314 TNode<String> left, in AllocateConsString()
318 TNode<Int32T> left_instance_type = LoadInstanceType(left); in AllocateConsString()
322 // any of {left} or {right} has two byte encoding. in AllocateConsString()
336 StoreObjectFieldNoWriteBarrier(result, ConsString::kFirstOffset, left); in AllocateConsString()
342 TNode<ContextOrEmptyContext> context, TNode<String> left, in StringAdd()
351 TNode<Uint32T> left_length = LoadStringLengthAsWord32(left); in StringAdd()
359 result = left; in StringAdd()
313 AllocateConsString(TNode<Uint32T> length, TNode<String> left, TNode<String> right) AllocateConsString() argument
341 StringAdd( TNode<ContextOrEmptyContext> context, TNode<String> left, TNode<String> right) StringAdd() argument
539 auto left = Parameter<String>(Descriptor::kLeft); TF_BUILTIN() local
554 GenerateStringRelationalComparison( TNode<String> left, TNode<String> right, Operation op) GenerateStringRelationalComparison() argument
724 auto left = Parameter<String>(Descriptor::kLeft); TF_BUILTIN() local
730 auto left = Parameter<String>(Descriptor::kLeft); TF_BUILTIN() local
736 auto left = Parameter<String>(Descriptor::kLeft); TF_BUILTIN() local
742 auto left = Parameter<String>(Descriptor::kLeft); TF_BUILTIN() local
748 auto left = Parameter<String>(Descriptor::kLeft); TF_BUILTIN() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dtls.c1238 size_t left = data; in TEST_F() local
1243 while (left) { in TEST_F()
1245 left > 16384 ? 16384 : left, 0); in TEST_F()
1248 left -= res; in TEST_F()
1256 size_t left = data; in TEST_F() local
1259 while (left) { in TEST_F()
1261 left > 16384 ? 16384 : left, 0); in TEST_F()
1264 left in TEST_F()
1292 size_t left = data; TEST_F() local
1318 size_t left = data; TEST_F() local
1383 size_t left = data * read_bias; test_mutliproc() local
1396 size_t left = data * write_bias; test_mutliproc() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_toggle.cpp311 || jsObj->HasProperty("left") || jsObj->HasProperty("right")) { in GetOldPadding()
317 ParseJsDimensionVp(jsObj->GetProperty("left"), leftDimen); in GetOldPadding()
330 padding.left = leftDimen.ConvertToPx(); in GetOldPadding()
343 padding.left = length.ConvertToPx(); in GetOldPadding()
359 if (commonCalcDimension.left.has_value() || commonCalcDimension.right.has_value() || in GetNewPadding()
361 padding = GetPadding(commonCalcDimension.top, commonCalcDimension.bottom, commonCalcDimension.left, in GetNewPadding()
376 const std::optional<CalcDimension>& bottom, const std::optional<CalcDimension>& left, in GetPadding()
382 if (left.has_value() && left.value().IsNonNegative()) { in GetPadding()
383 padding.left in GetPadding()
375 GetPadding(const std::optional<CalcDimension>& top, const std::optional<CalcDimension>& bottom, const std::optional<CalcDimension>& left, const std::optional<CalcDimension>& right) GetPadding() argument
[all...]
H A Djs_sec_button_base.cpp199 std::optional<CalcDimension> left; in SetBackgroundPadding() local
206 if (ParseJsDimensionVp(paddingObj->GetProperty("left"), leftDimen)) { in SetBackgroundPadding()
207 left = leftDimen; in SetBackgroundPadding()
221 if (left.has_value() || right.has_value() || top.has_value() || bottom.has_value()) { in SetBackgroundPadding()
222 SecurityComponentModelNG::SetBackgroundPadding(left, right, top, bottom); in SetBackgroundPadding()
/kernel/linux/linux-5.10/fs/nfs/blocklayout/
H A Dextent_tree.c97 struct pnfs_block_extent *left = ext_tree_prev(be); in ext_try_to_merge_left() local
99 if (left && ext_can_merge(left, be)) { in ext_try_to_merge_left()
100 left->be_length += be->be_length; in ext_try_to_merge_left()
104 return left; in ext_try_to_merge_left()
433 struct pnfs_block_extent *left = ext_tree_prev(be); in ext_tree_mark_written() local
435 if (left && ext_can_merge(left, be)) { in ext_tree_mark_written()
438 left->be_length += diff; in ext_tree_mark_written()
/kernel/linux/linux-6.6/fs/nfs/blocklayout/
H A Dextent_tree.c97 struct pnfs_block_extent *left = ext_tree_prev(be); in ext_try_to_merge_left() local
99 if (left && ext_can_merge(left, be)) { in ext_try_to_merge_left()
100 left->be_length += be->be_length; in ext_try_to_merge_left()
104 return left; in ext_try_to_merge_left()
433 struct pnfs_block_extent *left = ext_tree_prev(be); in ext_tree_mark_written() local
435 if (left && ext_can_merge(left, be)) { in ext_tree_mark_written()
438 left->be_length += diff; in ext_tree_mark_written()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A DSeparateCompoundExpressions.cpp53 TIntermTyped *left = binary->getLeft(); in ViewBinaryChain() local
56 if (!ViewBinaryChain(op, *left, out)) in ViewBinaryChain()
58 out.push_back(left); in ViewBinaryChain()
374 TIntermTyped *left = node.getLeft(); variable
377 PostResult leftResult = rebuild(*left);
399 TIntermTyped *left = node.getLeft(); variable
410 TIntermTyped *newLeft = pullMappedExpr(left, true);
429 TIntermTyped *newLeft = pullMappedExpr(left, false);
440 if (left == newLeft && right == newRight)
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dvlan_full.c700 int left; in vlan_event_receive() local
707 left = recvfrom(sock, buf, sizeof(buf), MSG_DONTWAIT, in vlan_event_receive()
709 if (left < 0) { in vlan_event_receive()
717 while (NLMSG_OK(h, left)) { in vlan_event_receive()
722 if (len > left || plen < 0) { in vlan_event_receive()
724 "message: len=%d left=%d plen=%d", in vlan_event_receive()
725 len, left, plen); in vlan_event_receive()
738 h = NLMSG_NEXT(h, left); in vlan_event_receive()
741 if (left > 0) { in vlan_event_receive()
743 "netlink message", __func__, left); in vlan_event_receive()
[all...]
/third_party/weex-loader/deps/weex-styler/lib/
H A Dvalidator.js189 var LINE_GRADIENT_DIRECTION_REGEXP = /^\s*(to|bottom|right|left|top)|[-+]?[0-9]*\.?[0-9]+(.*)/
190 var LINE_GRADIENT_TO_DIRECTION_REGEXP = /(to|bottom|right|left|top)/
1615 let scaleX = ['left','right']
1760 const positionReg = /left|right|top|bottom|center/g
1762 if (/^(left|right|top|bottom|center)$/.test(v)) {
1789 if (/^(left|right|top|bottom|center)$/.test(value)) {
1828 const scaleXReg = /^(left|right)$/
1902 const positionReg = /left|right|top|bottom|center/g
1904 if (/^(left|right|top|bottom|center)$/.test(v)) {
1921 '` attribute is invalid. such as left 10
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dvlan_full.c700 int left; in vlan_event_receive() local
707 left = recvfrom(sock, buf, sizeof(buf), MSG_DONTWAIT, in vlan_event_receive()
709 if (left < 0) { in vlan_event_receive()
717 while (NLMSG_OK(h, left)) { in vlan_event_receive()
722 if (len > left || plen < 0) { in vlan_event_receive()
724 "message: len=%d left=%d plen=%d", in vlan_event_receive()
725 len, left, plen); in vlan_event_receive()
738 h = NLMSG_NEXT(h, left); in vlan_event_receive()
741 if (left > 0) { in vlan_event_receive()
743 "netlink message", __func__, left); in vlan_event_receive()
[all...]
/foundation/ability/ability_runtime/test/unittest/dfr_test/appfreeze_inner_test/
H A Dappfreeze_inner_test.cpp134 int left = 61; // over 1min in HWTEST_F() local
135 while (left > 0) { in HWTEST_F()
136 left = sleep(left); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Dshape_container_component.h60 void SetLeft(const AnimatableDimension& left) in SetLeft() argument
62 x_ = left; in SetLeft()
65 void SetLeft(const Dimension& left, const AnimationOption& option = AnimationOption()) in SetLeft() argument
67 x_ = AnimatableDimension(left, option); in SetLeft()
/foundation/arkui/ace_engine/frameworks/bridge/common/accessibility/
H A Daccessibility_node_manager.h38 int32_t left = 0; member
139 void SetWindowPos(int32_t left, int32_t top, int32_t windowId) override;
144 return windowPos->second.left; in GetWindowLeft()
146 return windowPosMap_.begin()->second.left; in GetWindowLeft()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dpath_interior.cpp92 OH_Drawing_Rect* r = OH_Drawing_RectCreate(rc.left, rc.top, rc.right, rc.bottom); in draw_sence()
97 OH_Drawing_PathAddRect(path, rc.left, rc.top, rc.right, rc.bottom, outerDir); in draw_sence()
103 r = OH_Drawing_RectCreate(rc.left, rc.top, rc.right, rc.bottom); in draw_sence()
108 OH_Drawing_PathAddRect(path, rc.left, rc.top, rc.right, rc.bottom, innerDir); in draw_sence()

Completed in 25 milliseconds

1...<<31323334353637383940>>...160