Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/strings/
Dordered_code.cc133 inline static void AppendBytes(string* dest, const char* src, size_t len) { in AppendBytes() function
173 AppendBytes(dest, copy_start, p - copy_start - 1); in EncodeStringFragment()
179 AppendBytes(dest, copy_start, p - copy_start - 1); in EncodeStringFragment()
186 AppendBytes(dest, copy_start, p - copy_start); in EncodeStringFragment()
192 AppendBytes(dest, kEscape1_Separator, 2); in WriteString()
208 AppendBytes(dest, reinterpret_cast<const char*>(buf + 9 - len), len); in WriteNumIncreasing()
233 AppendBytes(result, copy_start, start - copy_start - 1); in ReadStringInternal()
252 AppendBytes(result, copy_start, start - copy_start - 1); in ReadStringInternal()
/external/perfetto/src/protozero/
Dmessage_unittest.cc112 msg->AppendBytes(i, kTestBytes, sizeof(kTestBytes)); in BuildNestedMessages()
136 msg->AppendBytes(1 /* field_id */, nullptr, 0); in TEST_F()
155 msg->AppendBytes(7 /* field_id */, kTestBytes, sizeof(kTestBytes)); in TEST_F()
255 nested_msg_2->AppendBytes(5, buf200, sizeof(buf200)); in TEST_F()
336 handle1->AppendBytes(1 /* field_id */, kTestBytes, 1 /* size */); in TEST_F()
344 handle2->AppendBytes(1 /* field_id */, kTestBytes, 2 /* size */); in TEST_F()
352 handle_swp->AppendBytes(2 /* field_id */, kTestBytes, 3 /* size */); in TEST_F()
355 handle3->AppendBytes(1 /* field_id */, kTestBytes, 4 /* size */); in TEST_F()
365 handle_swp->AppendBytes(2 /* field_id */, kTestBytes, 8 /* size */); in TEST_F()
418 handle1->AppendBytes(1 /* field_id */, kTestBytes, 1 /* size */); in TEST_F()
Dmessage.cc70 AppendBytes(field_id, str, strlen(str)); in AppendString()
73 void Message::AppendBytes(uint32_t field_id, const void* src, size_t size) { in AppendBytes() function in protozero::Message
Dproto_decoder_unittest.cc498 msg->AppendBytes(kFieldId, data, invalid_size); in TEST()
522 msg->AppendBytes(kFieldId, data, invalid_size); in TEST()
/external/perfetto/include/perfetto/protozero/
Dfield_writer.h159 message.AppendBytes(field_id, data, size);
165 message.AppendBytes(field_id, value.data(), value.size());
175 message.AppendBytes(field_id, data, size);
181 message.AppendBytes(field_id, value.data(), value.size());
Dmessage.h146 AppendBytes(field_id, str.data(), str.size()); in AppendString()
149 void AppendBytes(uint32_t field_id, const void* value, size_t size);
/external/perfetto/src/trace_processor/metrics/
Dmetrics.cc87 return AppendBytes(field_name, in AppendSqlValue()
201 message_->AppendBytes(field->number(), data.data(), data.size()); in AppendString()
215 util::Status ProtoBuilder::AppendBytes(const std::string& field_name, in AppendBytes() function in perfetto::trace_processor::metrics::ProtoBuilder
257 message_->AppendBytes(field.number(), "", 0); in AppendSingleMessage()
295 message_->AppendBytes(field.number(), bytes.data, bytes.size); in AppendSingleMessage()
324 status = AppendBytes(field.name(), bytes.data, bytes.size, true); in AppendRepeated()
655 metric_builder.AppendBytes(field_name, nullptr, 0); in ComputeMetrics()
Dmetrics_unittest.cc168 builder.AppendBytes("nested_value", nest_ser.data(), nest_ser.size()) in TEST_F()
207 builder.AppendBytes("rep_int_value", rep_ser.data(), rep_ser.size()) in TEST_F()
Dmetrics.h81 util::Status AppendBytes(const std::string& field_name,
/external/perfetto/src/trace_processor/rpc/
Drpc.cc238 result->AppendBytes(protos::pbzero::RawQueryResult::kColumnsFieldNumber, in RawQuery()
288 result->AppendBytes( in ComputeMetric()
321 result->AppendBytes( in GetMetricDescriptors()
Dquery_result_serializer.cc197 batch->AppendBytes(BatchProto::kCellsFieldNumber, cell_types.data(), in SerializeBatch()
/external/llvm-project/lldb/include/lldb/Core/
DValue.h70 void AppendBytes(const void *bytes, int len);
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderEncoder.cpp186 bool AppendBytes(const ByteString& content, in AppendBytes() function
424 if (!AppendBytes(utf8Data, mode, &dataBits, encoding)) in Encode()
/external/perfetto/tools/compact_reencode/
Dmain.cc61 out->AppendBytes(field.id(), field.as_bytes().data, field.as_bytes().size); in CopyField()
/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader.cc81 out->AppendBytes(field_id, reinterpret_cast<const char*>(start), in ReadIntoString()
741 message->AppendBytes(field_id, name.begin(), name.size()); in ParseField()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp64 void AppendBytes(CharUnits FieldOffsetInChars, llvm::Constant *InitCst);
101 AppendBytes(FieldOffsetInChars, InitCst); in AppendField()
105 AppendBytes(CharUnits FieldOffsetInChars, llvm::Constant *InitCst) { in AppendBytes() function in __anon3adcc1930111::ConstStructBuilder
445 AppendBytes(Offset, VTableAddressPoint); in Build()
/external/llvm-project/lldb/source/Core/
DValue.cpp99 void Value::AppendBytes(const void *bytes, int len) { in AppendBytes() function in Value
/external/llvm-project/clang/lib/CodeGen/
DCGExprConstant.cpp570 bool AppendBytes(CharUnits FieldOffsetInChars, llvm::Constant *InitCst,
589 return AppendBytes(FieldOffsetInChars, InitCst, AllowOverwrite); in AppendField()
592 bool ConstStructBuilder::AppendBytes(CharUnits FieldOffsetInChars, in AppendBytes() function in __anonc58121e10111::ConstStructBuilder
784 if (!AppendBytes(Offset, VTableAddressPoint)) in Build()
/external/perfetto/docs/design-docs/
Dprotozero.md160 AppendBytes(/*field_id=*/1, value.data(), value.size());
163 AppendBytes(/*field_id=*/1, data, size);
/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb.cc323 msg()->AppendBytes(field_id, s.get(), j); in StringField()