Home
last modified time | relevance | path

Searched refs:label2 (Results 1 – 25 of 37) sorted by relevance

12

/external/libtextclassifier/
Dfeature-processor_test.cc332 int label2; in TEST() local
333 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 8}, tokens, &label2)); in TEST()
334 EXPECT_EQ(label, label2); in TEST()
335 ASSERT_TRUE(feature_processor2.SpanToLabel({6, 9}, tokens, &label2)); in TEST()
336 EXPECT_EQ(label, label2); in TEST()
337 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 9}, tokens, &label2)); in TEST()
338 EXPECT_EQ(label, label2); in TEST()
341 ASSERT_TRUE(feature_processor2.SpanToLabel({4, 9}, tokens, &label2)); in TEST()
342 EXPECT_EQ(kInvalidLabel, label2); in TEST()
343 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 10}, tokens, &label2)); in TEST()
[all …]
/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt80 >>> rpc_interface.add_label(name='label2', platform=True)
93 >>> rpc_interface.get_labels(name='label2')
213 >>> rpc_interface.add_label(name='label2', platform=True)
218 >>> rpc_interface.host_add_labels(id='host2', labels=['label1', 'label2'])
226 [u'label1', u'label2']
228 u'label2'
235 >>> data = rpc_interface.get_hosts(labels__name='label2')
240 >>> rpc_interface.host_remove_labels(id='host2', labels=['label2'])
244 >>> rpc_interface.get_hosts(labels__name='label2')
255 >>> rpc_interface.label_add_hosts(id='label2', hosts=['host1', 'host2'])
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DMethodProbesAdapterTest.java240 Label label2 = new Label(); in testVisitLookupSwitchInsn2() local
241 LabelInfo.setTarget(label2); in testVisitLookupSwitchInsn2()
242 LabelInfo.setTarget(label2); in testVisitLookupSwitchInsn2()
245 final Label[] labels = new Label[] { label2, label }; in testVisitLookupSwitchInsn2()
255 assertEquals(1000, LabelInfo.getProbeId(label2)); in testVisitLookupSwitchInsn2()
288 Label label2 = new Label(); in testVisitTableSwitchInsn2() local
289 LabelInfo.setTarget(label2); in testVisitTableSwitchInsn2()
290 LabelInfo.setTarget(label2); in testVisitTableSwitchInsn2()
292 final Label[] labels = new Label[] { label2, label }; in testVisitTableSwitchInsn2()
302 assertEquals(1000, LabelInfo.getProbeId(label2)); in testVisitTableSwitchInsn2()
/external/llvm/test/FileCheck/
Dcheck-label.txt12 label2:
24 ; CHECKOK-LABEL: {{^}}label2:
44 ; CHECKFAIL-LABEL: {{^}}label2:
/external/llvm/test/Bitcode/
DterminatorInstructions.3.2.ll66 ; CHECK-NEXT: i32 2, label %label2
67 i32 2, label %label2
71 label2:
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dcontract.ll9 br label %label2
12 label2:
/external/llvm/test/MC/Mips/
Dhilo-addressing.s20 # Check that assembler can handle %hi(label1 - label2) and %lo(label1 - label2)
/external/python/cpython3/Lib/encodings/
Didna.py134 label2 = ToASCII(result)
138 if str(label, "ascii").lower() != str(label2, "ascii"):
139 raise UnicodeError("IDNA does not round-trip", label, label2)
/external/python/cpython2/Lib/encodings/
Didna.py134 label2 = ToASCII(result)
138 if label.lower() != label2:
139 raise UnicodeError("IDNA does not round-trip", label, label2)
/external/autotest/frontend/tko/
Drpc_interface_unittest_fixme.py204 label2 = models.TestLabel.objects.create(name='testlabel2')
207 label2.tests.add(job1_test1)
408 label2 = labels[1]
411 self._check_for_get_test_labels(label2, 2)
426 label2 = labels[1]
429 self._check_for_get_test_labels(label2, 2)
/external/skqp/gm/
Dgamma.cpp64 auto nextRect = [&](const char* label, const char* label2) { in __anon36fb9b330202() argument
67 if (label2) { in __anon36fb9b330202()
68 canvas->drawString(label2, 0, sz + 2 * textPaint.getFontSpacing(), in __anon36fb9b330202()
/external/skia/gm/
Dgamma.cpp64 auto nextRect = [&](const char* label, const char* label2) { in __anona3fcccbc0202() argument
67 if (label2) { in __anona3fcccbc0202()
68 canvas->drawString(label2, 0, sz + 2 * textPaint.getFontSpacing(), in __anona3fcccbc0202()
/external/llvm/test/CodeGen/Hexagon/
Dblock-addr.ll18 i32 2, label %label2
36 label2:
/external/clang/test/Analysis/
Duninit-sometimes.cpp79 goto label2; in test_do_while_true()
83 label2: ; in test_do_while_true()
/external/autotest/frontend/afe/
Drpc_interface_unittest.py98 label2 = models.Label.objects.create(name='bluetooth', platform=False)
138 host2, label2): argument
148 job2 = self._createJobForLabel(label2)
529 label2 = models.Label.smart_get('label2')
535 host1.labels.add(label2)
598 label2 = models.Label.smart_get('label2')
605 host.labels.add(label2)
609 [label1, label], [label2.name])
611 [label1], [label2.name, static_label.name])
617 label2 = models.Label.smart_get('label2')
[all …]
Dfrontend_test_utils.py37 self.label1, self.label2, self.label3, self.label6, self.label7, _ \
47 self.hosts[1].labels.add(self.label2)
/external/lisa/libs/utils/analysis/
Dcpus_analysis.py135 label2 = '_{}s'.format(label.lower())
197 self._trace.plots_prefix, label2)
/external/clang/test/CXX/stmt.stmt/stmt.label/
Dp1.cpp10 goto label2; // expected-error{{use of undeclared label 'label2'}} in f()
/external/toolchain-utils/crosperf/
Dmock_instance.py25 label2 = MockLabel( variable
Dresults_organizer_unittest.py137 labels = [mock_instance.label1, mock_instance.label2]
/external/dtc/tests/
Ddelete_reinstate_multilabel.dts6 label1: label2: prop = "value";
/external/autotest/server/control_segments/
Dverify13 # A string of the form 'label1,label2:value,label3'.
Dreset15 # A string of the form 'label1,label2:value,label3'.
Drepair9 # A string of the form 'label1,label2:value,label3'.
Dcleanup17 # A string of the form 'label1,label2:value,label3'.

12