Home
last modified time | relevance | path

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

12345678910>>...98

/external/mbedtls/tests/suites/
Dtest_suite_asn1write.data1 ASN.1 Write NULL
4 ASN.1 Write BOOLEAN FALSE
7 ASN.1 Write BOOLEAN TRUE
10 ASN.1 Write int 0
13 ASN.1 Write int 1
16 ASN.1 Write int 127
19 ASN.1 Write int 128
22 ASN.1 Write int 255
25 ASN.1 Write int 256
28 ASN.1 Write int 32767
[all …]
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_asn1write.data1 ASN.1 Write NULL
4 ASN.1 Write BOOLEAN FALSE
7 ASN.1 Write BOOLEAN TRUE
10 ASN.1 Write int 0
13 ASN.1 Write int 1
16 ASN.1 Write int 127
19 ASN.1 Write int 128
22 ASN.1 Write int 255
25 ASN.1 Write int 256
28 ASN.1 Write int 32767
[all …]
/external/openscreen/discovery/mdns/
Dmdns_writer.cc52 bool MdnsWriter::Write(absl::string_view value) { in Write() function in openscreen::discovery::MdnsWriter
57 if (Write(static_cast<uint8_t>(value.length())) && in Write()
58 Write(value.data(), value.length())) { in Write()
65 bool MdnsWriter::Write(const std::string& value) { in Write() function in openscreen::discovery::MdnsWriter
66 return Write(absl::string_view(value)); in Write()
71 bool MdnsWriter::Write(const DomainName& name) { in Write() function in openscreen::discovery::MdnsWriter
90 if (!Write(find_result->second)) { in Write()
104 if (!Write(MakeDirectLabel(labels[i].size())) || in Write()
105 !Write(labels[i].data(), labels[i].size())) { in Write()
109 if (!Write(kLabelTermination)) { in Write()
[all …]
Dmdns_writer.h21 using BigEndianWriter::Write;
27 bool Write(absl::string_view value);
28 bool Write(const std::string& value);
29 bool Write(const DomainName& name);
30 bool Write(const RawRecordRdata& rdata);
31 bool Write(const SrvRecordRdata& rdata);
32 bool Write(const ARecordRdata& rdata);
33 bool Write(const AAAARecordRdata& rdata);
34 bool Write(const PtrRecordRdata& rdata);
35 bool Write(const TxtRecordRdata& rdata);
[all …]
/external/ruy/ruy/
Dtrace.h97 void Write(const char* format, Args... args) { in Write() function
108 Write("%s {", scope_name); in EnterScope()
113 Write("} // end of %s", scope_name); in LeaveScope()
542 ThreadLocalTrace()->Write("CompiledPaths: %s", str(CompiledPaths)); \
543 ThreadLocalTrace()->Write("LHS: %s", str(lhs)); \
544 ThreadLocalTrace()->Write("RHS: %s", str(rhs)); \
545 ThreadLocalTrace()->Write("Destination: %s", str(*dst));
548 ThreadLocalTrace()->Write("Canonicalizing to column-major destination:"); \
549 ThreadLocalTrace()->Write( \
553 ThreadLocalTrace()->Write("Runtime-selected path: %s", str(the_path)); \
[all …]
/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 …]
/external/sfntly/cpp/src/sfntly/data/
Dfont_output_stream.cc32 void FontOutputStream::Write(uint8_t b) { in Write() function in sfntly::FontOutputStream
34 stream_->Write(b); in Write()
39 void FontOutputStream::Write(std::vector<uint8_t>* b) { in Write() function in sfntly::FontOutputStream
41 Write(b, 0, b->size()); in Write()
46 void FontOutputStream::Write(std::vector<uint8_t>* 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(uint8_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((uint8_t)((us >> 8) & 0xff)); in WriteUShort()
[all …]
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs208 writer.Write(customDiagnosticMessage.ToDiagnosticString()); in WriteMessage()
212 writer.Write("{ "); in WriteMessage()
214 writer.Write(writtenFields ? " }" : "}"); in WriteMessage()
233 writer.Write(PropertySeparator); in WriteMessageFields()
244 writer.Write(NameValueSeparator); in WriteMessageFields()
308 writer.Write("null"); in WriteNull()
374 writer.Write((bool)value ? "true" : "false"); in WriteValue()
379 writer.Write('"'); in WriteValue()
380 writer.Write(((ByteString)value).ToBase64()); in WriteValue()
381 writer.Write('"'); in WriteValue()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs208 writer.Write(customDiagnosticMessage.ToDiagnosticString()); in WriteMessage()
212 writer.Write("{ "); in WriteMessage()
214 writer.Write(writtenFields ? " }" : "}"); in WriteMessage()
233 writer.Write(PropertySeparator); in WriteMessageFields()
244 writer.Write(NameValueSeparator); in WriteMessageFields()
308 writer.Write("null"); in WriteNull()
374 writer.Write((bool)value ? "true" : "false"); in WriteValue()
379 writer.Write('"'); in WriteValue()
380 writer.Write(((ByteString)value).ToBase64()); in WriteValue()
381 writer.Write('"'); in WriteValue()
[all …]
/external/leveldb/db/
Dlog_test.cc57 void Write(const std::string& msg) { in Write() function in leveldb::log::LogTest
116 Write(record); in WriteInitialOffsetLog()
264 Write("foo"); in TEST_F()
265 Write("bar"); in TEST_F()
266 Write(""); in TEST_F()
267 Write("xxxx"); in TEST_F()
278 Write(NumberString(i)); in TEST_F()
287 Write("small"); in TEST_F()
288 Write(BigString("medium", 50000)); in TEST_F()
289 Write(BigString("large", 100000)); in TEST_F()
[all …]
/external/pigweed/pw_bluetooth_hci/
Duart_transport_fuzzer.cc39 stream.Write(as_bytes(span<const uint16_t>(&opcode, 1))).IgnoreError(); in LLVMFuzzerTestOneInput()
43 stream.Write(as_bytes(span<const uint16_t>(&opcode_command_field, 1))) in LLVMFuzzerTestOneInput()
47 stream.Write(as_bytes(span<const uint8_t>(&opcode_group_field, 1))) in LLVMFuzzerTestOneInput()
50 stream.Write(command_packet.parameters()).IgnoreError(); in LLVMFuzzerTestOneInput()
60 .Write(as_bytes( in LLVMFuzzerTestOneInput()
65 stream.Write(as_bytes(span<const uint16_t>(&handle, 1))).IgnoreError(); in LLVMFuzzerTestOneInput()
68 stream.Write(as_bytes(span<const uint8_t>(&pb_flag, 1))).IgnoreError(); in LLVMFuzzerTestOneInput()
71 stream.Write(as_bytes(span<const uint8_t>(&bc_flag, 1))).IgnoreError(); in LLVMFuzzerTestOneInput()
73 stream.Write(async_data_packet.data()).IgnoreError(); in LLVMFuzzerTestOneInput()
82 stream.Write(as_bytes(span<const uint16_t>(&handle_and_status_bits, 1))) in LLVMFuzzerTestOneInput()
[all …]
/external/rust/crates/serde_cbor/src/
Dwrite.rs19 pub trait Write: private::Sealed { interface
41 pub trait Write { interface
54 impl<W> Write for &mut W impl
56 W: Write,
66 impl<W> private::Sealed for &mut W where W: Write {}
76 impl<W: io::Write> IoWrite<W> {
84 impl<W: io::Write> Write for IoWrite<W> {
93 impl<W> private::Sealed for IoWrite<W> where W: io::Write {}
96 impl Write for Vec<u8> {
113 pub struct FmtWrite<'a, W: Write>(&'a mut W);
[all …]
/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-10.0/llvm/lib/MCA/
DInstrBuilder.cpp314 WriteDescriptor &Write = ID.Writes[CurrentDef]; in populateWrites() local
315 Write.OpIndex = i; in populateWrites()
320 Write.Latency = in populateWrites()
322 Write.SClassOrWriteResourceID = WLE.WriteResourceID; in populateWrites()
325 Write.Latency = ID.MaxLatency; in populateWrites()
326 Write.SClassOrWriteResourceID = 0; in populateWrites()
328 Write.IsOptionalDef = false; in populateWrites()
330 dbgs() << "\t\t[Def] OpIdx=" << Write.OpIndex in populateWrites()
331 << ", Latency=" << Write.Latency in populateWrites()
332 << ", WriteResourceID=" << Write.SClassOrWriteResourceID << '\n'; in populateWrites()
[all …]
/external/rust/crates/libz-sys/src/zlib/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 argument
200 (Write => Write,
204 Write (Stream.Writer, Item, No_Flush);
205 end Write;
/external/webrtc/api/
Drtc_event_log_output_file_unittest.cc69 output_file->Write(output_str); in TEST_F()
81 output_file->Write("1"); in TEST_F()
82 output_file->Write("2"); in TEST_F()
83 output_file->Write("3"); in TEST_F()
101 output_file->Write(output_str_1); in TEST_F()
102 output_file->Write(output_str_2); in TEST_F()
111 EXPECT_FALSE(output_file->Write("abc")); in TEST_F()
117 EXPECT_TRUE(output_file->Write("abc")); in TEST_F()
124 ASSERT_TRUE(output_file->Write("abc")); in TEST_F()
133 ASSERT_FALSE(output_file->Write("abc")); in TEST_F()
[all …]
/external/cronet/ipc/
Dipc_message_utils.h118 ParamTraits<Type>::Write(m, static_cast<const Type& >(p)); in WriteParam()
140 static void Write(base::Pickle* m, const param_type& p) { m->WriteBool(p); }
152 static void Write(base::Pickle* m, const param_type& p);
162 static void Write(base::Pickle* m, const param_type& p);
172 static void Write(base::Pickle* m, const param_type& p);
182 static void Write(base::Pickle* m, const param_type& p) { m->WriteInt(p); }
194 static void Write(base::Pickle* m, const param_type& p) {
222 static void Write(base::Pickle* m, const param_type& p) {
236 static void Write(base::Pickle* m, const param_type& p) {
251 static void Write(base::Pickle* m, const param_type& p) {
[all …]
/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/pigweed/pw_transfer/
Dtransfer.proto30 rpc Write(stream Chunk) returns (stream Chunk); rpc
36 // Notation: (Read|Write) (→|←)
48 // Write → ID of transfer
49 // Write ← ID of transfer
59 // Write → N/A
60 // Write ← The server requests this many bytes to be sent.
68 // Write → N/A
69 // Write ← Set maximum size for subsequent chunks.
77 // Write → N/A
78 // Write ← Set minimum delay for subsequent chunks.
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Drecordio_test.cc134 void Write(const string& msg) { in Write() function in tensorflow::io::__anonff3ef6290111::RecordioTest
140 void Write(const absl::Cord& msg) { in Write() function in tensorflow::io::__anonff3ef6290111::RecordioTest
181 Write("foo"); in CheckOffsetPastEndReturnsNoRecords()
182 Write("bar"); in CheckOffsetPastEndReturnsNoRecords()
183 Write(BigString("x", 10000)); in CheckOffsetPastEndReturnsNoRecords()
195 Write("foo"); in TEST_F()
196 Write("bar"); in TEST_F()
197 Write(""); in TEST_F()
198 Write("xxxx"); in TEST_F()
209 Write(absl::Cord("foo")); in TEST_F()
[all …]
/external/pigweed/pw_kvs/
Dalignment_test.cc144 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(0, 1)).status()); in TEST()
145 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(1, 9)).status()); in TEST()
148 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(10, 11)).status()); in TEST()
151 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(21, 11)).status()); in TEST()
154 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(32, 66)).status()); in TEST()
157 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(98, 0)).status()); in TEST()
160 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(98, 2)).status()); in TEST()
179 writer.Write(as_bytes(span("What is this?"))).status()); in TEST()
216 writer.Write(as_bytes(span("Everything is fine."))).status()); in TEST()
219 writer.Write(as_bytes(span("No more writes, okay?"))).status()); in TEST()
[all …]
/external/boringssl/src/ssl/test/runner/
Dprf.go53 h.Write(seed)
59 h.Write(a)
60 h.Write(seed)
70 h.Write(a)
239 h.Write(data.finish())
242 func (h *finishedHash) Write(msg []byte) (n int, err error) { func
243 h.hash.Write(msg)
246 h.md5.Write(msg)
263 h.Write(msg[:4])
265 h.Write([]byte{byte(seqno >> 8), byte(seqno), 0, 0, 0})
[all …]
/external/cronet/third_party/boringssl/src/ssl/test/runner/
Dprf.go53 h.Write(seed)
59 h.Write(a)
60 h.Write(seed)
70 h.Write(a)
239 h.Write(data.finish())
242 func (h *finishedHash) Write(msg []byte) (n int, err error) { func
243 h.hash.Write(msg)
246 h.md5.Write(msg)
263 h.Write(msg[:4])
265 h.Write([]byte{byte(seqno >> 8), byte(seqno), 0, 0, 0})
[all …]
/external/rust/crates/flate2/src/deflate/
Dwrite.rs30 pub struct DeflateEncoder<W: Write> {
34 impl<W: Write> DeflateEncoder<W> {
154 impl<W: Write> Write for DeflateEncoder<W> {
164 impl<W: Read + Write> Read for DeflateEncoder<W> {
204 pub struct DeflateDecoder<W: Write> {
208 impl<W: Write> DeflateDecoder<W> {
308 impl<W: Write> Write for DeflateDecoder<W> {
318 impl<W: Read + Write> Read for DeflateDecoder<W> {

12345678910>>...98