Home
last modified time | relevance | path

Searched +defs:status +defs:proto (Results 1 – 25 of 162) sorted by relevance

1234567

/external/tink/cc/jwt/internal/
Djson_util.cc31 util::Status ConvertProtoStatus(const google::protobuf::util::Status& status) { in ConvertProtoStatus()
40 google::protobuf::Struct proto; in JsonStringToProtoStruct() local
42 …auto status = google::protobuf::util::JsonStringToMessage(google::protobuf::StringPiece(json_strin… in JsonStringToProtoStruct() local
52 google::protobuf::ListValue proto; in JsonStringToProtoList() local
54 …auto status = google::protobuf::util::JsonStringToMessage(google::protobuf::StringPiece(json_strin… in JsonStringToProtoList() local
63 const google::protobuf::Struct& proto) { in ProtoStructToJsonString()
65 auto status = google::protobuf::util::MessageToJsonString(proto, &output); in ProtoStructToJsonString() local
73 const google::protobuf::ListValue& proto) { in ProtoListToJsonString()
75 auto status = google::protobuf::util::MessageToJsonString(proto, &output); in ProtoListToJsonString() local
/external/tensorflow/tensorflow/tsl/platform/default/
Dhuman_readable_json.cc24 Status ProtoToHumanReadableJson(const protobuf::Message& proto, string* result, in ProtoToHumanReadableJson()
31 auto status = in ProtoToHumanReadableJson() local
44 Status ProtoToHumanReadableJson(const protobuf::MessageLite& proto, in ProtoToHumanReadableJson()
50 Status HumanReadableJsonToProto(const string& str, protobuf::Message* proto) { in HumanReadableJsonToProto()
52 auto status = protobuf::util::JsonStringToMessage(str, proto); in HumanReadableJsonToProto() local
65 protobuf::MessageLite* proto) { in HumanReadableJsonToProto()
/external/sandboxed-api/sandboxed_api/util/
Dstatus_test.cc32 StatusProto proto; in OkStatusProto() local
38 StatusProto proto; in InvalidArgumentStatusProto() local
45 StatusProto proto; in TEST() local
54 absl::Status status(absl::StatusCode::kInvalidArgument, kErrorMessage); in TEST() local
55 StatusProto proto; in TEST() local
Dstatus.cc27 void SaveStatusToProto(const absl::Status& status, StatusProto* out) { in SaveStatusToProto()
37 absl::Status MakeStatusFromProto(const StatusProto& proto) { in MakeStatusFromProto()
38 absl::Status status(static_cast<absl::StatusCode>(proto.code()), in MakeStatusFromProto() local
/external/tensorflow/tensorflow/core/framework/
Dvariant_tensor_data.cc23 VariantTensorData::VariantTensorData(VariantTensorDataProto proto) { in VariantTensorData()
51 bool VariantTensorData::FromProto(VariantTensorDataProto proto) { in FromProto()
63 bool VariantTensorData::FromConstProto(const VariantTensorDataProto& proto) { in FromConstProto()
75 VariantTensorDataProto proto; in SerializeAsString() local
81 VariantTensorDataProto proto; in SerializeToString() local
87 VariantTensorDataProto proto; in ParseFromString() local
88 const bool status = proto.ParseFromString(s); in ParseFromString() local
Dtensor_shape_test.cc122 TensorShapeProto proto; in TEST() local
141 TensorShapeProto proto; in TEST() local
211 Status status = s.AddDimWithStatus(400); in TEST() local
222 Status status = TensorShape::BuildTensorShapeBase({10, 5, 20}, &s); in TEST() local
377 bool TensorShapeOld::IsValid(const TensorShapeProto& proto) { in IsValid()
387 Status TensorShapeOld::IsValidShape(const TensorShapeProto& proto) { in IsValidShape()
405 TensorShapeOld::TensorShapeOld(const TensorShapeProto& proto) { in TensorShapeOld()
508 string TensorShapeOld::DebugString(const TensorShapeProto& proto) { in DebugString()
619 TensorShapeProto proto; in TEST() local
636 TensorShapeProto proto; in TEST() local
/external/tensorflow/tensorflow/compiler/mlir/python/
Dmlir.cc103 bool show_debug_info, TF_Status* status) { in RunPassPipelineOnModule()
126 static std::string ImportGraphDefImpl(const std::string& proto, in ImportGraphDefImpl()
131 TF_Status* status) { in ImportGraphDefImpl()
152 TF_Status* status) { in ImportFunction()
189 std::string ImportGraphDef(const std::string& proto, in ImportGraphDef()
191 bool show_debug_info, TF_Status* status) { in ImportGraphDef()
198 std::string ImportGraphDef(const std::string& proto, in ImportGraphDef()
203 absl::string_view output_names, TF_Status* status) { in ImportGraphDef()
221 bool show_debug_info, TF_Status* status) { in ExperimentalConvertSavedModelToMlir()
250 TF_Status* status) { in ExperimentalConvertSavedModelV1ToMlirLite()
[all …]
/external/tensorflow/tensorflow/python/client/
Dtf_session_wrapper.cc162 tensorflow::Safe_TF_StatusPtr status = in PYBIND11_MODULE() local
176 m.def("_TF_SetConfig", [](TF_SessionOptions* options, py::bytes proto) { in PYBIND11_MODULE()
177 tensorflow::Safe_TF_StatusPtr status = in PYBIND11_MODULE() local
206 tensorflow::Safe_TF_StatusPtr status = in PYBIND11_MODULE() local
231 tensorflow::Safe_TF_StatusPtr status = in PYBIND11_MODULE() local
253 tensorflow::Safe_TF_StatusPtr status = in PYBIND11_MODULE() local
266 tensorflow::Safe_TF_StatusPtr status = in PYBIND11_MODULE() local
279 tensorflow::Safe_TF_StatusPtr status = in PYBIND11_MODULE() local
323 tensorflow::Safe_TF_StatusPtr status = in PYBIND11_MODULE() local
334 tensorflow::Safe_TF_StatusPtr status = in PYBIND11_MODULE() local
[all …]
/external/cronet/stable/components/metrics/structured/lib/
Dpersistent_proto_unittest.cc24 void PopulateTestProto(KeyProto* proto) { in PopulateTestProto()
32 KeyProto proto; in MakeTestProto() local
74 KeyProto proto; in ReadFromDisk() local
79 void WriteToDisk(const KeyProto& proto) { WriteToDisk(GetPath(), proto); } in WriteToDisk()
81 void WriteToDisk(const base::FilePath& path, const KeyProto& proto) { in WriteToDisk()
85 void OnRead(const ReadStatus status) { in OnRead()
94 void OnWrite(const WriteStatus status) { in OnWrite()
/external/cronet/tot/components/metrics/structured/lib/
Dpersistent_proto_unittest.cc24 void PopulateTestProto(KeyProto* proto) { in PopulateTestProto()
32 KeyProto proto; in MakeTestProto() local
74 KeyProto proto; in ReadFromDisk() local
79 void WriteToDisk(const KeyProto& proto) { WriteToDisk(GetPath(), proto); } in WriteToDisk()
81 void WriteToDisk(const base::FilePath& path, const KeyProto& proto) { in WriteToDisk()
85 void OnRead(const ReadStatus status) { in OnRead()
94 void OnWrite(const WriteStatus status) { in OnWrite()
/external/grpc-grpc/third_party/upb/upb/util/
Ddef_to_proto_test.h70 upb::Status status; in AddFile() local
71 google_protobuf_FileDescriptorProto* proto = google_protobuf_FileDescriptorProto_parse( in AddFile() local
105 upb::Status status; in AddFile() local
106 google_protobuf_FileDescriptorProto* proto = google_protobuf_FileDescriptorProto_parse( in AddFile() local
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/upb/util/
Ddef_to_proto_test.h62 upb::Status status; in AddFile() local
63 google_protobuf_FileDescriptorProto* proto = google_protobuf_FileDescriptorProto_parse( in AddFile() local
97 upb::Status status; in AddFile() local
98 google_protobuf_FileDescriptorProto* proto = google_protobuf_FileDescriptorProto_parse( in AddFile() local
/external/tensorflow/tensorflow/dtensor/cc/
Dsmall_constant_optimization.cc44 TensorProto* proto) { in AppendIntValues()
51 TensorProto* proto) { in AppendInt64Values()
58 const TF_TString* string_values, TensorProto* proto) { in AppendStringValues()
66 TensorProto* proto) { in AppendFloatValues()
77 TF_Status* status) { in ExtractSmallTensorValue()
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_parser.cc344 const ProtoType& proto, in StoreRtpPackets()
613 const ProtoType& proto, in StoreRtcpPackets()
1151 ParseStatus status = ParseStreamInternal(s); in ParseStream() local
1391 auto status = StoreParsedLegacyEvent(event_stream.stream(0)); in ParseStreamInternal() local
1402 auto status = StoreParsedNewFormatEvent(event_stream); in ParseStreamInternal() local
1673 auto status = GetRtcpPacket(event, &direction, &packet); in StoreParsedLegacyEvent() local
1863 auto status = GetHeaderExtensions(&config.rtp_extensions, in GetVideoReceiveConfig() local
1915 auto status = GetHeaderExtensions(&config.rtp_extensions, in GetVideoSendConfig() local
1945 auto status = GetHeaderExtensions(&config.rtp_extensions, in GetAudioReceiveConfig() local
1964 auto status = GetHeaderExtensions(&config.rtp_extensions, in GetAudioSendConfig() local
[all …]
/external/pigweed/pw_thread/
Dthread_snapshot_service.cc30 namespace pw::thread::proto { namespace
69 void ErrorLog(Status status) { in ErrorLog()
89 Status status; in DecodeThreadName() local
106 Status status; in GetPeakStackUsage() member
115 if (const auto status = DecodeThreadName(request, name_request); in GetPeakStackUsage() local
150 if (const auto status = ForEachThread(cb); !status.ok()) { in GetPeakStackUsage() local
159 Status status; in GetPeakStackUsage() local
/external/selinux/libsepol/src/
Dports.c17 static inline int sepol2ipproto(sepol_handle_t * handle, int proto) in sepol2ipproto()
35 static inline int ipproto2sepol(sepol_handle_t * handle, int proto) in ipproto2sepol()
66 int proto = sepol_port_get_proto(data); in port_from_record() local
119 int proto = port->u.port.protocol; in port_to_record() local
183 int low, high, proto; in sepol_port_exists() local
221 int low, high, proto; in sepol_port_query() local
261 int low, high, proto; in sepol_port_modify() local
301 int status; in sepol_port_iterate() local
Dnodes.c23 int proto; in node_from_record() local
85 ocontext_t * node, int proto, sepol_node_t ** record) in node_to_record()
177 int proto; in sepol_node_exists() local
237 int proto; in sepol_node_query() local
304 int proto; in sepol_node_modify() local
354 int status; in sepol_node_iterate() local
/external/pigweed/pw_protobuf/
Ddecoder.cc26 if (Status status = SkipField(); !status.ok()) { in Next() local
63 Status status = ReadUint64(&value); in ReadUint32() local
76 Status status = ReadSint64(&value); in ReadSint32() local
89 Status status = ReadUint64(&value); in ReadSint64() local
99 Status status = ReadUint64(&value); in ReadBool() local
109 Status status = ReadDelimited(&bytes); in ReadString() local
186 if (Status status = ConsumeKey(WireType::kVarint); !status.ok()) { in ReadVarint() local
204 Status status = ConsumeKey(expected_wire_type); in ReadFixed() local
221 Status status = ConsumeKey(WireType::kDelimited); in ReadDelimited() local
244 Status CallbackDecoder::Decode(span<const std::byte> proto) { in Decode()
[all …]
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compile_op.cc48 CompilationResultProto proto; in Compute() local
49 Status status; in Compute() local
/external/tensorflow/tensorflow/c/
Dc_api_function.cc158 const char* description, TF_Status* status) { in TF_GraphToFunctionWithControlOutputs()
233 const char* description, TF_Status* status) { in TF_GraphToFunction()
245 const TF_Function* grad, TF_Status* status) { in TF_GraphCopyFunction()
273 TF_Status* status) { in TF_GraphGetFunctions()
290 TF_Status* status) { in TF_FunctionToFunctionDef()
294 TF_Function* TF_FunctionImportFunctionDef(const void* proto, size_t proto_len, in TF_FunctionImportFunctionDef()
295 TF_Status* status) { in TF_FunctionImportFunctionDef()
308 const void* proto, size_t proto_len, in TF_FunctionSetAttrValueProto()
309 TF_Status* status) { in TF_FunctionSetAttrValueProto()
323 TF_Status* status) { in TF_FunctionGetAttrValueProto()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_kernel_creator_test.cc69 FunctionDefLibrary proto; in Init() local
110 Status status = xla_kernel_creator.CreateKernel(flr_, callsite, &kernel_); in TEST_F() local
132 Status status = in TEST_F() local
149 Status status = in TEST_F() local
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dconstant_loading_test.cc65 TensorProto proto; in TEST_P() local
79 Status status; in TEST_P() local
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcluster_function_library_runtime_test.cc79 Status status; in InstantiateAndRun() local
121 FunctionDefLibrary proto; in TEST_F() local
380 FunctionDefLibrary proto; in TEST_F() local
395 FunctionDefLibrary proto; in TEST_F() local
/external/tensorflow/tensorflow/core/util/proto/
Ddescriptors.cc77 protobuf::FileDescriptorSet proto; in GetDescriptorPoolFromBinary() local
101 Status status = in GetDescriptorPool() local
/external/tensorflow/tensorflow/c/eager/
Dc_api.cc99 void TFE_ContextOptionsSetConfig(TFE_ContextOptions* options, const void* proto, in TFE_ContextOptionsSetConfig()
100 size_t proto_len, TF_Status* status) { in TFE_ContextOptionsSetConfig()
116 TFE_Context* TFE_NewContext(const TFE_ContextOptions* opts, TF_Status* status) { in TFE_NewContext()
172 TF_DeviceList* TFE_ContextListDevices(TFE_Context* ctx, TF_Status* status) { in TFE_ContextListDevices()
185 const void* proto, in TFE_ContextSetServerDef()
187 TF_Status* status) { in TFE_ContextSetServerDef()
206 const void* proto, in TFE_ContextUpdateServerDef()
208 TF_Status* status) { in TFE_ContextUpdateServerDef()
233 TF_Status* status) { in TFE_ContextCheckAlive()
248 TF_Status* status) { in TFE_ContextAsyncWait()
[all …]

1234567