Home
last modified time | relevance | path

Searched refs:Write (Results 1 – 25 of 1259) sorted by relevance

12345678910>>...51

/external/google-breakpad/src/processor/
Dsimple_serializer-inl.h59 static char *Write(bool boolean, char *dest) { in Write() function
76 static char *Write(const string &str, char *dest) { in Write() function
90 static char *Write(const char *cstring, char *dest) { in Write() function
107 static char *Write(const Line &line, char *dest) { in Write() function
108 dest = SimpleSerializer<MemAddr>::Write(line.address, dest); in Write()
109 dest = SimpleSerializer<MemAddr>::Write(line.size, dest); in Write()
110 dest = SimpleSerializer<int32_t>::Write(line.source_file_id, dest); in Write()
111 dest = SimpleSerializer<int32_t>::Write(line.line, dest); in Write()
126 static char *Write(const PublicSymbol &pubsymbol, char *dest) { in Write() function
127 dest = SimpleSerializer<string>::Write(pubsymbol.name, dest); in Write()
[all …]
Dmap_serializers-inl.h70 char *StdMapSerializer<Key, Value>::Write(const std::map<Key, Value> &m, in Write() function
80 dest = SimpleSerializer<uint32_t>::Write(m.size(), dest); in Write()
93 key_address = key_serializer_.Write(iter->first, key_address); in Write()
94 dest = value_serializer_.Write(iter->second, dest); in Write()
112 Write(m, serialized_data); in Serialize()
138 char *RangeMapSerializer<Address, Entry>::Write( in Write() function
148 dest = SimpleSerializer<uint32_t>::Write(m.map_.size(), dest); in Write()
161 key_address = address_serializer_.Write(iter->first, key_address); in Write()
162 dest = address_serializer_.Write(iter->second.base(), dest); in Write()
163 dest = entry_serializer_.Write(iter->second.entry(), dest); in Write()
[all …]
Dmodule_serializer.cc83 char *ModuleSerializer::Write(const BasicSourceLineResolver::Module &module, in Write() function in google_breakpad::ModuleSerializer
86 dest = SimpleSerializer<bool>::Write(module.is_corrupt_, dest); in Write()
91 dest = files_serializer_.Write(module.files_, dest); in Write()
92 dest = functions_serializer_.Write(module.functions_, dest); in Write()
93 dest = pubsym_serializer_.Write(module.public_symbols_, dest); in Write()
95 dest = wfi_serializer_.Write(&(module.windows_frame_info_[i]), dest); in Write()
96 dest = cfi_init_rules_serializer_.Write(module.cfi_initial_rules_, dest); in Write()
97 dest = cfi_delta_rules_serializer_.Write(module.cfi_delta_rules_, dest); in Write()
99 dest = SimpleSerializer<char>::Write(0, dest); in Write()
118 char *end_address = Write(module, serialized_data); in Serialize()
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs207 writer.Write(customDiagnosticMessage.ToDiagnosticString()); in WriteMessage()
211 writer.Write("{ "); in WriteMessage()
213 writer.Write(writtenFields ? " }" : "}"); in WriteMessage()
239 writer.Write(PropertySeparator); in WriteMessageFields()
243 writer.Write(NameValueSeparator); in WriteMessageFields()
331 writer.Write("null"); in WriteNull()
389 writer.Write((bool)value ? "true" : "false"); in WriteValue()
394 writer.Write('"'); in WriteValue()
395 writer.Write(((ByteString)value).ToBase64()); in WriteValue()
396 writer.Write('"'); in WriteValue()
[all …]
/external/sfntly/cpp/src/sfntly/data/
Dfont_output_stream.cc32 void FontOutputStream::Write(byte_t b) { in Write() function in sfntly::FontOutputStream
34 stream_->Write(b); in Write()
39 void FontOutputStream::Write(ByteVector* b) { in Write() function in sfntly::FontOutputStream
41 Write(b, 0, b->size()); in Write()
46 void FontOutputStream::Write(ByteVector* b, int32_t off, int32_t len) { in Write() function in sfntly::FontOutputStream
58 stream_->Write(b, off, len); in Write()
62 void FontOutputStream::Write(byte_t* b, int32_t off, int32_t len) { in Write() function in sfntly::FontOutputStream
73 stream_->Write(b, off, len); in Write()
78 Write(c); in WriteChar()
82 Write((byte_t)((us >> 8) & 0xff)); in WriteUShort()
[all …]
/external/boringssl/src/ssl/test/runner/
Dprf.go26 h.Write(seed)
32 h.Write(a)
33 h.Write(seed)
43 h.Write(a)
97 hashSHA1.Write(b[:i+1])
98 hashSHA1.Write(secret)
99 hashSHA1.Write(seed)
103 hashMD5.Write(secret)
104 hashMD5.Write(digest)
253 h.Write(data.finish())
[all …]
Dpacket_adapter.go84 func (p *packetAdaptor) Write(b []byte) (int, error) { func
89 if _, err := p.Conn.Write(payload); err != nil {
104 if _, err := p.Conn.Write(payload); err != nil {
145 func (r *replayAdaptor) Write(b []byte) (int, error) { func
146 n, err := r.Conn.Write(b)
151 r.Conn.Write(r.prevWrite)
173 func (d *damageAdaptor) Write(b []byte) (int, error) { func
178 return d.Conn.Write(b)
/external/libchrome/base/json/
Djson_writer_unittest.cc18 EXPECT_TRUE(JSONWriter::Write(Value(), &output_js)); in TEST()
22 EXPECT_TRUE(JSONWriter::Write(DictionaryValue(), &output_js)); in TEST()
26 EXPECT_TRUE(JSONWriter::Write(ListValue(), &output_js)); in TEST()
30 EXPECT_TRUE(JSONWriter::Write(Value(42), &output_js)); in TEST()
34 EXPECT_TRUE(JSONWriter::Write(Value(true), &output_js)); in TEST()
38 EXPECT_TRUE(JSONWriter::Write(Value(1.0), &output_js)); in TEST()
42 EXPECT_TRUE(JSONWriter::Write(Value(0.2), &output_js)); in TEST()
46 EXPECT_TRUE(JSONWriter::Write(Value(-0.8), &output_js)); in TEST()
50 EXPECT_TRUE(JSONWriter::Write(Value("foo"), &output_js)); in TEST()
69 EXPECT_TRUE(JSONWriter::Write(root_dict, &output_js)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DInstrBuilder.cpp195 WriteDescriptor &Write = ID.Writes[CurrentDef]; in populateWrites() local
196 Write.OpIndex = i; in populateWrites()
201 Write.Latency = in populateWrites()
203 Write.SClassOrWriteResourceID = WLE.WriteResourceID; in populateWrites()
206 Write.Latency = ID.MaxLatency; in populateWrites()
207 Write.SClassOrWriteResourceID = 0; in populateWrites()
209 Write.IsOptionalDef = false; in populateWrites()
211 dbgs() << "\t\t[Def] OpIdx=" << Write.OpIndex in populateWrites()
212 << ", Latency=" << Write.Latency in populateWrites()
213 << ", WriteResourceID=" << Write.SClassOrWriteResourceID << '\n'; in populateWrites()
[all …]
/external/zlib/src/contrib/ada/
Dzlib-streams.adb111 Ada.Streams.Write (Stream.Back.all, Buffer (1 .. Last));
183 procedure Write subprogram
188 procedure Write (Item : in Stream_Element_Array); argument
194 procedure Write (Item : in Stream_Element_Array) is argument
196 Ada.Streams.Write (Stream.Back.all, Item);
197 end Write;
199 procedure Write is new ZLib.Write subprogram
200 (Write => Write,
204 Write (Stream.Writer, Item, No_Flush);
205 end Write;
/external/libchrome/ipc/
Dipc_message_utils.h110 ParamTraits<Type>::Write(m, static_cast<const Type& >(p)); in WriteParam()
132 static void Write(base::Pickle* m, const param_type& p) { m->WriteBool(p); }
144 static void Write(base::Pickle* m, const param_type& p);
154 static void Write(base::Pickle* m, const param_type& p);
164 static void Write(base::Pickle* m, const param_type& p);
174 static void Write(base::Pickle* m, const param_type& p) { m->WriteInt(p); }
186 static void Write(base::Pickle* m, const param_type& p) { m->WriteInt(p); }
211 static void Write(base::Pickle* m, const param_type& p) {
225 static void Write(base::Pickle* m, const param_type& p) {
240 static void Write(base::Pickle* m, const param_type& p) {
[all …]
/external/v8/src/
Dgdb-jit.cc84 void Write(const T& val) { in Write() function in v8::internal::GDBJITInterface::BASE_EMBEDDED
133 Write<uint8_t>(byte); in WriteULEB128()
150 Write<int8_t>(byte); in WriteSLEB128()
156 Write<char>(*str); in WriteString()
451 writer_->Write(*str); in WriteString()
484 void Write(Writer* w, uintptr_t code_start, uintptr_t code_size) { in Write() function in v8::internal::GDBJITInterface::BASE_EMBEDDED
614 void Write(Writer* w) { in Write() function in v8::internal::GDBJITInterface::BASE_EMBEDDED
838 void Write(Writer::Slot<SerializedLayout> s, ELFStringTable* t) const { in Write() function in v8::internal::GDBJITInterface::BASE_EMBEDDED
916 symbol.Write(dst.at(i++), strtab); in WriteSymbolsList()
1122 w->Write<uint16_t>(2); // DWARF version. in WriteBodyInternal()
[all …]
/external/compiler-rt/test/asan/TestCases/Linux/
Dscariness_score_test.cc43 enum ReadOrWrite { Read = 0, Write = 1 }; enumerator
139 case 3: HeapBuferOverflow<short>(0, Write); break; in main()
140 case 4: HeapBuferOverflow<int64_t>(2, Write); break; in main()
141 case 5: HeapBuferOverflow<S32>(4, Write); break; in main()
143 case 7: HeapUseAfterFree<int>(0, Write); break; in main()
145 case 9: HeapUseAfterFree<S32>(0, Write); break; in main()
146 case 10: StackBufferOverflow<char>(0, Write); break; in main()
148 case 12: StackBufferOverflow<int>(4, Write); break; in main()
150 case 14: StackUseAfterReturn<S32>(0, Write); break; in main()
/external/puffin/src/
Dstream_unittest.cc94 ASSERT_TRUE(stream->Write(buf.data(), 0)); in TestWriteBoundary()
95 ASSERT_TRUE(stream->Write(buf.data(), 1)); in TestWriteBoundary()
96 ASSERT_TRUE(stream->Write(buf.data(), 2)); in TestWriteBoundary()
97 ASSERT_TRUE(stream->Write(buf.data(), 3)); in TestWriteBoundary()
98 ASSERT_TRUE(stream->Write(buf.data(), 10)); in TestWriteBoundary()
102 ASSERT_TRUE(stream->Write(buf.data(), 0)); in TestWriteBoundary()
103 ASSERT_TRUE(stream->Write(buf.data(), 1)); in TestWriteBoundary()
107 ASSERT_TRUE(stream->Write(buf.data(), 2)); in TestWriteBoundary()
108 ASSERT_TRUE(stream->Write(buf.data(), 3)); in TestWriteBoundary()
109 ASSERT_TRUE(stream->Write(buf.data(), 10)); in TestWriteBoundary()
[all …]
/external/webrtc/webrtc/base/
Dstream_unittest.cc37 virtual StreamResult Write(const void* data, size_t data_len, in Write() function in rtc::TestStream
118 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize, &bytes, NULL)); in TEST()
122 EXPECT_EQ(SR_BLOCK, stream->Write(in, kSize, &bytes, NULL)); in TEST()
133 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize * 2, &bytes, NULL)); in TEST()
142 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize / 2, &bytes, NULL)); in TEST()
147 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize / 2, &bytes, NULL)); in TEST()
149 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize / 2, &bytes, NULL)); in TEST()
166 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize * 3 / 4, &bytes, NULL)); in TEST()
171 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize / 2, &bytes, NULL)); in TEST()
176 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize / 2, &bytes, NULL)); in TEST()
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Drecordio_test.cc128 void Write(const string& msg) { in Write() function in tensorflow::io::__anon3461d06d0111::RecordioTest
168 Write("foo"); in CheckOffsetPastEndReturnsNoRecords()
169 Write("bar"); in CheckOffsetPastEndReturnsNoRecords()
170 Write(BigString("x", 10000)); in CheckOffsetPastEndReturnsNoRecords()
182 Write("foo"); in TEST_F()
183 Write("bar"); in TEST_F()
184 Write(""); in TEST_F()
185 Write("xxxx"); in TEST_F()
196 Write(NumberString(i)); in TEST_F()
210 Write(RandomSkewedString(i, &rnd)); in TEST_F()
[all …]
/external/libbrillo/brillo/dbus/
Ddata_serialization.h200 inline static void Write(dbus::MessageWriter* writer, bool value) {
217 inline static void Write(dbus::MessageWriter* writer, uint8_t value) {
234 inline static void Write(dbus::MessageWriter* writer, int16_t value) {
253 inline static void Write(dbus::MessageWriter* writer, uint16_t value) {
270 inline static void Write(dbus::MessageWriter* writer, int32_t value) {
289 inline static void Write(dbus::MessageWriter* writer, uint32_t value) {
306 inline static void Write(dbus::MessageWriter* writer, int64_t value) {
325 inline static void Write(dbus::MessageWriter* writer, uint64_t value) {
344 inline static void Write(dbus::MessageWriter* writer, double value) {
363 inline static void Write(dbus::MessageWriter* writer,
[all …]
/external/boringssl/src/ssl/test/runner/ed25519/
Ded25519.go131 h.Write(privateKey[:32])
142 h.Write(digest1[32:])
143 h.Write(message)
155 h.Write(encodedR[:])
156 h.Write(privateKey[32:])
157 h.Write(message)
193 h.Write(sig[:32])
194 h.Write(publicKey[:])
195 h.Write(message)
/external/tensorflow/tensorflow/contrib/ignite/kernels/igfs/
Digfs_messages.cc50 Status Request::Write(ExtendedTCPClient *client) const { in Write() function in tensorflow::Request
99 Status PathCtrlRequest::Write(ExtendedTCPClient *client) const { in Write() function in tensorflow::PathCtrlRequest
100 TF_RETURN_IF_ERROR(Request::Write(client)); in Write()
120 Status StreamCtrlRequest::Write(ExtendedTCPClient *client) const { in Write() function in tensorflow::StreamCtrlRequest
156 Status HandshakeRequest::Write(ExtendedTCPClient *client) const { in Write() function in tensorflow::HandshakeRequest
157 TF_RETURN_IF_ERROR(Request::Write(client)); in Write()
196 Status OpenCreateRequest::Write(ExtendedTCPClient *client) const { in Write() function in tensorflow::OpenCreateRequest
197 TF_RETURN_IF_ERROR(PathCtrlRequest::Write(client)); in Write()
215 Status OpenAppendRequest::Write(ExtendedTCPClient *client) const { in Write() function in tensorflow::OpenAppendRequest
216 TF_RETURN_IF_ERROR(PathCtrlRequest::Write(client)); in Write()
[all …]
/external/syzkaller/pkg/db/
Ddb.go90 if _, err := f.Write(db.pending.Bytes()); err != nil {
116 if _, err := f.Write(buf.Bytes()); err != nil {
143 binary.Write(w, binary.LittleEndian, dbMagic)
144 binary.Write(w, binary.LittleEndian, curVersion)
145 binary.Write(w, binary.LittleEndian, version)
149 binary.Write(w, binary.LittleEndian, recMagic)
150 binary.Write(w, binary.LittleEndian, uint32(len(key)))
152 binary.Write(w, binary.LittleEndian, seq)
160 binary.Write(w, binary.LittleEndian, uint32(len(val)))
163 binary.Write(w, binary.LittleEndian, uint32(0))
[all …]
/external/google-breakpad/src/common/
Dmodule_unittest.cc68 TEST(Write, Header) { in TEST() argument
71 m.Write(s, ALL_SYMBOL_DATA); in TEST()
77 TEST(Write, OneLineFunc) { in TEST() argument
91 m.Write(s, ALL_SYMBOL_DATA); in TEST()
101 TEST(Write, RelativeLoadAddress) { in TEST() argument
140 m.Write(s, ALL_SYMBOL_DATA); in TEST()
158 TEST(Write, OmitUnusedFiles) { in TEST() argument
195 m.Write(s, ALL_SYMBOL_DATA); in TEST()
207 TEST(Write, NoCFI) { in TEST() argument
242 m.Write(s, NO_CFI); in TEST()
[all …]
/external/golang-protobuf/proto/
Dtext.go88 return w.Write([]byte(s))
91 func (w *textWriter) Write(p []byte) (n int, err error) { func
97 n, err = w.w.Write(p)
111 nn, err := w.w.Write(frag)
124 nn, err := w.w.Write(frag)
228 w.Write([]byte("["))
233 w.Write([]byte(u))
236 w.Write([]byte("]:<"))
238 w.Write([]byte("]: <\n"))
245 w.Write([]byte("> "))
[all …]
/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dtext.go88 return w.Write([]byte(s))
91 func (w *textWriter) Write(p []byte) (n int, err error) { func
97 n, err = w.w.Write(p)
111 nn, err := w.w.Write(frag)
124 nn, err := w.w.Write(frag)
228 w.Write([]byte("["))
233 w.Write([]byte(u))
236 w.Write([]byte("]:<"))
238 w.Write([]byte("]: <\n"))
245 w.Write([]byte("> "))
[all …]
/external/protobuf/csharp/src/AddressBook/
DAddPerson.cs47 output.Write("Enter person ID: "); in PromptForAddress()
50 output.Write("Enter name: "); in PromptForAddress()
53 output.Write("Enter email address (blank for none): "); in PromptForAddress()
62 output.Write("Enter a phone number (or leave blank to finish): "); in PromptForAddress()
71 output.Write("Is this a mobile, home, or work phone? "); in PromptForAddress()
85 output.Write("Unknown phone type. Using default."); in PromptForAddress()
/external/syzkaller/vendor/google.golang.org/api/googleapi/internal/uritemplates/
Duritemplates.go44 func (w *pairWriter) Write(s string) { func
54 w.escaped.Write(reserved.ReplaceAllFunc([]byte(s), pctEncode))
56 w.escaped.Write(unreserved.ReplaceAllFunc([]byte(s), pctEncode))
212 w.Write(tp.raw)
222 w.Write(tp.first)
225 w.Write(tp.sep)
233 w.Write(name)
235 w.Write(tp.ifemp)
237 w.Write("=")

12345678910>>...51