/third_party/boost/libs/spirit/repository/test/qi/ |
D | advance.cpp | 54 using boost::spirit::repository::qi::advance; in main() 59 start = 'a' >> advance(3) >> "bc"; in main() 62 start = (advance(3) | 'q') >> 'i'; in main() 65 start = advance(-1); in main() 68 start = advance(-1) | "qi"; in main() 71 start = advance(0) >> "abc" >> advance(10) >> "nopq" >> advance(0) in main() 72 >> advance(8) >> 'z'; in main() 79 start = byte_ [_a = _1] >> advance(_a) >> "345"; in main() 90 start = byte_ [_a = _1] >> advance(_a) >> "abc"; in main() 95 start = byte_ [_a = _1] >> advance(_a); in main() [all …]
|
/third_party/boost/libs/spirit/repository/doc/qi/ |
D | advance.qbk | 10 [section:advance Qi advance Parser] 14 The __qi__ `advance` is a primitive parser component allowing the parser to 15 skip (advance) through a specified number of iterations without performing 18 advance(distance) 21 cause the parser to advance one iterator at a time while usually performing 38 The `advance` parser component solves this problem by performing as little work 39 as possible to advance the parser's iterator, and will optimize for the case of 43 little_dword[_a = _1] >> advance(_a) >> little_dword... 47 // forwards to <boost/spirit/repository/home/qi/primitive/advance.hpp> 52 advance(distance) [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/ |
D | MILexer.cpp | 51 void advance(unsigned I = 1) { Ptr += I; } in advance() function in __anon016a3aba0111::Cursor 92 C.advance(); in skipWhitespace() 103 C.advance(); in skipComment() 129 C.advance(2); in unescapeQuotedString() 134 C.advance(3); in unescapeQuotedString() 139 C.advance(); in unescapeQuotedString() 147 for (C.advance(); C.peek() != '"'; C.advance()) { in lexStringConstant() 155 C.advance(); in lexStringConstant() 162 C.advance(PrefixLength); in lexName() 175 C.advance(); in lexName() [all …]
|
/third_party/flutter/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 39 SkPath1DPathEffect::SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, in SkPath1DPathEffect() argument 41 SkASSERT(advance > 0 && !path.isEmpty()); in SkPath1DPathEffect() 52 if (phase > advance) { in SkPath1DPathEffect() 53 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect() 56 if (phase > advance) { in SkPath1DPathEffect() 57 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect() 59 phase = advance - phase; in SkPath1DPathEffect() 62 if (phase >= advance) { in SkPath1DPathEffect() 67 fAdvance = advance; in SkPath1DPathEffect() 161 SkScalar advance = buffer.readScalar(); in CreateProc() local [all …]
|
/third_party/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 63 SkPath1DPathEffectImpl(const SkPath& path, SkScalar advance, SkScalar phase, in SkPath1DPathEffectImpl() argument 65 SkASSERT(advance > 0 && !path.isEmpty()); in SkPath1DPathEffectImpl() 75 if (phase > advance) { in SkPath1DPathEffectImpl() 76 phase = SkScalarMod(phase, advance); in SkPath1DPathEffectImpl() 79 if (phase > advance) { in SkPath1DPathEffectImpl() 80 phase = SkScalarMod(phase, advance); in SkPath1DPathEffectImpl() 82 phase = advance - phase; in SkPath1DPathEffectImpl() 85 if (phase >= advance) { in SkPath1DPathEffectImpl() 90 fAdvance = advance; in SkPath1DPathEffectImpl() 108 SkScalar advance = buffer.readScalar(); in CreateProc() local [all …]
|
/third_party/skia/src/pdf/ |
D | SkPDFMakeCIDGlyphWidthsArray.cpp | 130 int16_t advance = (int16_t)glyphs[i]->advanceX(); in SkPDFMakeCIDGlyphWidthsArray() local 134 if (advance == modeAdvance) { in SkPDFMakeCIDGlyphWidthsArray() 144 if (advance != next_advance) { in SkPDFMakeCIDGlyphWidthsArray() 151 result->appendScalar(scale_from_font_units(advance, emSize)); in SkPDFMakeCIDGlyphWidthsArray() 160 advanceArray->appendScalar(scale_from_font_units(advance, emSize)); in SkPDFMakeCIDGlyphWidthsArray() 163 advance = (int16_t)glyphs[j]->advanceX(); in SkPDFMakeCIDGlyphWidthsArray() 166 if (advance == modeAdvance) { in SkPDFMakeCIDGlyphWidthsArray() 182 if (advance == next_advance && dontCares + next_dontCares >= 4) { in SkPDFMakeCIDGlyphWidthsArray() 188 if (j + 2 < glyphs.size() && advance == next_advance) { in SkPDFMakeCIDGlyphWidthsArray() 190 if (advance == next_advance) { in SkPDFMakeCIDGlyphWidthsArray() [all …]
|
/third_party/spirv-tools/test/ |
D | text_advance_test.cpp | 27 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 36 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 45 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 54 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 63 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 72 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 78 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 85 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 94 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 102 EXPECT_EQ(SPV_SUCCESS, data.advance()); in PositionAfterAdvance()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/ |
D | text_advance_test.cpp | 25 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 34 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 43 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 52 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 61 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 70 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 76 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 83 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 92 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 100 EXPECT_EQ(SPV_SUCCESS, data.advance()); in PositionAfterAdvance()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
D | text_advance_test.cpp | 27 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 36 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 45 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 54 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 63 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 72 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 78 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 85 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 94 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 102 EXPECT_EQ(SPV_SUCCESS, data.advance()); in PositionAfterAdvance()
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
D | text_advance_test.cpp | 27 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 36 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 45 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 54 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 63 ASSERT_EQ(SPV_SUCCESS, data.advance()); in TEST() 72 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 78 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 85 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 94 ASSERT_EQ(SPV_END_OF_STREAM, data.advance()); in TEST() 102 EXPECT_EQ(SPV_SUCCESS, data.advance()); in PositionAfterAdvance()
|
/third_party/node/src/ |
D | json_utils.h | 25 inline void advance() { in advance() function 42 advance(); in json_start() 51 advance(); in json_end() 59 advance(); in json_objectstart() 72 advance(); in json_arraystart() 83 advance(); in json_objectend() 95 advance(); in json_arrayend() 103 advance(); in json_keyvalue() 115 advance(); in json_element()
|
/third_party/boost/boost/spirit/repository/home/qi/primitive/ |
D | advance.hpp | 16 BOOST_SPIRIT_TERMINAL_EX(advance) 25 , terminal_ex<repository::qi::tag::advance, fusion::vector1<A0> > > 30 struct use_lazy_terminal<qi::domain, repository::qi::tag::advance, 1> 68 return advance(first, last, iterator_category()); in parse() 82 bool advance(Iterator& first, Iterator const& last in advance() function 99 bool advance(Iterator& first, Iterator const& last in advance() function 118 terminal_ex<repository::qi::tag::advance, fusion::vector1<A0> >
|
/third_party/boost/boost/fusion/view/transform_view/detail/ |
D | advance_impl.hpp | 38 typedef typename result_of::advance<first_type, Dist>::type advanced_type; 46 return type(boost::fusion::advance<Dist>(i.first), i.f); in call() 60 typedef typename result_of::advance<first1_type, Dist>::type advanced1_type; 61 typedef typename result_of::advance<first2_type, Dist>::type advanced2_type; 70 boost::fusion::advance<Dist>(i.first1) in call() 71 , boost::fusion::advance<Dist>(i.first2), i.f); in call()
|
/third_party/boost/boost/python/ |
D | slice.hpp | 156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices() 163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices() 175 std::advance( ret.stop, -1); in get_indices() 187 std::advance( ret.stop, i+1); in get_indices() 191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices() 200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices() 204 std::advance( ret.stop, i-1); in get_indices() 234 std::advance( ret.stop, remainder); in get_indices() 238 std::advance( ret.stop, -remainder); in get_indices()
|
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/ |
D | Measurement.cpp | 38 float advance = 0.0f; in getRunAdvance() local 44 advance += charAdvance; in getRunAdvance() 71 advance -= clusterWidth * numGraphemeClustersAfter / numGraphemeClusters; in getRunAdvance() 74 return advance; in getRunAdvance() 97 float advance) { in getOffsetForAdvance() argument 110 if (x > advance) { in getOffsetForAdvance() 124 + xSearchStart - advance; in getOffsetForAdvance()
|
/third_party/boost/libs/mpl/doc/src/refmanual/ |
D | advance.rst | 1 .. Iterators/Iterator Metafunctions//advance |10 3 advance title 15 struct advance 34 #include <boost/mpl/advance.hpp> 43 | ``Iterator`` | |Forward Iterator| | An iterator to advance. | 62 typedef advance<iter,n>::type j; 114 typedef advance<first,int_<10> >::type i1; 115 typedef advance<last,int_<-10> >::type i2;
|
D | RandomAccessIterator.rst | 36 | ``advance<i,n>::type`` | |Random Access Iterator| | Amortized constant time … 47 typedef advance<i,n>::type j; 50 See ``advance`` specification 69 * If ``advance<i,n>::type`` is well-defined, then 70 ``advance< advance<i,n>::type, negate<n>::type >::type`` is a null operation. 76 |Iterators|, |Bidirectional Iterator|, |Random Access Sequence|, |advance|, |distance|
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
D | pfrsbit.c | 412 FT_Long xpos, ypos, advance; in pfr_load_bitmap_metrics() local 423 advance = 0; in pfr_load_bitmap_metrics() 492 advance = scaled_advance; in pfr_load_bitmap_metrics() 497 advance = PFR_NEXT_INT8( p ) * 256; in pfr_load_bitmap_metrics() 502 advance = PFR_NEXT_SHORT( p ); in pfr_load_bitmap_metrics() 507 advance = PFR_NEXT_LONG( p ); in pfr_load_bitmap_metrics() 518 *aadvance = advance; in pfr_load_bitmap_metrics() 656 FT_Long xpos = 0, ypos = 0, advance = 0; in pfr_slot_load_bitmap() local 662 advance = character->advance; in pfr_slot_load_bitmap() 664 advance = FT_MulDiv( advance, in pfr_slot_load_bitmap() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/pfr/ |
D | pfrsbit.c | 412 FT_Long xpos, ypos, advance; in pfr_load_bitmap_metrics() local 423 advance = 0; in pfr_load_bitmap_metrics() 492 advance = scaled_advance; in pfr_load_bitmap_metrics() 497 advance = PFR_NEXT_INT8( p ) * 256; in pfr_load_bitmap_metrics() 502 advance = PFR_NEXT_SHORT( p ); in pfr_load_bitmap_metrics() 507 advance = PFR_NEXT_LONG( p ); in pfr_load_bitmap_metrics() 518 *aadvance = advance; in pfr_load_bitmap_metrics() 656 FT_Long xpos = 0, ypos = 0, advance = 0; in pfr_slot_load_bitmap() local 662 advance = character->advance; in pfr_slot_load_bitmap() 664 advance = FT_MulDiv( advance, in pfr_slot_load_bitmap() [all …]
|
/third_party/freetype/src/pfr/ |
D | pfrsbit.c | 412 FT_Long xpos, ypos, advance; in pfr_load_bitmap_metrics() local 423 advance = 0; in pfr_load_bitmap_metrics() 492 advance = scaled_advance; in pfr_load_bitmap_metrics() 497 advance = PFR_NEXT_INT8( p ) * 256; in pfr_load_bitmap_metrics() 502 advance = PFR_NEXT_SHORT( p ); in pfr_load_bitmap_metrics() 507 advance = PFR_NEXT_LONG( p ); in pfr_load_bitmap_metrics() 518 *aadvance = advance; in pfr_load_bitmap_metrics() 656 FT_Long xpos = 0, ypos = 0, advance = 0; in pfr_slot_load_bitmap() local 662 advance = character->advance; in pfr_slot_load_bitmap() 664 advance = FT_MulDiv( advance, in pfr_slot_load_bitmap() [all …]
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluVarTypeUtil.cpp | 39 advance(); in VarTokenizer() 51 void VarTokenizer::advance (void) in advance() function in glu::VarTokenizer 102 tokenizer.advance(); in parseTypePath() 111 tokenizer.advance(); in parseTypePath() 126 tokenizer.advance(); in parseTypePath() 130 tokenizer.advance(); in parseTypePath() 153 tokenizer.advance(); in parseTypePath() 155 tokenizer.advance(); in parseTypePath()
|
/third_party/boost/boost/proto/functional/std/ |
D | iterator.hpp | 21 struct advance struct 30 std::advance(x, n); in operator ()() 93 return std::advance( in operator ()() 105 return std::advance(x, n); in operator ()() 140 return std::advance( in operator ()() 152 return std::advance(x, -n); in operator ()()
|
/third_party/boost/boost/fusion/iterator/ |
D | advance.hpp | 51 struct apply : Iterator::template advance<Iterator, N> {}; 72 struct advance struct 87 inline typename result_of::advance<Iterator, N>::type const 88 advance(Iterator const& i) in advance() function 90 return result_of::advance<Iterator, N>::call(i); in advance()
|
/third_party/icu/icu4c/source/test/perf/leperf/ |
D | SimpleFontInstance.cpp | 60 void SimpleFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const in getGlyphAdvance() 64 advance.fX = xUnitsToPoints(2048); in getGlyphAdvance() 66 advance.fX = 0; in getGlyphAdvance() 69 advance.fX = xUnitsToPoints(2048); in getGlyphAdvance() 72 advance.fY = 0; in getGlyphAdvance()
|
/third_party/icu/icu4c/source/test/letest/ |
D | SimpleFontInstance.cpp | 61 void SimpleFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const in getGlyphAdvance() 65 advance.fX = xUnitsToPoints(2048); in getGlyphAdvance() 67 advance.fX = 0; in getGlyphAdvance() 71 advance.fX = xUnitsToPoints(2048); in getGlyphAdvance() 74 advance.fY = 0; in getGlyphAdvance()
|