/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/ |
IntInsnNode.java | 78 public AbstractInsnNode clone(final Map labels) {
|
LdcInsnNode.java | 71 public AbstractInsnNode clone(final Map labels) {
|
VarInsnNode.java | 84 public AbstractInsnNode clone(final Map labels) {
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/pgen2/ |
grammar.py | 61 labels -- a list of (x, y) pairs where x is either a token 70 keywords -- a dict mapping keyword strings to arc labels. 72 tokens -- a dict mapping token numbers to arc labels. 81 self.labels = [(0, "EMPTY")] 108 new.labels = self.labels[:] 124 print "labels" 125 pprint(self.labels)
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/pgen2/ |
grammar.py | 61 labels -- a list of (x, y) pairs where x is either a token 70 keywords -- a dict mapping keyword strings to arc labels. 72 tokens -- a dict mapping token numbers to arc labels. 81 self.labels = [(0, "EMPTY")] 108 new.labels = self.labels[:] 124 print "labels" 125 pprint(self.labels)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
grammar.py | 61 labels -- a list of (x, y) pairs where x is either a token 70 keywords -- a dict mapping keyword strings to arc labels. 72 tokens -- a dict mapping token numbers to arc labels. 81 self.labels = [(0, "EMPTY")] 108 new.labels = self.labels[:] 124 print "labels" 125 pprint(self.labels)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
grammar.py | 61 labels -- a list of (x, y) pairs where x is either a token 70 keywords -- a dict mapping keyword strings to arc labels. 72 tokens -- a dict mapping token numbers to arc labels. 81 self.labels = [(0, "EMPTY")] 108 new.labels = self.labels[:] 124 print "labels" 125 pprint(self.labels)
|
/external/opencv3/samples/cpp/ |
kmeans.cpp | 37 Mat points(sampleCount, 1, CV_32FC2), labels; local 56 kmeans(points, clusterCount, labels, 64 int clusterIdx = labels.at<int>(i);
|
/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/opencv3/modules/ml/test/ |
test_emknearestkmeans.cpp | 77 void generateData( Mat& data, Mat& labels, const vector<int>& sizes, const Mat& _means, const vector<Mat>& covs, int dataType, int labelType ) 87 labels.create( data.rows, 1, labelType ); 107 labels.at<float>(p, 0) = (float)l; 109 labels.at<int>(p, 0) = l; 137 bool getLabelsMap( const Mat& labels, const vector<int>& sizes, vector<int>& labelsMap, bool checkClusterUniq=true ) 143 assert( !labels.empty() ); 144 assert( labels.total() == total && (labels.cols == 1 || labels.rows == 1)); 145 assert( labels.type() == CV_32SC1 || labels.type() == CV_32FC1 ) 395 cv::Mat labels; local 547 Mat labels; local [all...] |
/external/autotest/scheduler/ |
rdb_utils.py | 33 """An Iterator for labels. 41 def __init__(self, labels): 42 self.labels = labels 46 return iter(label.id for label in self.labels) 50 """Get all label names of the labels associated with this class. 54 return [label.name for label in self.labels]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
sm4_analyze.cpp | 99 std::vector<int> labels; 111 if(idx >= labels.size()) 112 labels.resize(idx + 1); 113 labels[idx] = insn_num; 119 program.label_to_insn_num.swap(labels);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/ |
MethodImplementationBuilder.java | 43 // Contains all named labels - both placed and unplaced 44 private final HashMap<String, Label> labels = new HashMap<String, Label>(); field in class:MethodImplementationBuilder 70 Label label = labels.get(name); 80 labels.put(name, label); 98 Label label = labels.get(name); 101 labels.put(name, label);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
DumpSetAsSequenceExampleTest.java | 79 TreeSet<String> labels = new TreeSet<String>(); local 80 labels.add("Java"); 81 labels.add("YAML"); 82 labels.add("SnakeYAML"); 83 blog.setLabels(labels);
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/ |
RootsListBot.java | 72 public void assertRootsPresent(String... labels) throws UiObjectNotFoundException { 74 for (String label : labels) { 81 "Expected roots " + Arrays.asList(labels) + ", but missing " + missing); 85 public void assertRootsAbsent(String... labels) throws UiObjectNotFoundException { 87 for (String label : labels) {
|
/external/opencv3/samples/python2/ |
digits_adjust.py | 36 def cross_validate(model_class, params, samples, labels, kfold = 3, pool = None): 45 train_samples, train_labels = samples[train_idx], labels[train_idx] 46 test_samples, test_labels = samples[test_idx], labels[test_idx] 77 digits, labels = load_digits(DIGITS_FN) 79 digits, labels = digits[shuffle], labels[shuffle] 82 return samples, labels 108 samples, labels = self.get_dataset() 110 score = cross_validate(SVM, params, samples, labels) 131 samples, labels = self.get_dataset( [all...] |
digits.py | 56 labels = np.repeat(np.arange(CLASS_N), len(digits)/CLASS_N) 57 return digits, labels 103 def evaluate_model(model, digits, samples, labels): 105 err = (labels != resp).mean() 109 for i, j in zip(labels, resp): 116 for img, flag in zip(digits, resp == labels): 152 digits, labels = load_digits(DIGITS_FN) 158 digits, labels = digits[shuffle], labels[shuffle] 167 labels_train, labels_test = np.split(labels, [train_n] [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-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/ |
line_chart_test.py | 64 left_axis.labels = [10, 20, 30] 70 bottom_axis.labels = ['A', 'B', 'c', 'd'] 74 sub_axis.labels = ['CAPS', 'lower'] 87 self.chart.top.labels = ['cow', 'horse', 'monkey'] 91 self.chart.left.labels = [10, 20, 30] 99 sub_axis.labels = ['CAPS', 'lower'] 105 self.chart.bottom.labels = ['A', 'B', 'C']
|
/external/chromium-trace/catapult/third_party/graphy/graphy/ |
pie_chart.py | 74 def __init__(self, points=None, labels=None, colors=None): 82 labels: A list of labels for the pie segments. 84 the labels in order to skip that label. 95 self.AddPie(points, labels, colors) 97 def AddPie(self, points, labels=None, colors=None): 102 labels: A list of labels for the pie segments 109 num_labels = len(labels or []) 115 label = labels[i [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/ |
LabelFlowAnalyzer.java | 29 * Marks all labels of the method with control flow information. 32 * Method to mark labels 35 // We do not use the accept() method as ASM resets labels after every 108 final Label dflt, final Label... labels) { 109 visitSwitchInsn(dflt, labels); 114 final Label[] labels) { 115 visitSwitchInsn(dflt, labels); 118 private void visitSwitchInsn(final Label dflt, final Label[] labels) { 120 LabelInfo.resetDone(labels); 122 for (final Label l : labels) { [all...] |
/external/minijail/ |
syscall_filter.c | 134 unsigned int get_label_id(struct bpf_labels *labels, const char *label_str) 136 int label_id = bpf_label_id(labels, label_str); 142 unsigned int group_end_lbl(struct bpf_labels *labels, int nr, int idx) 146 return get_label_id(labels, lbl_str); 149 unsigned int success_lbl(struct bpf_labels *labels, int nr) 153 return get_label_id(labels, lbl_str); 157 struct bpf_labels *labels, int nr, int group_idx) 194 unsigned int id = group_end_lbl(labels, nr, group_idx); 240 unsigned int entry_lbl_id, struct bpf_labels *labels) 324 if (compile_atom(head, comp, labels, nr, group_idx) < 0 376 struct bpf_labels labels; local [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/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/autotest/site_utils/ |
host_history.py | 81 def print_all_stats(results, labels, t_start, t_end): 96 @param labels: A list of labels useful for describing the group 103 labels, t_start, t_end, stat_intervals_lst) 258 labels = [] 260 labels.append('board:%s' % (options.board)) 262 labels.append('pool:%s' % (options.pool)) 263 print_all_stats(results, labels, start_time, end_time)
|