/prebuilts/ndk/current/platforms/android-9/arch-mips/usr/include/linux/netfilter/ |
xt_string.h | 23 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member in struct:xt_string_info
|
/prebuilts/ndk/current/platforms/android-9/arch-x86/usr/include/ |
fnmatch.h | 47 extern int fnmatch(const char *pattern, const char *string, int flags);
|
/prebuilts/ndk/current/platforms/android-9/arch-x86/usr/include/linux/netfilter/ |
xt_string.h | 23 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member in struct:xt_string_info
|
/external/elfutils/libasm/ |
asm_align.c | 60 if (asmscn->pattern->len == 1) 61 fprintf (asmscn->ctx->out.file, "%02hhx\n", asmscn->pattern->bytes[0]); 66 for (size_t cnt = 0; cnt < asmscn->pattern->len; ++cnt) 68 asmscn->pattern->bytes[cnt]); 90 /* Fill in the bytes. We align the pattern according to the 92 size_t byteptr = asmscn->offset % asmscn->pattern->len; 100 = asmscn->pattern->bytes[byteptr++]; 102 if (byteptr == asmscn->pattern->len)
|
/external/icu/icu4c/source/common/ |
simplepatternformatter.h | 50 * Constructs a formatter from the pattern string. 52 * @param pattern The pattern string. 54 explicit SimplePatternFormatter(const UnicodeString& pattern, UErrorCode &errorCode) { 55 compile(pattern, errorCode); 59 * Constructs a formatter from the pattern string. 61 * @param pattern The pattern string. 62 * @param min The pattern must have at least this many placeholders. 63 * @param max The pattern must have at most this many placeholders [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
choicfmt.h | 47 * The strings must conform to the MessageFormat pattern syntax. 69 * are equivalent. The first is by using a string pattern. This is the 80 * <p>The pattern string defines the range boundaries and the strings for each number range. 103 * the sequence of <code>(number separator string)</code> in an equivalent pattern string. 105 * The equivalent pattern string will be constructed automatically.</p> 174 * Constructs a new ChoiceFormat from the pattern string. 176 * @param pattern Pattern used to construct object. 178 * pattern cannot be parsed, set to failure code. 181 ChoiceFormat(const UnicodeString& pattern, [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cdtdptst.c | 53 UChar *pattern; local 60 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("EEE MMM dd HH:mm:ss.SSS zzz yyyy G")+1 )); 61 u_uastrcpy(pattern, "EEE MMM dd HH:mm:ss.SSS zzz yyyy G"); 62 fullFmt= udat_open(UDAT_PATTERN, UDAT_PATTERN,"en_US",NULL,0,pattern, u_strlen(pattern),&status); 70 u_uastrcpy(pattern, "dd-MMM-yy h:mm:ss 'o''clock' a z"); 71 fmt= udat_open(UDAT_PATTERN,UDAT_PATTERN,"en_US", NULL, 0,pattern, u_strlen(pattern), &status); 102 free(pattern); 157 void tryPat994(UDateFormat* format, const char* pattern, const char* s, UDate expected 199 UChar *pattern=NULL, *now=NULL, *then=NULL; local 232 UChar *pattern=NULL, *tzID=NULL; local 308 UChar *pattern, *tzID, *exp; local [all...] |
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
MainProcessor.java | 36 for (PatternElement pattern : patterns) { 37 if (pattern instanceof Zap) { 38 zapList.add((Zap) pattern); 39 } else if (pattern instanceof Rule) { 40 ruleList.add((Rule) pattern); 41 } else if (pattern instanceof Keep) { 42 keepList.add((Keep) pattern);
|
/platform_testing/tests/functional/externalstorage/src/com/android/functional/externalstoragetests/ |
PortableStorageTests.java | 30 import java.util.regex.Pattern; 75 mDevice.wait(Until.findObject(By.desc(Pattern.compile("More options", 76 Pattern.CASE_INSENSITIVE))), storageHelper.TIMEOUT).click(); 166 Pattern pattern = Pattern.compile("More options", Pattern.CASE_INSENSITIVE); local 167 mDevice.wait(Until.findObject(By.desc(pattern)), storageHelper.TIMEOUT).click(); 168 pattern = Pattern.compile("Storage settings", Pattern.CASE_INSENSITIVE) 194 Pattern pattern = Pattern.compile("Mount", Pattern.CASE_INSENSITIVE); local 207 Pattern pattern = Pattern.compile("More options", Pattern.CASE_INSENSITIVE); local 229 Pattern pattern = Pattern.compile("More options", Pattern.CASE_INSENSITIVE); local [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
monetary.cpp | 25 static void _Init_monetary_formats(money_base::pattern& pos_format, 26 money_base::pattern& neg_format) { 58 money_base::pattern moneypunct<char, true>::do_pos_format() const {return _M_pos_format;} 59 money_base::pattern moneypunct<char, true>::do_neg_format() const {return _M_neg_format;} 73 money_base::pattern moneypunct<char, false>::do_pos_format() const {return _M_pos_format;} 74 money_base::pattern moneypunct<char, false>::do_neg_format() const {return _M_neg_format;} 93 money_base::pattern moneypunct<wchar_t, true>::do_pos_format() const 95 money_base::pattern moneypunct<wchar_t, true>::do_neg_format() const 113 money_base::pattern moneypunct<wchar_t, false>::do_pos_format() const 115 money_base::pattern moneypunct<wchar_t, false>::do_neg_format() cons [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/ |
btm_matcher.py | 38 """Reduces a fixer's pattern tree to a linear path and adds it 49 def add(self, pattern, start): 50 "Recursively adds a linear pattern to the AC automaton" 51 #print("adding pattern", pattern, "to", start) 52 if not pattern: 53 #print("empty pattern") 55 if isinstance(pattern[0], tuple): 59 for alternative in pattern[0]: 60 #add all alternatives, and add the rest of the pattern [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/ |
btm_matcher.py | 38 """Reduces a fixer's pattern tree to a linear path and adds it 49 def add(self, pattern, start): 50 "Recursively adds a linear pattern to the AC automaton" 51 #print("adding pattern", pattern, "to", start) 52 if not pattern: 53 #print("empty pattern") 55 if isinstance(pattern[0], tuple): 59 for alternative in pattern[0]: 60 #add all alternatives, and add the rest of the pattern [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/ |
btm_matcher.py | 38 """Reduces a fixer's pattern tree to a linear path and adds it 49 def add(self, pattern, start): 50 "Recursively adds a linear pattern to the AC automaton" 51 #print("adding pattern", pattern, "to", start) 52 if not pattern: 53 #print("empty pattern") 55 if isinstance(pattern[0], tuple): 59 for alternative in pattern[0]: 60 #add all alternatives, and add the rest of the pattern [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/ |
btm_matcher.py | 38 """Reduces a fixer's pattern tree to a linear path and adds it 49 def add(self, pattern, start): 50 "Recursively adds a linear pattern to the AC automaton" 51 #print("adding pattern", pattern, "to", start) 52 if not pattern: 53 #print("empty pattern") 55 if isinstance(pattern[0], tuple): 59 for alternative in pattern[0]: 60 #add all alternatives, and add the rest of the pattern [all...] |
/external/icu/icu4c/source/i18n/ |
strmatch.cpp | 35 theString.extractBetween(start, limit, pattern); 42 pattern(o.pattern), 96 for (i=pattern.length()-1; i>=0; --i) { 97 UChar keyChar = pattern.charAt(i); 122 for (i=0; i<pattern.length(); ++i) { 128 UChar keyChar = pattern.charAt(i); 168 for (int32_t i=0; i<pattern.length(); ++i) { 169 UChar keyChar = pattern.charAt(i); 191 if (pattern.length() == 0) [all...] |
/external/skia/src/ports/ |
SkFontMgr_fontconfig.cpp | 128 static int get_int(FcPattern* pattern, const char object[], int missing) { 130 if (FcPatternGetInteger(pattern, object, 0, &value) != FcResultMatch) { 136 static const char* get_string(FcPattern* pattern, const char object[], const char* missing = "") { 138 if (FcPatternGetString(pattern, object, 0, &value) != FcResultMatch) { 150 * FcResult FcPatternIsWeak(pattern, object, id, FcBool* isWeak); 158 static SkWeakReturn is_weak(FcPattern* pattern, const char object[], int id) { 163 // Create a copy of the pattern with only the value 'pattern'['object'['id']] in it. 164 // Internally, FontConfig pattern objects are linked lists, so faster to remove from head. 166 SkAutoFcPattern minimal(FcPatternFilter(pattern, requestedObjectOnly)) [all...] |
/external/v8/test/mjsunit/ |
regexp-standalones.js | 35 var pattern = /^\d/gm; variable 36 var result = string.match(pattern); 41 pattern = /\d$/gm; 42 result = string.match(pattern); 48 pattern = /^\d/gm; 49 result = string.match(pattern); 53 pattern = /\d$/gm; 54 result = string.match(pattern); 59 pattern = /[\S]+/; 61 result = string.match(pattern); [all...] |
/external/icu/icu4c/source/test/intltest/ |
srchtest.cpp | 283 errln("Pattern: %s", str); 309 errln("Pattern: %s", str); 326 errln("Pattern: %s", str); 352 errln("Pattern: %s", str); 375 errln("Pattern: %s", str); 392 errln("Pattern: %s\n", str); 425 errln("Pattern: %s\n", str); 444 errln("Pattern: %s\n", str); 477 u_unescape(search->pattern, temp, 128); 478 UnicodeString pattern; local 537 UnicodeString pattern; local 590 UnicodeString pattern; local 624 UnicodeString pattern; local 739 UnicodeString pattern; local 875 UnicodeString pattern; local 1008 UnicodeString pattern; local 1052 UnicodeString pattern; local 1117 UnicodeString pattern; local 1212 UnicodeString pattern; local 1423 UnicodeString pattern; local 1487 UnicodeString pattern; local 1761 UnicodeString pattern; local 1867 UnicodeString pattern; local 1907 UnicodeString pattern; local 1970 UnicodeString pattern; local 2036 UnicodeString pattern; local [all...] |
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ServletSpiVisitor.java | 105 private final String pattern; field in class:ServletSpiVisitor.Params 111 this.pattern = binding.getPattern(); 117 Params(String pattern, Object keyOrInstance, Map params, UriPatternType patternType) { 118 this.pattern = pattern; 128 return Objects.equal(pattern, o.pattern) 139 return Objects.hashCode(pattern, keyOrInstance, params, patternType); 145 .add("pattern", pattern) [all...] |
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
fastgrep.c | 68 fg->pattern = (unsigned char *)grep_strdup(pat); 70 /* Preprocess pattern. */ 74 fg->qsBc[fg->pattern[i]] = fg->len - i; 124 fg->pattern = grep_malloc(fg->len + 1); 125 memcpy(fg->pattern, pat, fg->len); 126 fg->pattern[fg->len] = '\0'; 131 if (fg->pattern[i] == '.') { 138 /* Closest dot to the end of the pattern. */ 145 free(fg->pattern); 146 fg->pattern = NULL [all...] |
/external/icu/icu4c/source/tools/ctestfw/ |
ctest.c | 87 * @param pattern printf style pattern 90 static void vlog_err(const char *prefix, const char *pattern, va_list ap); 91 static void vlog_verbose(const char *prefix, const char *pattern, va_list ap); 92 static UBool vlog_knownIssue(const char *ticket, const char *pattern, va_list ap); 96 * @param pattern printf pattern 98 static void log_testinfo_i(const char *pattern, ...); 102 * @param pattern printf pattern [all...] |
/cts/tests/tests/hardware/src/android/hardware/consumerir/cts/ |
ConsumerIrTest.java | 80 int[] pattern = {11111, 22222, 33333, 44444, 55555, 66666, 77777, 88888, 99999}; local 81 long totalXmitTimeNanos = 0; // get the length of the pattern 82 for (int slice : pattern) { 90 mCIR.transmit(range.getMinFrequency(), pattern); local 92 String msg = String.format("Pattern length pattern:%d, actual:%d", 99 mCIR.transmit(range.getMaxFrequency(), pattern); local 101 msg = String.format("Pattern length pattern:%d, actual:%d", 116 int[] pattern = {1901, 4453, 625, 1614, 625, 1588, 625, 1614, 625, 442, 625, 442, 625 local [all...] |
/external/guava/guava/src/com/google/common/base/ |
Predicates.java | 30 import java.util.regex.Pattern; 248 * regular expression pattern. The test used is equivalent to 249 * {@code Pattern.compile(pattern).matcher(arg).find()} 251 * @throws java.util.regex.PatternSyntaxException if the pattern is invalid 254 @GwtIncompatible(value = "java.util.regex.Pattern") 255 public static Predicate<CharSequence> containsPattern(String pattern) { 256 return new ContainsPatternFromStringPredicate(pattern); 262 * regular expression pattern. The test used is equivalent to 263 * {@code pattern.matcher(arg).find() 578 final Pattern pattern; field in class:Predicates.ContainsPatternPredicate [all...] |
/external/icu/icu4c/source/tools/gencolusb/ |
extract_unsafe_backwards.cpp | 20 #define PATTERN 0 //< Generate a UnicodeSet pattern (depends on #11891 AND probably slower. No support in collationdatareader.cpp) 59 #if PATTERN 60 fprintf(stderr,".. pattern. (Note: collationdatareader.cpp does not support this form also see #11891)\n"); 61 // attempt to use pattern 63 UnicodeString pattern; local 66 set.toPattern(pattern, FALSE); 71 // UnicodeSet usA(pattern, errorCode); 77 const UChar *buf = pattern.getBuffer(); 78 int32_t needed = pattern.length() [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ChineseDateFormat.java | 53 * Construct a ChineseDateFormat from a date format pattern and locale 54 * @param pattern the pattern 59 public ChineseDateFormat(String pattern, Locale locale) { 60 this(pattern, ULocale.forLocale(locale)); 64 * Construct a ChineseDateFormat from a date format pattern and locale 65 * @param pattern the pattern 70 public ChineseDateFormat(String pattern, ULocale locale) { 71 this(pattern, null, locale) [all...] |