Home
last modified time | relevance | path

Searched refs:parse_status (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dsharding_util_test.cc37 auto parse_status = ParseShardingFromDevice("", 1); in TEST() local
38 TF_EXPECT_OK(parse_status.status()); in TEST()
39 EXPECT_EQ(-1, core_from_sharding(parse_status.ValueOrDie())); in TEST()
40 parse_status = ParseShardingFromDevice("", 100); in TEST()
41 TF_EXPECT_OK(parse_status.status()); in TEST()
42 EXPECT_EQ(-1, core_from_sharding(parse_status.ValueOrDie())); in TEST()
44 parse_status = ParseShardingFromDevice("/device:A_REPLICATED_CORE:-1", 100); in TEST()
45 EXPECT_FALSE(parse_status.ok()); in TEST()
47 parse_status = ParseShardingFromDevice("/device:A_REPLICATED_CORE:55", 100); in TEST()
48 TF_EXPECT_OK(parse_status.status()); in TEST()
[all …]
Dtf2xla_util_test.cc245 auto parse_status = ParseShardingFromDevice(*c_node, num_cores_per_replica, in TEST() local
247 TF_ASSERT_OK(parse_status.status()); in TEST()
248 ASSERT_TRUE(parse_status.ValueOrDie().has_value()); in TEST()
249 EXPECT_EQ(2, parse_status.ValueOrDie().value().tile_assignment_devices(0)); in TEST()
254 parse_status = ParseShardingFromDevice(*c_node, num_cores_per_replica, in TEST()
256 TF_ASSERT_OK(parse_status.status()); in TEST()
257 ASSERT_TRUE(parse_status.ValueOrDie().has_value()); in TEST()
258 EXPECT_EQ(1, parse_status.ValueOrDie().value().tile_assignment_devices(0)); in TEST()
262 parse_status = ParseShardingFromDevice(*a_node, num_cores_per_replica, in TEST()
264 TF_ASSERT_OK(parse_status.status()); in TEST()
[all …]
/external/oss-fuzz/projects/cel-cpp/
Dfuzz_parse.cc26 auto parse_status = google::api::expr::parser::Parse(str, "fuzzinput", MAX_RECURSION); in LLVMFuzzerTestOneInput() local
27 if (!parse_status.ok()) { in LLVMFuzzerTestOneInput()
28 parse_status.status().message(); in LLVMFuzzerTestOneInput()
/external/tensorflow/tensorflow/python/util/
Dtransform_graph_wrapper.cc40 Status parse_status = graph_transforms::ParseTransformParameters( in TransformGraphWithStringInputs() local
42 if (!parse_status.ok()) { in TransformGraphWithStringInputs()
43 MaybeRaiseFromStatus(parse_status); in TransformGraphWithStringInputs()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_graph.cc239 Status parse_status = in ParseFlagsAndTransformGraph() local
241 if (!parse_status.ok()) { in ParseFlagsAndTransformGraph()
243 << parse_status.error_message(); in ParseFlagsAndTransformGraph()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dtext_handler.cpp277 EncodeNumberStatus parse_status = ParseAndEncodeNumber( in binaryEncodeNumericLiteral() local
281 switch (parse_status) { in binaryEncodeNumericLiteral()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/
Dtext_handler.cpp277 EncodeNumberStatus parse_status = ParseAndEncodeNumber( in binaryEncodeNumericLiteral() local
281 switch (parse_status) { in binaryEncodeNumericLiteral()
/external/deqp-deps/SPIRV-Tools/source/
Dtext_handler.cpp277 EncodeNumberStatus parse_status = ParseAndEncodeNumber( in binaryEncodeNumericLiteral() local
281 switch (parse_status) { in binaryEncodeNumericLiteral()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc264 const int parse_status = ares_parse_srv_reply(abuf, alen, &reply); in on_srv_query_done_locked() local
265 if (parse_status == ARES_SUCCESS) { in on_srv_query_done_locked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc743 const int parse_status = ares_parse_srv_reply(abuf, alen, &reply); in on_srv_query_done_locked() local
745 parse_status); in on_srv_query_done_locked()
746 if (parse_status == ARES_SUCCESS) { in on_srv_query_done_locked()
/external/iptables/extensions/
Dlibxt_conntrack.c268 parse_status(const char *status, size_t len, struct xt_conntrack_info *sinfo) in parse_status() function
293 if (comma == arg || !parse_status(arg, comma-arg, sinfo)) in parse_statuses()
298 if (strlen(arg) == 0 || !parse_status(arg, strlen(arg), sinfo)) in parse_statuses()
/external/libhevc/decoder/
Dihevcd_parse_slice.c3444 WORD32 parse_status = *(ps_codec->pu1_parse_map + ctb_indx); in ihevcd_parse_slice_data() local
3447 if(parse_status == proc_status) in ihevcd_parse_slice_data()
/external/libwebm/mkvparser/
Dmkvparser.cc5002 const long long parse_status = in Parse() local
5007 if (parse_status < 0 || parser_value < 0.0 || parser_value > 1.0 || in Parse()
/external/libvpx/libvpx/third_party/libwebm/mkvparser/
Dmkvparser.cc5002 const long long parse_status = in Parse() local
5007 if (parse_status < 0 || parser_value < 0.0 || parser_value > 1.0 || in Parse()
/external/libaom/libaom/third_party/libwebm/mkvparser/
Dmkvparser.cc5002 const long long parse_status = in Parse() local
5007 if (parse_status < 0 || parser_value < 0.0 || parser_value > 1.0 || in Parse()
/external/libvpx/libwebm/mkvparser/
Dmkvparser.cc5002 const long long parse_status = in Parse() local
5007 if (parse_status < 0 || parser_value < 0.0 || parser_value > 1.0 || in Parse()