Home
last modified time | relevance | path

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

123

/external/libbrillo/brillo/streams/
Dfake_stream_unittest.cc54 int WriteString(const std::string& data) { in WriteString() function in brillo::FakeStreamTest
301 EXPECT_EQ(-1, WriteString("foo")); in TEST_F()
307 EXPECT_EQ(3, WriteString("foo")); in TEST_F()
308 EXPECT_EQ(3, WriteString("bar")); in TEST_F()
309 EXPECT_EQ(-1, WriteString("baz")); in TEST_F()
318 EXPECT_EQ(3, WriteString("foo")); in TEST_F()
319 EXPECT_EQ(-1, WriteString("bar")); in TEST_F()
322 EXPECT_EQ(3, WriteString("bar")); in TEST_F()
325 EXPECT_EQ(3, WriteString("quux")); in TEST_F()
335 EXPECT_EQ(3, WriteString("foobar")); in TEST_F()
[all …]
/external/boringssl/src/crypto/err/
Derr_data_generate.go136 WriteString(string) (int, error) methodSpec
144 out.WriteString("const uint32_t " + values + "[] = {\n")
148 out.WriteString("};\n\n")
149 …out.WriteString("const size_t " + values + "Len = sizeof(" + values + ") / sizeof(" + values + "[0…
152 out.WriteString("const char " + stringData + "[] =\n \"")
155 out.WriteString("\\0\"\n \"")
160 out.WriteString("\";\n\n")
247 out.WriteString(`/* Copyright (c) 2015, Google Inc.
274 out.WriteString("\n")
/external/boringssl/src/crypto/chacha/
Dchacha_vec_arm_generate.go54 output.WriteString(preamble)
55 output.WriteString(compiler)
56 output.WriteString(" ")
57 output.WriteString(strings.Join(args, " "))
58 output.WriteString("\n\n#if !defined(OPENSSL_NO_ASM)\n")
59 output.WriteString("#if defined(__arm__)\n\n")
81 output.WriteString(attr28Block)
91 output.WriteString(".hidden\t")
109 output.WriteString(trailer)
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_document_serialize.cpp384 pStream->WriteString((const FX_WCHAR*)buf.GetBuffer(), nLen); in XFA_DataExporter_RegenerateFormFile_Container()
390 pStream->WriteString(L"<", 1); in XFA_DataExporter_RegenerateFormFile_Container()
391 pStream->WriteString(wsElement.GetPtr(), wsElement.GetLength()); in XFA_DataExporter_RegenerateFormFile_Container()
409 pStream->WriteString((const FX_WCHAR*)wsOutput, wsOutput.GetLength()); in XFA_DataExporter_RegenerateFormFile_Container()
413 pStream->WriteString(L"\n>", 2); in XFA_DataExporter_RegenerateFormFile_Container()
419 pStream->WriteString(L"</", 2); in XFA_DataExporter_RegenerateFormFile_Container()
420 pStream->WriteString(wsElement.GetPtr(), wsElement.GetLength()); in XFA_DataExporter_RegenerateFormFile_Container()
421 pStream->WriteString(L"\n>", 2); in XFA_DataExporter_RegenerateFormFile_Container()
423 pStream->WriteString(L"\n/>", 3); in XFA_DataExporter_RegenerateFormFile_Container()
433 pStream->WriteString(s_pwsTagName, FXSYS_wcslen(s_pwsTagName)); in XFA_DataExporter_RegenerateFormFile()
[all …]
Dxfa_basic_imp.h40 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) { in WriteString() function
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc101 void WriteString(ZeroCopyOutputStream* output, const string& str);
194 void IoTest::WriteString(ZeroCopyOutputStream* output, const string& str) { in WriteString() function in google::protobuf::io::__anon2549c1540111::IoTest
206 WriteString(output, "Hello world!\n"); in WriteStuff()
207 WriteString(output, "Some te"); in WriteStuff()
208 WriteString(output, "xt. Blah blah."); in WriteStuff()
209 WriteString(output, "abcdefg"); in WriteStuff()
210 WriteString(output, "01234567890123456789"); in WriteStuff()
211 WriteString(output, "foobar"); in WriteStuff()
238 WriteString(output, "Hello world!\n"); in WriteStuffLarge()
239 WriteString(output, "Some te"); in WriteStuffLarge()
[all …]
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_stream.h33 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) = 0;
54 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength);
74 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength);
99 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) { in WriteString() function
129 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) { in WriteString() function
157 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength);
197 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength);
238 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength);
/external/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc163 output.WriteString(filename); // file name in Write()
164 output.WriteString(contents); // file data in Write()
199 output.WriteString(filename); // file name in WriteDirectory()
/external/lzma/CPP/Windows/
DFileLink.cpp93 void WriteString(Byte *dest, const wchar_t *path) in WriteString() function
171 WriteString(p + subOffs, k_LinkPrefix); in FillLinkData()
172 WriteString(p + subOffs + add_Prefix_Len * 2, path); in FillLinkData()
174 WriteString(p + printOffs, path); in FillLinkData()
/external/v8/src/parsing/
Dpreparse-data.cc49 if (arg_opt != NULL) WriteString(CStrVector(arg_opt)); in LogMessage()
53 void CompleteParserRecorder::WriteString(Vector<const char> str) { in WriteString() function in v8::internal::CompleteParserRecorder
/external/webrtc/webrtc/libjingle/xmpp/
Drostermodule_unittest.cc32 WriteString(std::ostream& os, const std::string& str) { in WriteString() function
118 WriteString(os, presence->jid().Str()); in WritePresence()
124 WriteString(os, presence->status()); in WritePresence()
136 WriteString(os, contact->jid().Str()); in WriteContact()
138 WriteString(os, contact->name()); in WriteContact()
144 WriteString(os, contact->GetGroup(i)); in WriteContact()
/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.cpp398 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
401 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
417 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
425 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
428 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
435 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
451 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
455 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
458 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
467 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
[all …]
/external/google-breakpad/src/client/
Dminidump_file_writer_unittest.cc81 ASSERT_TRUE(writer.WriteString(first, 0, &strings.get()->first_string)); in WriteFile()
83 ASSERT_TRUE(writer.WriteString(second, 0, &strings.get()->second_string)); in WriteFile()
Dminidump_file_writer.h101 bool WriteString(const wchar_t *str, unsigned int length,
105 bool WriteString(const char *str, unsigned int length,
Dminidump_file_writer.cc193 bool MinidumpFileWriter::WriteString(const wchar_t *str, unsigned int length, in WriteString() function in google_breakpad::MinidumpFileWriter
198 bool MinidumpFileWriter::WriteString(const char *str, unsigned int length, in WriteString() function in google_breakpad::MinidumpFileWriter
/external/v8/src/
Dgdb-jit.cc150 void WriteString(const char* str) { in WriteString() function in v8::internal::GDBJITInterface::BASE_EMBEDDED
423 WriteString(str); in Add()
432 WriteString(""); in AttachWriter()
446 void WriteString(const char* str) { in WriteString() function in v8::internal::GDBJITInterface::ELFStringTable
1130 w->WriteString(desc_->GetFilename().get()); in WriteBodyInternal()
1138 w->WriteString("v8value"); in WriteBodyInternal()
1143 w->WriteString(desc_->name()); in WriteBodyInternal()
1177 w->WriteString( in WriteBodyInternal()
1196 w->WriteString(builder.Finalize()); in WriteBodyInternal()
1206 w->WriteString(".closure"); in WriteBodyInternal()
[all …]
/external/webrtc/talk/app/webrtc/
Dsctputils.cc194 buffer.WriteString(label); in WriteDataChannelOpenMessage()
195 buffer.WriteString(config.protocol); in WriteDataChannelOpenMessage()
/external/protobuf/src/google/protobuf/
Dwire_format_lite.cc181 output->WriteString(temp); in SkipField()
373 void WireFormatLite::WriteString(int field_number, const string& value, in WriteString() function in google::protobuf::internal::WireFormatLite
379 output->WriteString(value); in WriteString()
395 output->WriteString(value); in WriteBytes()
/external/libchrome/base/trace_event/
Dtrace_event_argument.cc51 pickle.WriteString(str); in WriteKeyNameWithCopy()
132 pickle_.WriteString(value); in SetString()
140 pickle_.WriteString(value); in SetStringWithCopiedName()
216 pickle_.WriteString(value); in AppendString()
/external/libchrome/base/
Dpickle_unittest.cc131 EXPECT_TRUE(pickle.WriteString(teststring)); in TEST()
133 EXPECT_TRUE(pickle.WriteString(testrawstring)); in TEST()
205 EXPECT_TRUE(pickle.WriteString(std::string())); in TEST()
248 EXPECT_TRUE(pickle.WriteString("Goooooooooooogle")); in TEST()
326 EXPECT_TRUE(pickle.WriteString("Domo")); in TEST()
/external/libbrillo/brillo/http/
Dhttp_connection_curl_unittest.cc93 CURLcode code = WriteString(header_callback, line); in DoPerform()
99 return WriteString(write_callback, response_body); in DoPerform()
104 CURLcode WriteString(ReadWriteCallback* callback, const std::string& str) { in WriteString() function in brillo::http::curl::__anon17697fd50111::CurlPerformer
/external/libchrome/crypto/
Dsecure_hash_default.cc52 !pickle->WriteString(kSHA256Descriptor) || in Serialize()
Dsecure_hash_openssl.cc55 !pickle->WriteString(kSHA256Descriptor) || in Serialize()
/external/webrtc/webrtc/base/
Dbytebuffer.h68 void WriteString(const std::string& val);
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_client.cc73 write_pickle.WriteString(pathname); in PathAndFlagsSyscall()

123