Home
last modified time | relevance | path

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

/external/chromium_org/mojo/public/cpp/bindings/tests/
Dconnector_unittest.cc115 const char kText[] = "hello world"; in TEST_F() local
118 AllocMessage(kText, &message); in TEST_F()
133 std::string(kText), in TEST_F()
141 const char kText[] = "hello world"; in TEST_F() local
144 AllocMessage(kText, &message); in TEST_F()
159 std::string(kText), in TEST_F()
170 const char kText[] = "hello world"; in TEST_F() local
173 AllocMessage(kText, &message); in TEST_F()
185 std::string(kText), in TEST_F()
193 const char* kText[] = { "hello", "world" }; in TEST_F() local
[all …]
Dtype_conversion_unittest.cc91 const char kText[6] = "hello"; in TEST() local
93 String a = std::string(kText); in TEST()
94 String b(kText); in TEST()
95 String c(static_cast<const char*>(kText)); in TEST()
97 EXPECT_EQ(std::string(kText), a.To<std::string>()); in TEST()
98 EXPECT_EQ(std::string(kText), b.To<std::string>()); in TEST()
99 EXPECT_EQ(std::string(kText), c.To<std::string>()); in TEST()
121 const std::string kText("hel\0lo", 6); in TEST() local
123 String a(kText); in TEST()
124 EXPECT_EQ(kText, a.To<std::string>()); in TEST()
[all …]
/external/chromium_org/third_party/skia/gm/
Dglyph_pos.cpp18 static const char kText[] = "Proportional Hamburgefons #% fi"; variable
130 SkScalar advance = paint.measureText(kText, sizeof(kText) - 1, &bounds); in drawTestCase()
148 canvas->drawText(kText, sizeof(kText) - 1, 0.0f, 0.0f, paint); in drawTestCase()
151 SkScalar widths[sizeof(kText) - 1]; in drawTestCase()
152 paint.getTextWidths(kText, sizeof(kText) - 1, widths, NULL); in drawTestCase()
160 for (size_t i = 0; i < sizeof(kText) - 1; ++i) { in drawTestCase()
Dshadertext3.cpp44 static const char kText[] = "B"; variable
45 static const int kTextLen = SK_ARRAY_COUNT(kText) - 1;
118 canvas->drawText(kText, kTextLen, 0, 0, fillPaint); in onDraw()
119 canvas->drawText(kText, kTextLen, 0, 0, outlinePaint); in onDraw()
120 SkScalar w = fillPaint.measureText(kText, kTextLen); in onDraw()
Dshadertext2.cpp58 static const char kText[] = "SKIA"; in onDraw() local
59 static const int kTextLen = SK_ARRAY_COUNT(kText) - 1; in onDraw()
104 SkScalar w = fillPaint.measureText(kText, kTextLen); in onDraw()
161 canvas->drawText(kText, kTextLen, 0, 0, paint); in onDraw()
162 canvas->drawText(kText, kTextLen, 0, 0, outlinePaint); in onDraw()
177 canvas->drawTextOnPath(kText, kTextLen, path, NULL, paint); in onDraw()
178 canvas->drawTextOnPath(kText, kTextLen, path, NULL, outlinePaint); in onDraw()
/external/chromium_org/mojo/common/
Dcommon_type_converters_unittest.cc39 std::string kText("hello world"); in TEST() local
41 base::StringPiece string_piece(kText); in TEST()
44 ExpectEqualsMojoString(kText, mojo_string); in TEST()
45 ExpectEqualsStringPiece(kText, mojo_string.To<base::StringPiece>()); in TEST()
48 ExpectEqualsMojoString(kText, String::From(string_piece)); in TEST()
49 ExpectEqualsStringPiece(kText, mojo_string.To<base::StringPiece>()); in TEST()
/external/chromium_org/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()
/external/skia/gm/
Dshadertext3.cpp44 static const char kText[] = "B"; variable
45 static const int kTextLen = SK_ARRAY_COUNT(kText) - 1;
116 canvas->drawText(kText, kTextLen, 0, 0, fillPaint); in onDraw()
117 canvas->drawText(kText, kTextLen, 0, 0, outlinePaint); in onDraw()
118 SkScalar w = fillPaint.measureText(kText, kTextLen); in onDraw()
Dshadertext2.cpp58 static const char kText[] = "SKIA"; in onDraw() local
59 static const int kTextLen = SK_ARRAY_COUNT(kText) - 1; in onDraw()
102 SkScalar w = fillPaint.measureText(kText, kTextLen); in onDraw()
158 canvas->drawText(kText, kTextLen, 0, 0, paint); in onDraw()
159 canvas->drawText(kText, kTextLen, 0, 0, outlinePaint); in onDraw()
174 canvas->drawTextOnPath(kText, kTextLen, path, NULL, paint); in onDraw()
175 canvas->drawTextOnPath(kText, kTextLen, path, NULL, outlinePaint); in onDraw()
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_message_filter_unittest.cc83 static const base::string16 kText = base::ASCIIToUTF16("Helllo warld."); in TEST() local
101 kRouteId, kCallbackId, kMarkers, kSuccess, kText, results); in TEST()
114 EXPECT_EQ(kText, sent_text); in TEST()
Dfeedback_sender_unittest.cc33 const char kText[] = "Helllo world."; variable
99 base::UTF8ToUTF16(kText), in AddPendingFeedback()
266 base::UTF8ToUTF16(kText), in TEST_F()
315 base::UTF8ToUTF16(kText), in TEST_F()
352 kRendererProcessId, base::UTF8ToUTF16(kText), original_markers, &results); in TEST_F()
514 kRendererProcessId, base::UTF8ToUTF16(kText), markers, &results); in TEST_F()
584 base::UTF8ToUTF16(kText), in TEST_F()
/external/chromium_org/ui/base/x/
Dselection_utils.cc21 const char kText[] = "TEXT"; variable
29 kText,
40 atoms.push_back(atom_cache->GetAtom(kText)); in GetTextAtomsFrom()
201 type_ == atom_cache_.GetAtom(kText) || in GetText()
Dselection_utils.h27 extern const char kText[];
/external/chromium_org/device/nfc/
Dnfc_chromeos_unittest.cc664 const char kText[] = "text"; in TEST_F() local
673 data.SetString(NfcNdefRecord::kFieldText, kText); in TEST_F()
690 EXPECT_EQ(kText, string_value); in TEST_F()
723 title->SetString(NfcNdefRecord::kFieldText, kText); in TEST_F()
743 EXPECT_EQ(kText, string_value); in TEST_F()
759 const char kText[] = "text"; in TEST_F() local
771 record_properties.representation.ReplaceValue(kText); in TEST_F()
784 EXPECT_EQ(kText, string_value); in TEST_F()
820 record_properties.representation.ReplaceValue(kText); in TEST_F()
855 EXPECT_EQ(kText, string_value); in TEST_F()
/external/chromium_org/media/filters/
Dsource_buffer_stream.h52 kText enumerator
Dsource_buffer_stream.cc64 case SourceBufferStream::kText: in TypeToGapPolicy()
1356 case kText: in GetStreamTypeName()
1369 return kText; in GetType()
Dsource_buffer_stream_unittest.cc274 case SourceBufferStream::kText: in CheckExpectedBuffers()
/external/chromium_org/ui/base/dragdrop/
Dos_exchange_data_provider_aurax11.cc35 kText,
138 format_map_.Insert(atom_cache_.GetAtom(kText), mem); in SetString()
/external/chromium_org/ui/base/clipboard/
Dclipboard_aurax11.cc56 kText,
768 aurax11_details_->InsertMapping(kText, mem); in WriteText()
/external/chromium_org/ui/views/
Dview_unittest.cc1137 const base::string16 kText = ASCIIToUTF16( in TEST_F() local
1151 textfield->SetText(kText); in TEST_F()
1152 EXPECT_EQ(kText, textfield->text()); in TEST_F()
1154 EXPECT_EQ(kText + kExtraText, textfield->text()); in TEST_F()
1159 textfield->SetText(kText); in TEST_F()
1162 EXPECT_EQ(kText, textfield->text()); in TEST_F()