/third_party/node/deps/zlib/google/ |
H A D | compression_utils.h | 10 #include "base/containers/span.h" 21 bool GzipCompress(base::span<const char> input, 32 bool GzipCompress(base::span<const char> input, std::string* output); 35 bool GzipCompress(base::span<const uint8_t> input, std::string* output); 42 // Like the above method, but uses base::span to avoid allocations if 46 bool GzipUncompress(base::span<const char> input, 47 base::span<const char> output); 50 bool GzipUncompress(base::span<const uint8_t> input, 51 base::span<const uint8_t> output); 57 bool GzipUncompress(base::span<cons [all...] |
H A D | compression_utils.cc | 15 bool GzipCompress(base::span<const char> input, in GzipCompress() 36 bool GzipCompress(base::span<const char> input, std::string* output) { in GzipCompress() 40 bool GzipCompress(base::span<const uint8_t> input, std::string* output) { in GzipCompress() 93 bool GzipUncompress(base::span<const char> input, in GzipUncompress() 94 base::span<const char> output) { in GzipUncompress() 98 bool GzipUncompress(base::span<const uint8_t> input, in GzipUncompress() 99 base::span<const uint8_t> output) { in GzipUncompress() 109 bool GzipUncompress(base::span<const char> input, std::string* output) { in GzipUncompress() 113 bool GzipUncompress(base::span<const uint8_t> input, std::string* output) { in GzipUncompress() 124 uint32_t GetUncompressedSize(base::span<cons [all...] |
/third_party/skia/third_party/externals/zlib/google/ |
H A D | compression_utils.h | 10 #include "base/containers/span.h" 21 bool GzipCompress(base::span<const char> input, 32 bool GzipCompress(base::span<const char> input, std::string* output); 35 bool GzipCompress(base::span<const uint8_t> input, std::string* output); 42 // Like the above method, but uses base::span to avoid allocations if 46 bool GzipUncompress(base::span<const char> input, 47 base::span<const char> output); 50 bool GzipUncompress(base::span<const uint8_t> input, 51 base::span<const uint8_t> output); 57 bool GzipUncompress(base::span<cons [all...] |
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | dispatch.h | 15 #include "span.h" 98 explicit Dispatchable(span<uint8_t> serialized); 101 span<uint8_t> Serialized() const { return serialized_; } in Serialized() 113 span<uint8_t> Method() const { return method_; } in Method() 116 span<uint8_t> SessionId() const { return session_id_; } in SessionId() 123 span<uint8_t> Params() const { return params_; } in Params() 132 span<uint8_t> serialized_; 138 span<uint8_t> method_; 140 span<uint8_t> params_; 141 span<uint8_ [all...] |
H A D | span.cc | 5 #include "span.h" 11 bool SpanLessThan(span<uint8_t> x, span<uint8_t> y) noexcept { 17 bool SpanEquals(span<uint8_t> x, span<uint8_t> y) noexcept { 25 bool SpanLessThan(span<char> x, span<char> y) noexcept { 31 bool SpanEquals(span<char> x, span<char> y) noexcept {
|
H A D | find_by_first.h | 14 #include "span.h" 18 // FindByFirst - Retrieval from a sorted vector that's keyed by span<uint8_t>. 29 T FindByFirst(const std::vector<std::pair<span<uint8_t>, T>>& sorted_by_first, in FindByFirst() 30 span<uint8_t> key, in FindByFirst() 34 [](const std::pair<span<uint8_t>, T>& left, span<uint8_t> right) { in FindByFirst() 45 T* FindByFirst(const std::vector<std::pair<span<uint8_t>, std::unique_ptr<T>>>& in FindByFirst() 47 span<uint8_t> key) { in FindByFirst() 50 [](const std::pair<span<uint8_t>, std::unique_ptr<T>>& left, in FindByFirst() 51 span<uint8_ in FindByFirst() [all...] |
/third_party/skia/src/pathops/ |
H A D | SkPathOpsDebug.cpp | 32 #define FAIL_WITH_NULL_IF(cond, span) \ 33 do { if (cond) log->record(SkPathOpsDebug::kFail_Glitch, span); } while (false) 35 #define RETURN_FALSE_IF(cond, span) \ 36 do { if (cond) log->record(SkPathOpsDebug::kReturnFalse_Glitch, span); \ 56 const SkOpSpanBase* span) { in ChaseContains() 59 if (entry == span) { in ChaseContains() 202 const SkOpSpan* span) { in record() 205 glitch->fBase = span; in record() 208 void record(GlitchType type, double t, const SkOpSpanBase* span) { in record() 211 glitch->fBase = span; in record() 55 ChaseContains(const SkTDArray<SkOpSpanBase* >& chaseArray, const SkOpSpanBase* span) ChaseContains() argument 727 const SkOpSpanBase* span = &fHead; debugAddT() local 758 const SkOpSpan* span; debugCheckAngleCoin() local 786 const SkOpSpan* span = &fHead; debugClearAll() local 794 debugClearOne(const SkOpSpan* span, SkPathOpsDebug::GlitchLog* glitches) const debugClearOne() argument 803 SkOpSpan* span = this->head(); debugLastAngle() local 816 DebugClearVisited(const SkOpSpanBase* span) DebugClearVisited() argument 867 const SkOpSpan* span = spanBase->upCastable(); debugMissingCoincidence() local 1125 const SkOpSpan* span = &fHead; debugShowActiveSpans() local 1168 debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding) debugShowNewWinding() argument 1191 debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding, int oppWinding) debugShowNewWinding() argument 1565 const SkCoincidentSpans* span = fHead; debugAddEndMovedSpans() local 2106 const SkCoincidentSpans* span = fHead; debugShowCoincidence() local 2354 const SkOpSpanBase* span = &fHead; debugValidate() local 2371 const SkOpSpanBase* span = &fHead; debugValidate() local 2648 const SkOpSpan* span; debugInsertCoincidence() local [all...] |
H A D | SkOpSegment.cpp | 104 SkOpSpanBase* oSpan = oPtT->span(); in activeAngleOther() 228 // break the span so that the coincident part does not change the angle of the remainder 245 writableTest->mergeMatches(newPtT->span()); in addExpanded() 263 SkOpSpan* prev = result->span()->prev(); in addT() 265 // marks in global state that new op span has been allocated in addT() 266 SkOpSpan* span = this->insert(prev); in addT() local 267 span->init(this, prev, t, pt); in addT() 271 span->segment()->debugID(), span->debugID()); in addT() 273 span in addT() 299 SkOpSpan* span = spanBase->upCast(); calcAngles() local 318 SkOpSpan* span = &fHead; clearAll() local 326 clearOne(SkOpSpan* span) clearOne() argument 333 const SkOpSpanBase* span = &fHead; collapsed() local 498 release(const SkOpSpan* span) release() argument 853 SkOpSpan* span = this->head(); markAllDone() local 1008 markDone(SkOpSpan* span) markDone() argument 1021 markWinding(SkOpSpan* span, int winding) markWinding() argument 1035 markWinding(SkOpSpan* span, int winding, int oppWinding) markWinding() argument 1134 ClearVisited(SkOpSpanBase* span) ClearVisited() argument 1187 SkOpSpan* span = spanBase->upCastable(); missingCoincidence() local 1544 SkOpSpanBase* span = &this->fHead; sortAngles() local 1703 SkOpSpan* span = &fHead; undoneSpan() local [all...] |
H A D | SkPathOpsTSect.cpp | 48 void SkTSpan::addBounded(SkTSpan* span, SkArenaAlloc* heap) { in addBounded() argument 50 bounded->fBounded = span; in addBounded() 78 void SkTSect::addForPerp(SkTSpan* span, double t) { in addForPerp() argument 79 if (!span->hasOppT(t)) { in addForPerp() 91 SkDebugf("%s addBounded span=%d opp=%d\n", __FUNCTION__, priorSpan ? in addForPerp() 94 opp->addBounded(span, &fHeap); in addForPerp() 95 span->addBounded(opp, &fHeap); in addForPerp() 99 span->validatePerpT(t); in addForPerp() 127 bool SkTSpan::debugIsBefore(const SkTSpan* span) const { in debugIsBefore() 130 if (span in debugIsBefore() 242 linearsIntersect(SkTSpan* span) linearsIntersect() argument 983 intersects(SkTSpan* span, SkTSect* opp, SkTSpan* oppSpan, int* oppResult) intersects() argument 1068 linesIntersect(SkTSpan* span, SkTSect* opp, SkTSpan* oppSpan, SkIntersections* i) linesIntersect() argument 1227 markSpanGone(SkTSpan* span) markSpanGone() argument 1342 removeAllBut(const SkTSpan* keep, SkTSpan* span, SkTSect* opp) removeAllBut() argument 1386 removeCoincident(SkTSpan* span, bool isBetween) removeCoincident() argument 1400 removedEndCheck(SkTSpan* span) removedEndCheck() argument 1409 removeSpan(SkTSpan* span) removeSpan() argument 1422 SkTSpan* span = first; removeSpanRange() local 1438 removeSpans(SkTSpan* span, SkTSect* opp) removeSpans() argument 1488 trim(SkTSpan* span, SkTSect* opp) trim() argument 1519 unlinkSpan(SkTSpan* span) unlinkSpan() argument 1560 const SkTSpan* span = fHead; validate() local 1596 const SkTSpan* span = fHead; validateBounded() local [all...] |
/third_party/rust/crates/clap/clap_derive/src/ |
H A D | item.rs | 57 let span = input.ident.span(); in from_args_struct() 59 let argument_casing = Sp::new(DEFAULT_CASING, span); in from_args_struct() 60 let env_casing = Sp::new(DEFAULT_ENV_CASING, span); in from_args_struct() 61 let kind = Sp::new(Kind::Command(Sp::new(Ty::Other, span)), span); in from_args_struct() 74 let span = input.ident.span(); in from_subcommand_enum() 76 let argument_casing = Sp::new(DEFAULT_CASING, span); in from_subcommand_enum() 77 let env_casing = Sp::new(DEFAULT_ENV_CASING, span); in from_subcommand_enum() 1085 fn span(&self) -> Span { span() functions 1117 pub fn span(&self) -> Span { span() functions [all...] |
/third_party/rust/crates/clap/clap_derive/src/derives/ |
H A D | args.rs | 73 abort! { item.kind().span(), in gen_for_struct() 180 field.span(), in gen_augment() 193 quote_spanned! { kind.span()=> in gen_augment() 200 quote_spanned! { kind.span()=> in gen_augment() 224 Some(quote_spanned! { kind.span()=> in gen_augment() 231 Some(quote_spanned! { kind.span()=> in gen_augment() 247 quote_spanned! { ty.span()=> in gen_augment() 253 quote_spanned! { ty.span()=> in gen_augment() 260 Ty::OptionOption => quote_spanned! { ty.span()=> in gen_augment() 269 quote_spanned! { ty.span() in gen_augment() [all...] |
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | tokens.rs | 15 let span = ident.rust.span(); in to_tokens() 16 tokens.extend(quote_spanned!(span=> ::cxx::private::)); in to_tokens() 18 let span = ident.rust.span(); in to_tokens() 19 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens() 21 let span = ident.rust.span(); in to_tokens() 22 tokens.extend(quote_spanned!(span=> ::cxx::alloc::string::)); in to_tokens() 36 Type::Void(span) in to_tokens() [all...] |
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | tokens.rs | 15 let span = ident.rust.span(); in to_tokens() 16 tokens.extend(quote_spanned!(span=> ::cxx::private::)); in to_tokens() 18 let span = ident.rust.span(); in to_tokens() 19 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens() 21 let span = ident.rust.span(); in to_tokens() 22 tokens.extend(quote_spanned!(span=> ::cxx::alloc::string::)); in to_tokens() 36 Type::Void(span) in to_tokens() [all...] |
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | tokens.rs | 15 let span = ident.rust.span(); in to_tokens() 16 tokens.extend(quote_spanned!(span=> ::cxx::private::)); in to_tokens() 18 let span = ident.rust.span(); in to_tokens() 19 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens() 21 let span = ident.rust.span(); in to_tokens() 22 tokens.extend(quote_spanned!(span=> ::cxx::alloc::string::)); in to_tokens() 36 Type::Void(span) in to_tokens() [all...] |
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | tokens.rs | 15 let span = ident.rust.span(); in to_tokens() 16 tokens.extend(quote_spanned!(span=> ::cxx::private::)); in to_tokens() 18 let span = ident.rust.span(); in to_tokens() 19 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens() 21 let span = ident.rust.span(); in to_tokens() 22 tokens.extend(quote_spanned!(span=> ::cxx::alloc::string::)); in to_tokens() 36 Type::Void(span) in to_tokens() [all...] |
/third_party/rust/crates/cxx/syntax/ |
H A D | tokens.rs | 15 let span = ident.rust.span(); in to_tokens() 16 tokens.extend(quote_spanned!(span=> ::cxx::private::)); in to_tokens() 18 let span = ident.rust.span(); in to_tokens() 19 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens() 21 let span = ident.rust.span(); in to_tokens() 22 tokens.extend(quote_spanned!(span=> ::cxx::alloc::string::)); in to_tokens() 36 Type::Void(span) in to_tokens() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | jsxParsingError2.js | 12 // Issue error about missing span closing tag, not missing div closing tag 13 let x1 = <div><span></div>; 16 let x2 = <div></span>; 24 let x4 = <div><div></span>; 27 let x5 = <div><span> 33 // Issue error about missing span closing tag, not missing div closing tag
34 var x1 = <div><span></></div>;
36 var x2 = <div></span>;
42 var x4 = <div><div></span>; 45 var x5 = <div><span> [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/ |
H A D | tree.go | 59 for span, id := range t.spans { 60 out[id] = span 65 // FileSpanGroups returns all the span groups for the given file 120 for _, span := range file.Covered { 121 tf.allSpans.Add(span) 123 for _, span := range file.Uncovered { 124 tf.allSpans.Add(span) 127 // Add all the spans to the map, get the span ids 341 // SpanID is an identifier of a span in a Tree. 370 // List returns the full list of sorted span id [all...] |
/third_party/rust/crates/syn/src/ |
H A D | error.rs | 108 // handling, so pin the span we're given to its original thread and assume 110 span: ThreadBound<SpanRange>, 129 /// automatically uses the correct span from the current position of the 132 /// Use `Error::new` when the error needs to be triggered on some span other 151 /// return Err(Error::new(name_token.span(), "expected `name`")); 158 pub fn new<T: Display>(span: Span, message: T) -> Self { in new() 159 return new(span, message.to_string()); in new() 161 fn new(span: Span, message: String) -> Error { in new() 164 span: ThreadBound::new(SpanRange { in new() 165 start: span, in new() 210 pub fn span(&self) -> Span { span() functions [all...] |
H A D | mac.rs | 35 pub fn span(&self) -> &DelimSpan { in span() functions 37 MacroDelimiter::Paren(token) => &token.span, in span() 38 MacroDelimiter::Brace(token) => &token.span, in span() 39 MacroDelimiter::Bracket(token) => &token.span, in span() 49 /// produces a more useful span when `tokens` is empty. 138 let scope = self.delimiter.span().close(); in parse_body_with() 147 let span = g.delim_span(); 149 Delimiter::Parenthesis => MacroDelimiter::Paren(Paren(span)), 150 Delimiter::Brace => MacroDelimiter::Brace(Brace(span)), 151 Delimiter::Bracket => MacroDelimiter::Bracket(Bracket(span)), [all...] |
/third_party/toybox/toys/other/ |
H A D | sha3sum.c | 67 int span, ii, len, rate = 200-TT.a/4; in do_sha3sum() local 72 if ((span = len-(ss-toybuf))<rate) { in do_sha3sum() 73 memcpy(toybuf, ss, span); in do_sha3sum() 74 len = span += readall(fd, (ss = toybuf)+span, sizeof(toybuf)-span); in do_sha3sum() 76 if (span>rate) span = rate; in do_sha3sum() 77 for (ii = 0; ii<span; ii++) buf[ii] ^= ss[ii]; in do_sha3sum() 78 if (rate!=span) { in do_sha3sum() [all...] |
/third_party/rust/crates/clap/clap_derive/src/utils/ |
H A D | spanned.rs | 7 /// An entity with a span attached. 11 span: Span, 15 pub fn new(val: T, span: Span) -> Self { in new() 16 Sp { val, span } in new() 23 pub fn span(&self) -> Span { in span() functions 24 self.span in span() 46 span: ident.span(), in from() 55 span: lit.span(), in from() [all...] |
/third_party/rust/crates/proc-macro-error/src/ |
H A D | diagnostic.rs | 48 /// Attach a "help" note to your main message, the note will have it's own span on nightly. 55 /// The span is ignored on stable, the note effectively inherits its parent's (main message) span 58 /// Attach a note to your main message, the note will have it's own span on nightly. 65 /// The span is ignored on stable, the note effectively inherits its parent's (main message) span 104 /// Create a new diagnostic message that points to the `span` 105 pub fn spanned(span: Span, level: Level, message: String) -> Self { in spanned() 108 first: span, in spanned() 109 last: span, in spanned() [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
H A D | WriteRawPrimitivesBenchmark.cs | 143 var span = new Span<byte>(outputBuffer); in WriteRawVarint32_WriteContext() 144 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteRawVarint32_WriteContext() 190 var span = new Span<byte>(outputBuffer); in WriteRawVarint64_WriteContext() 191 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteRawVarint64_WriteContext() 217 var span = new Span<byte>(outputBuffer); in WriteFixed32_WriteContext() 218 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteFixed32_WriteContext() 244 var span = new Span<byte>(outputBuffer); in WriteFixed64_WriteContext() 245 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteFixed64_WriteContext() 258 var span = new Span<byte>(outputBuffer); in WriteRawTag_OneByte_WriteContext() 259 WriteContext.Initialize(ref span, ou in WriteRawTag_OneByte_WriteContext() [all...] |
/third_party/rust/crates/proc-macro2/src/ |
H A D | extra.rs | 36 join: group.span(), 40 imp::Group::Fallback(group) => DelimSpanEnum::Fallback(group.span()), 44 let inner = DelimSpanEnum::Fallback(group.span()); 52 /// Returns a span covering the entire delimited group. 57 DelimSpanEnum::Fallback(span) => Span::_new_fallback(*span), in join() 61 /// Returns a span for the opening punctuation of the group only. 66 DelimSpanEnum::Fallback(span) => Span::_new_fallback(span.first_byte()), in open() 70 /// Returns a span fo [all...] |