Searched defs:labels (Results 1 - 25 of 57) sorted by relevance

123

/external/stlport/test/unit/
H A Dbsearch_test.cpp40 char const* labels[] = { "aa", "dd", "ff", "jj", "ss", "zz" }; local
41 const unsigned count = sizeof(labels) / sizeof(labels[0]);
44 CPPUNIT_ASSERT(binary_search(labels, labels + count, (const char *)"ff", str_compare));
H A Dunique_test.cpp52 const char* labels[] = {"Q", "Q", "W", "W", "E", "E", "R", "T", "T", "Y", "Y"}; local
54 const unsigned count = sizeof(labels) / sizeof(labels[0]);
56 unique((const char**)labels, (const char**)labels + count, str_equal);
59 CPPUNIT_ASSERT(*labels[0] == 'Q');
60 CPPUNIT_ASSERT(*labels[1] == 'W');
61 CPPUNIT_ASSERT(*labels[2] == 'E');
62 CPPUNIT_ASSERT(*labels[3] == 'R');
63 CPPUNIT_ASSERT(*labels[
88 const char* labels[] = {"Q", "Q", "W", "W", "E", "E", "R", "T", "T", "Y", "Y"}; local
[all...]
/external/iproute2/doc/
H A Dapi-ip6-flowlabels.tex42 \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.
149 message to user space, though the kernels which support flow labels
223 longer than boot time require to store allocated labels a
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DMachineProbe.java78 /** Return a list of edge labels from start state to targetState. */
81 List<IntSet> labels = new ArrayList<IntSet>();
89 labels.add(e.label.getSet());
93 return labels;
101 public String getInputSequenceDisplay(Grammar g, List<IntSet> labels) { argument
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
115 getGrammarLocationsForInputSequence( List<Set<NFAState>> nfaStates, List<IntSet> labels) argument
[all...]
H A DDecisionProbe.java155 /** 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
306 return labels;
311 labels);
312 return labels;
319 public String getInputSequenceDisplay(List labels) { argument
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)
359 getNFAPathStatesForAlt(int firstAlt, int alt, List labels) argument
772 getSampleInputSequenceUsingStateSet(State startState, State targetState, Set states, List<Label> labels) argument
811 getNFAPath(NFAState s, int labelIndex, List labels, List path) argument
[all...]
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/
H A DAutoFillHostAndroid.cpp38 void AutoFillHostAndroid::AutoFillSuggestionsReturned(const std::vector<string16>& names, const std::vector<string16>& labels, const std::vector<string16>& icons, const std::vector<int>& uniqueIds) argument
42 mAutofill->querySuccessful(names[0], labels[0], uniqueIds[0]);
/external/openfst/src/include/fst/
H A Dicu.h68 bool UTF8StringToLabels(const string &str, vector<Label> *labels) { argument
78 labels->push_back(c);
84 bool LabelsToUTF8String(const vector<Label> &labels, string *str) { argument
87 for (size_t i = 0; i < labels.size(); ++i) {
88 u_str.setTo(labels[i]);
H A Dstring.h52 vector<Label> labels; local
53 if (!ConvertStringToLabels(s, &labels))
55 Compile(labels, fst);
60 bool ConvertStringToLabels(const string &str, vector<Label> *labels) const {
61 labels->clear();
64 labels->push_back(static_cast<unsigned char>(str[i]));
66 return UTF8StringToLabels(str, labels);
78 labels->push_back(label);
85 void Compile(const vector<Label> &labels, MutableFst<A> *fst) const { argument
87 while (fst->NumStates() <= labels
96 Compile(const vector<Label> &labels, CompactFst<A, StringCompactor<A>, Unsigned> *fst) const argument
[all...]
H A Dreplace-util.h106 // Replaces Fsts specified by labels.
108 void ReplaceLabels(const vector<Label> &labels);
424 void ReplaceUtil<Arc>::ReplaceLabels(const vector<Label> &labels) { argument
427 for (Label i = 0; i < labels.size(); ++i)
428 if (labels[i] != root_label_) // can't replace root
429 label_set.insert(labels[i]);
431 // Finds Fst dependencies restricted to the labels requested.
480 vector<Label> labels; local
494 labels.push_back(nonterminal_array_[j]);
498 ReplaceLabels(labels);
503 vector<Label> labels; local
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/app/
H A DStatsView.java64 private BitmapText[] labels; field in class:StatsView
84 labels = new BitmapText[statLabels.length];
87 for (int i = 0; i < labels.length; i++){
88 labels[i] = new BitmapText(font);
89 labels[i].setLocalTranslation(0, labels[i].getLineHeight() * (i+1), 0);
90 attachChild(labels[i]);
102 for (int i = 0; i < labels.length; i++) {
105 labels[i].setText(stringBuilder);
/external/chromium/chrome/browser/autofill/
H A Dautofill_profile_unittest.cc163 // As labels are empty they are adjusted the first time.
327 std::vector<string16> labels; local
330 &labels);
331 EXPECT_EQ(ASCIIToUTF16("John Doe, 666 Erebus St."), labels[0]);
332 EXPECT_EQ(ASCIIToUTF16("Jane Doe, 123 Letha Shore."), labels[1]);
336 &labels);
338 labels[0]);
340 labels[1]);
349 UNKNOWN_TYPE, 2, &labels);
350 EXPECT_EQ(ASCIIToUTF16("Elysium, CA"), labels[
379 EXPECT_EQ(string16(), labels[0]); local
380 EXPECT_EQ(string16(), labels[1]); local
416 std::vector<string16> labels; local
450 std::vector<string16> labels; local
474 std::vector<string16> labels; local
491 labels[1]) << labels[1]; local
[all...]
H A Dautofill_manager.cc72 std::vector<string16>* labels,
75 DCHECK_EQ(values->size(), labels->size());
86 const std::pair<string16, string16> suggestion((*values)[i], (*labels)[i]);
89 labels_copy.push_back((*labels)[i]);
96 labels->swap(labels_copy);
371 std::vector<string16> labels; local
392 form_structure, field, type, &values, &labels, &icons, &unique_ids);
395 form_structure, field, type, &values, &labels, &icons, &unique_ids);
398 DCHECK_EQ(values.size(), labels.size());
414 labels
71 RemoveDuplicateSuggestions(std::vector<string16>* values, std::vector<string16>* labels, std::vector<string16>* icons, std::vector<int>* unique_ids) argument
838 GetProfileSuggestions(FormStructure* form, const FormField& field, AutofillFieldType type, std::vector<string16>* values, std::vector<string16>* labels, std::vector<string16>* icons, std::vector<int>* unique_ids) argument
918 GetCreditCardSuggestions(FormStructure* form, const FormField& field, AutofillFieldType type, std::vector<string16>* values, std::vector<string16>* labels, std::vector<string16>* icons, std::vector<int>* unique_ids) argument
[all...]
H A Dautofill_profile.cc38 // labels that can help to distinguish between two profiles. Draws fields from
352 // then used to detect which labels need further differentiating fields.
353 std::map<string16, std::list<size_t> > labels; local
358 labels[label].push_back(i);
363 labels.begin();
364 it != labels.end(); ++it) {
H A Dautofill_manager_unittest.cc236 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, icon
234 ExpectSuggestions(int page_id, const std::vector<string16>& values, const std::vector<string16>& labels, const std::vector<string16>& icons, const std::vector<int>& unique_ids, int expected_page_id, size_t expected_num_suggestions, const string16 expected_values[], const string16 expected_labels[], const string16 expected_icons[], const int expected_unique_ids[]) argument
523 GetAutofillSuggestionsMessage(int* page_id, std::vector<string16>* values, std::vector<string16>* labels, std::vector<string16>* icons, std::vector<int>* unique_ids) argument
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/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
H A DMethodDefinition.java623 //sort the labels by their location in the method
637 protected HashMap<LabelMethodItem, LabelMethodItem> labels = new HashMap<LabelMethodItem, LabelMethodItem>(); field in class:MethodDefinition.LabelCache
643 LabelMethodItem internedLabelMethodItem = labels.get(labelMethodItem);
647 labels.put(labelMethodItem, labelMethodItem);
653 return labels.values();
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DTreeWizard.cs70 void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels); argument
74 public virtual void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels) { argument
259 public void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels) { argument
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) { argument
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 Ma
391 Parse(object t, string pattern, IDictionary<string, object> labels) argument
415 ParseCore(object t1, TreePattern tpattern, IDictionary<string, object> labels) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DTreeWizard.cs73 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 ) argument
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 Ma
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DTreeWizard.java59 public void visit(Object t, Object parent, int childIndex, Map labels); argument
63 public void visit(Object t, Object parent, int childIndex, Map labels) { argument
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
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 Ma
310 parse(Object t, String pattern, Map labels) argument
332 _parse(Object t1, TreePattern tpattern, Map labels) argument
[all...]
/external/webkit/Source/WebKit/chromium/src/
H A DAutoFillPopupMenuClient.cpp267 const WebVector<WebString>& labels,
272 ASSERT(names.size() == labels.size());
282 setSuggestions(names, labels, icons, uniqueIDs, separatorIndex);
313 const WebVector<WebString>& labels,
318 ASSERT(names.size() == labels.size());
329 m_labels.append(labels[i]);
264 initialize( HTMLInputElement* textField, const WebVector<WebString>& names, const WebVector<WebString>& labels, const WebVector<WebString>& icons, const WebVector<int>& uniqueIDs, int separatorIndex) argument
312 setSuggestions(const WebVector<WebString>& names, const WebVector<WebString>& labels, const WebVector<WebString>& icons, const WebVector<int>& uniqueIDs, int separatorIndex) argument
/external/webkit/Source/WebKit/win/
H A DWebHTMLRepresentation.cpp200 /* [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) argument
219 return m_frame->searchForLabelsBeforeElement(labels, cLabels, beforeElement, resultDistance, resultIsInCellAbove, result);
199 deprecatedSearchForLabels( BSTR* labels, int cLabels, IDOMElement* beforeElement, BSTR* result) argument
208 matchLabels( BSTR* labels, int cLabels, IDOMElement* againstElement, BSTR* result) argument
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DCode.java94 * Basic control flow is expressed using jumps and labels. Each label must be
113 * This API uses labels to handle thrown exceptions, errors and throwables. Call
181 * All allocated labels. Although the order of the labels in this list
184 private final List<Label> labels = new ArrayList<Label>(); field in class:Code
297 labels.get(0).instructions.addAll(0, moveParameterInstructions);
312 // labels
325 labels.add(target);
458 * @param catchLabels an immutable list of catch labels
866 BasicBlockList result = new BasicBlockList(labels
[all...]
/external/opencv/cv/src/
H A Dcvdistransform.cpp229 int step, float* dist, int dststep, int* labels, int lstep,
243 lstep /= sizeof(labels[0]);
252 int* lls = (int*)(labels + i*lstep);
329 int* lls = (int*)(labels + i*lstep);
719 CvMat lstub, *labels = (CvMat*)labelsarr; local
728 (CV_MAT_TYPE(dst->type) != CV_8UC1 || distType != CV_DIST_L1 || labels)) )
740 maskSize = !labels ? CV_DIST_MASK_3 : CV_DIST_MASK_5;
741 else if( distType == CV_DIST_L2 && labels )
750 if( labels )
752 CV_CALL( labels
228 icvDistanceTransformEx_5x5_C1R( const uchar* src, int srcstep, int* temp, int step, float* dist, int dststep, int* labels, int lstep, CvSize size, const float* metrics ) argument
[all...]
/external/v8/src/
H A Dprettyprinter.cc150 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
511 PrintLabels(ZoneStringList* labels) argument
681 PrintLabelsIndented(const char* info, ZoneStringList* labels) argument
[all...]
/external/webkit/Source/WebCore/html/
H A DHTMLFormControlElement.cpp491 PassRefPtr<NodeList> HTMLFormControlElement::labels() function in class:WebCore::HTMLFormControlElement
/external/opencv/cxcore/src/
H A Dcxutils.cpp58 CvMat* labels = (CvMat*)labels_arr; local
68 if( !CV_IS_MAT( labels ))
69 CV_CALL( labels = cvGetMat( labels, &labels_stub ));
74 if( CV_MAT_DEPTH(samples->type) != CV_32F || CV_MAT_TYPE(labels->type) != CV_32SC1 )
78 if( (labels->rows != 1 && (labels->cols != 1 || !CV_IS_MAT_CONT(labels->type))) ||
79 labels->rows + labels
[all...]

Completed in 7815 milliseconds

123