/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/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/v8/src/ |
H A D | ast-inl.h | 39 SwitchStatement::SwitchStatement(ZoneStringList* labels) argument 40 : BreakableStatement(labels, TARGET_FOR_ANONYMOUS), 45 Block::Block(ZoneStringList* labels, int capacity, bool is_initializer_block) argument 46 : BreakableStatement(labels, TARGET_FOR_NAMED_ONLY), 52 BreakableStatement::BreakableStatement(ZoneStringList* labels, Type type) argument 53 : labels_(labels), 57 ASSERT(labels == NULL || labels->length() > 0); 61 IterationStatement::IterationStatement(ZoneStringList* labels) argument 62 : BreakableStatement(labels, TARGET_FOR_ANONYMOU 69 DoWhileStatement(ZoneStringList* labels) argument 78 WhileStatement(ZoneStringList* labels) argument 86 ForStatement(ZoneStringList* labels) argument 98 ForInStatement(ZoneStringList* labels) argument [all...] |
H A D | prettyprinter.cc | 97 ZoneStringList* labels = node->target()->labels(); local 98 if (labels != NULL) { 100 ASSERT(labels->length() > 0); // guaranteed to have at least one entry 101 PrintLiteral(labels->at(0), false); // any label from the list is fine 109 ZoneStringList* labels = node->target()->labels(); local 110 if (labels != NULL) { 112 ASSERT(labels->length() > 0); // guaranteed to have at least one entry 113 PrintLiteral(labels 495 PrintLabels(ZoneStringList* labels) argument 665 PrintLabelsIndented(const char* info, ZoneStringList* labels) argument [all...] |
/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) {
|
H A D | 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, 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/antlr/src/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/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/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/webkit/Source/WebCore/html/ |
H A D | HTMLFormControlElement.cpp | 491 PassRefPtr<NodeList> HTMLFormControlElement::labels() function in class:WebCore::HTMLFormControlElement
|
/external/opencv/cxcore/src/ |
H A D | cxutils.cpp | 58 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...] |
H A D | cxdatastructs.cpp | 2599 cvSeqPartition( const CvSeq* seq, CvMemStorage* storage, CvSeq** labels, argument 2616 if( !labels ) 2745 if( labels ) 2746 *labels = result;
|
/external/opencv/ml/src/ |
H A D | 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 488 CvMat* labels = 0; local 573 kmeans( const CvVectors& train_data, int nclusters, CvMat* labels, CvTermCriteria termcrit, const CvMat* centers0 ) argument [all...] |
H A D | ml_inner_functions.cpp | 1413 cvWritebackLabels( const CvMat* labels, CvMat* dst_labels, argument 1426 CV_ERROR( CV_StsBadArg, "Array of output labels is not a valid matrix" ); 1448 if( dst_labels && (!labels || labels->data.ptr != dst_labels->data.ptr) ) 1450 if( !labels ) 1451 CV_ERROR( CV_StsNullPtr, "NULL labels" ); 1453 CV_ASSERT( labels->rows == 1 ); 1456 CV_ERROR( CV_StsBadSize, "Array of output labels should be 1d vector" ); 1460 "Size of vector of output labels is not equal to the total number of input samples" ); 1462 CV_ASSERT( labels [all...] |
H A D | mlboost.cpp | 171 int* labels = data->get_labels( node ); local 176 weak_eval[labels[i]] = value; 703 const int* labels = data->get_labels(node); local 715 int idx = labels[i]; 749 int idx = labels[i]; 983 // so we need to convert class labels to floating-point values 985 int* labels = data->get_labels(data->data_root); local 1022 // set the labels to find (from within weak tree learning proc) 1024 labels[i] = i;
|
/external/webkit/Source/JavaScriptCore/interpreter/ |
H A D | Interpreter.cpp | 1420 // here because our labels are only in scope inside this function. 1424 static Opcode labels[] = { FOR_EACH_OPCODE_ID(LIST_OPCODE_LABEL) }; local 1425 for (size_t i = 0; i < WTF_ARRAY_LENGTH(labels); ++i) 1426 m_opcodeTable[i] = labels[i];
|
/external/webkit/Source/WebCore/inspector/front-end/ |
H A D | NetworkPanel.js | 1592 var labels = calculator.computeBarGraphLabels(this._resource); variable 1593 this._labelLeftElement.textContent = labels.left; 1594 this._labelRightElement.textContent = labels.right; 1596 var tooltip = (labels.tooltip || "");
|
/external/webkit/Source/WebCore/page/ |
H A D | Frame.cpp | 339 static RegularExpression* createRegExpForLabels(const Vector<String>& labels) argument 346 unsigned int numLabels = labels.size(); 349 String label = labels[i]; 400 String Frame::searchForLabelsBeforeElement(const Vector<String>& labels, Element* element, size_t* resultDistance, bool* resultIsInCellAbove) argument 402 OwnPtr<RegularExpression> regExp(createRegExpForLabels(labels)); 468 static String matchLabelsAgainstString(const Vector<String>& labels, const String& stringToMatch) argument 479 OwnPtr<RegularExpression> regExp(createRegExpForLabels(labels)); 503 String Frame::matchLabelsAgainstElement(const Vector<String>& labels, Element* element) argument 509 String resultFromNameAttribute = matchLabelsAgainstString(labels, element->getAttribute(nameAttr)); 513 return matchLabelsAgainstString(labels, elemen [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
H A D | gtk_util.cc | 208 GtkWidget* CreateLabeledControlsGroup(std::vector<GtkWidget*>* labels, argument 221 if (labels) 222 labels->push_back(label);
|
/external/qemu/tcg/ |
H A D | tcg.h | 274 TCGLabel *labels; member in struct:TCGContext
|