Home
last modified time | relevance | path

Searched refs:span (Results 201 - 225 of 708) sorted by relevance

12345678910>>...29

/third_party/rust/crates/quote/tests/ui/
H A Dwrong-type-span.rs4 let span = ""; in main()
6 quote_spanned!(span=> #x); in main()
/third_party/python/Lib/test/
H A Dtest_re.py85 self.assertEqual(re.search('x*', 'axx').span(0), (0, 0))
86 self.assertEqual(re.search('x*', 'axx').span(), (0, 0))
87 self.assertEqual(re.search('x+', 'axx').span(0), (1, 3))
88 self.assertEqual(re.search('x+', 'axx').span(), (1, 3))
90 self.assertEqual(re.match('a*', 'xxx').span(0), (0, 0))
91 self.assertEqual(re.match('a*', 'xxx').span(), (0, 0))
92 self.assertEqual(re.match('x*', 'xxxa').span(0), (0, 3))
93 self.assertEqual(re.match('x*', 'xxxa').span(), (0, 3))
99 self.assertEqual(re.match('(ab|ba)', 'ab').span(), (0, 2))
100 self.assertEqual(re.match('(ab|ba)', 'ba').span(), (
[all...]
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/
H A Dssh_parser.h123 * sshp_buf_span_from() - Initialize a span from the given buffer and offset.
124 * @buf: The buffer to create the span from.
125 * @offset: The offset in the buffer at which the span should start.
126 * @span: The span to initialize (output).
128 * Initializes the provided span to point to the memory at the given offset in
129 * the buffer, with the length of the span being capped by the number of bytes
138 struct ssam_span *span) in sshp_buf_span_from()
140 span->ptr = buf->ptr + offset; in sshp_buf_span_from()
141 span in sshp_buf_span_from()
137 sshp_buf_span_from(struct sshp_buf *buf, size_t offset, struct ssam_span *span) sshp_buf_span_from() argument
[all...]
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dfind_by_first_test.cc15 std::vector<std::pair<span<uint8_t>, span<uint8_t>>> sorted_span_by_span = { in TEST()
50 std::vector<std::pair<span<uint8_t>, std::unique_ptr<TestObject>>> in TEST()
H A Dtest_platform.h13 #include "span.h"
20 std::string UTF16ToUTF8(span<uint16_t> in);
22 std::vector<uint16_t> UTF8ToUTF16(span<uint8_t> in);
H A Djson.cc72 void Base64Encode(const span<uint8_t>& in, C* out) { in Base64Encode()
145 void HandleString16(span<uint16_t> chars) override {
175 void HandleString8(span<uint8_t> chars) override {
269 void HandleBinary(span<uint8_t> bytes) override {
879 handler_->HandleString16(span<uint16_t>(value.data(), value.size())); in ParseValue()
926 handler_->HandleString16(span<uint16_t>(key.data(), key.size())); in ParseValue()
986 void ParseJSON(span<uint8_t> chars, ParserHandler* handler) { in ParseJSON()
991 void ParseJSON(span<uint16_t> chars, ParserHandler* handler) { in ParseJSON()
1000 Status ConvertCBORToJSONTmpl(span<uint8_t> cbor, C* json) { in ConvertCBORToJSONTmpl()
1007 Status ConvertCBORToJSON(span<uint8_
[all...]
H A Dfrontend_channel.h12 #include "span.h"
38 span<uint8_t> method,
39 span<uint8_t> message) = 0;
H A Dtest_platform_v8.cc13 std::string UTF16ToUTF8(span<uint16_t> in) { in UTF16ToUTF8()
17 std::vector<uint16_t> UTF8ToUTF16(span<uint8_t> in) { in UTF8ToUTF16()
/third_party/pulseaudio/speex/libspeexdsp/
H A Dtestjitter.c13 void synthIn(JitterBufferPacket *in, int idx, int span) { in synthIn() argument
20 in->span = span * 10; in synthIn()
/third_party/skia/third_party/externals/dawn/src/common/
H A Dityp_span.h25 // ityp::span is a helper class that wraps an unowned packed array of type |Value|.
30 class span { class
34 constexpr span() : mData(nullptr), mSize(0) { in span() function in ityp::span
36 constexpr span(Value* data, Index size) : mData(data), mSize(size) { in span() function in ityp::span
/third_party/protobuf/php/src/Google/Protobuf/Internal/SourceCodeInfo/
H A DLocation.php51 * Generated from protobuf field <code>repeated int32 span = 2 [packed = true];</code>
53 private $span; variable
132 * @type int[]|\Google\Protobuf\Internal\RepeatedField $span
257 * Generated from protobuf field <code>repeated int32 span = 2 [packed = true];</code>
262 return $this->span;
272 * Generated from protobuf field <code>repeated int32 span = 2 [packed = true];</code>
279 $this->span = $arr; variable
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_layout_algorithm.cpp32 auto span = *it; in RichEditorLayoutAlgorithm() local
34 if (StringUtils::ToWstring(span->content).back() == L'\n') { in RichEditorLayoutAlgorithm()
35 span->SetNeedRemoveNewLine(true); in RichEditorLayoutAlgorithm()
43 span->SetNeedRemoveNewLine(false); in RichEditorLayoutAlgorithm()
45 auto placeholderSpanItem = AceType::DynamicCast<PlaceholderSpanItem>(span); in RichEditorLayoutAlgorithm()
206 for (auto& span: group) { in GetShadowOffset()
207 if (!span->fontStyle || !span->fontStyle->HasTextShadow()) { in GetShadowOffset()
210 auto shadows = span->fontStyle->GetTextShadowValue(); in GetShadowOffset()
/third_party/skia/src/pathops/
H A DSkOpSpan.h23 // subset of op span used by terminal span (when t is equal to one)
87 void insert(SkOpPtT* span) { in insert() argument
88 SkASSERT(span != this); in insert()
89 span->fNext = fNext; in insert()
90 fNext = span; in insert()
150 void setSpan(const SkOpSpanBase* span) { in setSpan() argument
151 fSpan = const_cast<SkOpSpanBase*>(span); in setSpan()
154 const SkOpSpanBase* span() const { in span() function in SkOpPtT
158 SkOpSpanBase* span() { in span() function in SkOpPtT
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp547 for (const auto& span : spans_) { in GetSelectedText()
548 if (span->GetSymbolUnicode() != 0) { in GetSelectedText()
549 tag = span->position == -1 ? tag + 1 : span->position; in GetSelectedText()
552 if (span->position - 1 >= start && span->placeholderIndex == -1 && span->position != -1) { in GetSelectedText()
553 auto wideString = StringUtils::ToWstring(span->GetSpanContent()); in GetSelectedText()
554 auto max = std::min(span->position, end); in GetSelectedText()
559 } else if (span in GetSelectedText()
758 RefPtr<SpanItem> span; HandleUrlClick() local
812 RefPtr<SpanItem> span; HandleClickOnTextAndSpan() local
855 RecordSpanClickEvent(const RefPtr<SpanItem>& span) RecordSpanClickEvent() argument
2571 AddSubComponentInfosByDataDetectorForSpan(std::vector<SubComponentInfo>& subComponentInfos, const RefPtr<SpanItem>& span) AddSubComponentInfosByDataDetectorForSpan() argument
2617 const auto& span = subComponentInfo.span.Upgrade(); ExecSubComponent() local
2628 AddSubComponentInfoForSpan(std::vector<SubComponentInfo>& subComponentInfos, const std::string& content, const RefPtr<SpanItem>& span) AddSubComponentInfoForSpan() argument
[all...]
/foundation/arkui/ui_lite/frameworks/draw/
H A Dclip_utils.cpp131 GeometryScanline::ConstIterator span = scanline.Begin(); in PerformScan() local
134 int32_t x = span->x; in PerformScan()
135 int32_t len = span->spanLength; in PerformScan()
136 const uint8_t* covers = span->covers; in PerformScan()
149 ++span; in PerformScan()
/third_party/gn/src/gn/
H A Dresolved_target_data.h11 #include "base/containers/span.h"
53 base::span<const Target*> GetDataDeps(const Target* target) const { in GetDataDeps()
59 base::span<const Target*> GetLinkedDeps(const Target* target) const { in GetLinkedDeps()
123 base::span<const Target*> GetSwiftModuleDependencies( in GetSwiftModuleDependencies()
257 base::span<const Target*> deps,
267 void ComputeRustLibsFor(base::span<const Target*> deps,
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DFilteredNormalizer2.java19 * Filtering is done via UnicodeSet.span(..., UnicodeSet.SpanCondition.SIMPLE).
129 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in isNormalized()
152 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in quickCheck()
177 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in spanQuickCheckYes()
223 // span length at the start of src.
234 int spanLimit=set.span(src, prevSpanLimit, spanCondition); in normalize()
270 int prefixLimit=set.span(second, 0, UnicodeSet.SpanCondition.SIMPLE); in normalizeSecondAndAppend()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DFilteredNormalizer2.java20 * Filtering is done via UnicodeSet.span(..., UnicodeSet.SpanCondition.SIMPLE).
120 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in isNormalized()
142 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in quickCheck()
166 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in spanQuickCheckYes()
209 // span length at the start of src.
220 int spanLimit=set.span(src, prevSpanLimit, spanCondition); in normalize()
256 int prefixLimit=set.span(second, 0, UnicodeSet.SpanCondition.SIMPLE); in normalizeSecondAndAppend()
/kernel/linux/linux-6.6/drivers/iommu/iommufd/
H A Dio_pagetable.c72 static bool __alloc_iova_check_hole(struct interval_tree_double_span_iter *span, in __alloc_iova_check_hole() argument
77 if (span->is_used || span->last_hole - span->start_hole < length - 1) in __alloc_iova_check_hole()
80 span->start_hole = ALIGN(span->start_hole, iova_alignment) | in __alloc_iova_check_hole()
82 if (span->start_hole > span->last_hole || in __alloc_iova_check_hole()
83 span->last_hole - span in __alloc_iova_check_hole()
88 __alloc_iova_check_used(struct interval_tree_span_iter *span, unsigned long length, unsigned long iova_alignment, unsigned long page_offset) __alloc_iova_check_used() argument
[all...]
/third_party/rust/crates/codespan/codespan/src/
H A Dlib.rs15 mod span; modules
24 pub use crate::span::Span;
/test/testfwk/xdevice/src/xdevice/_core/resource/template/static/components/
H A DsuiteTable.js28 <span :style="[scope.row.failed > 0 ? {'color':'red'}:{}]">{{ scope.row.failed }}</span>
32 <span :style="[scope.row.blocked > 0 ? {'color':'#ffb400'}:{}]">{{ scope.row.blocked }}</span>
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dgrid_col_model_impl.h25 void Create(const V2::GridContainerSize& span, const V2::GridContainerSize& offset,
27 void SetSpan(const V2::GridContainerSize& span) override;
/third_party/rust/crates/clap/clap_derive/src/
H A Dmacros.rs18 let span = proc_macro2::Span::call_site();
19 abort!(span, $($format)+)
/third_party/rust/crates/syn/src/
H A Dspanned.rs38 //! let assert_sync = quote_spanned! {ty.span()=>
63 //! In this technique, using the `Type`'s span for the error message makes the
72 //! use `join` to produce the intended span. When not using a nightly compiler,
73 //! only the span of the *first token* of the syntax tree node is returned.
75 //! In the common case of wanting to use the joined span as the span of a
77 //! able to span the error correctly under the complete syntax tree node without
101 fn span(&self) -> Span; in span() functions
105 fn span(&self) -> Span { in span() functions
H A Dparse.rs410 Unexpected::Some(span) => Unexpected::Some(*span), in clone()
430 Unexpected::Some(span) => return (unexpected, Some(span)), in inner_unexpected()
453 Some(cursor.span()) in span_of_unexpected_ignoring_nones()
1085 pub fn span(&self) -> Span { in span() functions
1157 Some(span) => Err(Error::new(span, "unexpected token")), in cursor()
1263 /// Every span in the resulting syntax tree will be set to resolve at the

Completed in 18 milliseconds

12345678910>>...29