/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | TextTrieMap.java | 179 * Callback handler for processing prefix matches used by 194 private Iterator<V> matches = null; field in class:TextTrieMap.LongestMatchHandler 200 matches = values; 206 return matches;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DateIntervalFormatTest.java | 1491 if (!matches(dateFormatPattern, firstPart, secondPart)) { 1523 private boolean matches(String dateFormatPattern, String firstPart, String secondPart) { method in class:DateIntervalFormatTest
|
H A D | MessagePatternUtilTest.java | 81 // matches() prints all errors. 82 matches(msg); 84 private boolean matches(MessageNode msg) { method in class:MessagePatternUtilTest.ExpectMessageNode 91 ok &= ec.matches(msgIter.next()); 109 protected boolean matches(MessageContentsNode c) { method in class:MessagePatternUtilTest.ExpectMessageContentsNode 120 protected boolean matches(MessageContentsNode c) { method in class:MessagePatternUtilTest.ExpectTextNode 154 protected boolean matches(MessageContentsNode c) { method in class:MessagePatternUtilTest.ExpectArgNode 210 protected boolean matches(MessageContentsNode c) { method in class:MessagePatternUtilTest.ExpectComplexArgNode 211 boolean ok = super.matches(c); 235 ok &= variant.matches(complexIte 255 private boolean matches(VariantNode v) { method in class:MessagePatternUtilTest.ExpectVariantNode [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
H A D | UnicodePropertySource.java | 103 if (matcher.matches(value)) { 111 public boolean matches(String value); method in interface:UnicodePropertySource.Matcher
|
H A D | XEquivalenceClass.java | 218 boolean matches(T o); method in interface:XEquivalenceClass.Filter 225 if (f.matches(obj)) return obj;
|
/external/libedit/examples/ |
H A D | fileman.c | 241 parsing. Returnthe array of matches, or NULL if there aren't any. */ 245 char **matches; local 247 matches = (char **)NULL; 254 matches = completion_matches (text, command_generator); 255 /* matches = rl_completion_matches (text, command_generator); */ 257 return (matches); 280 /* Return the next name which partially matches from the
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/ |
H A D | LZEncoder.java | 108 * stop looking for longer matches 110 * @param matchLenMax don't test for matches longer than 358 * Verifies that the matches returned by the match finder are valid. 363 * @param matches return value from <code>getMatches</code> 365 * @return true if matches are valid, false if match finder is broken 367 public boolean verifyMatches(Matches matches) { argument 370 for (int i = 0; i < matches.count; ++i) 371 if (getMatchLen(matches.dist[i], lenLimit) != matches.len[i]) 411 * Runs match finder for the next byte and returns the matches foun [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
H A D | rc_test_helpers.c | 30 static int match_length(regmatch_t * matches, int index) argument 32 return matches[index].rm_eo - matches[index].rm_so; 38 regmatch_t * matches, 53 err_code = regexec(®ex, search_str, num_matches, matches, 0); 57 matches[i].rm_so, matches[i].rm_eo); 94 regmatch_t matches[REGEX_SRC_MATCHES]; local 100 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) { 106 tokens.Negate.String = src_str + matches[ 35 regex_helper( const char * regex_str, const char * search_str, regmatch_t * matches, int num_matches) argument 221 regmatch_t matches[REGEX_DST_MATCHES]; local 320 regmatch_t matches[REGEX_INST_MATCHES]; local [all...] |
/external/mockito/src/org/mockito/ |
H A D | Matchers.java | 74 * public boolean matches(Object list) {
728 * <code>String</code> argument that matches the given regular expression.
736 public static String matches(String regex) {
method in class:Matchers 774 * @param matcher decides whether argument matches
786 * @param matcher decides whether argument matches
798 * @param matcher decides whether argument matches
810 * @param matcher decides whether argument matches
822 * @param matcher decides whether argument matches
834 * @param matcher decides whether argument matches
846 * @param matcher decides whether argument matches
[all...] |
/external/opencv3/modules/cudafeatures2d/test/ |
H A D | test_features2d.cpp | 195 std::vector<cv::DMatch> matches; local 196 matcher.match(descriptors_gold, cv::Mat(descriptors), matches); 198 int matchedCount = getMatchedPointsCount(keypoints_gold, keypoints, matches); 298 std::vector<cv::DMatch> matches; local 299 matcher->match(loadMat(query), loadMat(train), matches, mask); local 301 ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); 304 for (size_t i = 0; i < matches.size(); i++) 306 cv::DMatch match = matches[i]; 334 std::vector<cv::DMatch> matches; local 336 matcher->match(cv::cuda::GpuMat(query), matches, mask local 338 matcher->match(cv::cuda::GpuMat(query), matches); local 383 std::vector< std::vector<cv::DMatch> > matches; local 384 matcher->knnMatch(loadMat(query), loadMat(train), matches, knn, mask); local 423 std::vector< std::vector<cv::DMatch> > matches; local 424 matcher->knnMatch(loadMat(query), loadMat(train), matches, knn, mask); local 471 std::vector< std::vector<cv::DMatch> > matches; local 474 matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn, masks); local 476 matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn); local 534 std::vector< std::vector<cv::DMatch> > matches; local 537 matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn, masks); local 539 matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn); local 586 std::vector< std::vector<cv::DMatch> > matches; local 587 matcher->radiusMatch(loadMat(query), loadMat(train), matches, radius); local 603 std::vector< std::vector<cv::DMatch> > matches; local 604 matcher->radiusMatch(loadMat(query), loadMat(train), matches, radius, mask); local 652 std::vector< std::vector<cv::DMatch> > matches; local 653 matcher->radiusMatch(cv::cuda::GpuMat(query), matches, radius, masks); local 662 std::vector< std::vector<cv::DMatch> > matches; local 665 matcher->radiusMatch(cv::cuda::GpuMat(query), matches, radius, masks); local 667 matcher->radiusMatch(cv::cuda::GpuMat(query), matches, radius); local [all...] |
/external/opencv3/modules/features2d/test/ |
H A D | test_matchers_algorithmic.cpp | 86 vector<DMatch> matches; local 91 dmatcher->match( queryDescriptors, trainDescriptors, matches, mask ); 131 dmatcher->match( queryDescriptors, matches, masks ); 199 vector<DMatch> matches; local 200 dmatcher->match( query, train, matches ); 202 if( (int)matches.size() != queryDescCount ) 204 ts->printf(cvtest::TS::LOG, "Incorrect matches count while test match() function (1).\n"); 210 for( size_t i = 0; i < matches.size(); i++ ) 212 DMatch& match = matches[i]; 218 ts->printf( cvtest::TS::LOG, "%f - too large bad matches par 227 vector<DMatch> matches; local 254 vector<DMatch> matches; local 312 vector<vector<DMatch> > matches; local 351 vector<vector<DMatch> > matches; local 419 vector<vector<DMatch> > matches; local 454 vector<vector<DMatch> > matches; local 550 vector<DMatch> matches; local 552 fs << "Match" << matches; local [all...] |
/external/opencv3/modules/flann/include/opencv2/flann/ |
H A D | index_testing.h | 87 const Matrix<typename Distance::ElementType>& testData, const Matrix<int>& matches, int nn, int checks, 92 if (matches.cols<size_t(nn)) { 93 Logger::info("matches.cols=%d, nn=%d\n",matches.cols,nn); 118 correct += countCorrectMatches(neighbors,matches[i], nn); 119 distR += computeDistanceRaport<Distance>(inputData, testData[i], neighbors, matches[i], (int)testData.cols, nn, distance); 138 const Matrix<typename Distance::ElementType>& testData, const Matrix<int>& matches, 148 precision = search_with_ground_truth(index, inputData, testData, matches, nn, checks, time, dist, distance, skipMatches); 155 const Matrix<typename Distance::ElementType>& testData, const Matrix<int>& matches, 171 p2 = search_with_ground_truth(index, inputData, testData, matches, n 86 search_with_ground_truth(NNIndex<Distance>& index, const Matrix<typename Distance::ElementType>& inputData, const Matrix<typename Distance::ElementType>& testData, const Matrix<int>& matches, int nn, int checks, float& time, typename Distance::ResultType& dist, const Distance& distance, int skipMatches) argument 137 test_index_checks(NNIndex<Distance>& index, const Matrix<typename Distance::ElementType>& inputData, const Matrix<typename Distance::ElementType>& testData, const Matrix<int>& matches, int checks, float& precision, const Distance& distance, int nn = 1, int skipMatches = 0) argument 154 test_index_precision(NNIndex<Distance>& index, const Matrix<typename Distance::ElementType>& inputData, const Matrix<typename Distance::ElementType>& testData, const Matrix<int>& matches, float precision, int& checks, const Distance& distance, int nn = 1, int skipMatches = 0) argument 227 test_index_precisions(NNIndex<Distance>& index, const Matrix<typename Distance::ElementType>& inputData, const Matrix<typename Distance::ElementType>& testData, const Matrix<int>& matches, float* precisions, int precisions_length, const Distance& distance, int nn = 1, int skipMatches = 0, float maxTime = 0) argument [all...] |
/external/opencv3/modules/java/generator/src/java/ |
H A D | utils+Converters.java | 637 public static Mat vector_DMatch_to_Mat(List<DMatch> matches) { argument 639 int count = (matches != null) ? matches.size() : 0; 644 DMatch m = matches.get(i); 657 public static void Mat_to_vector_DMatch(Mat m, List<DMatch> matches) { argument 658 if (matches == null) 665 matches.clear(); 669 matches.add(new DMatch((int) buff[4 * i], (int) buff[4 * i + 1], (int) buff[4 * i + 2], (float) buff[4 * i + 3]));
|
/external/opencv3/modules/shape/src/ |
H A D | aff_trans.cpp | 70 virtual void estimateTransformation(InputArray transformingShape, InputArray targetShape, std::vector<DMatch> &matches); 196 std::vector<DMatch> matches; local 202 matches.push_back(_matches[i]); 209 for (size_t i=0; i<matches.size(); i++) 211 Point2f pt1=pts1.at<Point2f>(0,matches[i].queryIdx); 214 Point2f pt2=pts2.at<Point2f>(0,matches[i].trainIdx);
|
H A D | tps_trans.cpp | 72 virtual void estimateTransformation(InputArray transformingShape, InputArray targetShape, std::vector<DMatch> &matches); 202 std::vector<DMatch> matches; local 208 matches.push_back(_matches[i]); 213 Mat shape1((int)matches.size(),2,CV_32F); // transforming shape 214 Mat shape2((int)matches.size(),2,CV_32F); // target shape 215 for (int i=0, end = (int)matches.size(); i<end; i++) 217 Point2f pt1=pts1.at<Point2f>(0,matches[i].queryIdx); 221 Point2f pt2=pts2.at<Point2f>(0,matches[i].trainIdx); 230 Mat matK((int)matches.size(),(int)matches [all...] |
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/ |
H A D | matchers.hpp | 157 /** @brief Structure containing information about matches between two images. 168 std::vector<DMatch> matches; member in struct:cv::detail::MatchesInfo 169 std::vector<uchar> inliers_mask; //!< Geometrically consistent matches mask 170 int num_inliers; //!< Number of geometrically consistent matches 184 @param matches_info Found matches 192 @param pairwise_matches Found pairwise matches 218 @param matches_info found matches 226 /** @brief Features matcher which finds two best matches for each feature and leaves the best one only if the 238 @param num_matches_thresh1 Minimum number of matches required for the 2D projective transform 240 @param num_matches_thresh2 Minimum number of matches require [all...] |
/external/opencv3/samples/cpp/tutorial_code/features2D/AKAZE_tracking/ |
H A D | planar_tracking.cpp | 58 vector< vector<DMatch> > matches; local 60 matcher->knnMatch(first_desc, desc, matches, 2); 61 for(unsigned i = 0; i < matches.size(); i++) { 62 if(matches[i][0].distance < nn_match_ratio * matches[i][1].distance) { 63 matched1.push_back(first_kp[matches[i][0].queryIdx]); 64 matched2.push_back( kp[matches[i][0].trainIdx]); 67 stats.matches = (int)matched1.size(); 93 stats.ratio = stats.inliers * 1.0 / stats.matches;
|
/external/proguard/src/proguard/retrace/ |
H A D | ReTrace.java | 203 if (matcher.matches()) 384 if (fieldInfo.matches(type)) 459 if (methodInfo.matches(lineNumber, type, arguments)) 646 private boolean matches(String type) method in class:ReTrace.FieldInfo 676 private boolean matches(int lineNumber, String type, String arguments) method in class:ReTrace.MethodInfo
|
/external/selinux/libsepol/src/ |
H A D | assertion.c | 221 ebitmap_t src_matches, tgt_matches, matches; local 233 ebitmap_init(&matches); 244 rc = ebitmap_and(&matches, &p->attr_type_map[k->source_type - 1], &p->attr_type_map[k->target_type - 1]); 247 rc = ebitmap_and(&tgt_matches, &avrule->stypes.types, &matches); 291 ebitmap_destroy(&matches); 367 * When the ioctl permission is granted on an avtab entry that matches an 385 ebitmap_t src_matches, tgt_matches, matches; local 394 ebitmap_init(&matches); 404 rc = ebitmap_and(&matches, &p->attr_type_map[k->source_type - 1], 408 rc = ebitmap_and(&tgt_matches, &avrule->stypes.types, &matches); [all...] |
/external/guice/lib/build/ |
H A D | easymock.jar | ... argumentToString (java.lang.Object) Object argument
public boolean matches (java.lang.Object[], java.lang.Object ... |
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
H A D | httparchive.py | 88 the archive to find potential matches. 199 """Determines whether the entity tags of the request/response matches. 221 if r.matches(command, None, full_path, is_ssl, 225 if r.matches(command, host, full_path, is_ssl, 325 """Edits the single request which matches given params.""" 617 def matches(self, command=None, host=None, full_path=None, is_ssl=None, member in class:ArchivedHttpRequest 619 """Returns true iff the request matches all parameters. 634 If use_query is True, req1.matches(req2) evaluates to False 635 If use_query is False, req1.matches(req2) evaluates to True 638 True iff the request matches al [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
H A D | LocalList.java | 281 * Returns whether or not this instance matches the given spec. 284 * @return {@code true} iff this instance matches 287 public boolean matches(RegisterSpec otherSpec) { method in class:LocalList.Entry 292 * Returns whether or not this instance matches the spec in 296 * @return {@code true} iff this instance's spec matches 299 public boolean matches(Entry other) { method in class:LocalList.Entry 300 return matches(other.spec); 404 if ((already != null) && e.matches(already)) { 615 if (endEntry.matches(startedLocal)) { 769 if (entry.matches(endedLoca [all...] |
/external/easymock/src/org/easymock/ |
H A D | EasyMock.java | 696 * Expects a boolean that matches both given expectations.
710 * Expects a byte that matches both given expectations.
724 * Expects a char that matches both given expectations.
738 * Expects a double that matches both given expectations.
752 * Expects a float that matches both given expectations.
766 * Expects an int that matches both given expectations.
780 * Expects a long that matches both given expectations.
794 * Expects a short that matches both given expectations.
808 * Expects an Object that matches both given expectations.
824 * Expects a boolean that matches on 1332 public static String matches(String regex) { method in class:EasyMock [all...] |
/external/guava/guava/src/com/google/common/io/ |
H A D | BaseEncoding.java | 480 checkArgument(CharMatcher.ASCII.matches(c), "Non-ASCII character: %s", c); 553 public boolean matches(char c) { method in class:BaseEncoding.Alphabet 554 return CharMatcher.ASCII.matches(c) && decodabet[c] != -1; 576 checkArgument(paddingChar == null || !alphabet.matches(paddingChar), 664 if (paddingMatcher.matches(ch)) { 765 } while (readChar != -1 && toIgnore.matches((char) readChar));
|
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/ |
H A D | BaseEncoding.java | 423 checkArgument(CharMatcher.ASCII.matches(c), "Non-ASCII character: %s", c); 496 public boolean matches(char c) { method in class:BaseEncoding.Alphabet 497 return CharMatcher.ASCII.matches(c) && decodabet[c] != -1; 519 checkArgument(paddingChar == null || !alphabet.matches(paddingChar), 607 if (paddingMatcher.matches(ch)) { 708 } while (readChar != -1 && toIgnore.matches((char) readChar));
|