/external/bluetooth/glib/tests/ |
patterntest.c | 60 gchar *pattern; member in struct:_GPatternSpec 93 gchar *pattern, 110 if (strcmp (spec->pattern, pattern) != 0) 112 g_print ("failed \t(pattern: \"%s\", expected \"%s\")\n", 113 spec->pattern, 114 pattern); 119 if (spec->pattern_length != strlen (spec->pattern)) 123 (gint)strlen (spec->pattern)); 139 spec->pattern); [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
stringutils.cc | 44 bool string_match(const char* target, const char* pattern) { 45 while (*pattern) { 46 if (*pattern == '*') { 47 if (!*++pattern) { 51 if ((toupper(*pattern) == toupper(*target)) 52 && string_match(target + 1, pattern + 1)) { 59 if (toupper(*pattern) != toupper(*target)) { 63 ++pattern;
|
/external/icu4c/common/ |
uset_props.cpp | 31 uset_openPattern(const UChar* pattern, int32_t patternLength, 34 UnicodeString pat(patternLength==-1, pattern, patternLength); 50 uset_openPatternOptions(const UChar* pattern, int32_t patternLength, 54 UnicodeString pat(patternLength==-1, pattern, patternLength); 72 const UChar *pattern, int32_t patternLength, 83 // if pattern is NULL or null terminate 90 UnicodeString pat(pattern, patternLength); 118 uset_resemblesPattern(const UChar *pattern, int32_t patternLength, 121 UnicodeString pat(pattern, patternLength);
|
/external/icu4c/io/ |
uprintf.c | 116 UChar *pattern; local 122 pattern = (UChar *)uprv_malloc(size * sizeof(UChar)); 123 if(pattern == 0) { 128 pattern = buffer; 130 u_charsToUChars(patternSpecification, pattern, size); 133 count = u_vfprintf_u(f, pattern, ap); 136 if (pattern != buffer) { 137 uprv_free(pattern);
|
/external/oprofile/libregex/ |
op_regex.cpp | 36 void op_regcomp(regex_t & regexp, string const & pattern) 38 int err = regcomp(®exp, pattern.c_str(), REG_EXTENDED); 41 + " for pattern : " + pattern); 74 bad_regex::bad_regex(string const & pattern) 75 : op_exception(pattern) 103 void regular_expression_replace::add_pattern(string const & pattern, 106 string expanded_pattern = expand_string(pattern); 133 string regular_expression_replace::substitute_definition(string const & pattern) 138 for (size_t i = 0 ; i < pattern.length() ; ++i) [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
omxVCM4P2_EncodeVLCZigzag_Inter.c | 43 * pattern - block pattern which is used to decide whether this block is 70 OMX_U8 pattern, 84 if (pattern) 106 } /* Pattern check ends*/
|
/libcore/luni/src/main/java/java/sql/ |
Blob.java | 82 * Search for the position in this {@code Blob} at which a specified pattern 85 * @param pattern 86 * a {@code Blob} containing the pattern of data to search for in 91 * @return a {@code long} value with the position at which the pattern 92 * begins. Returns {@code -1} if the pattern is not found in this 97 public long position(Blob pattern, long start) throws SQLException; 101 * pattern begins, starting at a specified position within the {@code Blob}. 103 * @param pattern 104 * a byte array containing the pattern of data to search for in 109 * @return a {@code long} value with the position at which the pattern [all...] |
/system/media/mca/filterfw/java/android/filterfw/io/ |
PatternScanner.java | 21 import java.util.regex.Pattern; 29 private Pattern mIgnorePattern; 38 public PatternScanner(String input, Pattern ignorePattern) { 44 public String tryEat(Pattern pattern) { 45 // Skip ignore pattern 51 Matcher matcher = pattern.matcher(mInput); 62 // Skip ignore pattern 70 public String eat(Pattern pattern, String tokenName) [all...] |
/external/chromium/base/ |
vlog.cc | 19 explicit VmodulePattern(const std::string& pattern); 23 std::string pattern; member in struct:logging::VlogInfo::VmodulePattern 28 VlogInfo::VmodulePattern::VmodulePattern(const std::string& pattern) 29 : pattern(pattern), 32 // If the pattern contains a {forward,back} slash, we assume that 34 std::string::size_type first_slash = pattern.find_first_of("\\/"); 67 VmodulePattern pattern(it->first); 68 if (!base::StringToInt(it->second, &pattern.vlog_level)) { 71 << "\" as " << pattern.vlog_level [all...] |
/external/icu4c/i18n/unicode/ |
umsg.h | 40 * strings into the pattern at the appropriate places. 47 * UChar pattern[100]; 61 * u_uastrcpy(pattern, "On {0, date, long}, there was a {1} on planet {2,number,integer}"); 63 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, d1, str, 7); 68 * u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, d1, str, 7); 83 * UChar pattern[100]; 89 * u_uastrcpy(pattern, "The disk {1} contains {0,choice,0#no files|1#one file|1<{0,number,integer} files}"); 92 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, testArgs[i], str); [all...] |
/external/chromium/chrome/browser/autofill/ |
form_field.cc | 75 bool MatchString(const string16& input, const string16& pattern) { 77 icu::UnicodeString icu_pattern(pattern.data(), pattern.length()); 100 string16 pattern; local 102 pattern = GetEcmlPattern(kEcmlShipToEmail, kEcmlBillToEmail, '|'); 104 pattern = l10n_util::GetStringUTF16(IDS_AUTOFILL_EMAIL_RE); 108 if (ParseText(iter, pattern, &field)) 126 const string16& pattern, 129 if (autofill::MatchString(field->label, pattern)) { 133 // For now, we apply the same pattern to the field's label and the field' [all...] |
/external/v8/src/ |
string-search.h | 40 // independently of subject and pattern char size. 79 StringSearch(Isolate* isolate, Vector<const PatternChar> pattern) 81 pattern_(pattern), 82 start_(Max(0, pattern.length() - kBMMaxShift)) { 164 // Both pattern and subject are UC16. Reduce character to equivalence class. 170 // TODO(lrn): Introduce a way for a pattern to keep its tables 175 // pattern. 196 // The pattern to search for. 206 // Single Character Pattern Search Strategy 245 static inline bool CharCompare(const PatternChar* pattern, 266 Vector<const PatternChar> pattern = search->pattern_; local 303 Vector<const PatternChar> pattern = search->pattern_; local 354 const PatternChar* pattern = pattern_.start(); local 422 Vector<const PatternChar> pattern = search->pattern_; local 507 Vector<const PatternChar> pattern = search->pattern_; local [all...] |
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-rxspencer.c | 214 test (const char *pattern, int cflags, const char *string, int eflags, 221 n = regcomp (&re, pattern, cflags); 319 mb_test (const char *pattern, int cflags, const char *string, int eflags, 323 char *pattern_mb = mb_frob_pattern (pattern, letters); 349 mb_tests (const char *pattern, int cflags, const char *string, int eflags, 358 if (strstr (pattern, "[:xdigit:]")) 362 if (strstr (pattern, "[[=b=]]")) 370 if (!strchr (pattern, 'a') && !strchr (string, 'a') 371 && !strchr (pattern, 'A') && !strchr (string, 'A')) 377 if (!strchr (pattern, 'b') && !strchr (string, 'b' 440 char *pattern, *flagstr, *string, *expect, *matches, *p; local [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
FileHandler.java | 37 * these files are generated by given name pattern, see below for details. 65 * <li>java.util.logging.FileHandler.pattern specifies name pattern for the 69 * Name pattern is a string that may include some special substrings, which will 83 * generation field("%g") has not been specified in the pattern, then the 90 * pattern and some contention on a file does occur, then a unique numerical 120 // the pattern for output file name 121 private String pattern; field in class:FileHandler 215 pattern = (p == null) ? getStringProperty(className + ".pattern", [all...] |
/ndk/sources/host-tools/make-3.81/ |
vpath.c | 1 /* Implementation of pattern-matching file search paths for GNU Make. 32 char *pattern; /* The pattern to match. */ member in struct:vpath 33 char *percent; /* Pointer into `pattern' where the `%' is. */ 34 unsigned int patlen;/* Length of the pattern. */ 141 /* Construct the VPATH listing for the pattern and searchpath given. 150 pattern. If PATTERN is nil, remove all VPATH listings. Existing 154 and put in the VPATH searchpath for the given pattern with trailing 161 construct_vpath_list (char *pattern, char *dirpath [all...] |
/bionic/libc/include/ |
fnmatch.h | 47 extern int fnmatch(const char *pattern, const char *string, int flags);
|
/bionic/libc/kernel/common/linux/netfilter/ |
xt_string.h | 23 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member in struct:xt_string_info
|
/development/ndk/platforms/android-3/include/ |
fnmatch.h | 47 extern int fnmatch(const char *pattern, const char *string, int flags);
|
/development/ndk/platforms/android-3/include/linux/netfilter/ |
xt_string.h | 23 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member in struct:xt_string_info
|
/external/chromium/chrome/common/extensions/ |
user_script.cc | 14 for (UserScript::PatternList::const_iterator pattern = patterns->begin(); 15 pattern != patterns->end(); ++pattern) { 16 if (pattern->MatchesUrl(url)) 70 void UserScript::add_url_pattern(const URLPattern& pattern) { 71 url_patterns_.push_back(pattern); 127 for (PatternList::const_iterator pattern = url_patterns_.begin(); 128 pattern != url_patterns_.end(); ++pattern) { 129 pickle->WriteInt(pattern->valid_schemes()) [all...] |
/external/icu4c/test/intltest/ |
tchcfmt.h | 45 void _testPattern(const char* pattern,
|
tsdcfmsy.h | 30 void Verify(double value, const UnicodeString& pattern, DecimalFormatSymbols sym, const UnicodeString& expected);
|
/external/kernel-headers/original/linux/netfilter/ |
xt_string.h | 12 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member in struct:xt_string_info
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
regress-169497.js | 48 var pattern = ''; variable 70 pattern = /<body.*>((.*\n?)*?)<\/body>/i; 71 actualmatch = string.match(pattern); 85 patterns[i] = pattern;
|
/external/webkit/Source/WebCore/platform/win/ |
PathWalker.h | 38 PathWalker(const WTF::String& directory, const WTF::String& pattern);
|