/external/okhttp/okio/okio/src/main/java/okio/ |
InflaterSource.java | 66 Segment tail = sink.writableSegment(1); 67 int bytesInflated = inflater.inflate(tail.data, tail.limit, Segment.SIZE - tail.limit); 76 // We allocated a tail segment, but didn't end up needing it. Recycle! 104 Segment head = source.buffer().head;
|
DeflaterSink.java | 62 // Share bytes from the head segment of 'source' with the deflater. 63 Segment head = source.head; 88 Segment s = buffer.writableSegment(1); 95 ? deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit, Deflater.SYNC_FLUSH) 96 : deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit); 104 // We allocated a tail segment, but didn't end up needing it. Recycle!
|
/external/okhttp/okio/okio/src/test/java/okio/ |
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.SIZE - 3, 8), data.segmentSizes()) [all...] |
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciPlatform/ |
PciPlatform.c | 107 UINTN Segment;
125 PciIo->GetLocation (PciIo, &Segment, &Bus, &Device, &Function);
143 Segment != mPciOptionRomTable[TableIndex].Segment ||
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLibPei/ |
I2CAccess.h | 42 #define MmPciAddress( Segment, Bus, Device, Function, Register ) \
|
/external/protobuf/src/google/protobuf/util/ |
json_util_test.cc | 181 typedef pair<char*, int> Segment; 185 explicit SegmentedZeroCopyOutputStream(list<Segment> segments) 203 Segment(last_segment_.first + last_segment_.second - length, length)); 204 last_segment_ = Segment(last_segment_.first, last_segment_.second - length); 211 list<Segment> segments_; 212 Segment last_segment_; 229 list<Segment> segments; 234 Segment(buffer + segment_start, i - segment_start + 1)); 239 Segment(buffer + segment_start, kOutputBufferLength - segment_start));
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
MCSectionMachO.cpp | 75 MCSectionMachO::MCSectionMachO(StringRef Segment, StringRef Section, 78 assert(Segment.size() <= 16 && Section.size() <= 16 && 79 "Segment or section string too long"); 81 if (i < Segment.size()) 82 SegmentName[i] = Segment[i]; 180 StringRef &Segment, // Out. 191 return "mach-o section specifier requires a segment and section " 194 // Capture segment, remove leading and trailing whitespace. 195 Segment = Comma.first; 196 StripSpaces(Segment); [all...] |
/frameworks/native/libs/gui/ |
OccupancyTracker.cpp | 29 status_t OccupancyTracker::Segment::writeToParcel(Parcel* parcel) const { 45 status_t OccupancyTracker::Segment::readFromParcel(const Parcel* parcel) { 84 std::vector<OccupancyTracker::Segment> OccupancyTracker::getSegmentHistory( 89 std::vector<Segment> segments(mSegmentHistory.cbegin(),
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-powerpc/ |
vle-multiseg-6.d | 20 Section to Segment mapping: 21 Segment Sections...
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-sh/ |
fdpic-stack-set.d | 16 Section to Segment mapping: 17 [ \t]+Segment Sections\.\.\.
|
fdpic-stack-size.d | 16 Section to Segment mapping: 17 [ \t]+Segment Sections\.\.\.
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-x86-64/ |
pr14207.d | 18 Section to Segment mapping: 19 Segment Sections...
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheTesting.java | 29 import com.google.common.cache.LocalCache.Segment; 102 * Forces the segment containing the given {@code key} to expand (see 103 * {@link Segment#expand()}. 110 Segment<K, V> segment = map.segmentFor(hash); local 111 segment.expand(); 137 for (Segment<?, ?> segment : map.segments) { 138 drainRecencyQueue(segment); 143 static void drainRecencyQueue(Segment<?, ?> segment) [all...] |
/external/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 16 // individual segment is represented as an instance of LiveRange::Segment, 136 /// Return the end point of the last live range segment to interact with 150 /// It manages an ordered list of Segment objects. 153 /// segment with a new value number is used. 160 struct Segment { 163 VNInfo *valno; // identifier for the value contained in this segment. 165 Segment() : valno(nullptr) {} 167 Segment(SlotIndex S, SlotIndex E, VNInfo *V) 169 assert(S < E && "Cannot create empty or backwards segment"); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 16 // individual segment is represented as an instance of LiveRange::Segment, 135 /// Return the end point of the last live range segment to interact with 149 /// It manages an ordered list of Segment objects. 152 /// segment with a new value number is used. 159 struct Segment { 162 VNInfo *valno; // identifier for the value contained in this segment. 164 Segment() : valno(nullptr) {} 166 Segment(SlotIndex S, SlotIndex E, VNInfo *V) 168 assert(S < E && "Cannot create empty or backwards segment"); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 16 // individual segment is represented as an instance of LiveRange::Segment, 135 /// Return the end point of the last live range segment to interact with 149 /// It manages an ordered list of Segment objects. 152 /// segment with a new value number is used. 159 struct Segment { 162 VNInfo *valno; // identifier for the value contained in this segment. 164 Segment() : valno(nullptr) {} 166 Segment(SlotIndex S, SlotIndex E, VNInfo *V) 168 assert(S < E && "Cannot create empty or backwards segment"); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 16 // individual segment is represented as an instance of LiveRange::Segment, 135 /// Return the end point of the last live range segment to interact with 149 /// It manages an ordered list of Segment objects. 152 /// segment with a new value number is used. 159 struct Segment { 162 VNInfo *valno; // identifier for the value contained in this segment. 164 Segment() : valno(nullptr) {} 166 Segment(SlotIndex S, SlotIndex E, VNInfo *V) 168 assert(S < E && "Cannot create empty or backwards segment"); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 16 // individual segment is represented as an instance of LiveRange::Segment, 135 /// Return the end point of the last live range segment to interact with 149 /// It manages an ordered list of Segment objects. 152 /// segment with a new value number is used. 159 struct Segment { 162 VNInfo *valno; // identifier for the value contained in this segment. 164 Segment() : valno(nullptr) {} 166 Segment(SlotIndex S, SlotIndex E, VNInfo *V) 168 assert(S < E && "Cannot create empty or backwards segment"); [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 16 // individual segment is represented as an instance of LiveRange::Segment, 135 /// Return the end point of the last live range segment to interact with 149 /// It manages an ordered list of Segment objects. 152 /// segment with a new value number is used. 159 struct Segment { 162 VNInfo *valno; // identifier for the value contained in this segment. 164 Segment() : valno(nullptr) {} 166 Segment(SlotIndex S, SlotIndex E, VNInfo *V) 168 assert(S < E && "Cannot create empty or backwards segment"); [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 16 // individual segment is represented as an instance of LiveRange::Segment, 135 /// Return the end point of the last live range segment to interact with 149 /// It manages an ordered list of Segment objects. 152 /// segment with a new value number is used. 159 struct Segment { 162 VNInfo *valno; // identifier for the value contained in this segment. 164 Segment() : valno(nullptr) {} 166 Segment(SlotIndex S, SlotIndex E, VNInfo *V) 168 assert(S < E && "Cannot create empty or backwards segment"); [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 16 // individual segment is represented as an instance of LiveRange::Segment, 135 /// Return the end point of the last live range segment to interact with 149 /// It manages an ordered list of Segment objects. 152 /// segment with a new value number is used. 159 struct Segment { 162 VNInfo *valno; // identifier for the value contained in this segment. 164 Segment() : valno(nullptr) {} 166 Segment(SlotIndex S, SlotIndex E, VNInfo *V) 168 assert(S < E && "Cannot create empty or backwards segment"); [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 16 // individual segment is represented as an instance of LiveRange::Segment, 135 /// Return the end point of the last live range segment to interact with 149 /// It manages an ordered list of Segment objects. 152 /// segment with a new value number is used. 159 struct Segment { 162 VNInfo *valno; // identifier for the value contained in this segment. 164 Segment() : valno(nullptr) {} 166 Segment(SlotIndex S, SlotIndex E, VNInfo *V) 168 assert(S < E && "Cannot create empty or backwards segment"); [all...] |
/external/valgrind/drd/ |
drd_semaphore.c | 50 /** Push a segment at the end of the queue 'p->last_sem_post_seg'. */ 51 static void drd_segment_push(struct semaphore_info* p, Segment* sg) 61 tl_assert(*(Segment**)VG_(indexXA)(p->last_sem_post_seg, n) == sg); 64 /** Pop a segment from the beginning of the queue 'p->last_sem_post_seg'. */ 65 static Segment* drd_segment_pop(struct semaphore_info* p) 68 Segment* sg; 78 sg = *(Segment**)VG_(indexXA)(p->last_sem_post_seg, sz - 1); 110 VG_(free), sizeof(Segment*)); 119 Segment* sg; 174 Segment* sg [all...] |
/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/guava/guava-tests/benchmark/com/google/common/cache/ |
ChainBenchmark.java | 23 import com.google.common.cache.LocalCache.Segment; 26 * Benchmark for {@code LocalCache.Segment.removeEntryFromChain}. 34 private Segment<Object, Object> segment; field in class:ChainBenchmark 43 segment = cache.segments[0]; 47 chain = segment.newEntry(key, cache.hash(key), chain); 57 segment.removeEntryFromChain(chain, head); 58 dummy += segment.count;
|