/external/owasp/sanitizer/tools/ |
googlecode_upload.py | 15 # project. You can optionally provide a list of labels that apply to 59 def upload(file, project_name, user_name, password, summary, labels=None): 69 labels: an optional list of label strings with which to tag the file. 84 if labels is not None: 85 form_fields.extend([('label', l.strip()) for l in labels]) 155 def upload_find_auth(file_path, project_name, summary, labels=None, 159 file_path, project_name, summary, and labels are passed as-is to upload. 165 labels: an optional list of label strings with which to tag the file. 195 summary, labels) 220 parser.add_option('-l', '--labels', dest='labels' [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
UsageView.java | 68 LinearLayout labels = (LinearLayout) findViewById(R.id.label_group); local 70 layout.removeView(labels); 71 layout.addView(labels); 73 labels.setGravity(Gravity.END); 123 public void setSideLabels(CharSequence[] labels) { 124 if (labels.length != mLabels.length) { 125 throw new IllegalArgumentException("Invalid number of labels"); 128 mLabels[i].setText(labels[i]); 132 public void setBottomLabels(CharSequence[] labels) { 133 if (labels.length != mBottomLabels.length) [all...] |
/external/autotest/site_utils/ |
add_detected_host_labels.py | 9 detected labels to host. 12 - Does not keep a count of how many labels were 36 # the given prefix, e.g., a dut can't have both labels of power:battery and 42 Queries the detectable labels supported by the given host, 43 and adds those labels to the host. 49 False on failure to fetch labels or to add any individual label. 54 labels = host.get_labels() 60 logging.warning('Unable to query labels on hostname %s. Skipping.', 69 label_matches = afe.get_labels(name__in=labels) 77 labels_to_delete = [l for l in afe_host.labels [all...] |
label_cleaner.py | 8 """Tool for cleaning up labels that are not in use. 10 Delete given labels from database when they are not in use. 11 Labels that match the query `SELECT_USED_LABELS_FORMAT` are considered in use. 12 When given labels are not in the used labels, those labels are deleted. 14 For example, following command deletes all labels whose name begins with 19 If '-p' option is not given, we delete labels whose name is exactly 65 """Get labels that are currently in use. 83 """Fetch labels from database [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/ |
MethodInstrumenter.java | 112 final Label dflt, final Label[] labels, final IFrame frame) { 113 // 1. Calculate intermediate labels: 115 LabelInfo.resetDone(labels); 117 final Label[] newLabels = createIntermediates(labels); 121 insertIntermediateProbes(dflt, labels, frame); 126 final int[] keys, final Label[] labels, final IFrame frame) { 127 // 1. Calculate intermediate labels: 129 LabelInfo.resetDone(labels); 131 final Label[] newLabels = createIntermediates(labels); 135 insertIntermediateProbes(dflt, labels, frame) [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
MethodAnalyzer.java | 180 final Label dflt, final Label... labels) { 181 visitSwitchInsn(dflt, labels); 186 final Label[] labels) { 187 visitSwitchInsn(dflt, labels); 190 private void visitSwitchInsn(final Label dflt, final Label[] labels) { 192 LabelInfo.resetDone(labels); 195 for (final Label l : labels) { 229 final Label dflt, final Label[] labels, final IFrame frame) { 230 visitSwitchInsnWithProbes(dflt, labels); 235 final int[] keys, final Label[] labels, final IFrame frame) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
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);
|
/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/autotest/contrib/ |
crbug_shell.py | 71 self.labels = [] 79 labels=self.crawler.all_autofiled_label) 98 self.labels.append(label) 102 print ('queries: %s, labels %s' % 103 (self.queries, self.labels)) 109 self.labels = [] 119 self.crawler.issues, self.labels) 124 labels=' '.join(self.labels))
|
/external/autotest/server/cros/ |
provision.py | 59 Base class to give a template for mapping labels to tests. 71 """A dictionary mapping labels to test names.""" 108 def partition(cls, labels): 110 Filter a list of labels into two sets: those labels that we know how to 113 @param labels: A list of strings of labels. 115 labels, and the second element is a set of the actionable 116 labels. 121 for label in labels [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/ |
MethodProbesVisitor.java | 99 * target labels will always have the same probe id within a call to this 109 * @param labels 110 * beginnings of the handler blocks. <code>labels[i]</code> is 121 final Label dflt, final Label[] labels, final IFrame frame) { 127 * target labels will always have the same probe id within a call to this 135 * @param labels 136 * beginnings of the handler blocks. <code>labels[i]</code> is 147 final int[] keys, final Label[] labels, final IFrame frame) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
PickerColumn.java | 19 * labels. A PickerColumn has a minValue and maxValue to choose between. The Picker column has 21 * The labels can be dynamically generated from value by {@link #setLabelFormat(String)} or 22 * a list of static labels set by {@link #setStaticLabels(CharSequence[])}. 55 * Set static labels for each value, minValue maps to labels[0], maxValue maps to 56 * labels[labels.length - 1]. 57 * @param labels Static labels for each value between minValue and maxValue. 59 public void setStaticLabels(CharSequence[] labels) { [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue7538a.go | 7 // Issue 7538: blank (_) labels handled incorrectly
|
issue7538b.go | 7 // Issue 7538: blank (_) labels handled incorrectly
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue7538a.go | 7 // Issue 7538: blank (_) labels handled incorrectly
|
issue7538b.go | 7 // Issue 7538: blank (_) labels handled incorrectly
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
undefined.d | 3 # use a different naming convention for local labels.
|
undefined_coff.d | 3 # use a different naming convention for local labels.
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mmix/ |
relax2.s | 2 # local symbols, ditto non-local labels, similar with three PUSHJs. 3 # Note the absence of ":" on labels: because it's a symbol-character,
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/ |
MethodProbesAdapterTest.java | 75 Label dflt, Label[] labels, IFrame frame) { 77 Integer.valueOf(max), dflt, labels); 83 Label[] labels, IFrame frame) { 84 rec("visitLookupSwitchInsnWithProbes", dflt, keys, labels); 226 final Label[] labels = new Label[] { label, label }; local 228 adapter.visitLookupSwitchInsn(label, keys, labels); 231 expectedVisitor.visitLookupSwitchInsnWithProbes(label, keys, labels, 245 final Label[] labels = new Label[] { label2, label }; local 247 adapter.visitLookupSwitchInsn(label, keys, labels); 250 expectedVisitor.visitLookupSwitchInsnWithProbes(label, keys, labels, 261 final Label[] labels = new Label[] { label, label }; local 274 final Label[] labels = new Label[] { label, label }; local 292 final Label[] labels = new Label[] { label2, label }; local 307 final Label[] labels = new Label[] { label, label }; local [all...] |
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/ |
SIG.py | 22 self.algorithm, self.labels,
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
GroupCullingTest.java | 48 Table labels = new Table();
local 49 root.add(new ScrollPane(labels, skin)).expand().fill();
54 labels.add(new Label("Label: " + i, skin) {
60 labels.row();
|
/external/minijail/ |
syscall_filter.h | 29 unsigned int label_id, struct bpf_labels *labels);
|