/external/stlport/test/unit/ |
bsearch_test.cpp | 40 char const* labels[] = { "aa", "dd", "ff", "jj", "ss", "zz" }; local 41 const unsigned count = sizeof(labels) / sizeof(labels[0]); 44 CPPUNIT_ASSERT(binary_search(labels, labels + count, (const char *)"ff", str_compare));
|
unique_test.cpp | 52 const char* labels[] = {"Q", "Q", "W", "W", "E", "E", "R", "T", "T", "Y", "Y"}; local 54 const unsigned count = sizeof(labels) / sizeof(labels[0]); 56 unique((const char**)labels, (const char**)labels + count, str_equal); 59 CPPUNIT_ASSERT(*labels[0] == 'Q'); 60 CPPUNIT_ASSERT(*labels[1] == 'W'); 61 CPPUNIT_ASSERT(*labels[2] == 'E'); 62 CPPUNIT_ASSERT(*labels[3] == 'R'); 63 CPPUNIT_ASSERT(*labels[4] == 'T') 88 const char* labels[] = {"Q", "Q", "W", "W", "E", "E", "R", "T", "T", "Y", "Y"}; local [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
bsearch_test.cpp | 40 char const* labels[] = { "aa", "dd", "ff", "jj", "ss", "zz" }; local 41 const unsigned count = sizeof(labels) / sizeof(labels[0]); 44 CPPUNIT_ASSERT(binary_search(labels, labels + count, (const char *)"ff", str_compare));
|
unique_test.cpp | 52 const char* labels[] = {"Q", "Q", "W", "W", "E", "E", "R", "T", "T", "Y", "Y"}; local 54 const unsigned count = sizeof(labels) / sizeof(labels[0]); 56 unique((const char**)labels, (const char**)labels + count, str_equal); 59 CPPUNIT_ASSERT(*labels[0] == 'Q'); 60 CPPUNIT_ASSERT(*labels[1] == 'W'); 61 CPPUNIT_ASSERT(*labels[2] == 'E'); 62 CPPUNIT_ASSERT(*labels[3] == 'R'); 63 CPPUNIT_ASSERT(*labels[4] == 'T') 88 const char* labels[] = {"Q", "Q", "W", "W", "E", "E", "R", "T", "T", "Y", "Y"}; local [all...] |
/ndk/tests/device/test-stlport/unit/ |
bsearch_test.cpp | 40 char const* labels[] = { "aa", "dd", "ff", "jj", "ss", "zz" }; local 41 const unsigned count = sizeof(labels) / sizeof(labels[0]); 44 CPPUNIT_ASSERT(binary_search(labels, labels + count, (const char *)"ff", str_compare));
|
unique_test.cpp | 52 const char* labels[] = {"Q", "Q", "W", "W", "E", "E", "R", "T", "T", "Y", "Y"}; local 54 const unsigned count = sizeof(labels) / sizeof(labels[0]); 56 unique((const char**)labels, (const char**)labels + count, str_equal); 59 CPPUNIT_ASSERT(*labels[0] == 'Q'); 60 CPPUNIT_ASSERT(*labels[1] == 'W'); 61 CPPUNIT_ASSERT(*labels[2] == 'E'); 62 CPPUNIT_ASSERT(*labels[3] == 'R'); 63 CPPUNIT_ASSERT(*labels[4] == 'T') 88 const char* labels[] = {"Q", "Q", "W", "W", "E", "E", "R", "T", "T", "Y", "Y"}; local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
Contacts_OrganizationsTest.java | 30 CharSequence[] labels = getContext().getResources().getTextArray( local 34 assertEquals(labels[Organizations.TYPE_OTHER - 1], display); 38 assertEquals(labels[Organizations.TYPE_WORK - 1], display);
|
Contacts_ContactMethodsTest.java | 60 CharSequence[] labels = getContext().getResources().getTextArray( local 64 assertEquals(labels[ContactMethods.TYPE_HOME - 1], display); 68 assertEquals(labels[ContactMethods.TYPE_OTHER - 1], display); 72 assertEquals(labels[ContactMethods.TYPE_WORK - 1], display); 91 labels = getContext().getResources().getTextArray( 95 assertEquals(labels[ContactMethods.TYPE_HOME - 1], display); 99 assertEquals(labels[ContactMethods.TYPE_OTHER - 1], display); 103 assertEquals(labels[ContactMethods.TYPE_WORK - 1], display);
|
Contacts_PhonesTest.java | 30 CharSequence[] labels = getContext().getResources().getTextArray( local 34 assertEquals(labels[Phones.TYPE_HOME - 1], display); 38 assertEquals(labels[Phones.TYPE_MOBILE - 1], display); 42 assertEquals(labels[Phones.TYPE_WORK - 1], display); 46 assertEquals(labels[Phones.TYPE_FAX_WORK - 1], display); 50 assertEquals(labels[Phones.TYPE_FAX_HOME - 1], display); 54 assertEquals(labels[Phones.TYPE_PAGER - 1], display); 58 assertEquals(labels[Phones.TYPE_OTHER - 1], display);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
ACyclicDFACodeGenerator.java | 115 if ( edgeST.impl.formalArguments.get("labels")!=null ) { 116 List labels = edge.label.getSet().toList(); local 117 for (int j = 0; j < labels.size(); j++) { 118 Integer vI = (Integer) labels.get(j); 121 labels.set(j, label); // rewrite List element to be name 123 edgeST.add("labels", labels);
|
/external/iproute2/doc/ |
api-ip6-flowlabels.tex | 2 \def\TITLE{IPv6 Flow Labels} 5 \Large\bf IPv6 Flow Labels in Linux-2.2. 42 \item To assign flow labels to packets sent by user. 44 \item To get flow labels of received packets. I do not know 46 want to use flow labels to distinguish sub-flows. 48 \item To allocate flow labels in the way, compliant to RFC2460. Namely: 52 Flow labels must be uniformly distributed (pseudo-)random numbers, 65 with flow labels. 74 Flow labels have finite lifetime and source is not allowed to reuse 120 support flow labels, this field is not zero, but a random number [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
TaskListActivity.java | 43 String[] labels = {"Take out Trash", "Do Laundry", local 47 TaskAdapter myAdapter = new TaskAdapter(this, labels, checkboxes);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarDanglingStateMessage.java | 61 List labels = probe.getSampleNonDeterministicInputSequence(problemState); local 62 String input = probe.getInputSequenceDisplay(labels);
|
RecursionOverflowMessage.java | 75 List labels = local 77 String input = probe.getInputSequenceDisplay(labels);
|
GrammarNonDeterminismMessage.java | 70 List labels = probe.getSampleNonDeterministicInputSequence(problemState); local 71 String input = probe.getInputSequenceDisplay(labels); 108 labels);
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
TestActivity.java | 57 String[] labels = new String[mTests.length]; local 59 labels[i] = mTests[i].name; 62 setListAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, labels));
|
/external/jmonkeyengine/engine/src/core/com/jme3/app/ |
StatsView.java | 64 private BitmapText[] labels; field in class:StatsView 84 labels = new BitmapText[statLabels.length]; 87 for (int i = 0; i < labels.length; i++){ 88 labels[i] = new BitmapText(font); 89 labels[i].setLocalTranslation(0, labels[i].getLineHeight() * (i+1), 0); 90 attachChild(labels[i]); 102 for (int i = 0; i < labels.length; i++) { 105 labels[i].setText(stringBuilder);
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
BackupTestActivity.java | 188 String[] labels = new String[mTests.length]; local 190 labels[i] = mTests[i].name; 193 setListAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, labels));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
cursesapp.h | 154 // Attributes to use for (form) labels and SLKs 155 virtual chtype labels() const { function in class:NCursesApplication
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
cursesapp.h | 154 // Attributes to use for (form) labels and SLKs 155 virtual chtype labels() const { function in class:NCursesApplication
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
cursesapp.h | 154 // Attributes to use for (form) labels and SLKs 155 virtual chtype labels() const { function in class:NCursesApplication
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
TreeWizard.java | 59 public void visit(Object t, Object parent, int childIndex, Map labels); 63 public void visit(Object t, Object parent, int childIndex, Map labels) { 227 public void visit(Object t, Object parent, int childIndex, Map labels) { 245 * version of the general visit(t, pattern) method. The labels arg 286 final Map labels = new HashMap(); // reused for each _parse local 291 labels.clear(); 292 if ( _parse(t, tpattern, labels) ) { 293 visitor.visit(t, parent, childIndex, labels); 299 /** Given a pattern like (ASSIGN %lhs:ID %rhs:.) with optional labels 301 * return true if the pattern matches and fill the labels Map wit [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
MachineProbe.java | 78 /** Return a list of edge labels from start state to targetState. */ 81 List<IntSet> labels = new ArrayList<IntSet>(); local 89 labels.add(e.label.getSet()); 93 return labels; 101 public String getInputSequenceDisplay(Grammar g, List<IntSet> labels) { 103 for (IntSet label : labels) 111 * labels sequence. The nfaStates gives the set of NFA states associated 113 * nfaStates[i] will have an edge intersecting with labels[i]. 116 List<Set<NFAState>> nfaStates, List<IntSet> labels) { 121 IntSet label = labels.get(i) [all...] |
/external/chromium/chrome/browser/autofill/ |
autofill_profile_unittest.cc | 163 // As labels are empty they are adjusted the first time. 327 std::vector<string16> labels; local 330 &labels); 331 EXPECT_EQ(ASCIIToUTF16("John Doe, 666 Erebus St."), labels[0]); 332 EXPECT_EQ(ASCIIToUTF16("Jane Doe, 123 Letha Shore."), labels[1]); 336 &labels); 338 labels[0]); 340 labels[1]); 349 UNKNOWN_TYPE, 2, &labels); 350 EXPECT_EQ(ASCIIToUTF16("Elysium, CA"), labels[0]) 379 EXPECT_EQ(string16(), labels[0]); local 380 EXPECT_EQ(string16(), labels[1]); local 416 std::vector<string16> labels; local 450 std::vector<string16> labels; local 474 std::vector<string16> labels; local 491 labels[1]) << labels[1]; local [all...] |
/external/openfst/src/include/fst/ |
string.h | 53 vector<Label> labels; local 54 if (!ConvertStringToLabels(s, &labels)) 56 Compile(labels, fst); 62 vector<Label> labels; local 63 if (!ConvertStringToLabels(s, &labels)) 65 Compile(labels, fst, w); 70 bool ConvertStringToLabels(const string &str, vector<Label> *labels) const { 71 labels->clear(); 74 labels->push_back(static_cast<unsigned char>(str[i])); 76 return UTF8StringToLabels(str, labels); [all...] |