Home
last modified time | relevance | path

Searched refs:kText (Results 1 – 25 of 30) sorted by relevance

12

/external/libchrome/mojo/public/cpp/bindings/tests/
Dconnector_unittest.cc121 const char kText[] = "hello world"; in TEST_F() local
122 Message message = CreateMessage(kText); in TEST_F()
137 std::string(kText), in TEST_F()
147 const char kText[] = "hello world"; in TEST_F() local
148 Message message = CreateMessage(kText); in TEST_F()
162 std::string(kText), in TEST_F()
176 const char kText[] = "hello world"; in TEST_F() local
177 Message message = CreateMessage(kText); in TEST_F()
188 std::string(kText), in TEST_F()
198 const char* kText[] = {"hello", "world"}; in TEST_F() local
[all …]
/external/libchrome/base/
Dbase64_unittest.cc12 const std::string kText = "hello world"; in TEST() local
19 Base64Encode(kText, &encoded); in TEST()
24 EXPECT_EQ(kText, decoded); in TEST()
28 const std::string kText = "hello world"; in TEST() local
30 std::string text(kText); in TEST()
37 EXPECT_EQ(text, kText); in TEST()
/external/skqp/gm/
Dglyph_pos.cpp20 constexpr char kText[] = "Proportional Hamburgefons #% fi"; variable
100 SkScalar advance = font.measureText(kText, sizeof(kText) - 1, kUTF8_SkTextEncoding, in drawTestCase()
119 canvas->drawSimpleText(kText, sizeof(kText) - 1, kUTF8_SkTextEncoding, 0.0f, 0.0f, font, paint); in drawTestCase()
122 const size_t len = sizeof(kText) - 1; in drawTestCase()
124 const int count = font.textToGlyphs(kText, len, kUTF8_SkTextEncoding, glyphs, len); in drawTestCase()
134 for (size_t i = 0; i < sizeof(kText) - 1; ++i) { in drawTestCase()
Dshadertext3.cpp106 constexpr char kText[] = "B"; in onDraw() local
107 canvas->drawString(kText, 0, 0, font, fillPaint); in onDraw()
108 canvas->drawString(kText, 0, 0, font, outlinePaint); in onDraw()
109 SkScalar w = font.measureText(kText, strlen(kText), kUTF8_SkTextEncoding); in onDraw()
/external/skia/gm/
Dglyph_pos.cpp20 constexpr char kText[] = "Proportional Hamburgefons #% fi"; variable
100 SkScalar advance = font.measureText(kText, sizeof(kText) - 1, kUTF8_SkTextEncoding, in drawTestCase()
119 canvas->drawSimpleText(kText, sizeof(kText) - 1, kUTF8_SkTextEncoding, 0.0f, 0.0f, font, paint); in drawTestCase()
122 const size_t len = sizeof(kText) - 1; in drawTestCase()
124 const int count = font.textToGlyphs(kText, len, kUTF8_SkTextEncoding, glyphs, len); in drawTestCase()
134 for (size_t i = 0; i < sizeof(kText) - 1; ++i) { in drawTestCase()
Dshadertext3.cpp106 constexpr char kText[] = "B"; in onDraw() local
107 canvas->drawString(kText, 0, 0, font, fillPaint); in onDraw()
108 canvas->drawString(kText, 0, 0, font, outlinePaint); in onDraw()
109 SkScalar w = font.measureText(kText, strlen(kText), kUTF8_SkTextEncoding); in onDraw()
/external/pdfium/core/fxge/skia/
Dfx_skia_device_unittest.cpp22 enum class Graphic { kNone, kPath, kText }; enumerator
65 } else if (state.m_graphic == State::Graphic::kText) { in CommonTest()
76 else if (state.m_graphic == State::Graphic::kText) in CommonTest()
88 } else if (state.m_graphic == State::Graphic::kText) { in CommonTest()
166 State::Graphic::kText, 0xFF445566}); in TEST()
168 State::Clip::kSame, State::Graphic::kText, 0xFF445566}); in TEST()
Dfx_skia_device.cpp675 kText, enumerator
714 if (Accumulator::kText == m_type || drawIndex != m_commandIndex || in DrawPath()
843 (Accumulator::kText == m_type && in DrawText()
848 if (Accumulator::kText != m_type) { in DrawText()
857 m_type = Accumulator::kText; in DrawText()
1170 if (Accumulator::kPath == m_type || Accumulator::kText == m_type) { in Flush()
/external/libbrillo/brillo/
Dmime_utils_unittest.cc12 std::string mime_string = mime::Combine(mime::types::kText, "xml"); in TEST()
41 EXPECT_EQ(mime::types::kText, mime::GetType(mime::text::kPlain)); in TEST()
Dmime_utils.h26 BRILLO_EXPORT extern const char kText[]; // test
Dmime_utils.cc21 const char mime::types::kText[] = "text"; member in brillo::mime::types
/external/skia/bench/
DPDFBench.cpp258 static const char* kText[] = { in big_pdf_test() local
315 constexpr size_t kLineCount = SK_ARRAY_COUNT(kText); in big_pdf_test()
328 canvas->drawString(kText[line], x, y, font, paint); in big_pdf_test()
/external/skqp/bench/
DPDFBench.cpp258 static const char* kText[] = { in big_pdf_test() local
315 constexpr size_t kLineCount = SK_ARRAY_COUNT(kText); in big_pdf_test()
328 canvas->drawString(kText[line], x, y, font, paint); in big_pdf_test()
/external/boringssl/src/crypto/obj/
Dobj_test.cc29 static const char kText[] = "1.2.840.113549.1.1.11"; in TEST() local
41 ASSERT_EQ(kNID, OBJ_txt2nid(kText)); in TEST()
/external/skqp/src/core/
DSkTextToPathIter.h38 kText, enumerator
/external/skia/src/core/
DSkTextToPathIter.h38 kText, enumerator
/external/skia/tools/bookmaker/
Dbookmaker.h154 kText, enumerator
Dcataloger.cpp133 if (!fBmhParser->exampleToScript(def, BmhParser::ExampleOptions::kText, &result)) { in textOut()
DbmhParser.h24 kText, enumerator
DbmhParser.cpp92 , { "", MarkType::kText, R_N, E_N, 0 }
1063 if (ExampleOptions::kText == exampleOptions) { in exampleToScript()
1931 fMarkup.emplace_front(MarkType::kText, start, fLineCount, definition, fMC); in parseHashFormula()
1947 fMarkup.emplace_front(MarkType::kText, start, fLineCount, definition, fMC); in parseHashLine()
/external/skqp/tools/bookmaker/
Dbookmaker.h154 kText, enumerator
Dcataloger.cpp133 if (!fBmhParser->exampleToScript(def, BmhParser::ExampleOptions::kText, &result)) { in textOut()
DbmhParser.h24 kText, enumerator
DbmhParser.cpp92 , { "", MarkType::kText, R_N, E_N, 0 }
1063 if (ExampleOptions::kText == exampleOptions) { in exampleToScript()
1931 fMarkup.emplace_front(MarkType::kText, start, fLineCount, definition, fMC); in parseHashFormula()
1947 fMarkup.emplace_front(MarkType::kText, start, fLineCount, definition, fMC); in parseHashLine()
DspellCheck.cpp304 case MarkType::kText: in check()

12