Home
last modified time | relevance | path

Searched refs:expected_name (Results 1 – 19 of 19) sorted by relevance

/external/autotest/client/site_tests/cellular_ServiceName/
Dcellular_ServiceName.py85 def _verify_service_name(self, expected_name): argument
97 if service_name != expected_name:
100 (expected_name, service_name))
102 expected_name)
136 expected_name = (TEST_3GPP_HOME_CARRIER + ' | ' +
138 self._verify_service_name(expected_name)
/external/flatbuffers/tests/
Dtest_builder.cpp116 bool verify(const flatbuffers::DetachedBuffer &buf, const std::string &expected_name, Color color) { in verify() argument
118 return (monster->name()->str() == expected_name) && (monster->color() == color); in verify()
121 bool verify(const uint8_t *buf, size_t offset, const std::string &expected_name, Color color) { in verify() argument
123 return (monster->name()->str() == expected_name) && (monster->color() == color); in verify()
126 bool release_n_verify(flatbuffers::FlatBufferBuilder &fbb, const std::string &expected_name, Color … in release_n_verify() argument
128 return verify(buf, expected_name, color); in release_n_verify()
Dtest_builder.h42 bool verify(const flatbuffers::DetachedBuffer &buf, const std::string &expected_name, Color color);
43 bool verify(const uint8_t *buf, size_t offset, const std::string &expected_name, Color color);
45 bool release_n_verify(flatbuffers::FlatBufferBuilder &fbb, const std::string &expected_name, Color …
46 bool release_n_verify(flatbuffers::grpc::MessageBuilder &mbb, const std::string &expected_name, Col…
/external/tensorflow/tensorflow/lite/tools/evaluation/
Devaluation_stage.h142 const std::string& expected_name = mapping_iter->second; in GetObjectFromTag() local
145 auto object_iter = object_map.find(expected_name); in GetObjectFromTag()
147 LOG(ERROR) << "Could not find object for name: " << expected_name; in GetObjectFromTag()
151 LOG(ERROR) << "Found null pointer for name: " << expected_name; in GetObjectFromTag()
172 const std::string& expected_name = mapping_iter->second; in AssignObjectToTag() local
174 object_map[expected_name] = object_ptr; in AssignObjectToTag()
/external/autotest/client/cros/networking/chrome_testing/
Dtest_utils.py88 network, expected_name, expected_type, check_name_prefix=True): argument
112 'only=%s).' % (network_name, expected_name, check_name_prefix))
113 if ((check_name_prefix and not network_name.startswith(expected_name)) or
114 (not check_name_prefix and network_name != expected_name)):
/external/python/cpython3/Lib/test/
Dtest_getpass.py21 expected_name = 'some_name'
22 environ.get.return_value = expected_name
23 self.assertEqual(expected_name, getpass.getuser())
36 expected_name = 'some_name'
42 getpw.return_value = [expected_name]
43 self.assertEqual(expected_name,
Dtest_runpy.py400 expected_name = mod_name
402 expected_name = run_name
408 self.assertEqual(d1["__name__"], expected_name)
422 self.assertEqual(d2["__name__"], expected_name)
601 def _check_script(self, script_name, expected_name, expected_file, argument
609 spec_name = expected_name
622 "__name__": expected_name,
Dtest_codecs.py2820 expected_name = codecs.lookup(codec_name).name
2824 self.assertEqual(info.name, expected_name)
/external/autotest/server/cros/dynamic_suite/
Djob_status_unittest.py119 expected_name = '%s_%s' % (job_name, job.statuses[i].test_name)
122 expected_name = job.statuses[i].test_name
124 self.assertEqual(results[i].test_name, expected_name)
/external/flatbuffers/grpc/tests/
Dmessage_builder_test.cpp10 bool verify(flatbuffers::grpc::Message<Monster> &msg, const std::string &expected_name, Color color… in verify() argument
12 return (monster->name()->str() == expected_name) && (monster->color() == color); in verify()
15 bool release_n_verify(flatbuffers::grpc::MessageBuilder &mbb, const std::string &expected_name, Col… in release_n_verify() argument
18 return (monster->name()->str() == expected_name) && (monster->color() == color); in release_n_verify()
/external/deqp-deps/SPIRV-Tools/test/
Dname_mapper_test.cpp40 std::string expected_name; member
52 EXPECT_THAT(mapper(GetParam().id), Eq(GetParam().expected_name)) in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dname_mapper_test.cpp40 std::string expected_name; member
52 EXPECT_THAT(mapper(GetParam().id), Eq(GetParam().expected_name)) in TEST_P()
/external/skqp/tests/
DAnimatedImageTest.cpp90 SkString expected_name = SkStringPrintf("expected_%c", '0' + expectedFrame); in compare_bitmaps() local
92 write_bm(expected_name.c_str(), expectedBm); in compare_bitmaps()
/external/skia/tests/
DAnimatedImageTest.cpp90 SkString expected_name = SkStringPrintf("expected_%c", '0' + expectedFrame); in compare_bitmaps() local
92 write_bm(expected_name.c_str(), expectedBm); in compare_bitmaps()
/external/wpa_supplicant_8/hs20/client/
Dspp_client.c42 const char *expected_name) in hs20_spp_validate() argument
56 if (strcmp(expected_name, name) != 0) { in hs20_spp_validate()
58 name, expected_name); in hs20_spp_validate()
60 name, expected_name); in hs20_spp_validate()
/external/tensorflow/tensorflow/python/kernel_tests/
Dstage_op_test.py109 expected_name = gpu_dev if 'gpu' not in gpu_dev else '/device:GPU:0'
110 self.assertEqual(y.device, expected_name)
Dmap_stage_op_test.py116 expected_name = gpu_dev if 'gpu' not in gpu_dev else '/device:GPU:0'
117 self.assertEqual(y.device, expected_name)
/external/python/cpython2/Lib/test/
Dtest_runpy.py338 def _check_script(self, script_name, expected_name, expected_file, argument
341 self.assertEqual(result["__name__"], expected_name)
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dlayers_test.py1853 expected_name = ('BatchNorm/FusedBatchNorm'
1855 self.assertTrue(output.op.name.startswith(expected_name))