/external/stlport/test/unit/ |
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...] |
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));
|
/ndk/tests/device/test-gnustl-full/unit/ |
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...] |
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));
|
/ndk/tests/device/test-stlport/unit/ |
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...] |
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));
|
/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);
|
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/ |
AutoFillHostAndroid.cpp | 38 void AutoFillHostAndroid::AutoFillSuggestionsReturned(const std::vector<string16>& names, const std::vector<string16>& labels, const std::vector<string16>& icons, const std::vector<int>& uniqueIds) 42 mAutofill->querySuccessful(names[0], labels[0], uniqueIds[0]);
|
AutoFillHostAndroid.h | 46 virtual void AutoFillSuggestionsReturned(const std::vector<string16>& names, const std::vector<string16>& labels, const std::vector<string16>& icons, const std::vector<int>& uniqueIds);
|
/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...] |
icu.h | 34 bool UTF8StringToLabels(const string &str, vector<Label> *labels) { 40 labels->push_back(c); 67 labels->push_back(code); 74 bool LabelsToUTF8String(const vector<Label> &labels, string *str) { 76 for (size_t i = 0; i < labels.size(); ++i) { 77 int32_t code = labels[i];
|
/external/smack/src/org/xbill/DNS/ |
Name.java | 28 * of labels and the 7 higher order bytes store per-label offsets. 50 /** The maximum number of labels in a Name */ 112 setlabels(int labels) { 114 offsets |= labels; 130 int labels = src.labels(); local 133 for (int i = 0; i < labels && i < MAXOFFSETS; i++) 135 dst.setlabels(labels); 154 int labels = getlabels(); local 155 int newlabels = labels + n 448 int labels = newname.labels() - origin.labels(); local 546 labels() { method in class:Name 555 int labels = labels(); local 592 int labels = labels(); local 650 int labels = labels(); local 701 int labels = labels(); local 734 int labels = labels(); local 801 int labels = labels(); local [all...] |
SIGBase.java | 20 protected int alg, labels; field in class:SIGBase 40 this.labels = name.labels() - 1; 42 this.labels--; 55 labels = in.readU8(); 74 labels = st.getUInt8(); 91 sb.append (labels); 130 * Returns the number of labels in the signed domain name. This may be 136 return labels; 184 out.writeU8(labels); [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/webkit/Source/WebCore/html/ |
HTMLProgressElement.idl | 30 readonly attribute NodeList labels;
|
/external/chromium/chrome/browser/autofill/ |
autofill_host.h | 45 virtual void AutoFillSuggestionsReturned(const std::vector<string16>& values, const std::vector<string16>& labels, const std::vector<string16>& icons, const std::vector<int>& unique_ids) = 0;
|
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...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
LabelsActivity.java | 27 setContentView(R.layout.labels);
|
/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/runtime/Ruby/test/unit/ |
test-tree-wizard.rb | 254 @wizard.visit( tree, B ) do |node, parent, child_index, labels| 266 @wizard.visit( tree, C ) do |node, parent, child_index, labels| 278 @wizard.visit( tree, B ) do |node, parent, child_index, labels| 290 @wizard.visit( tree, A ) do |node, parent, child_index, labels| 305 @wizard.visit( tree, B ) do |node, parent, child_index, labels| 317 @wizard.visit( tree, A ) do |node, parent, child_index, labels| 328 @wizard.visit(tree, '(A B)') do |node, parent, child_index, labels| 340 @wizard.visit(tree, '(A B)') do |node, parent, child_index, labels| 347 def labeled_context(node, parent, index, labels, *names) 348 suffix = names.map { |n| labels[n].to_s }.join('&' [all...] |
/external/webkit/Source/WebKit/mac/WebView/ |
WebHTMLRepresentation.h | 70 - (NSString *)searchForLabels:(NSArray *)labels beforeElement:(DOMElement *)element resultDistance:(WebNSUInteger*)outDistance resultIsInCellAbove:(BOOL*)outIsInCellAbove; 71 - (NSString *)matchLabels:(NSArray *)labels againstElement:(DOMElement *)element; 74 - (NSString *)searchForLabels:(NSArray *)labels beforeElement:(DOMElement *)element; // Use -searchForLabels:beforeElement:resultDistance:resultIsInCellAbove:
|
/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/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...] |