| /packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
| ContactLookupKey.java | 110 // If the lookup key is for the profile, just return a segment list indicating that. The 142 // Parse segment type 246 LookupKeySegment segment = new LookupKeySegment(); local 247 segment.accountHashCode = hashCode; 248 segment.lookupType = lookupType; 249 segment.rawContactId = rawContactId; 250 segment.key = key; 251 segment.contactId = -1; 252 list.add(segment);
|
| /external/guava/guava-tests/test/com/google/common/collect/ |
| ComputingConcurrentHashMapTest.java | 32 import com.google.common.collect.MapMakerInternalMap.Segment; 110 Segment<Object, Object> segment = map.segments[0]; local 118 ReferenceEntry<Object, Object> entry = segment.getEntry(key, hash); 123 checkEvictionQueues(map, segment, readOrder, writeOrder); 125 assertTrue(segment.recencyQueue.isEmpty()); 137 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); 140 int undrainedIndex = reads.size() - segment.recencyQueue.size(); 141 checkAndDrainRecencyQueue(map, segment, reads.subList(undrainedIndex, reads.size())); 144 checkEvictionQueues(map, segment, readOrder, writeOrder) 167 Segment<Object, Object> segment = map.segments[0]; local 196 Segment<Object, Object> segment = map.segments[0]; local [all...] |
| /external/eigen/test/ |
| conservative_resize.cpp | 70 VERIFY_IS_APPROX(m, n.segment(0,1)); 74 VERIFY_IS_APPROX(m, n.segment(0,50)); 78 VERIFY_IS_APPROX(m, n.segment(0,1)); 82 VERIFY_IS_APPROX(m, n.segment(0,50)); 90 VERIFY_IS_APPROX(m, n.segment(0,size)); 94 VERIFY_IS_APPROX(m, n.segment(0,size)); 103 VERIFY_IS_APPROX(m.segment(0,50), n); 104 VERIFY( size<=50 || m.segment(50,size-50).sum() == Scalar(0) ); 108 VERIFY_IS_APPROX(m.segment(0,50), n); 109 VERIFY( size<=50 || m.segment(50,size-50).sum() == Scalar(0) ) [all...] |
| eigen2support.cpp | 42 VERIFY_IS_EQUAL((m1.col(0).start(1)), (m1.col(0).segment(0,1))); 43 VERIFY_IS_EQUAL((m1.col(0).template start<1>()), (m1.col(0).segment(0,1))); 44 VERIFY_IS_EQUAL((m1.col(0).end(1)), (m1.col(0).segment(rows-1,1))); 45 VERIFY_IS_EQUAL((m1.col(0).template end<1>()), (m1.col(0).segment(rows-1,1)));
|
| /external/skia/src/pathops/ |
| SkOpCoincidence.cpp | 17 if (coinRec->fCoinPtTStart->segment() != coinPtTStart->segment()) { 20 if (coinRec->fOppPtTStart->segment() != oppPtTStart->segment()) { 76 // if the spans don't match, add the mssing pt to the segment and loop it in the opposite span 112 newPt = oStart->segment()->addT(newT, SkOpSegment::kAllowAlias, allocator); 120 newPt = start->segment()->addT(newT, SkOpSegment::kAllowAlias, allocator); 180 SkOpSegment* coinSeg = coinPtTStart->segment(); 181 SkOpSegment* oppSeg = oppPtTStart->segment(); 185 const SkOpSegment* checkCoinSeg = check->fCoinPtTStart->segment(); 389 SkOpSegment* segment = start->segment(); local 512 SkOpSegment* segment = coin->fCoinPtTStart->segment(); local [all...] |
| SkPathOpsDebug.cpp | 294 fDebugWorstVerb[index * 2] = wt.segment()->verb(); 295 fDebugWorstVerb[index * 2 + 1] = wn.segment()->verb(); 298 (SkPathOpsVerbToPoints(wt.segment()->verb()) + 1) * sizeof(SkPoint)); 300 (SkPathOpsVerbToPoints(wn.segment()->verb()) + 1) * sizeof(SkPoint)); 431 const SkOpSegment* segment = current->first(); local 433 if (!SkPathOpsBounds::Intersects(segment->bounds(), lineBounds)) { 436 if (newPt == segment->fPts[0]) { 439 if (newPt == segment->fPts[SkPathOpsVerbToPoints(segment->fVerb)]) { 442 if (oldPt == segment->fPts[0]) 660 SkOpSegment* segment = priorPtT->span()->segment(); local 1357 const SkOpSegment* segment = coin->fCoinPtTStart->segment(); local 1459 const SkOpSegment* segment = &fHead; local 1467 const SkOpSegment* segment = &fHead; local 1505 const SkOpSegment* segment = this->segment(); local [all...] |
| SkPathOpsCommon.cpp | 17 SkOpSegment* segment = start->segment(); local 18 const SkOpAngle* angle = segment->spanToAngle(start, end); 35 segment = angle->segment(); 36 winding = segment->windSum(angle); 52 segment = angle->segment(); 81 SkOpSegment* segment = span->segment(); local [all...] |
| /packages/apps/Gallery2/src/com/android/gallery3d/data/ |
| Path.java | 34 private Path(Path parent, String segment) { 36 mSegment = segment; 39 public Path getChild(String segment) { 44 Path p = mChildren.get(segment); 48 Path p = new Path(this, segment); 49 mChildren.put(segment, p); 60 public Path getChild(int segment) { 61 return getChild(String.valueOf(segment)); 64 public Path getChild(long segment) { 65 return getChild(String.valueOf(segment)); [all...] |
| /external/google-breakpad/src/common/mac/ |
| macho_reader_unittest.cc | 53 using mach_o::Segment; 102 const string &segment)); 110 MOCK_METHOD1(SegmentCommand, bool(const Segment &)); 174 reporter.SectionsMissing("segment name"); 179 reporter.MisplacedSegmentData("segment name"); 184 reporter.MisplacedSectionData("section name", "segment name"); 576 // A SizedSection representing a segment load command. 581 // Append a segment load command header with the given characteristics. 606 // Return a label representing the size of this segment when loaded into 608 // segment, it defaults to the final size of the segment's in-fil 1091 LoadedSection segment; local 1127 LoadedSection segment; local 1164 LoadedSection segment; local 1200 LoadedSection segment; local 1272 LoadedSection segment; local 1379 LoadedSection segment; local 1437 LoadedSection segment; local 1478 LoadedSection segment; local 1519 LoadedSection segment; local 1564 LoadedSection segment; local 1641 Segment segment; local [all...] |
| /external/fio/lib/ |
| rand.c | 137 unsigned int segment, unsigned int len, 150 if (segment > len) 151 segment = len; 157 this_len = (segment * (100 - percentage)) / 100; 185 unsigned int segment, unsigned int len, 193 __fill_random_buf_percentage(r, buf, percentage, segment, len,
|
| /external/icu/icu4c/source/layout/ |
| ContextualGlyphSubstProc2.cpp | 100 const LookupSegment *segment = lookupTable2->lookupSegment(lookupTable2->segments, gid); local 101 if (segment != NULL) { 102 newGlyph = SWAPW(segment->value); 116 const LEReferenceTo<LookupSingle> segment = lookupTable6->lookupSingle(lookupTable6->entries, gid); local 117 if (segment != NULL) { 118 newGlyph = SWAPW(segment->value);
|
| /external/valgrind/memcheck/tests/ |
| dw4.stderr.exp | 23 Address 0x........ is in a rw- anonymous segment 28 Address 0x........ is in a rw- mapped file valgrind-dw4-test.PID segment 33 Address 0x........ is 0 bytes after the brk data segment limit 0x........ 38 Address 0x........ is in the brk data segment 0x........-0x........ 43 Address 0x........ is in the brk data segment 0x........-0x........ 48 Address 0x........ is 1024 bytes after the brk data segment limit 0x........
|
| /external/libvpx/libvpx/ |
| webmenc.h | 29 void *segment; member in struct:EbmlGlobal
|
| /system/core/libcutils/ |
| fs.c | 207 char* segment = buf + 1; local 208 char* p = segment; 213 if (!strcmp(segment, "..") || !strcmp(segment, ".") || !strcmp(segment, "")) { 219 if (fstatat(fd, segment, &sb, AT_SYMLINK_NOFOLLOW) != 0) { 222 if (mkdirat(fd, segment, mode) != 0) { 243 ALOGE("Existing segment not a directory: %s", buf); 249 /* Yay, segment is ready for us to step into */ 251 if ((next_fd = openat(fd, segment, O_NOFOLLOW | O_CLOEXEC)) == -1) [all...] |
| /toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
| ldr-global.s | 1 @ Test pc-relative loads from global objects defined in the same text segment.
|
| /toolchain/binutils/binutils-2.25/gas/testsuite/gas/sh/sh64/ |
| pt-2.s | 1 ! Check inter-segment pt and pta
|
| /toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/ |
| rgn-at3.d | 8 # FAILs on NaCl targets because the linker extends the first segment 11 # text segment.
|
| rgn-over8-ok.d | 8 # FAILs on NaCl targets because the linker extends the first segment 11 # text segment.
|
| /external/okhttp/okio/okio/src/main/java/okio/ |
| Buffer.java | 52 Segment head; 148 Segment s = head; 153 // Copy from one segment at a time. 174 Segment s = head; 179 // Copy one segment at a time. 181 Segment copy = new Segment(s); 206 Segment s = head; 216 Segment toRecycle = s; 241 Segment tail = writableSegment(1) [all...] |
| /external/elfutils/backends/ |
| arm_symbol.c | 41 arm_segment_type_name (int segment, char *buf __attribute__ ((unused)), 44 switch (segment)
|
| ia64_symbol.c | 43 ia64_segment_type_name (int segment, char *buf __attribute__ ((unused)), 46 switch (segment)
|
| /external/valgrind/none/tests/solaris/ |
| coredump_many_segments.c | 202 unsigned int segment = 0; local 203 while ((ranges != NULL) && (segment < SEGMENTS)) { 209 fprintf(stderr, "Mapping failed for segment %u at address " 210 "%" PRIxPTR ".\n", segment, start); 214 segment += 1; 215 if (segment >= SEGMENTS) { 219 if (segment % (SEGMENTS / 10) == 0) { 220 PRINT(" %u0%%", segment / (SEGMENTS / 10)); 226 assert(segment == SEGMENTS);
|
| /frameworks/base/libs/hwui/ |
| Patch.cpp | 111 const float segment = stepY - previousStepY; local 114 y2 = y1 + floorf(segment * stretchY + 0.5f); 116 y2 = y1 + segment * rescaleY; 119 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1)); 159 const float segment = stepX - previousStepX; local 162 x2 = x1 + floorf(segment * stretchX + 0.5f); 164 x2 = x1 + segment * rescaleX; 167 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1));
|
| /toolchain/binutils/binutils-2.25/gas/config/ |
| tc-m32r.h | 56 #define md_relax_frag(segment, fragP, stretch) \ 57 m32r_relax_frag (segment, fragP, stretch)
|
| /toolchain/binutils/binutils-2.25/gas/testsuite/gas/cris/ |
| rd-v32-b3.d | 4 # Check expansion of "ba" into dword operands for different segment.
|