/external/toolchain-utils/crosperf/ |
H A D | results_organizer_unittest.py | 9 We create some labels, benchmark_runs and then create a ResultsOrganizer, 78 labels = [mock_instance.label1, mock_instance.label2] 81 benchmark_runs[0] = BenchmarkRun('b1', benchmarks[0], labels[0], 1, '', '', 83 benchmark_runs[1] = BenchmarkRun('b2', benchmarks[0], labels[0], 2, '', '', 85 benchmark_runs[2] = BenchmarkRun('b3', benchmarks[0], labels[1], 1, '', '', 87 benchmark_runs[3] = BenchmarkRun('b4', benchmarks[0], labels[1], 2, '', '', 89 benchmark_runs[4] = BenchmarkRun('b5', benchmarks[1], labels[0], 1, '', '', 91 benchmark_runs[5] = BenchmarkRun('b6', benchmarks[1], labels[0], 2, '', '', 93 benchmark_runs[6] = BenchmarkRun('b7', benchmarks[1], labels[1], 1, '', '', 95 benchmark_runs[7] = BenchmarkRun('b8', benchmarks[1], labels[ [all...] |
H A D | machine_image_manager_unittest.py | 61 labels = [] 70 labels.append(l) 71 return labels, duts 79 labels, duts = self.create_labels_and_duts_from_pattern(inp) 80 mim = MachineImageManager(labels, duts) 86 labels = [MockLabel('l1'), MockLabel('l2'), MockLabel('l3')] 88 mim = MachineImageManager(labels, [dut]) 93 labels = [MockLabel('l1')] 95 mim = MachineImageManager(labels, duts) 100 labels [all...] |
/external/autotest/utils/ |
H A D | labellib_unittest.py | 56 labels = ['webcam', 'pool:suites'] 57 mapping = labellib.LabelsMapping(labels) 58 self.assertEqual(mapping.getlabels(), labels) 61 labels = ['webcam', 'pool:suites', 'pool:party'] 62 mapping = labellib.LabelsMapping(labels) 66 labels = ['ohse:tsubame', 'webcam'] 67 mapping = labellib.LabelsMapping(labels) 71 labels = ['webcam', 'exec', 'method'] 72 mapping = labellib.LabelsMapping(labels) 76 labels [all...] |
/external/autotest/server/hosts/ |
H A D | afe_store.py | 54 return host_info.HostInfo(host.labels, host.attributes) 64 # copy of HostInfo from the AFE and then add/remove labels / attribtes 66 # parallel, we'll end up with corrupted labels / attributes. 69 list(set(old_info.labels) - set(new_info.labels))) 71 list(set(new_info.labels) - set(old_info.labels))) 75 def _remove_labels_on_afe(self, labels): 76 """Requests the AFE to remove the given labels. 78 @param labels [all...] |
H A D | host_info_unittest.py | 39 labels=['label1', 'label2', 'label1'], 42 labels=['label1', 'label2', 'label1'], 51 info1 = host_info.HostInfo(labels=['label']) 60 self.info.labels = ['cros-version', 'ab-version', 'testbed-version', 67 self.info.labels = ['not-at-start-cros-version:cros1', 75 self.info.labels = ['fwrw-version:fwrw1', 'fwro-version:fwro1'] 80 """When multiple labels match, first one should be used as build.""" 81 self.info.labels = ['cros-version:cros1', 'cros-version:cros2'] 83 self.info.labels = ['ab-version:ab1', 'ab-version:ab2'] 85 self.info.labels [all...] |
H A D | testbed_label.py | 15 """Return a list of the labels gathered from the devices connected.""" 17 # _NAME is omitted because the labels generated are full labels. 18 # The generated labels are from an adb device, so we just want to grab the 19 # possible labels from ADBLabels. 24 labels = [] 26 labels.extend(adb_device.get_labels()) 30 # the labels in a dict and keep track of how many times we encounter 34 for label in labels: 35 # Update the board labels [all...] |
/external/autotest/contrib/ |
H A D | print_host_labels.py | 16 labels = host.get_labels() variable 18 print labels
|
/external/autotest/server/cros/network/ |
H A D | rf_switch_client_box.py | 26 self.labels = self.client_box_host.labels 27 for s in self.labels: 38 for label in self.labels: 47 labels = list(itertools.ifilter( 48 lambda x: x in host.labels, [RF_SWITCH_DUT, rf_switch_label])) 49 # If host has both labels, then add to the devices list. 50 if len(labels) == 2:
|
H A D | rf_switch_controller.py | 40 self.rf_switch_labels = rf_switch_host.labels 41 # RF Switches are named as rf_switch_1, rf_switch_2 using labels. 43 labels = [ 47 self.hosts = afe.get_hosts(label=labels) 51 if RF_SWITCH_APS in host.labels: 53 elif RF_SWITCH_CLIENT in host.labels:
|
/external/python/cpython2/Lib/encodings/ |
H A D | idna.py | 157 labels = dots.split(input) 158 if labels and len(labels[-1])==0: 160 del labels[-1] 163 for label in labels: 178 labels = dots.split(input) 183 labels = input.split(".") 185 if labels and len(labels[-1]) == 0: 187 del labels[ [all...] |
/external/autotest/frontend/client/src/autotest/common/table/ |
H A D | MultipleListFilter.java | 22 JSONArray labels = new JSONArray(); 26 labels.set(labels.size(), 30 return labels;
|
/external/minijail/ |
H A D | bpf.c | 204 int bpf_resolve_jumps(struct bpf_labels *labels, struct sock_filter *filter, argument 224 if (instr->k >= labels->count) { 228 if (labels->labels[instr->k].location == 0xffffffff) { 230 labels->labels[instr->k].label); 234 labels->labels[instr->k].location - (offset + 1); 239 if (labels->labels[inst 255 bpf_label_id(struct bpf_labels *labels, const char *label) argument 288 free_label_strings(struct bpf_labels *labels) argument [all...] |
/external/autotest/server/ |
H A D | afe_utils_unittest.py | 18 def __init__(self, labels=[]): 23 self._afe_host.labels = labels 33 Test method get_labels returns expected labels. 40 host = MockHost(labels=all_labels) 48 Test method get_labels returns all labels. 55 host = MockHost(labels=all_labels)
|
/external/eigen/bench/ |
H A D | dense_solvers.cpp | 11 std::vector<std::string> labels; variable 89 labels.push_back("LLT"); 90 labels.push_back("LDLT"); 91 labels.push_back("PartialPivLU"); 92 labels.push_back("FullPivLU"); 93 labels.push_back("HouseholderQR"); 94 labels.push_back("ColPivHouseholderQR"); 95 labels.push_back("CompleteOrthogonalDecomposition"); 96 labels.push_back("FullPivHouseholderQR"); 97 labels 135 cout.width(32); cout << labels[i]; cout << " "; local 157 cout << "><td>" << labels[i] << "</td>"; local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
H A D | Blog.java | 27 private TreeSet<String> labels = new TreeSet<String>(); field in class:Blog 58 return labels; 61 public void setLabels(TreeSet<String> labels) { argument 62 this.labels = labels;
|
/external/autotest/site_utils/suite_scheduler/ |
H A D | board_enumerator.py | 47 Lists all labels known to the AFE that start with self._LABEL_PREFIX, 53 labels = self._afe.get_labels(name__startswith=Labels.BOARD_PREFIX) 57 if not labels: 60 # Filter out all board labels tailing with -number, which is used for 63 for l in labels:
|
/external/boringssl/src/util/fipstools/testdata/x86_64-LabelRewrite/ |
H A D | in2.s | 1 # References to local labels are rewrittenn in subsequent files.
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/ |
H A D | MethodProbesAdapter.java | 139 final Label[] labels) { 140 if (markLabels(dflt, labels)) { 141 probesVisitor.visitLookupSwitchInsnWithProbes(dflt, keys, labels, 144 probesVisitor.visitLookupSwitchInsn(dflt, keys, labels); 150 final Label dflt, final Label... labels) { 151 if (markLabels(dflt, labels)) { 153 labels, frame(1)); 155 probesVisitor.visitTableSwitchInsn(min, max, dflt, labels); 159 private boolean markLabels(final Label dflt, final Label[] labels) { argument 161 LabelInfo.resetDone(labels); 138 visitLookupSwitchInsn(final Label dflt, final int[] keys, final Label[] labels) argument 149 visitTableSwitchInsn(final int min, final int max, final Label dflt, final Label... labels) argument [all...] |
/external/autotest/frontend/client/src/autotest/afe/ |
H A D | LabelFilter.java | 19 setMatchAllText("All labels"); 48 JSONArray labels = super.getMatchValue().isArray(); 54 labels.set(labels.size(), new JSONString(platformString)); 57 return labels;
|
/external/clang/test/SemaCXX/ |
H A D | switch-implicit-fallthrough-blocks.cpp | 13 expected-warning{{unannotated fall-through between switch labels}} \
|
/external/python/cpython2/Lib/idlelib/ |
H A D | MultiStatusBar.py | 9 self.labels = {} 12 if name not in self.labels: 15 self.labels[name] = label 17 label = self.labels[name]
|
/external/owasp/sanitizer/tools/ |
H A D | 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', des [all...] |
/external/autotest/scheduler/ |
H A D | rdb_utils.py | 39 """An Iterator for labels. 47 def __init__(self, labels): 48 self.labels = labels 52 return iter(label.id for label in self.labels) 56 """Get all label names of the labels associated with this class. 60 return [label.name for label in self.labels]
|
/external/autotest/cli/ |
H A D | host.py | 77 def _cleanup_labels(self, labels, platform=None): 78 """Removes the platform label from the overall labels""" 80 return [label for label in labels 84 return [label for label in labels 89 return labels 111 help='Only list hosts with all these labels ' 139 label_info = topic_common.item_parse_info(attribute_name='labels', 165 if self.labels: 166 if len(self.labels) == 1: 167 # This is needed for labels wit [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/ |
H A D | 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, fram 111 visitTableSwitchInsnWithProbes(final int min, final int max, final Label dflt, final Label[] labels, final IFrame frame) argument 125 visitLookupSwitchInsnWithProbes(final Label dflt, final int[] keys, final Label[] labels, final IFrame frame) argument 138 createIntermediates(final Label[] labels) argument 173 insertIntermediateProbes(final Label dflt, final Label[] labels, final IFrame frame) argument [all...] |