Home
last modified time | relevance | path

Searched refs:advance (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/external/guava/guava-tests/test/com/google/common/base/
DStopwatchTest.java87 ticker.advance(1); in testReset_new()
90 ticker.advance(2); in testReset_new()
93 ticker.advance(3); in testReset_new()
98 ticker.advance(1); in testReset_whileRunning()
101 ticker.advance(2); in testReset_whileRunning()
105 ticker.advance(3); in testReset_whileRunning()
110 ticker.advance(78); in testElapsedTime_whileRunning()
114 ticker.advance(345); in testElapsedTime_whileRunning()
119 ticker.advance(1); in testElapsedTime_notRunning()
121 ticker.advance(4); in testElapsedTime_notRunning()
[all …]
/external/tcpdump/
Dprint-lwres.c221 int advance; in lwres_printnamelen() local
226 advance = lwres_printname(l, p + 2); in lwres_printnamelen()
227 if (advance < 0) in lwres_printnamelen()
229 return 2 + advance; in lwres_printnamelen()
304 int advance; in lwres_print() local
391 advance = lwres_printname(l, s); in lwres_print()
392 if (advance < 0) in lwres_print()
394 s += advance; in lwres_print()
408 advance = lwres_printaddr(&gnba->addr); in lwres_print()
409 if (advance < 0) in lwres_print()
[all …]
Dprint-pim.c625 int advance; in pimv2_print() local
721 int advance; in pimv2_print() local
724 advance = pimv2_addr_print(ptr, pimv2_unicast, 0); in pimv2_print()
725 if (advance < 0) { in pimv2_print()
729 ptr += advance; in pimv2_print()
788 if ((advance = pimv2_addr_print(bp, pimv2_group, 0)) < 0) { in pimv2_print()
792 bp += advance; len -= advance; in pimv2_print()
796 if ((advance = pimv2_addr_print(bp, pimv2_unicast, 0)) < 0) { in pimv2_print()
800 bp += advance; len -= advance; in pimv2_print()
855 if ((advance = pimv2_addr_print(bp, pimv2_unicast, 0)) < 0) { in pimv2_print()
[all …]
Dprint-ip6.c53 register int advance; in ip6_print() local
111 advance = sizeof(struct ip6_hdr); in ip6_print()
113 while (cp < snapend && advance > 0) { in ip6_print()
114 cp += advance; in ip6_print()
115 len -= advance; in ip6_print()
126 advance = hbhopt_print(cp); in ip6_print()
130 advance = dstopt_print(cp); in ip6_print()
134 advance = frag6_print(cp, (const u_char *)ip6); in ip6_print()
135 if (snapend <= cp + advance) in ip6_print()
153 advance = mobility_print(cp, (const u_char *)ip6); in ip6_print()
[all …]
Dprint-bgp.c876 int advance; in bgp_attr_print() local
1214 advance = decode_prefix4(tptr, buf, sizeof(buf)); in bgp_attr_print()
1215 if (advance == -1) in bgp_attr_print()
1217 else if (advance == -2) in bgp_attr_print()
1223 advance = decode_labeled_prefix4(tptr, buf, sizeof(buf)); in bgp_attr_print()
1224 if (advance == -1) in bgp_attr_print()
1226 else if (advance == -2) in bgp_attr_print()
1234 advance = decode_labeled_vpn_prefix4(tptr, buf, sizeof(buf)); in bgp_attr_print()
1235 if (advance == -1) in bgp_attr_print()
1237 else if (advance == -2) in bgp_attr_print()
[all …]
Dprint-ip.c371 int advance; member
385 ipds->advance = ah_print(ipds->cp); in ip_print_demux()
386 if (ipds->advance <= 0) in ip_print_demux()
388 ipds->cp += ipds->advance; in ip_print_demux()
389 ipds->len -= ipds->advance; in ip_print_demux()
395 ipds->advance = esp_print(ndo, ipds->cp, ipds->len, in ip_print_demux()
398 if (ipds->advance <= 0) in ip_print_demux()
400 ipds->cp += ipds->advance; in ip_print_demux()
401 ipds->len -= ipds->advance + padlen; in ip_print_demux()
409 ipds->advance = ipcomp_print(ipds->cp, &enh); in ip_print_demux()
[all …]
Dprint-ipcomp.c57 int advance; in ipcomp_print() local
83 advance = sizeof(struct ipcomp); in ipcomp_print()
86 return advance; in ipcomp_print()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheExpirationTest.java136 ticker.advance(EXPIRING_TIME * 10, MILLISECONDS); in runExpirationTest()
204 ticker.advance(1, MILLISECONDS); in testRemovalListener_expireAfterWrite()
260 ticker.advance(1, MILLISECONDS); in testExpirationOrder_access()
266 ticker.advance(1, MILLISECONDS); in testExpirationOrder_access()
272 ticker.advance(2, MILLISECONDS); in testExpirationOrder_access()
276 ticker.advance(1, MILLISECONDS); in testExpirationOrder_access()
285 ticker.advance(1, MILLISECONDS); in testExpirationOrder_access()
287 ticker.advance(1, MILLISECONDS); in testExpirationOrder_access()
291 ticker.advance(1, MILLISECONDS); in testExpirationOrder_access()
293 ticker.advance(1, MILLISECONDS); in testExpirationOrder_access()
[all …]
DCacheRefreshTest.java47 ticker.advance(1, MILLISECONDS); in testAutoRefresh()
57 ticker.advance(1, MILLISECONDS); in testAutoRefresh()
67 ticker.advance(1, MILLISECONDS); in testAutoRefresh()
75 ticker.advance(1, MILLISECONDS); in testAutoRefresh()
83 ticker.advance(1, MILLISECONDS); in testAutoRefresh()
91 ticker.advance(1, MILLISECONDS); in testAutoRefresh()
/external/skia/src/effects/
DSk1DPathEffect.cpp33 SkPath1DPathEffect::SkPath1DPathEffect(const SkPath& path, SkScalar advance, in SkPath1DPathEffect() argument
36 if (advance <= 0 || path.isEmpty()) { in SkPath1DPathEffect()
46 if (phase > advance) { in SkPath1DPathEffect()
47 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
50 if (phase > advance) { in SkPath1DPathEffect()
51 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
53 phase = advance - phase; in SkPath1DPathEffect()
56 if (phase >= advance) { in SkPath1DPathEffect()
61 fAdvance = advance; in SkPath1DPathEffect()
/external/chromium_org/third_party/skia/src/effects/
DSk1DPathEffect.cpp33 SkPath1DPathEffect::SkPath1DPathEffect(const SkPath& path, SkScalar advance, in SkPath1DPathEffect() argument
36 if (advance <= 0 || path.isEmpty()) { in SkPath1DPathEffect()
46 if (phase > advance) { in SkPath1DPathEffect()
47 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
50 if (phase > advance) { in SkPath1DPathEffect()
51 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
53 phase = advance - phase; in SkPath1DPathEffect()
56 if (phase >= advance) { in SkPath1DPathEffect()
61 fAdvance = advance; in SkPath1DPathEffect()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/read/
DBitstreamReader.java55 advance(); in read1Bit()
88 private void advance() throws IOException { in advance() method in BitstreamReader
101 advance(); in readByte()
106 advance(); in readByte()
118 advance(); in moreRBSPData()
149 advance(); in peakNextBits()
/external/icu4c/test/letest/
DSimpleFontInstance.cpp54 void SimpleFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const in getGlyphAdvance()
58 advance.fX = xUnitsToPoints(2048); in getGlyphAdvance()
60 advance.fX = 0; in getGlyphAdvance()
63 advance.fX = xUnitsToPoints(2048); in getGlyphAdvance()
66 advance.fY = 0; in getGlyphAdvance()
/external/chromium_org/third_party/icu/source/test/letest/
DSimpleFontInstance.cpp54 void SimpleFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const in getGlyphAdvance()
58 advance.fX = xUnitsToPoints(2048); in getGlyphAdvance()
60 advance.fX = 0; in getGlyphAdvance()
63 advance.fX = xUnitsToPoints(2048); in getGlyphAdvance()
66 advance.fY = 0; in getGlyphAdvance()
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dunicodestring.cc23 using std::advance;
64 advance(start_it, start); in replace()
68 advance(start_it, length); in replace()
77 advance(pos_it, pos); in setCharAt()
95 advance(start_it, start); in tempSubString()
97 advance(end_it, length); in tempSubString()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DComplexTextController.cpp56 m_controller->advance(from, 0, ByWholeGlyphs, fallbackFonts); in width()
60 m_controller->advance(from + len, 0, ByWholeGlyphs, fallbackFonts); in width()
486 void ComplexTextController::advance(unsigned offset, GlyphBuffer* glyphBuffer, GlyphIterationStyle … in advance() function in WebCore::ComplexTextController
615 … CGSize advance = treatAsSpace ? CGSizeMake(spaceWidth, advances[i].height) : advances[i]; in adjustGlyphsAndAdvances() local
618advance.width = m_font.tabWidth(*fontData, m_run.tabSize(), m_run.xPos() + m_totalWidth + widthSin… in adjustGlyphsAndAdvances()
620 advance.width = 0; in adjustGlyphsAndAdvances()
624 float roundedAdvanceWidth = roundf(advance.width); in adjustGlyphsAndAdvances()
626 advance.width = roundedAdvanceWidth; in adjustGlyphsAndAdvances()
628 advance.width += fontData->syntheticBoldOffset(); in adjustGlyphsAndAdvances()
636 advance.width = fontData->adjustedSpaceWidth(); in adjustGlyphsAndAdvances()
[all …]
/external/guava/guava/src/com/google/common/io/
DMultiReader.java38 advance(); in MultiReader()
44 private void advance() throws IOException { in advance() method in MultiReader
57 advance(); in read()
71 advance(); in skip()
DMultiInputStream.java44 advance(); in MultiInputStream()
60 private void advance() throws IOException { in advance() method in MultiInputStream
84 advance(); in read()
96 advance(); in read()
/external/guava/guava-tests/test/com/google/common/testing/
DFakeTickerTest.java41 assertSame(ticker, ticker.advance(10)); in testAdvance()
43 ticker.advance(1, TimeUnit.MILLISECONDS); in testAdvance()
63 ticker.advance(1L); in testConcurrentAdvance()
65 ticker.advance(1L); in testConcurrentAdvance()
/external/chromium_org/third_party/freetype/src/base/
Dftsynth.c136 if ( slot->advance.x ) in FT_GlyphSlot_Embolden()
137 slot->advance.x += xstr; in FT_GlyphSlot_Embolden()
139 if ( slot->advance.y ) in FT_GlyphSlot_Embolden()
140 slot->advance.y += ystr; in FT_GlyphSlot_Embolden()
/external/freetype/src/base/
Dftsynth.c136 if ( slot->advance.x ) in FT_GlyphSlot_Embolden()
137 slot->advance.x += xstr; in FT_GlyphSlot_Embolden()
139 if ( slot->advance.y ) in FT_GlyphSlot_Embolden()
140 slot->advance.y += ystr; in FT_GlyphSlot_Embolden()
/external/guava/guava-testlib/src/com/google/common/testing/
DFakeTicker.java41 public FakeTicker advance(long time, TimeUnit timeUnit) { in advance() method in FakeTicker
42 return advance(timeUnit.toNanos(time)); in advance()
46 public FakeTicker advance(long nanoseconds) { in advance() method in FakeTicker
/external/icu4c/samples/layout/
DScriptCompositeFontInstance.cpp36 void ScriptCompositeFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const in getGlyphAdvance()
42 advance.fX = 0; in getGlyphAdvance()
43 advance.fY = 0; in getGlyphAdvance()
46 font->getGlyphAdvance(LE_GET_GLYPH(glyph), advance); in getGlyphAdvance()
/external/openssh/openbsd-compat/
Dinet_ntop.c122 int advance; in inet_ntop6() local
185 advance = snprintf(tp, ep - tp, "%x", words[i]); in inet_ntop6()
186 if (advance <= 0 || advance >= ep - tp) in inet_ntop6()
188 tp += advance; in inet_ntop6()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DSurroundingText.cpp51 forwardIterator.advance(maxLength - halfMaxLength); in SurroundingText()
64 backwardsIterator.advance(halfMaxLength); in SurroundingText()
85 iterator.advance(startOffsetInContent); in rangeFromContentOffsets()
91 iterator.advance(endOffsetInContent - startOffsetInContent); in rangeFromContentOffsets()

12345678910>>...17