/external/stlport/test/unit/ |
H A D | bsearch_test.cpp | 40 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 D | unique_test.cpp | 52 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 D | api-ip6-flowlabels.tex | 42 \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 D | MachineProbe.java | 78 /** 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 D | 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 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/openfst/src/include/fst/ |
H A D | icu.h | 34 bool UTF8StringToLabels(const string &str, vector<Label> *labels) { argument 40 labels->push_back(c); 67 labels->push_back(code); 74 bool LabelsToUTF8String(const vector<Label> &labels, string *str) { argument 76 for (size_t i = 0; i < labels.size(); ++i) { 77 int32_t code = labels[i];
|
H A D | string.h | 53 vector<Label> labels; local 54 if (!ConvertStringToLabels(s, &labels)) 56 Compile(labels, fst); 62 vector<Label> labels; local 63 if (!ConvertStringToLabels(s, &labels)) 65 Compile(labels, fst, w); 70 bool ConvertStringToLabels(const string &str, vector<Label> *labels) const { 71 labels->clear(); 74 labels->push_back(static_cast<unsigned char>(str[i])); 76 return UTF8StringToLabels(str, labels); 95 Compile(const vector<Label> &labels, MutableFst<A> *fst, const Weight &weight = Weight::One()) const argument 107 Compile(const vector<Label> &labels, CompactFst<A, StringCompactor<A>, Unsigned> *fst) const argument 113 Compile(const vector<Label> &labels, CompactFst<A, WeightedStringCompactor<A>, Unsigned> *fst, const Weight &weight = Weight::One()) const argument [all...] |
H A D | replace-util.h | 106 // 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/webkit/Source/WebKit/android/WebCoreSupport/autofill/ |
H A D | AutoFillHostAndroid.cpp | 38 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/jmonkeyengine/engine/src/core/com/jme3/app/ |
H A D | StatsView.java | 64 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 D | autofill_profile_unittest.cc | 163 // 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 D | autofill_manager.cc | 72 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 D | autofill_profile.cc | 38 // 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) {
|
/external/smack/src/org/xbill/DNS/ |
H A D | SIGBase.java | 20 protected int alg, labels; field in class:SIGBase 40 this.labels = name.labels() - 1; 42 this.labels--; 55 labels = in.readU8(); 74 labels = st.getUInt8(); 91 sb.append (labels); 130 * Returns the number of labels in the signed domain name. This may be 136 return labels; 184 out.writeU8(labels); [all...] |
H A D | Name.java | 28 * of labels and the 7 higher order bytes store per-label offsets. 50 /** The maximum number of labels in a Name */ 112 setlabels(int labels) { argument 114 offsets |= labels; 130 int labels = src.labels(); 133 for (int i = 0; i < labels && i < MAXOFFSETS; i++) 135 dst.setlabels(labels); 154 int labels = getlabels(); 155 int newlabels = labels 546 labels() { method in class:Name [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
H A D | TreeWizard.cs | 70 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 D | 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 ) 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 D | TreeWizard.java | 59 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/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
H A D | MethodDefinition.java | 629 //sort the labels by their location in the method 643 protected HashMap<LabelMethodItem, LabelMethodItem> labels = new HashMap<LabelMethodItem, LabelMethodItem>(); field in class:MethodDefinition.LabelCache 649 LabelMethodItem internedLabelMethodItem = labels.get(labelMethodItem); 653 labels.put(labelMethodItem, labelMethodItem); 659 return labels.values();
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | AutoFillPopupMenuClient.cpp | 267 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 D | 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) 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 D | Code.java | 94 * 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 869 BasicBlockList result = new BasicBlockList(labels [all...] |
/external/opencv/cv/src/ |
H A D | cvdistransform.cpp | 229 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 D | 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 511 PrintLabels(ZoneStringList* labels) argument 681 PrintLabelsIndented(const char* info, ZoneStringList* labels) argument [all...] |
/external/webkit/Source/WebCore/html/ |
H A D | HTMLFormControlElement.cpp | 491 PassRefPtr<NodeList> HTMLFormControlElement::labels() function in class:WebCore::HTMLFormControlElement
|