Home
last modified time | relevance | path

Searched refs:WriteString (Results 1 – 25 of 201) sorted by relevance

123456789

/external/swiftshader/tests/regres/cov/
Dserialization.go51 sb.WriteString(`{`)
59 sb.WriteString(`"r":"` + revision + `"`)
62 sb.WriteString(`,"n":[`)
65 sb.WriteString(`,`)
67 sb.WriteString(`"`)
71 sb.WriteString(`]`)
74 sb.WriteString(`,"t":`)
78 sb.WriteString(`,"s":`)
82 sb.WriteString(`,"f":`)
85 sb.WriteString(`}`)
[all …]
Dtree.go256 sb.WriteString(" ")
258 sb.WriteString(n.name)
260 sb.WriteString(fmt.Sprintf(":%v", child.String(s)))
279 sb.WriteString("{")
281 sb.WriteString(tc.Spans.String())
284 sb.WriteString(" <")
285 sb.WriteString(fmt.Sprintf("%v", *tc.Group))
286 sb.WriteString(">")
289 sb.WriteString(" ")
290 sb.WriteString(tc.Children.String(t, s))
[all …]
/external/boringssl/src/util/fipstools/delocate/
Ddelocate.go49 WriteString(string) (int, error) methodSpec
103 if _, err := d.output.WriteString(d.contents(node)); err != nil {
110 …if _, err := d.output.WriteString(d.commentIndicator + " WAS " + strings.TrimSpace(line) + "\n"); …
242 d.output.WriteString(".text\n")
313 d.output.WriteString("\t" + name + "\t" + strings.Join(args, ", ") + "\n")
317 d.output.WriteString(localEntryName(args[0]) + ":\n")
328 d.output.WriteString(symbol + ":\n")
332 d.output.WriteString(d.mapLocalSymbol(symbol) + ":\n")
334 d.output.WriteString(localTargetName(symbol) + ":\n")
386 d.output.WriteString("\tadr " + targetReg + ", " + symbol + offsetStr + "\n")
[all …]
/external/pdfium/core/fpdfapi/edit/
Dcpdf_creator.cpp43 bool WriteString(ByteStringView str) override;
116 bool CFX_FileBufferArchive::WriteString(ByteStringView str) { in WriteString() function in __anon0d49f9ff0111::CFX_FileBufferArchive
155 if (!m_Archive->WriteDWord(objnum) || !m_Archive->WriteString(" 0 obj\r\n")) in WriteIndirectObj()
165 return m_Archive->WriteString("\r\nendobj\r\n"); in WriteIndirectObj()
242 if (!m_Archive->WriteString("%PDF-1.")) in WriteDoc_Stage1()
252 !m_Archive->WriteString("\r\n%\xA1\xB3\xC5\xD7\r\n")) { in WriteDoc_Stage1()
348 if (!m_Archive->WriteString(str.AsStringView())) in WriteDoc_Stage3()
354 if (!m_Archive->WriteString("xref\r\n")) in WriteDoc_Stage3()
384 if (!m_Archive->WriteString(str.AsStringView())) in WriteDoc_Stage3()
389 if (!m_Archive->WriteString(str.AsStringView())) in WriteDoc_Stage3()
[all …]
/external/boringssl/src/util/
Dembed_test_data.go36 buf.WriteString(`\a`)
38 buf.WriteString(`\b`)
40 buf.WriteString(`\f`)
42 buf.WriteString(`\n`)
44 buf.WriteString(`\r`)
46 buf.WriteString(`\t`)
48 buf.WriteString(`\v`)
50 buf.WriteString(`\"`)
Dgodeps.go52 b.WriteString("\\t")
54 b.WriteString("\\r")
56 b.WriteString("\\n")
67 if _, err := outFile.WriteString(";"); err != nil {
71 if _, err := outFile.WriteString(cMakeQuote(file)); err != nil {
86 b.WriteString("$$")
106 _, err := outFile.WriteString("\n")
/external/boringssl/src/crypto/fipsmodule/ec/
Dmake_tables.go76 if _, err := f.WriteString(fileHeader); err != nil {
82 if _, err := f.WriteString(";\n"); err != nil {
156 if _, err := f.WriteString(fileHeader); err != nil {
162 …if _, err := f.WriteString(";\n#else\nstatic const fiat_p256_felem fiat_p256_g_pre_comp[2][15][2] …
168 if _, err := f.WriteString(";\n#endif\n"); err != nil {
265 if _, err := io.WriteString(w, " "); err != nil {
273 if _, err := io.WriteString(w, "{"); err != nil {
279 if _, err := io.WriteString(w, ",\n"); err != nil {
286 if _, err := io.WriteString(w, ", "); err != nil {
291 if _, err := io.WriteString(w, format(word)); err != nil {
[all …]
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlinstruction.cpp45 pXMLStream->WriteString("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); in Save()
49 pXMLStream->WriteString("<?"); in Save()
50 pXMLStream->WriteString(name_.ToUTF8().AsStringView()); in Save()
51 pXMLStream->WriteString(" "); in Save()
54 pXMLStream->WriteString(target.ToUTF8().AsStringView()); in Save()
55 pXMLStream->WriteString(" "); in Save()
58 pXMLStream->WriteString("?>\n"); in Save()
Dcfx_xmlelement.cpp86 pXMLStream->WriteString("<"); in Save()
87 pXMLStream->WriteString(bsNameEncoded.AsStringView()); in Save()
92 pXMLStream->WriteString( in Save()
97 pXMLStream->WriteString(" />\n"); in Save()
101 pXMLStream->WriteString(">\n"); in Save()
107 pXMLStream->WriteString("</"); in Save()
108 pXMLStream->WriteString(bsNameEncoded.AsStringView()); in Save()
109 pXMLStream->WriteString(">\n"); in Save()
Dcfx_xmlchardata.cpp26 pXMLStream->WriteString("<![CDATA["); in Save()
27 pXMLStream->WriteString(GetText().ToUTF8().AsStringView()); in Save()
28 pXMLStream->WriteString("]]>"); in Save()
/external/libbrillo/brillo/streams/
Dfake_stream_test.cc55 int WriteString(const std::string& data) { in WriteString() function in brillo::FakeStreamTest
306 EXPECT_EQ(-1, WriteString("foo")); in TEST_F()
312 EXPECT_EQ(3, WriteString("foo")); in TEST_F()
313 EXPECT_EQ(3, WriteString("bar")); in TEST_F()
314 EXPECT_EQ(-1, WriteString("baz")); in TEST_F()
323 EXPECT_EQ(3, WriteString("foo")); in TEST_F()
324 EXPECT_EQ(-1, WriteString("bar")); in TEST_F()
327 EXPECT_EQ(3, WriteString("bar")); in TEST_F()
330 EXPECT_EQ(3, WriteString("quux")); in TEST_F()
340 EXPECT_EQ(3, WriteString("foobar")); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system_test.cc42 Status WriteString(const string& fname, const string& content) { in WriteString() function in tensorflow::__anonff307e390111::S3FileSystemTest
164 TF_ASSERT_OK(WriteString(fname, content)); in TEST_F()
202 TF_ASSERT_OK(WriteString(fname, "test")); in TEST_F()
212 TF_ASSERT_OK(WriteString(fname, content)); in TEST_F()
225 TF_ASSERT_OK(WriteString(fname, "test")); in TEST_F()
234 TF_EXPECT_OK(WriteString(file, "test")); in TEST_F()
241 TF_EXPECT_OK(WriteString(subfile, "test")); in TEST_F()
251 TF_ASSERT_OK(WriteString(fname, "test")); in TEST_F()
257 TF_ASSERT_OK(WriteString(fname, "test")); in TEST_F()
270 TF_EXPECT_OK(WriteString(file, "test")); in TEST_F()
[all …]
/external/boringssl/src/crypto/err/
Derr_data_generate.go140 WriteString(string) (int, error) methodSpec
150 out.WriteString("const uint32_t " + values + "[] = {\n")
154 out.WriteString("};\n\n")
155 …out.WriteString("const size_t " + values + "Len = sizeof(" + values + ") / sizeof(" + values + "[0…
158 out.WriteString("const char " + stringData + "[] =\n \"")
161 out.WriteString("\\0\"\n \"")
166 out.WriteString("\";\n\n")
255 out.WriteString(`/* Copyright (c) 2015, Google Inc.
282 out.WriteString("\n")
/external/libchrome/ipc/
Dipc_channel_reader_unittest.cc135 message.WriteString(std::string(LargePayloadSize, 'X')); in TEST()
157 message.WriteString(std::string(LargePayloadSize, 'X')); in TEST()
183 message1.WriteString(std::string(LargePayloadSize * 2, 'X')); in TEST()
188 message2.WriteString(std::string(LargePayloadSize, 'Y')); in TEST()
207 message1.WriteString(std::string(LargePayloadSize, 'Y')); in TEST()
212 message2.WriteString(std::string(LargePayloadSize * 2, 'X')); in TEST()
231 message1.WriteString(std::string(11, 'X')); in TEST()
236 message2.WriteString(std::string(LargePayloadSize, 'Y')); in TEST()
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system_test.cc41 Status WriteString(const string& fname, const string& content) { in WriteString() function in tensorflow::__anone04088430111::HadoopFileSystemTest
72 TF_ASSERT_OK(WriteString(fname, content)); in TEST_F()
118 TF_ASSERT_OK(WriteString(fname, "test")); in TEST_F()
127 TF_EXPECT_OK(WriteString(file, "blah")); in TEST_F()
140 TF_ASSERT_OK(WriteString(fname, "test")); in TEST_F()
146 TF_ASSERT_OK(WriteString(fname, "test")); in TEST_F()
172 TF_ASSERT_OK(WriteString(fname1, "test")); in TEST_F()
183 TF_ASSERT_OK(WriteString(fname2, "test")); in TEST_F()
186 TF_ASSERT_OK(WriteString(fname1, "test")); in TEST_F()
195 TF_ASSERT_OK(WriteString(fname, "test")); in TEST_F()
[all …]
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp77 m_pStream->WriteString(init_str); in StartRendering()
86 m_pStream->WriteString("\nrestore\n"); in EndRendering()
92 m_pStream->WriteString("q\n"); in SaveState()
98 m_pStream->WriteString("Q\n"); in RestoreState()
100 m_pStream->WriteString("q\n"); in RestoreState()
168 m_pStream->WriteString("W"); in SetClip_PathFill()
170 m_pStream->WriteString("*"); in SetClip_PathFill()
171 m_pStream->WriteString(" n\n"); in SetClip_PathFill()
191 m_pStream->WriteString("strokepath W n sm\n"); in SetClip_PathStroke()
226 m_pStream->WriteString("q f Q "); in DrawPath()
[all …]
/external/perfetto/src/tracing/
Dtraced_value_unittest.cc146 dict.AddItem("string").WriteString("string"); in TEST()
147 dict.AddItem("truncated_string").WriteString("truncated_string", 9); in TEST()
194 dict1.AddItem("s1").WriteString("foo"); in TEST()
197 root_dict.AddItem("s0").WriteString("foo"); in TEST()
277 std::move(context).WriteString("T::WriteIntoTracedValue"); in WriteIntoTracedValue()
281 std::move(context).WriteString("T::()"); in operator ()()
290 std::move(context).WriteString("T::WriteIntoTracedValue const"); in WriteIntoTracedValue()
297 std::move(context).WriteString("T::WriteIntoTracedValue"); in WriteIntoTracedValue()
304 std::move(context).WriteString("T::WriteIntoTracedValue"); in WriteIntoTracedValue()
308 std::move(context).WriteString("T::WriteIntoTracedValue const"); in WriteIntoTracedValue()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dxfa_utils.cpp316 pStream->WriteString(buf.MakeString().ToUTF8().AsStringView()); in RegenerateFormFile_Container()
321 pStream->WriteString("<"); in RegenerateFormFile_Container()
322 pStream->WriteString(wsElement.ToUTF8().AsStringView()); in RegenerateFormFile_Container()
342 pStream->WriteString(wsOutput.ToUTF8().AsStringView()); in RegenerateFormFile_Container()
346 pStream->WriteString(" />\n"); in RegenerateFormFile_Container()
350 pStream->WriteString(">\n"); in RegenerateFormFile_Container()
355 pStream->WriteString("</"); in RegenerateFormFile_Container()
356 pStream->WriteString(wsElement.ToUTF8().AsStringView()); in RegenerateFormFile_Container()
357 pStream->WriteString(">\n"); in RegenerateFormFile_Container()
477 pStream->WriteString("<form xmlns=\""); in XFA_DataExporter_RegenerateFormFile()
[all …]
/external/swiftshader/tests/regres/cmd/regres/
Dmain.go739 commitMsg.WriteString(consts.TestListUpdateCommitSubjectPrefix + dailyHash.String()[:8])
740 commitMsg.WriteString("\n\nReactor backend: " + string(reactorBackend))
743 commitMsg.WriteString("\n\n")
744 commitMsg.WriteString("Change-Id: " + existingChange.ChangeID + "\n")
847 sb.WriteString(fmt.Sprintf("Top %v most common failures:\n", len(failures)))
853 sb.WriteString(fmt.Sprintf(" • %d occurrences: %v: %v\n", f.count, f.status, line))
855 sb.WriteString(fmt.Sprintf(" • %d occurrences: %v\n", f.count, f.status))
858 sb.WriteString(fmt.Sprintf(" • %d occurrences: %v:\n", f.count, f.status))
860 sb.WriteString(" > ")
861 sb.WriteString(l)
[all …]
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/hadoop/
Dhadoop_filesystem_test.cc79 void WriteString(const std::string& path, const std::string& content) { in WriteString() function in tensorflow::__anonb2b65b6c0111::HadoopFileSystemTest
125 WriteString(path, content); in TEST_F()
184 WriteString(path, "test"); in TEST_F()
196 WriteString(file, "test"); in TEST_F()
203 WriteString(subfile, "test"); in TEST_F()
221 WriteString(path, "test"); in TEST_F()
229 WriteString(path, "test"); in TEST_F()
263 WriteString(src, "test"); in TEST_F()
278 WriteString(src, "test_old"); in TEST_F()
280 WriteString(dst, "test_new"); in TEST_F()
[all …]
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/s3/
Ds3_filesystem_test.cc148 void WriteString(const std::string& path, const std::string& content) { in WriteString() function in tensorflow::__anon2489a2a20111::S3FilesystemTest
255 WriteString(path, content); in TEST_F()
307 WriteString(path, "test"); in TEST_F()
323 WriteString(path, content); in TEST_F()
350 WriteString(path, "test"); in TEST_F()
362 WriteString(file, "test"); in TEST_F()
369 WriteString(subfile, "test"); in TEST_F()
387 WriteString(path, "test"); in TEST_F()
401 WriteString(file, "test"); in TEST_F()
415 WriteString(file, "test"); in TEST_F()
[all …]
/external/starlark-go/starlark/
Dvalue.go394 buf.WriteString("+inf")
396 buf.WriteString("-inf")
398 buf.WriteString("nan")
409 buf.WriteString(s)
413 buf.WriteString(".0")
419 buf.WriteString(strconv.FormatFloat(ff, conv, 6, 64))
1125 out.WriteString("<nil>") // indicates a bug
1129 out.WriteString("None")
1132 out.WriteString(x.String())
1136 out.WriteString("True")
[all …]
/external/pigweed/pw_protobuf/
Dencoder_test.cc93 EXPECT_EQ(encoder.WriteString(kTestProtoErrorMessageField, "broken ��"), in TEST()
132 EXPECT_EQ(encoder.WriteString(1u << 31, "ha"), Status::InvalidArgument()); in TEST()
151 EXPECT_EQ(encoder.WriteString(kNestedProtoHelloField, "world"), OkStatus()); in TEST()
159 EXPECT_EQ(encoder.WriteString(kDoubleNestedProtoKeyField, "version"), in TEST()
162 EXPECT_EQ(encoder.WriteString(kDoubleNestedProtoValueField, "2.9.1"), in TEST()
172 EXPECT_EQ(encoder.WriteString(kDoubleNestedProtoKeyField, "device"), in TEST()
175 EXPECT_EQ(encoder.WriteString(kDoubleNestedProtoValueField, "left-soc"), in TEST()
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs242 WriteString(writer, accessor.Descriptor.JsonName); in WriteMessageFields()
372 WriteString(writer, (string)value); in WriteValue()
405 WriteString(writer, name); in WriteValue()
549 WriteString(writer, AnyTypeUrlField); in WriteAny()
551 WriteString(writer, typeUrl); in WriteAny()
556 WriteString(writer, AnyWellKnownTypeValueField); in WriteAny()
572 WriteString(writer, AnyTypeUrlField); in WriteDiagnosticOnlyAny()
574 WriteString(writer, typeUrl); in WriteDiagnosticOnlyAny()
576 WriteString(writer, AnyDiagnosticValueField); in WriteDiagnosticOnlyAny()
602 WriteString(writer, key); in WriteStruct()
[all …]
/external/boringssl/src/util/fipstools/acvp/acvptool/
Dacvp.go95 commentsRemoved.WriteString("\n")
215 result.WriteString("[")
250 result.WriteString(",")
254 result.WriteString("]\n")
291 os.Stdout.WriteString("\n")
459 os.Stdout.WriteString("[\n")
495 os.Stdout.WriteString(",\n")
521 resultBuf.WriteString(`,"testGroups":`)
530 resultBuf.WriteString("}")
586 os.Stdout.WriteString("]\n")

123456789