/external/chromium_org/chrome/common/extensions/docs/server2/ |
path_util_test.py | 8 from path_util import SplitParent, Split, Segment 35 self.assertEqual([('', '')], list(Segment(''))) 36 self.assertEqual([('', 'hi'), ('hi', '')], list(Segment('hi'))) 41 list(Segment('p1/p2/hi'))) 46 list(Segment('foo/bar/baz.txt')))
|
path_util.py | 74 def Segment(path): 85 for segment in (segment for segment in path.split('/') if segment != ''): 86 last_path = posixpath.join(last_path, segment)
|
redirector.py | 10 from path_util import Segment, Join, SplitParent 66 for sub_url, _ in Segment(url): 67 for base, filename in Segment(sub_url):
|
/external/valgrind/main/drd/ |
drd_segment.h | 30 * Segments and segment lists. A segment represents information about 32 * clock associated with each segment. 42 typedef struct segment struct 44 struct segment* g_next; 45 struct segment* g_prev; 47 struct segment* thr_next; 48 struct segment* thr_prev; 50 /** Reference count: number of pointers that point to this segment. */ 52 /** Stack trace of the first instruction of the segment. * [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkPathMeasure.h | 59 /** Given a start and stop distance, return in dst the intervening segment(s). 60 If the segment is zero-length, return false, else return true. 63 Begin the segment with a moveTo if startWithMoveTo is true 88 struct Segment { 96 SkTDArray<Segment> fSegments; 99 static const Segment* NextSegment(const Segment*); 106 const Segment* distanceToSegment(SkScalar distance, SkScalar* t);
|
/external/skia/include/core/ |
SkPathMeasure.h | 59 /** Given a start and stop distance, return in dst the intervening segment(s). 60 If the segment is zero-length, return false, else return true. 63 Begin the segment with a moveTo if startWithMoveTo is true 88 struct Segment { 96 SkTDArray<Segment> fSegments; 99 static const Segment* NextSegment(const Segment*); 106 const Segment* distanceToSegment(SkScalar distance, SkScalar* t);
|
/external/okhttp/okio/src/main/java/okio/ |
Segment.java | 19 * A segment of an OkBuffer. 21 * <p>Each segment in an OkBuffer is a circularly-linked list node referencing 24 * <p>Each segment in the pool is a singly-linked list node referencing the rest 27 final class Segment { 31 // TODO: Is 2 KiB a good default segment size? 36 /** The next byte of application data byte to read in this segment. */ 42 /** Next segment in a linked or circularly-linked list. */ 43 Segment next; 45 /** Previous segment in a circularly-linked list. */ 46 Segment prev [all...] |
/external/chromium_org/v8/src/ |
zone.cc | 16 // chained together forming a LIFO structure with the newest segment 20 class Segment { 22 void Initialize(Segment* next, int size) { 27 Segment* next() const { return next_; } 31 int capacity() const { return size_ - sizeof(Segment); } 33 Address start() const { return address(sizeof(Segment)); } 37 // Computes the address of the nth byte in this segment. 42 Segment* next_; 112 // Find a segment with a suitable size to keep around. 113 Segment* keep = NULL 236 Segment* segment = NewSegment(static_cast<int>(new_size)); local [all...] |
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/ |
DynamicLoaderMacOSXDYLD.h | 130 class Segment 134 Segment() : 158 operator==(const Segment& rhs) const 177 std::vector<Segment> segments; // All segment vmaddr and vmsize pairs for this executable (from memory of inferior) 248 const Segment *
|
/external/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 16 // individual segment is represented as an instance of LiveRange::Segment, 128 /// Return the end point of the last live range segment to interact with 142 /// It manages an ordered list of Segment objects. 145 /// segment with a new value number is used. 152 struct Segment { 155 VNInfo *valno; // identifier for the value contained in this segment. 157 Segment() : valno(nullptr) {} 159 Segment(SlotIndex S, SlotIndex E, VNInfo *V) 161 assert(S < E && "Cannot create empty or backwards segment"); [all...] |
/external/llvm/lib/Target/X86/ |
X86AsmPrinter.cpp | 288 const MachineOperand &Segment = MI->getOperand(Op+X86::AddrSegmentReg); 289 if (Segment.getReg()) { 306 // If this has a segment register, print it.
|
/frameworks/wilhelm/tools/permute/ |
permute.c | 38 // mean length of each segment of the permutation, in seconds 40 // minimum length of each segment of the permutation, in seconds 44 /** Describes each contiguous segment generated */ 50 } Segment; 61 Segment *mSegmentArray; // storage for the segments [max] 69 const Segment *x_ = (Segment *) x; 70 const Segment *y_ = (Segment *) y; 86 Segment *seg = &s->mSegmentArray[s->mSegmentCount++] [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/ |
cmap_table.cc | 607 int32_t segment = data_->SearchUShort(StartCodeOffset(seg_count_), local 613 if (segment == -1) { 616 int32_t start_code = StartCode(segment); 617 return RetrieveGlyphId(segment, start_code, character); 620 int32_t CMapTable::CMapFormat4::RetrieveGlyphId(int32_t segment, 626 int32_t id_range_offset = IdRangeOffset(segment); 628 return (character + IdDelta(segment)) % 65536; 631 IdRangeOffsetLocation(segment) + 643 int32_t CMapTable::CMapFormat4::StartCode(int32_t segment) { 644 if (!IsValidIndex(segment)) { 982 Ptr<Segment> segment = new Segment; local [all...] |
/external/sfntly/cpp/src/sfntly/table/core/ |
cmap_table.cc | 607 int32_t segment = data_->SearchUShort(StartCodeOffset(seg_count_), local 613 if (segment == -1) { 616 int32_t start_code = StartCode(segment); 617 return RetrieveGlyphId(segment, start_code, character); 620 int32_t CMapTable::CMapFormat4::RetrieveGlyphId(int32_t segment, 626 int32_t id_range_offset = IdRangeOffset(segment); 628 return (character + IdDelta(segment)) % 65536; 631 IdRangeOffsetLocation(segment) + 643 int32_t CMapTable::CMapFormat4::StartCode(int32_t segment) { 644 if (!IsValidIndex(segment)) { 982 Ptr<Segment> segment = new Segment; local [all...] |
/external/llvm/lib/CodeGen/ |
TargetLoweringObjectFileImpl.cpp | 482 StringRef Segment, Section; 486 MCSectionMachO::ParseSectionSpecifier(SectionVal, Segment, Section, 495 getContext().getMachOSection(Segment, Section, TAA, StubSize, 518 StringRef Segment, Section; 525 MCSectionMachO::ParseSectionSpecifier(GV->getSection(), Segment, Section, 536 getContext().getMachOSection(Segment, Section, TAA, StubSize, Kind); 638 // linker needs to write to it, put it in the data segment. 659 // segment, not in the text segment. [all...] |
LiveDebugVariables.cpp | 517 LiveInterval::Segment *Segment = LR->getSegmentContaining(Start); 518 if (!Segment || Segment->valno != VNI) { 523 if (Segment->end < Stop) 524 Stop = Segment->end, ToEnd = false; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
Ticker.java | 44 private ArrayList<Segment> mSegments = new ArrayList(); 61 private final class Segment { 138 Segment(StatusBarNotification n, Drawable icon, CharSequence text) { 189 final Segment seg = mSegments.get(0); 203 final Segment newSegment = new Segment(n, icon, text); 207 Segment seg = mSegments.get(i); 217 Segment seg = mSegments.get(0); 249 Segment seg = mSegments.get(i); 264 Segment seg = mSegments.get(0) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
pseudotcp.h | 130 struct Segment { 174 bool process(Segment& seg); 230 // Maximum segment size, estimated protocol level, largest segment sent
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrAAConvexPathRenderer.cpp | 31 struct Segment { 42 // is the corner where the previous segment meets this segment 60 typedef SkTArray<Segment, true> SegmentArray; 133 Segment& sega = (*segments)[a]; 135 Segment& segb = (*segments)[b]; 145 if (Segment::kLine == segb.fType) { 157 const Segment& sega = (*segments)[a]; 159 Segment& segb = (*segments)[b]; 229 segments->back().fType = Segment::kLine [all...] |
/external/libvpx/libvpx/third_party/libmkv/ |
EbmlIDs.h | 34 /* segment */ 35 Segment = 0x18538067, 41 /* Segment Information */
|
/external/llvm/lib/MC/MCParser/ |
DarwinAsmParser.cpp | 37 bool parseSectionSwitch(const char *Segment, const char *Section, 373 bool DarwinAsmParser::parseSectionSwitch(const char *Segment, 384 Segment, Section, TAA, StubSize, 571 StringRef Segment, Section; 576 MCSectionMachO::ParseSectionSpecifier(SectionSpec, Segment, Section, 583 bool isText = Segment == "__TEXT"; // FIXME: Hack. 585 Segment, Section, TAA, StubSize, 748 StringRef Segment; 749 if (getParser().parseIdentifier(Segment)) 750 return TokError("expected segment name after '.zerofill' directive") [all...] |
/external/skia/src/gpu/ |
GrAAConvexPathRenderer.cpp | 30 struct Segment { 41 // is the corner where the previous segment meets this segment 59 typedef SkTArray<Segment, true> SegmentArray; 132 Segment& sega = (*segments)[a]; 134 Segment& segb = (*segments)[b]; 144 if (Segment::kLine == segb.fType) { 156 const Segment& sega = (*segments)[a]; 158 Segment& segb = (*segments)[b]; 228 segments->back().fType = Segment::kLine [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libmkv/ |
EbmlIDs.h | 34 /* segment */ 35 Segment = 0x18538067, 41 /* Segment Information */
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/ |
mkvmuxer.cpp | 1105 void Chapter::set_time(const Segment& segment, uint64 start_ns, uint64 end_ns) { 1106 const SegmentInfo* const info = segment.GetSegmentInfo(); [all...] |
/external/libvpx/libvpx/third_party/libwebm/ |
mkvmuxer.cpp | 1132 void Chapter::set_time(const Segment& segment, 1135 const SegmentInfo* const info = segment.GetSegmentInfo(); [all...] |