/cts/tests/tests/provider/src/android/provider/cts/ |
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);
|
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);
|
/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/icu4c/test/intltest/ |
alphaindextst.h | 37 * Test labels with multiple primary weights. 41 * With no real labels, there should be only the underflow label.
|
/external/chromium-libpac/test/ |
Android.mk | 15 -Wno-endif-labels \
|
/external/iproute2/include/linux/ |
if_addrlabel.h | 2 * if_addrlabel.h - netlink interface for address labels
|
/external/chromium_org/chrome/common/metrics/variations/ |
experiment_labels.h | 19 // Creates a final combined experiment labels string with |variation_labels| 27 // experiment_labels string value containing only the labels that are not 29 base::string16 ExtractNonVariationLabels(const base::string16& labels);
|
/external/clang/test/SemaCXX/ |
switch-implicit-fallthrough.cpp | 15 case 0: {// expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 17 case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 19 case 3: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 22 case 4: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 25 case 5: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 34 case 6: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 36 case 66: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert 'break;' to avoid fall-through}} 72 case 110: // expected-warning{{unannotated fall-through between switch labels}} but no fix-it hint as we have one fall-through annotation! 77 case 12: // no warning here, intended fall-through, no statement between labels 154 MY_SWITCH(n, 13, n *= 2, 14, break) // expected-warning{{unannotated fall-through between switch labels}} [all...] |
switch-implicit-fallthrough-macro.cpp | 7 case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert 'COMMAND_LINE_FALLTHROUGH;' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 28 case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert 'COMPATIBILITY_FALLTHROUGH;' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 51 case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert 'M1;' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 67 case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 86 case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 106 case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert 'MACRO_WITH_HISTORY;' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}} 124 case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert 'MACRO_WITH_HISTORY2;' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}}
|
/external/chromium/chrome/browser/importer/ |
toolbar_importer_unittest.cc | 37 // 2. Correct bookmark structure with no labels. 38 // 3. Correct bookmark structure with two labels. 49 // 13. No <labels> in a <bookmark> section. 58 "<labels> <label>Google</label> </labels> " 79 "<labels> </labels> " 100 "<labels> <label>Google</label> <label>Homepage</label> </labels> " 121 "<labels> <label>Google:Search:Page</label> </labels> [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/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestTreeWizard.java | 193 public void visit(Object t, Object parent, int childIndex, Map labels) { 210 public void visit(Object t, Object parent, int childIndex, Map labels) { 242 public void visit(Object t, Object parent, int childIndex, Map labels) { 259 public void visit(Object t, Object parent, int childIndex, Map labels) { 262 "["+childIndex+"]"+labels.get("a")+"&"+labels.get("b")); 326 Map labels = new HashMap(); local 327 boolean valid = wiz.parse(t, "(%a:A %b:B %c:C)", labels); 329 assertEquals("A", labels.get("a").toString()); 330 assertEquals("B", labels.get("b").toString()) 337 Map labels = new HashMap(); local 347 Map labels = new HashMap(); local 358 Map labels = new HashMap(); local [all...] |
/external/chromium-trace/trace-viewer/src/tracing/ |
record_selection_dialog_test.js | 35 var labels = dlg.formEl_.getElementsByTagName('label'); 36 assertEquals(3, labels.length); 37 assertEquals('three', labels[0].textContent); 38 assertEquals('two', labels[1].textContent); 39 assertEquals('one', labels[2].textContent); 67 var labels = dlg.formEl_.getElementsByTagName('label'); 68 assertEquals(3, labels.length); 69 assertEquals('three', labels[0].textContent); 70 assertEquals('two', labels[1].textContent); 71 assertEquals('one', labels[2].textContent) [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
tkt1443.test | 62 CREATE TABLE Labels( 66 INSERT INTO "Labels" VALUES(0, 'ALL'); 67 INSERT INTO "Labels" VALUES(1, 'localhost@rpl:linux'); 68 INSERT INTO "Labels" VALUES(2, 'localhost@rpl:branch'); 139 Labels, Items 141 Labels.label = 'localhost@rpl:branch' 142 and Labels.labelId = LabelMap.labelId 171 Labels, Items 173 Labels.label = 'localhost@rpl:branch' 174 and Labels.labelId = LabelMap.labelI [all...] |
/external/smack/src/org/xbill/DNS/ |
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...] |
/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...] |
/external/chromium_org/chrome/test/chromedriver/third_party/googlecode/ |
googlecode_upload.py | 15 # project. You can optionally provide a list of labels that apply to 65 def upload(file, project_name, user_name, password, summary, labels=None): 75 labels: an optional list of label strings with which to tag the file. 90 if labels is not None: 91 form_fields.extend([('label', l.strip()) for l in labels]) 161 def upload_find_auth(file_path, project_name, summary, labels=None, 165 file_path, project_name, summary, and labels are passed as-is to upload. 171 labels: an optional list of label strings with which to tag the file. 190 return upload(file_path, project_name, user_name, password, summary, labels) 204 parser.add_option('-l', '--labels', dest='labels' [all...] |
/external/chromium_org/chrome/browser/resources/net_internals/ |
timeline_graph_view.js | 16 // Maximum number of labels placed vertically along the sides of the graph. 19 // Vertical spacing between labels and between the graph and labels. 21 // Horizontal spacing between vertically placed labels and the edges of the 24 // Horizintal spacing between two horitonally placed labels along the bottom 28 // Length of ticks, in pixels, next to y-axis labels. The x-axis only has 29 // one set of labels, so it can use lines instead. 47 // Which side of the canvas y-axis labels should go on, for a given Graph. 49 // of labels. 357 // Make space at the bottom of the graph for the time labels, and the [all...] |
/external/openfst/src/include/fst/ |
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];
|
/frameworks/base/core/tests/coretests/src/android/os/ |
PerformanceCollectorTest.java | 95 ArrayList<String> labels = new ArrayList<String>(); local 96 labels.add("timing2"); 97 labels.add("timing3"); 98 labels.add("timing4"); 99 verifyTimingBundle(timing, labels); 162 ArrayList<String> labels = new ArrayList<String>(); local 163 labels.add("timing6"); 164 labels.add("timing7"); 165 labels.add("timing8"); 166 verifyTimingBundle(timing, labels); 255 ArrayList<String> labels = new ArrayList<String>(); local 369 ArrayList<String> labels = new ArrayList<String>(); local [all...] |
/external/chromium_org/chrome/browser/sync/ |
sync_ui_util.h | 33 // Create status and link labels for the current status labels and link text 49 // Gets various labels for the sync global error based on the sync error state.
|
/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/chromium-libpac/ |
Android.mk | 16 -Wno-endif-labels \
|
/external/chromium_org/chrome/browser/metrics/variations/ |
variations_registry_syncer_win.cc | 57 DVLOG(1) << "Error reading Variation labels from the registry."; 72 // Append the old non-Variations labels with the new Variations labels and 79 DVLOG(1) << "Error writing Variation labels to the registry: "
|
/external/chromium_org/courgette/ |
assembly_program.h | 46 // * The disassembler creates labels in the AssemblyProgram and emits 129 // Trim underused labels 132 void PrintLabelCounts(RVAToLabel* labels); 143 Label* FindLabel(RVA rva, RVAToLabel* labels); 146 static void UnassignIndexes(RVAToLabel* labels); 147 static void DefaultAssignIndexes(RVAToLabel* labels); 148 static void AssignRemainingIndexes(RVAToLabel* labels); 159 // We have separate label spaces for addresses referenced by rel32 labels and 160 // abs32 labels. This is somewhat arbitrary.
|