/external/webkit/Source/WebCore/page/mac/ |
FrameMac.mm | 68 // Either get cached regexp or build one that matches any of the labels. 70 static RegularExpression* regExpForLabels(NSArray* labels) 86 CFIndex cacheHit = [regExpLabels indexOfObject:labels]; 91 unsigned int numLabels = [labels count]; 94 String label = [labels objectAtIndex:i]; 126 [regExpLabels insertObject:labels atIndex:0]; 139 NSString* Frame::searchForLabelsBeforeElement(NSArray* labels, Element* element, size_t* resultDistance, bool* resultIsInCellAbove) 141 RegularExpression* regExp = regExpForLabels(labels); 208 static NSString *matchLabelsAgainstString(NSArray *labels, const String& stringToMatch) 219 RegularExpression* regExp = regExpForLabels(labels); [all...] |
/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/antlr/antlr-3.4/runtime/Python/unittests/ |
testtreewizard.py | 375 def visitor(node, parent, childIndex, labels): 389 def visitor(node, parent, childIndex, labels): 403 def visitor(node, parent, childIndex, labels): 417 def visitor(node, parent, childIndex, labels): 431 def visitor(node, parent, childIndex, labels): 445 def visitor(node, parent, childIndex, labels): 462 def visitor(node, parent, childIndex, labels): 478 def visitor(node, parent, childIndex, labels): 495 def visitor(node, parent, childIndex, labels): 501 labels['a'] [all...] |
testtree.py | 920 labels = {} 924 labels) 926 node = labels.get("x") 939 labels = {} 943 labels) 945 node = labels.get("x") [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarDanglingStateMessage.java | 61 List labels = probe.getSampleNonDeterministicInputSequence(problemState); local 62 String input = probe.getInputSequenceDisplay(labels);
|
RecursionOverflowMessage.java | 75 List labels = local 77 String input = probe.getInputSequenceDisplay(labels);
|
GrammarNonDeterminismMessage.java | 70 List labels = probe.getSampleNonDeterministicInputSequence(problemState); local 71 String input = probe.getInputSequenceDisplay(labels); 108 labels);
|
/external/webkit/Source/WebCore/html/ |
HTMLKeygenElement.idl | 49 readonly attribute NodeList labels;
|
HTMLMeterElement.idl | 37 readonly attribute NodeList labels;
|
HTMLOutputElement.idl | 41 readonly attribute NodeList labels;
|
HTMLButtonElement.idl | 47 readonly attribute NodeList labels;
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListOfButtons.java | 57 public MyAdapter(Context context, String[] labels) { 58 super(context, 0, labels);
|
ListOfButtonsTest.java | 101 String[] labels = getActivity().getLabels(); local 102 for (int i = 0; i < labels.length; i++) { 103 String label = labels[i]; 121 for (int i = labels.length - 1; i >= 0; i--) { 122 String label = labels[i];
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
ACyclicDFACodeGenerator.java | 115 if ( edgeST.impl.formalArguments.get("labels")!=null ) { 116 List labels = edge.label.getSet().toList(); local 117 for (int j = 0; j < labels.size(); j++) { 118 Integer vI = (Integer) labels.get(j); 121 labels.set(j, label); // rewrite List element to be name 123 edgeST.add("labels", labels);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
TreeWizard.cs | 70 void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels); 74 public virtual void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels) { 259 public void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels) { 302 * version of the general visit(t, pattern) method. The labels arg 336 public VisitTreeWizardContextVisitor(TreeWizard outer, IContextVisitor visitor, IDictionary<string, object> labels, TreePattern tpattern) { 339 _labels = labels; 371 IDictionary<string, object> labels = new Dictionary<string, object>(); // reused for each _parse 373 Visit(t, rootTokenType, new VisitTreeWizardContextVisitor(this, visitor, labels, tpattern)); 377 * Given a pattern like (ASSIGN %lhs:ID %rhs:.) with optional labels 379 * return true if the pattern matches and fill the labels Map wit [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
TreeWizard.cs | 73 void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels ); 78 public virtual void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels ) 296 public void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels ) 346 * version of the general visit(t, pattern) method. The labels arg 387 public VisitTreeWizardContextVisitor( TreeWizard outer, IContextVisitor visitor, IDictionary<string, object> labels, TreePattern tpattern ) 391 _labels = labels; 427 IDictionary<string, object> labels = new Dictionary<string, object>(); // reused for each _parse 429 Visit( t, rootTokenType, new VisitTreeWizardContextVisitor( this, visitor, labels, tpattern ) ); 433 * Given a pattern like (ASSIGN %lhs:ID %rhs:.) with optional labels 435 * return true if the pattern matches and fill the labels Map wit [all...] |
/external/v8/src/ |
prettyprinter.cc | 150 ZoneStringList* labels = node->target()->labels(); local 151 if (labels != NULL) { 153 ASSERT(labels->length() > 0); // guaranteed to have at least one entry 154 PrintLiteral(labels->at(0), false); // any label from the list is fine 162 ZoneStringList* labels = node->target()->labels(); local 163 if (labels != NULL) { 165 ASSERT(labels->length() > 0); // guaranteed to have at least one entry 166 PrintLiteral(labels->at(0), false); // any label from the list is fin [all...] |
prettyprinter.h | 70 void PrintLabels(ZoneStringList* labels); 107 void PrintLabelsIndented(const char* info, ZoneStringList* labels);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
EventViewUtils.java | 133 * to values and labels. 136 ArrayList<String> labels, int minutes) { 150 labels.add(i, label); 156 labels.add(len, label); 163 * @param labels List of known method labels. 166 public static void reduceMethodList(ArrayList<Integer> values, ArrayList<String> labels, 195 labels.remove(i); 201 * Set the list of labels on a reminder spinner. 204 ArrayList<String> labels) { [all...] |
/external/webkit/Source/WebKit/win/ |
WebHTMLRepresentation.h | 94 /* [size_is][in] */ BSTR *labels, 100 /* [size_is][in] */ BSTR *labels, 105 virtual HRESULT STDMETHODCALLTYPE searchForLabels(BSTR* labels, unsigned cLabels, IDOMElement* beforeElement, unsigned* resultDistance, BOOL* resultIsInCellAbove, BSTR* result);
|
WebHTMLRepresentation.cpp | 200 /* [size_is][in] */ BSTR* labels, 205 return m_frame->searchForLabelsBeforeElement(labels, cLabels, beforeElement, 0, 0, result); 209 /* [size_is][in] */ BSTR* labels, 214 return m_frame->matchLabelsAgainstElement(labels, cLabels, againstElement, result); 217 HRESULT WebHTMLRepresentation::searchForLabels(BSTR* labels, unsigned cLabels, IDOMElement* beforeElement, unsigned* resultDistance, BOOL* resultIsInCellAbove, BSTR* result) 219 return m_frame->searchForLabelsBeforeElement(labels, cLabels, beforeElement, resultDistance, resultIsInCellAbove, result);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
DecisionProbe.java | 155 /** Used while finding a path through an NFA whose edge labels match 304 List<Label> labels = new ArrayList<Label>(); // may access ith element; use array local 306 return labels; 311 labels); 312 return labels; 319 public String getInputSequenceDisplay(List labels) { 322 for (Iterator it = labels.iterator(); it.hasNext();) { 333 * find the path of NFA states associated with the labels sequence. 353 * The NFA path matching the sample input sequence (labels) is computed 361 List labels) [all...] |
/external/chromium/chrome/browser/autofill/ |
autofill_manager_unittest.cc | 236 const std::vector<string16>& labels, 247 ASSERT_EQ(expected_num_suggestions, labels.size()); 253 EXPECT_EQ(expected_labels[i], labels[i]); 525 std::vector<string16>* labels, 540 if (labels) 541 *labels = autofill_param.c; 620 std::vector<string16> labels; local 624 &page_id, &values, &labels, &icons, &unique_ids); 630 // Inferred labels include full first relevant field, which in this case is 638 ExpectSuggestions(page_id, values, labels, icons, unique_ids 664 std::vector<string16> labels; local 733 std::vector<string16> labels; local 790 std::vector<string16> labels; local 856 std::vector<string16> labels; local 901 std::vector<string16> labels; local 935 std::vector<string16> labels; local 978 std::vector<string16> labels; local 1052 std::vector<string16> labels; local 1102 std::vector<string16> labels; local 1176 std::vector<string16> labels; local 1248 std::vector<string16> labels; local 1294 std::vector<string16> labels; local 1336 std::vector<string16> labels; local 1382 std::vector<string16> labels; local 1429 std::vector<string16> labels; local 1476 std::vector<string16> labels; local [all...] |
/external/webkit/Source/WebKit/win/Interfaces/ |
IWebHTMLRepresentation.idl | 97 - (NSString *)searchForLabels:(NSArray *)labels beforeElement:(DOMElement *)element; 100 HRESULT deprecatedSearchForLabels([in, size_is(cLabels)] BSTR* labels, [in] int cLabels, [in] IDOMElement* beforeElement, [out, retval] BSTR* result); 103 - (NSString *)matchLabels:(NSArray *)labels againstElement:(DOMElement *)element; 105 HRESULT matchLabels([in, size_is(cLabels)] BSTR* labels, [in] int cLabels, [in] IDOMElement* againstElement, [out, retval] BSTR* result); 108 - (NSString *)searchForLabels:(NSArray *)labels beforeElement:(DOMElement *)element resultDistance:(NSUInteger*)outDistance resultIsInCellAbove:(BOOL*)outIsInCellAbove; 110 HRESULT searchForLabels([in, size_is(cLabels)] BSTR* labels, [in] unsigned cLabels, [in] IDOMElement* beforeElement, [out] unsigned* resultDistance, [out] BOOL* resultIsInCellAbove, [out, retval] BSTR* result);
|
/external/opencv/ml/src/ |
mlem.cpp | 79 CvEMParams params, CvMat* labels ) 85 train(samples, sample_idx, params, labels); 304 CvEMParams _params, CvMat* labels ) 332 if( labels && (!CV_IS_MAT(labels) || CV_MAT_TYPE(labels->type) != CV_32SC1 || 333 labels->cols != 1 && labels->rows != 1 || labels->cols + labels->rows - 1 != nsamples ) 488 CvMat* labels = 0; local [all...] |