/external/v8/src/zone/ |
H A D | zone-segment.cc | 10 void Segment::ZapContents() { 16 void Segment::ZapHeader() { 18 memset(this, kZapDeadByte, sizeof(Segment));
|
H A D | zone-segment.h | 21 class Segment { class in namespace:v8::internal 28 Segment* next() const { return next_; } 29 void set_next(Segment* const next) { next_ = next; } 32 size_t capacity() const { return size_ - sizeof(Segment); } 34 Address start() const { return address(sizeof(Segment)); } 52 Segment* next_;
|
H A D | accounting-allocator.h | 32 virtual Segment* GetSegment(size_t bytes); 35 virtual void ReturnSegment(Segment* memory); 64 Segment* AllocateSegment(size_t bytes); 65 void FreeSegment(Segment* memory); 68 Segment* GetSegmentFromPool(size_t requested_size); 70 bool AddSegmentToPool(Segment* segment); 75 Segment* unused_segments_heads_[kNumberBuckets];
|
H A D | accounting-allocator.cc | 72 Segment* AccountingAllocator::GetSegment(size_t bytes) { 73 Segment* result = GetSegmentFromPool(bytes); 82 Segment* AccountingAllocator::AllocateSegment(size_t bytes) { 92 return reinterpret_cast<Segment*>(memory); 95 void AccountingAllocator::ReturnSegment(Segment* segment) { 105 void AccountingAllocator::FreeSegment(Segment* memory) { 124 Segment* AccountingAllocator::GetSegmentFromPool(size_t requested_size) { 135 Segment* segment; 157 bool AccountingAllocator::AddSegmentToPool(Segment* segment) { 192 Segment* curren [all...] |
H A D | zone.cc | 100 for (Segment* current = segment_head_; current;) { 101 Segment* next = current->next(); 119 Segment* Zone::NewSegment(size_t requested_size) { 120 Segment* result = allocator_->GetSegment(requested_size); 144 Segment* head = segment_head_; 146 static const size_t kSegmentOverhead = sizeof(Segment) + kAlignment; 168 Segment* segment = NewSegment(new_size);
|
/external/okhttp/okio/okio/src/main/java/okio/ |
H A D | SegmentPool.java | 28 static Segment next; 36 static Segment take() { 39 Segment result = next; 42 byteCount -= Segment.SIZE; 46 return new Segment(); // Pool is empty. Don't zero-fill while holding a lock. 49 static void recycle(Segment segment) { 53 if (byteCount + Segment.SIZE > MAX_SIZE) return; // Pool is full. 54 byteCount += Segment.SIZE;
|
H A D | Segment.java | 33 final class Segment { class 52 Segment next; 55 Segment prev; 57 Segment() { method in class:Segment 63 Segment(Segment shareFrom) { method in class:Segment 68 Segment(byte[] data, int pos, int limit) { method in class:Segment 80 public Segment pop() { 81 Segment result = next != this ? next : null; 93 public Segment pus [all...] |
H A D | Buffer.java | 52 Segment head; 148 Segment s = head; 174 Segment s = head; 181 Segment copy = new Segment(s); 206 Segment s = head; 216 Segment toRecycle = s; 241 Segment tail = writableSegment(1); 242 int maxToCopy = (int) Math.min(byteCount, Segment.SIZE - tail.limit); 264 Segment tai [all...] |
H A D | InflaterSource.java | 66 Segment tail = sink.writableSegment(1); 67 int bytesInflated = inflater.inflate(tail.data, tail.limit, Segment.SIZE - tail.limit); 104 Segment head = source.buffer().head;
|
/external/valgrind/drd/ |
H A D | drd_segment.h | 61 } Segment; typedef in typeref:struct:segment 63 extern Segment* DRD_(g_sg_list); 65 Segment* DRD_(sg_new)(const DrdThreadId creator, const DrdThreadId created); 66 static int DRD_(sg_get_refcnt)(const Segment* const sg); 67 Segment* DRD_(sg_get)(Segment* const sg); 68 void DRD_(sg_put)(Segment* const sg); 69 static struct bitmap* DRD_(sg_bm)(Segment* const sg); 70 void DRD_(sg_merge)(Segment* const sg1, Segment* cons [all...] |
H A D | drd_segment.c | 39 Segment* DRD_(g_sg_list); 62 static void sg_init(Segment* const sg, 66 Segment* creator_sg; 107 static void DRD_(sg_cleanup)(Segment* const sg) 117 Segment* DRD_(sg_new)(const DrdThreadId creator, const DrdThreadId created) 119 Segment* sg; 136 static void DRD_(sg_delete)(Segment* const sg) 162 Segment* DRD_(sg_get)(Segment* const sg) 174 void DRD_(sg_put)(Segment* cons [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
H A D | Segment.java | 21 public class Segment implements Series<Number> { class in inherits:Series 27 public Segment(String title, Number value) { method in class:Segment
|
H A D | PieChart.java | 29 public class PieChart extends Plot<Segment, SegmentFormatter, PieRenderer> { 86 public void addSegment(Segment segment, SegmentFormatter formatter) { 90 public void removeSegment(Segment segment) {
|
/external/pdfium/core/fxcrt/ |
H A D | fx_bidi.h | 20 struct Segment { struct in class:CFX_BidiChar 23 Direction direction; // Segment direction. 40 Segment GetSegmentInfo() const { return m_LastSegment; } 45 Segment m_CurrentSegment; 46 Segment m_LastSegment; 51 using const_iterator = std::vector<CFX_BidiChar::Segment>::const_iterator; 71 std::vector<CFX_BidiChar::Segment> m_Order;
|
/external/okhttp/okio/okio/src/test/java/okio/ |
H A D | RealBufferedSourceTest.java | 36 source.writeUtf8(repeat('b', Segment.SIZE)); 41 assertEquals(Segment.SIZE + 2, source.size()); 45 assertEquals(Segment.SIZE - 1, in.available()); 49 byte[] data = new byte[Segment.SIZE * 2]; 50 assertEquals(Segment.SIZE - 1, in.read(data, 0, data.length)); 51 assertEquals(repeat('b', Segment.SIZE - 1), new String(data, 0, Segment.SIZE - 1, UTF_8)); 119 source.writeUtf8(repeat('a', Segment.SIZE)); 120 source.writeUtf8(repeat('b', Segment.SIZE)); 125 assertEquals(Segment [all...] |
H A D | BufferTest.java | 64 buffer.writeUtf8(repeat('a', Segment.SIZE * 4)); 65 assertEquals(Segment.SIZE * 4, buffer.completeSegmentByteCount()); 70 buffer.writeUtf8(repeat('a', Segment.SIZE * 4 - 10)); 71 assertEquals(Segment.SIZE * 3, buffer.completeSegmentByteCount()); 141 int size = (Segment.SIZE / 2) - 1; 147 int size = (Segment.SIZE / 2) + 1; 153 int size = 3 * Segment.SIZE + 1; 155 assertEquals(asList(Segment.SIZE, Segment.SIZE, Segment [all...] |
H A D | RealBufferedSinkTest.java | 46 bufferedSink.writeUtf8(repeat('a', Segment.SIZE - 1)); 49 assertEquals(Segment.SIZE, sink.size()); 56 bufferedSink.writeUtf8(repeat('a', Segment.SIZE * 4 - 1)); 57 assertEquals(Segment.SIZE * 3, sink.size()); 58 assertEquals(Segment.SIZE - 1, bufferedSink.buffer().size()); 97 bufferedSink.writeUtf8(repeat('a', Segment.SIZE * 3)); 98 assertEquals(Segment.SIZE * 3, sink.size()); 104 bufferedSink.writeUtf8(repeat('a', Segment.SIZE * 3 - 1)); 105 assertEquals(Segment.SIZE * 2, sink.size()); 226 Buffer write1 = new Buffer().writeUtf8(TestUtil.repeat('a', Segment [all...] |
H A D | BufferedSourceTest.java | 148 sink.writeUtf8(repeat('a', Segment.SIZE - 1)); 150 source.skip(Segment.SIZE - 1); 176 sink.writeUtf8(repeat('a', Segment.SIZE - 3)); 180 source.skip(Segment.SIZE - 3); 208 sink.writeUtf8(repeat('a', Segment.SIZE - 7)); 213 source.skip(Segment.SIZE - 7); 277 data.writeUtf8("Hello").writeUtf8(repeat('e', Segment.SIZE)); 282 byte[] sink = new byte[Segment.SIZE + 5]; 350 String string = "abcd" + repeat('e', Segment.SIZE); 362 sink.writeUtf8("abcd").writeUtf8(repeat('e', Segment [all...] |
H A D | BufferedSinkTest.java | 100 sink.writeUtf8(repeat('a', Segment.SIZE - 1)); 104 assertEquals(asList(Segment.SIZE, 1), data.segmentSizes()); 105 assertEquals(repeat('a', Segment.SIZE - 1), data.readUtf8(Segment.SIZE - 1)); 131 sink.writeUtf8(repeat('a', Segment.SIZE - 4)); 135 assertEquals(asList(Segment.SIZE, 4), data.segmentSizes()); 136 assertEquals(repeat('a', Segment.SIZE - 4), data.readUtf8(Segment.SIZE - 4)); 141 sink.writeUtf8(repeat('a', Segment.SIZE - 3)); 145 assertEquals(asList(Segment [all...] |
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
H A D | SimplePieChartActivity.java | 26 import com.androidplot.pie.Segment; 40 private Segment s1; 41 private Segment s2; 42 private Segment s3; 43 private Segment s4; 77 s1 = new Segment("s1", 10); 78 s2 = new Segment("s2", 1); 79 s3 = new Segment("s3", 10); 80 s4 = new Segment("s4", 10);
|
/external/libvpx/libvpx/ |
H A D | webmenc.cc | 28 mkvmuxer::Segment *const segment = new mkvmuxer::Segment(); 30 segment->set_mode(mkvmuxer::Segment::kFile); 73 mkvmuxer::Segment *const segment = 74 reinterpret_cast<mkvmuxer::Segment *>(webm_ctx->segment); 88 mkvmuxer::Segment *const segment = 89 reinterpret_cast<mkvmuxer::Segment *>(webm_ctx->segment);
|
/external/skia/include/core/ |
H A D | SkPathMeasure.h | 94 struct Segment { struct in class:SkPathMeasure 103 SkTDArray<Segment> fSegments; 106 static const Segment* NextSegment(const Segment*); 116 const Segment* distanceToSegment(SkScalar distance, SkScalar* t);
|
/external/llvm/lib/MC/ |
H A D | MCSectionMachO.cpp | 72 MCSectionMachO::MCSectionMachO(StringRef Segment, StringRef Section, argument 77 assert(Segment.size() <= 16 && Section.size() <= 16 && 78 "Segment or section string too long"); 80 if (i < Segment.size()) 81 SegmentName[i] = Segment[i]; 172 StringRef &Segment, // Out. 185 Segment = GetEmptyOrTrim(0); 192 if (Segment.empty() || Segment.size() > 16) 171 ParseSectionSpecifier(StringRef Spec, StringRef &Segment, StringRef &Section, unsigned &TAA, bool &TAAParsed, unsigned &StubSize) argument
|
/external/llvm/tools/dsymutil/ |
H A D | MachOUtils.cpp | 128 MachO::segment_command_64 Segment; local 130 Segment = adaptFrom32bits(Obj.getSegmentLoadCommand(LCI)); 132 Segment = Obj.getSegment64LoadCommand(LCI); 136 Handler(Segment); 217 // Transfer \a Segment from \a Obj to the output file. This calls into \a Writer 227 const object::MachOObjectFile::LoadCommandInfo &LCI, SegmentTy Segment, 231 if (StringRef("__DWARF") == Segment.segname) 234 Segment.fileoff = Segment.filesize = 0; 236 if (StringRef("__LINKEDIT") == Segment 226 transferSegmentAndSections( const object::MachOObjectFile::LoadCommandInfo &LCI, SegmentTy Segment, const object::MachOObjectFile &Obj, MCObjectWriter &Writer, uint64_t LinkeditOffset, uint64_t LinkeditSize, uint64_t DwarfSegmentSize, uint64_t &GapForDwarf, uint64_t &EndAddress) argument [all...] |
/external/elfutils/tests/ |
H A D | run-readelf-aranges.sh | 124 Segment size: 0 134 Segment size: 0 145 Segment size: 0
|