Home
last modified time | relevance | path

Searched refs:Segment (Results 1 – 25 of 170) sorted by relevance

1234567

/third_party/node/deps/v8/src/heap/base/
Dworklist.h45 class Segment; variable
51 void Push(Segment* segment);
52 bool Pop(Segment** segment);
76 void set_top(Segment* segment) { in set_top()
81 Segment* top_ = nullptr;
86 void Worklist<EntryType, SegmentSize>::Push(Segment* segment) { in Push()
95 bool Worklist<EntryType, SegmentSize>::Pop(Segment** segment) { in Pop()
123 Segment* current = top_; in Clear()
125 Segment* tmp = current; in Clear()
136 Segment* prev = nullptr; in Update()
[all …]
/third_party/rust/crates/cxx/syntax/
Dsymbol.rs33 pub fn from_idents<'a>(it: impl Iterator<Item = &'a dyn Segment>) -> Self { in from_idents()
43 pub trait Segment { interface
47 impl Segment for str {
53 impl Segment for usize {
59 impl Segment for Ident {
65 impl Segment for Symbol {
71 impl Segment for Namespace {
79 impl Segment for Pair {
86 impl Segment for ForeignName {
94 impl<T> Segment for &'_ T impl
[all …]
/third_party/node/deps/v8/src/zone/
Dzone-segment.h22 class Segment {
27 Segment* next() const { return next_; } in next()
28 void set_next(Segment* const next) { next_ = next; } in set_next()
36 size_t capacity() const { return size_ - sizeof(Segment); } in capacity()
38 Address start() const { return address(sizeof(Segment)); } in start()
50 explicit Segment(size_t size) : size_(size) {} in Segment() function
63 Segment* next_ = nullptr;
Dzone.cc74 Segment* keep = segment_head_; in Reset()
99 Segment* current = segment_head_; in DeleteAll()
111 Segment* next = current->next(); in DeleteAll()
124 void Zone::ReleaseSegment(Segment* segment) { in ReleaseSegment()
141 Segment* head = segment_head_; in NewExpand()
143 static const size_t kSegmentOverhead = sizeof(Segment) + kAlignmentInBytes; in NewExpand()
163 Segment* segment = in NewExpand()
207 Segment* current = zone_->segment_head_; in ~ZoneScope()
209 Segment* next = current->next(); in ~ZoneScope()
Dzone-segment.cc12 void Segment::ZapContents() { in ZapContents()
19 void Segment::ZapHeader() { in ZapHeader()
21 memset(this, kZapDeadByte, sizeof(Segment)); in ZapHeader()
23 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(start(), sizeof(Segment)); in ZapHeader()
Daccounting-allocator.h23 class Segment; variable
35 Segment* AllocateSegment(size_t bytes, bool supports_compression);
39 void ReturnSegment(Segment* memory, bool supports_compression);
59 void TraceAllocateSegment(Segment* segment) { in TraceAllocateSegment()
67 virtual void TraceAllocateSegmentImpl(Segment* segment) {} in TraceAllocateSegmentImpl()
Daccounting-allocator.cc85 Segment* AccountingAllocator::AllocateSegment(size_t bytes, in AllocateSegment()
105 DCHECK_LE(sizeof(Segment), bytes); in AllocateSegment()
106 return new (memory) Segment(bytes); in AllocateSegment()
109 void AccountingAllocator::ReturnSegment(Segment* segment, in ReturnSegment()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapFormat4.java270 public static class Segment { class in CMapFormat4.Builder
271 public static List<Builder.Segment> deepCopy(List<Builder.Segment> original) { in deepCopy()
272 List<Builder.Segment> list = new ArrayList<Builder.Segment>(original.size()); in deepCopy()
273 for (Builder.Segment segment : original) { in deepCopy()
274 list.add(new Segment(segment)); in deepCopy()
284 public Segment() { in Segment() method in CMapFormat4.Builder.Segment
287 public Segment(Builder.Segment other) { in Segment() method in CMapFormat4.Builder.Segment
291 public Segment(int startCount, int endCount, int idDelta, int idRangeOffset) { in Segment() method in CMapFormat4.Builder.Segment
361 private List<Builder.Segment> segments;
377 this.segments = new ArrayList<Builder.Segment>(); in initialize()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLiveInterval.h161 struct Segment { struct
167 Segment() = default; argument
169 Segment(SlotIndex S, SlotIndex E, VNInfo *V) in Segment() argument
185 bool operator<(const Segment &Other) const { argument
188 bool operator==(const Segment &Other) const {
192 bool operator!=(const Segment &Other) const {
199 using Segments = SmallVector<Segment, 2>;
208 using SegmentSet = std::set<Segment>;
253 for (const Segment &S : Other.segments) in assign()
254 segments.push_back(Segment(S.start, S.end, valnos[S.valno->id])); in assign()
[all …]
/third_party/typescript/tests/baselines/reference/
DnamedTupleMembers.types2 export type Segment = [length: number, count: number];
3 >Segment : [length: number, count: number]
18 declare var a: Segment;
19 >a : Segment
32 >a : Segment
37 >a : Segment
42 >a : Segment
46 >b = a : Segment
48 >a : Segment
61 >c = a : Segment
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveInterval.cpp73 using Segment = LiveRange::Segment; typedef in __anon6883a6600111::CalcLiveRangeUtilBase
95 impl().insertAtEnd(Segment(Def, Def.getDeadSlot(), VNI)); in createDeadDef()
99 Segment *S = segmentAt(I); in createDeadDef()
116 segments().insert(I, Segment(Def, Def.getDeadSlot(), VNI)); in createDeadDef()
124 impl().findInsertPos(Segment(Use.getPrevSlot(), Use, nullptr)); in extendInBlock()
140 iterator I = impl().findInsertPos(Segment(BeforeUse, Use, nullptr)); in extendInBlock()
160 Segment *S = segmentAt(I); in extendSegmentEndTo()
188 Segment *S = segmentAt(I); in extendSegmentStartTo()
210 Segment *MergeToSeg = segmentAt(MergeTo); in extendSegmentStartTo()
219 iterator addSegment(Segment S) { in addSegment()
[all …]
/third_party/skia/include/core/
DSkContourMeasure.h57 struct Segment { struct
66 static const Segment* Next(const Segment* seg) { in Next() argument
76 const SkTDArray<Segment> fSegments;
82 SkContourMeasure(SkTDArray<Segment>&& segs, SkTDArray<SkPoint>&& pts,
86 const Segment* distanceToSegment(SkScalar distance, SkScalar* t) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSectionMachO.cpp83 MCSectionMachO::MCSectionMachO(StringRef Segment, StringRef Section, in MCSectionMachO() argument
88 assert(Segment.size() <= 16 && Section.size() <= 16 && in MCSectionMachO()
91 if (i < Segment.size()) in MCSectionMachO()
92 SegmentName[i] = Segment[i]; in MCSectionMachO()
183 StringRef &Segment, // Out. in ParseSectionSpecifier() argument
196 Segment = GetEmptyOrTrim(0); in ParseSectionSpecifier()
203 if (Segment.empty() || Segment.size() > 16) in ParseSectionSpecifier()
DWasmObjectWriter.cpp577 const WasmDataSegment &Segment = DataSegments[Ref.Segment]; in getProvisionalValue() local
579 return Segment.Offset + Ref.Offset + RelEntry.Addend; in getProvisionalValue()
862 for (const WasmDataSegment &Segment : DataSegments) { in writeDataSection() local
863 encodeULEB128(Segment.InitFlags, W.OS); // flags in writeDataSection()
864 if (Segment.InitFlags & wasm::WASM_SEGMENT_HAS_MEMINDEX) in writeDataSection()
866 if ((Segment.InitFlags & wasm::WASM_SEGMENT_IS_PASSIVE) == 0) { in writeDataSection()
868 encodeSLEB128(Segment.Offset, W.OS); // offset in writeDataSection()
871 encodeULEB128(Segment.Data.size(), W.OS); // size in writeDataSection()
872 Segment.Section->setSectionOffset(W.OS.tell() - Section.ContentsOffset); in writeDataSection()
873 W.OS << Segment.Data; // data in writeDataSection()
[all …]
/third_party/skia/src/core/
DSkContourMeasure.cpp27 SkScalar SkContourMeasure::Segment::getScalarT() const { in getScalarT()
193 SkTDArray<SkContourMeasure::Segment> fSegments;
223 SkContourMeasure::Segment* seg = fSegments.append(); in compute_quad_segs()
251 SkContourMeasure::Segment* seg = fSegments.append(); in compute_conic_segs()
276 SkContourMeasure::Segment* seg = fSegments.append(); in compute_cubic_segs()
294 SkContourMeasure::Segment* seg = fSegments.append(); in compute_line_seg()
305 const SkContourMeasure::Segment* seg = fSegments.begin(); in validate()
306 const SkContourMeasure::Segment* stop = fSegments.end(); in validate()
316 const SkContourMeasure::Segment* s = seg; in validate()
509 SkContourMeasure::SkContourMeasure(SkTDArray<Segment>&& segs, SkTDArray<SkPoint>&& pts, SkScalar le… in SkContourMeasure()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/
Dformat.h44 class Segment {
46 explicit Segment(uint32_t num_bytes) in Segment() function
48 Segment(FormatComponentType name, FormatMode mode, uint32_t num_bits) in Segment() function
111 const std::vector<Segment>& GetSegments() const { return segments_; } in GetSegments()
222 bool AddSegment(const Segment& seg);
240 std::vector<Segment> segments_;
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dclass_with_inner_struct.hpp6 struct Segment { int begin, end; }; argument
17 struct Segment { int begin, end; }; argument
43 struct Segment { int begin, end; }; argument
Dclass_with_inner_struct_1_0.hpp6 struct Segment { int begin, end; }; struct in A
17 struct Segment { int begin, end; }; argument
43 struct Segment { int begin, end; }; struct in C
/third_party/elfutils/tests/
Drun-readelf-addr.sh32 Segment size: 0
60 Segment size: 0
92 Segment size: 0
120 Segment size: 0
Drun-readelf-aranges.sh124 Segment size: 0
134 Segment size: 0
145 Segment size: 0
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.h328 class Segment : public RefCounted<Segment> {
330 Segment();
331 explicit Segment(Segment* other);
332 Segment(int32_t start_count,
336 ~Segment();
356 std::vector<Ptr<Segment> >*
357 DeepCopy(std::vector<Ptr<Segment> >* original);
365 typedef std::vector<Ptr<Segment> > SegmentList;
706 typedef std::vector<Ptr<CMapTable::CMapFormat4::Builder::Segment> > SegmentList;
Dcmap_table.cc841 CMapTable::CMapFormat4::Builder::Segment::Segment() {} in Segment() function in sfntly::CMapTable::CMapFormat4::Builder::Segment
843 CMapTable::CMapFormat4::Builder::Segment::Segment(Segment* other) in Segment() function in sfntly::CMapTable::CMapFormat4::Builder::Segment
850 CMapTable::CMapFormat4::Builder::Segment::Segment(int32_t start_count, in Segment() function in sfntly::CMapTable::CMapFormat4::Builder::Segment
860 CMapTable::CMapFormat4::Builder::Segment::~Segment() {} in ~Segment()
862 int32_t CMapTable::CMapFormat4::Builder::Segment::start_count() { in start_count()
867 CMapTable::CMapFormat4::Builder::Segment::set_start_count(int32_t start_count) { in set_start_count()
871 int32_t CMapTable::CMapFormat4::Builder::Segment::end_count() { in end_count()
876 CMapTable::CMapFormat4::Builder::Segment::set_end_count(int32_t end_count) { in set_end_count()
880 int32_t CMapTable::CMapFormat4::Builder::Segment::id_delta() { in id_delta()
885 CMapTable::CMapFormat4::Builder::Segment::set_id_delta(int32_t id_delta) { in set_id_delta()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DWasmYAML.cpp373 IO &IO, WasmYAML::ElemSegment &Segment) { in mapping() argument
374 IO.mapRequired("Offset", Segment.Offset); in mapping()
375 IO.mapRequired("Functions", Segment.Functions); in mapping()
440 IO &IO, WasmYAML::DataSegment &Segment) { in mapping() argument
441 IO.mapOptional("SectionOffset", Segment.SectionOffset); in mapping()
442 IO.mapRequired("InitFlags", Segment.InitFlags); in mapping()
443 if (Segment.InitFlags & wasm::WASM_SEGMENT_HAS_MEMINDEX) { in mapping()
444 IO.mapRequired("MemoryIndex", Segment.MemoryIndex); in mapping()
446 Segment.MemoryIndex = 0; in mapping()
448 if ((Segment.InitFlags & wasm::WASM_SEGMENT_IS_PASSIVE) == 0) { in mapping()
[all …]
DWasmEmitter.cpp199 encodeULEB128(Info.DataRef.Segment, SubSection.getStream()); in writeSectionContent()
451 for (auto &Segment : Section.Segments) { in writeSectionContent() local
452 encodeULEB128(Segment.TableIndex, OS); in writeSectionContent()
453 writeInitExpr(OS, Segment.Offset); in writeSectionContent()
455 encodeULEB128(Segment.Functions.size(), OS); in writeSectionContent()
456 for (auto &Function : Segment.Functions) in writeSectionContent()
492 for (auto &Segment : Section.Segments) { in writeSectionContent() local
493 encodeULEB128(Segment.InitFlags, OS); in writeSectionContent()
494 if (Segment.InitFlags & wasm::WASM_SEGMENT_HAS_MEMINDEX) in writeSectionContent()
495 encodeULEB128(Segment.MemoryIndex, OS); in writeSectionContent()
[all …]
/third_party/skia/src/gpu/ops/
DAAConvexPathRenderer.cpp38 struct Segment { struct
67 typedef SkTArray<Segment, true> SegmentArray;
141 Segment& sega = (*segments)[a]; in compute_vectors()
143 Segment& segb = (*segments)[b]; in compute_vectors()
153 if (Segment::kLine == segb.fType) { in compute_vectors()
165 const Segment& sega = (*segments)[a]; in compute_vectors()
167 Segment& segb = (*segments)[b]; in compute_vectors()
249 segments->back().fType = Segment::kLine; in add_line_to_segment()
260 segments->back().fType = Segment::kQuad; in add_quad_segment()
379 const Segment& sega = segments[a]; in create_vertices()
[all …]

1234567