Searched defs:segment (Results 76 - 100 of 172) sorted by relevance

1234567

/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/
H A Dttgxvar.c287 GX_AVarSegment segment; local
314 segment = &blend->avar_segment[0];
315 for ( i = 0; i < axisCount; ++i, ++segment )
317 segment->pairCount = FT_GET_USHORT();
318 if ( FT_NEW_ARRAY( segment->correspondence, segment->pairCount ) )
331 for ( j = 0; j < segment->pairCount; ++j )
333 segment->correspondence[j].fromCoord =
335 segment->correspondence[j].toCoord =
/external/replicaisland/src/com/replica/replicaisland/
H A DCollisionSystem.java95 * The first intersecting segment that is found is returned; in the case where more than one
96 * segment is found, the segment closest to the start point is returned.
429 * returns the closest intersecting segment, if any exists.
443 LineSegment segment = (LineSegment)segmentArray[x];
448 movementDirection.dot(segment.mNormal) : -1.0f;
451 (excludeObject == null || segment.owner != excludeObject) &&
452 segment.calculateIntersection(startPoint, endPoint, hitPoint)) {
458 normalX = segment.mNormal.x;
459 normalY = segment
849 addSegment(LineSegment segment) argument
[all...]
/external/skia/src/pathops/
H A DSkOpContour.cpp20 // or needs to check to see if the self-intersection bit was set on the cubic segment
231 const SkOpSegment& segment = fSegments[index]; local
233 *point = segment.pts()[0];
235 *point = segment.pts()[SkPathOpsVerbToPoints(segment.verb())];
H A DSkPathOpsDebug.cpp159 const SkOpSegment* segment = next->fSegment; local
160 bool operandsMatch = firstOperand == segment->operand();
161 signSum += operandsMatch ? segment->spanSign(next) : segment->oppSign(next);
162 oppSum += operandsMatch ? segment->oppSign(next) : segment->spanSign(next);
163 const SkOpSpan& span = segment->span(SkMin32(next->fStart, next->fEnd));
164 if (segment->_xor()) {
168 if (segment->oppXor()) {
187 const SkOpSegment* segment local
232 const SkOpSegment* segment = next->fSegment; local
[all...]
/external/skia/tests/
H A DPathOpsAngleIdeas.cpp411 static void ConstructQuad(SkOpSegment* segment, SkPoint shortQuad[3]) { argument
412 segment->debugConstructQuad(shortQuad);
H A DPathOpsDebug.cpp88 void SkOpAngle::dumpTo(const SkOpSegment* segment, const SkOpAngle* to) const { argument
95 if (segment == next->fSegment) {
191 const SkOpSegment& segment = fSegments[test]; local
192 if (segment.debugID() == index) {
210 const SkOpSegment& segment = fSegments[test]; local
211 if (segment.debugID() == index) {
490 const SkOpSegment* segment = oSpan.fOther; local
491 SkDebugf("((SkOpSegment*) 0x%p) [%d] ", segment, segment->debugID());
581 const SkOpSegment* segment local
[all...]
/external/chromium_org/third_party/codesighs/
H A Dmaptsvdifftool.c141 ** What type of data a segment holds.
392 char segment[0x40]; local
414 segment,
434 ERROR_REPORT(retval, segClass, "Unable to determine segment class.");
444 ** the segment
490 if(0 == strcmp(segment, theModule->mSegments[segmentIndex].mSegment))
508 theModule->mSegments[segmentIndex].mSegment = strdup(segment);
512 ERROR_REPORT(retval, segment, "Unable to duplicate string.");
518 ERROR_REPORT(retval, inOptions->mProgramName, "Unable to increase segment array.");
697 ** Go through and perform the steps on each section/segment
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dustring.cpp1354 /* Append an escape-free segment of the text; used by u_unescape() */
1369 const char *segment = src; local
1380 if (src != segment) {
1383 segment, (int32_t)(src - segment));
1385 i += (int32_t)(src - segment);
1398 segment = src;
1403 if (src != segment) {
1406 segment, (int32_t)(src - segment));
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dframe.c305 const int segment = it->mb_->segment_; local
346 it->bit_count_[segment][i16] += it->luma_bits_;
347 it->bit_count_[segment][2] += it->uv_bits_;
533 VP8SetSegmentParams(enc, q); // setup segment quantizations and filters
534 SetSegmentProbas(enc); // compute segment probabilities
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_aaline.c332 * Draw an AA line segment (called many times per line when stippling)
335 segment(struct gl_context *ctx, function
342 /* compute the actual segment's endpoints */
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/
H A Dcmap_table.cc607 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, argument
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) { argument
644 if (!IsValidIndex(segment)) {
736 EndCode(int32_t segment) argument
747 IsValidIndex(int32_t segment) argument
758 IdDelta(int32_t segment) argument
764 IdRangeOffset(int32_t segment) argument
770 IdRangeOffsetLocation(int32_t segment) argument
982 Ptr<Segment> segment = new Segment; local
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpAngle.cpp380 const SkOpSegment& segment = *this->segment(); local
381 int ptCount = SkPathOpsVerbToPoints(segment.verb());
382 const SkPoint* pts = segment.pts();
410 const SkOpSegment& segment = index ? *rh.fSegment : *fSegment; local
412 (*CurveIntersectRay[index ? rPts : lPts])(segment.pts(), rays[index], &i);
417 double tStart = segment.t(index ? rh.fStart : fStart);
418 double tEnd = segment.t(index ? rh.fComputedEnd : fComputedEnd);
465 const SkOpSegment& segment = index ? *rh.fSegment : *fSegment;
466 const SkDPoint& dPt = segment
878 set(const SkOpSegment* segment, int start, int end) argument
[all...]
H A DSkPathOpsCommon.cpp142 SkOpSegment* segment = backPtr.fOther; local
147 if (const SkOpAngle* last = segment->activeAngle(*tIndex, tIndex, endIndex, &done,
156 return last->segment();
165 const SkOpAngle* angle = segment->spanToAngle(*tIndex, *endIndex);
174 segment = angle->segment();
175 winding = segment->windSum(angle);
177 int spanWinding = segment->spanSign(angle->start(), angle->end());
191 winding -= firstAngle->segment()->spanSign(firstAngle);
193 segment
[all...]
/external/chromium_org/third_party/skia/tests/
H A DPathOpsDebug.cpp220 void SkOpAngle::dumpTo(const SkOpSegment* segment, const SkOpAngle* to) const { argument
227 if (segment == next->fSegment) {
323 const SkOpSegment& segment = fSegments[test]; local
324 if (segment.debugID() == index) {
342 const SkOpSegment& segment = fSegments[test]; local
343 if (segment.debugID() == index) {
622 const SkOpSegment* segment = oSpan.fOther; local
623 SkDebugf("((SkOpSegment*) 0x%p) [%d] ", segment, segment->debugID());
713 const SkOpSegment* segment local
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dexpr.c215 * symrec term pairs (where both symrecs are in the same segment).
261 /* Now look for a symrec term in the same segment */
869 /* Check for SEG of SEG:OFF, if we match, simplify to just the segment */
1492 const char *segment = NULL; local
1505 if ((segment = yasm_expr_segment(e->terms[i].data.expn))) {
1515 return segment;
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/
H A Dx86arch.h284 yasm_value segment; /* target segment */ member in struct:x86_jmpfar
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/
H A Drdf-objfmt.c73 RDF_RELOC_SEG /* segment containing symbol */
99 unsigned int segment; /* assigned RDF "segment" index */ member in struct:rdf_symrec_data
126 unsigned long indx; /* symbol "segment" (extern/common only) */
151 rdf_objfmt_sym_set_data(yasm_symrec *sym, unsigned int segment) argument
155 rsymd->segment = segment;
250 * segment number.
268 reloc->refseg = rsymd->segment;
575 YASM_WRITE_8(localbuf, scnum); /* segment referre
[all...]
/external/elfutils/0.153/src/
H A Dld.c1473 struct output_segment *segment = ld_state.output_segments->next; local
1478 for (orule = segment->output_rules; orule != NULL; orule = orule->next)
1577 segment = segment->next;
1579 while (segment != ld_state.output_segments->next);
/external/guava/guava-tests/test/com/google/common/collect/
H A DMapMakerInternalMapTest.java164 // share capacity over each segment, then round up to nearest power of two
383 Segment<Object, Object> segment = map.segments[0];
395 ReferenceEntry<Object, Object> entry = segment.getEntry(one, hash);
519 Segment<Object, Object> segment = map.segments[0];
525 AtomicReferenceArray<ReferenceEntry<Object, Object>> table = segment.table;
532 assertNull(segment.get(key, hash));
536 assertNull(segment.get(key, hash));
537 assertFalse(segment.containsKey(key, hash));
538 assertFalse(segment.containsValue(value));
541 segment
1406 checkAndDrainRecencyQueue(MapMakerInternalMap<K, V> map, Segment<K, V> segment, List<ReferenceEntry<K, V>> reads) argument
1414 checkEvictionQueues(MapMakerInternalMap<K, V> map, Segment<K, V> segment, List<ReferenceEntry<K, V>> readOrder, List<ReferenceEntry<K, V>> writeOrder) argument
[all...]
/external/icu/icu4c/source/common/
H A Dustring.cpp1354 /* Append an escape-free segment of the text; used by u_unescape() */
1369 const char *segment = src; local
1380 if (src != segment) {
1383 segment, (int32_t)(src - segment));
1385 i += (int32_t)(src - segment);
1398 segment = src;
1403 if (src != segment) {
1406 segment, (int32_t)(src - segment));
[all...]
/external/libnfc-nci/src/nfc/tags/
H A Drw_t1t_ndef.c57 static UINT8 rw_t1t_get_lock_bits_for_segment (UINT8 segment,UINT8 *p_start_byte, UINT8 *p_start_bit,UINT8 *p_end_byte);
194 start = p_t1t->segment * T1T_SEGMENT_SIZE;
869 p_t1t->segment = 0;
1206 /* NDEF/Lock/Mem TLV to be found in segment 0, if not assume detection failed */
1250 p_t1t->segment = 0;
1271 p_t1t->segment++;
1285 RW_T1T_BLD_ADDS ((adds), (p_t1t->segment));
1338 p_t1t->segment = (p_t1t->block_read * T1T_BLOCK_SIZE)/T1T_SEGMENT_SIZE;
1359 p_t1t->block_read = ((p_t1t->segment + 1) * T1T_BLOCKS_PER_SEGMENT) - 1;
1389 p_t1t->segment
2006 rw_t1t_get_lock_bits_for_segment(UINT8 segment,UINT8 *p_start_byte, UINT8 *p_start_bit,UINT8 *p_end_byte) argument
[all...]
H A Drw_t2t_ndef.c449 p_t2t->segment = 0;
2059 ** Description This function will update attribute for the current segment
2074 /* Prepare attr for the current segment */
2077 /* calculate offset where the current segment starts in the tag */
2078 lower_offset = p_t2t->segment * RW_T2T_SEGMENT_BYTES;
2079 /* calculate offset where the current segment ends in the tag */
2080 upper_offset = (p_t2t->segment + 1) * RW_T2T_SEGMENT_BYTES;
2084 * for every lock byte that is present in the current segment */
2091 /* Calculate offset in the current segment as p_t2t->attr is prepared for one segment onl
2145 rw_t2t_get_lock_bits_for_segment(UINT8 segment, UINT8 *p_start_byte, UINT8 *p_start_bit, UINT8 *p_end_byte) argument
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_aaline.c332 * Draw an AA line segment (called many times per line when stippling)
335 segment(struct gl_context *ctx, function
342 /* compute the actual segment's endpoints */
/external/pdfium/core/src/fpdftext/
H A Dfpdf_text.cpp114 CFX_ByteString segment; local
127 topy, bottomy, spacew, fontsize_v, segment, pFont);
129 segment = "";
135 topy, bottomy, spacew, fontsize_v, segment, pFont);
136 segment = "";
138 pFont->AppendChar(segment, ' ');
140 if (segment.GetLength() == 0) {
144 pFont->AppendChar(segment, charcode);
149 if (segment.GetLength())
151 topy, bottomy, spacew, fontsize_v, segment, pFon
[all...]
/external/robolectric/src/main/java/android/net/
H A DUri__FromAndroid.java304 * Gets the decoded last segment in the path.
306 * @return the decoded last segment or null if the path is empty
913 * Wrapper for path segment array.
949 void add(String segment) { argument
958 segments[size++] = segment;
1362 * Encodes the given segment and appends it to the path.
1369 * Appends the given segment to the path.
2098 // This check keeps us from adding a segment if the path starts
2099 // '/' and an empty segment for "//".
2108 // Add in the final path segment
[all...]

Completed in 2492 milliseconds

1234567