Searched refs:pattern (Results 576 - 600 of 1271) sorted by relevance

<<21222324252627282930>>

/external/icu/icu4c/source/i18n/unicode/
H A Dformat.h57 * a pattern. A pattern is a string representation of the rules which
59 * a DecimalFormat object may be associated with the pattern
62 * and "($987.65)" for 987.6543. The specific syntax of a pattern
65 * Even though many subclasses use patterns, the notion of a pattern
286 * @param pattern The pattern to copy into the parseError
287 * @param pos The position in pattern where the error occured
291 static void syntaxError(const UnicodeString& pattern,
/external/icu/icu4c/source/test/intltest/
H A Dmsfmrgts.cpp73 * Null exception when formatting pattern with MessageFormat
77 UnicodeString pattern [] = { local
93 //Apply pattern with param and print the result
94 messageFormatter->applyPattern(pattern[1], status);
108 //Apply pattern without param and print the result
109 messageFormatter->applyPattern(pattern[0], status);
133 //If we use pattern[1] for the message with param,
135 //If we use pattern[2] for the message with param,
138 //in applyPattern() when the pattern does not
151 * the original pattern strin
485 UnicodeString pattern = patterns[i]; local
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dscc.h169 unsigned char pattern; member in struct:scc_calibrate
/external/libxml2/include/libxml/
H A Dpattern.h2 * Summary: pattern expression handling
3 * Description: allows to compile and test pattern expressions for nodes
27 * A compiled (XPath based) pattern to select nodes
35 * This is the set of options affecting the behaviour of pattern
40 XML_PATTERN_DEFAULT = 0, /* simple pattern match */
41 XML_PATTERN_XPATH = 1<<0, /* standard XPath pattern */
53 xmlPatterncompile (const xmlChar *pattern,
/external/ltrace/testsuite/ltrace.main/
H A Dsystem_calls.exp110 set pattern [lindex $line 0]
116 if [regexp -- $pattern $key] {
121 set msgMain "$pattern was recorded $count times"
/external/markdown/markdown/
H A Dtreeprocessors.py198 def __applyPattern(self, pattern, data, patternIndex, startIndex=0):
200 Check if the line fits the pattern, create the necessary
206 * pattern: the pattern to be checked
207 * patternIndex: index of current pattern
213 match = pattern.getCompiledRegExp().match(data[startIndex:])
219 node = pattern.handleMatch(match)
236 placeholder = self.__stashNode(node, pattern.type())
/external/oprofile/
H A Dopimport_pull100 pattern = re.compile("(^raw_samples)(.*)/(.*)$")
104 match = pattern.search(line)
/external/srec/srec/AcousticModels/include/
H A DSR_AcousticModelsImpl.h72 * Legacy CREC pattern.
74 CA_Pattern* pattern; member in struct:SR_AcousticModelsImpl_t
/external/stressapptest/src/
H A Dpattern.h15 // pattern.h : global pattern references and initialization
36 const char *name; // Name of this pattern.
39 unsigned char weight[4]; // Weighted frequency of this pattern.
40 // Each pattern has 32,64,128,256 width versions.
43 // appropriate pattern is chosen. Thus a weight of
53 // Fill pattern data and calculate CRC.
60 // "busshift_" allows for repeating each pattern word 1, 2, 4, etc. times.
62 unsigned int pattern(unsigned int offset) { function in class:Pattern
77 bool inverse_; // Invert the data from the original pattern
[all...]
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_url_filter.cc60 // Adds a single URL pattern for the site identified by |site_id|.
61 bool AddPattern(const std::string& pattern, int site_id);
87 bool FilterBuilder::AddPattern(const std::string& pattern, int site_id) { argument
98 callback, pattern,
100 LOG(ERROR) << "Invalid pattern " << pattern;
228 const std::string& pattern) {
229 std::string trimmed_pattern = pattern;
231 if (EndsWith(pattern, ".*", true)) {
245 // The remaining pattern shoul
227 HostMatchesPattern(const std::string& host, const std::string& pattern) argument
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dcost.c51 // For each given level, the following table gives the pattern of contexts to
336 int pattern = VP8LevelCodes[level - 1][0]; local
340 for (i = 2; pattern; ++i) {
341 if (pattern & 1) {
345 pattern >>= 1;
720 int pattern = VP8LevelCodes[v - 1][0]; local
722 for (i = 0; (pattern >>= 1) != 0; ++i) {
724 if (pattern & 1) Record(!!(bits & mask), s + 3 + i);
/external/webp/src/enc/
H A Dcost.c51 // For each given level, the following table gives the pattern of contexts to
336 int pattern = VP8LevelCodes[level - 1][0]; local
340 for (i = 2; pattern; ++i) {
341 if (pattern & 1) {
345 pattern >>= 1;
720 int pattern = VP8LevelCodes[v - 1][0]; local
722 for (i = 0; (pattern >>= 1) != 0; ++i) {
724 if (pattern & 1) Record(!!(bits & mask), s + 3 + i);
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
H A DCompiler.java670 * Compile an entire match pattern expression.
716 * Compile a location match pattern unit expression.
810 * Compile a step pattern unit expression, used for both location paths
839 StepPattern pattern;
851 pattern = new FunctionPattern(compileFunction(opPos), Axis.PARENT, Axis.CHILD);
859 pattern = new StepPattern(DTMFilter.SHOW_DOCUMENT |
868 pattern = new StepPattern(DTMFilter.SHOW_ATTRIBUTE,
882 pattern = new StepPattern(getWhatToShow(startOpPos),
892 pattern = new StepPattern(getWhatToShow(startOpPos),
903 pattern
[all...]
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/
H A DAccessibilityInjector.java376 public void vibrate(long[] pattern, int repeat) { argument
377 for (int i = 0; i < pattern.length; ++i) {
378 pattern[i] = Math.min(pattern[i], MAX_VIBRATE_DURATION_MS);
383 mVibrator.vibrate(pattern, repeat);
/external/chromium_org/tools/gn/
H A Dtarget_generator.cc287 const SubstitutionPattern& pattern,
289 if (pattern.ranges().empty()) {
295 if (pattern.ranges()[0].type == SUBSTITUTION_LITERAL) {
299 pattern.ranges()[0].literal, original_value.origin(), err_))
302 // Otherwise, the first subrange must be a pattern that expands to
304 if (!SubstitutionIsInOutputDir(pattern.ranges()[0].type)) {
286 EnsureSubstitutionIsInOutputDir( const SubstitutionPattern& pattern, const Value& original_value) argument
/external/chromium_org/ui/base/l10n/
H A Dformatter.cc242 icu::UnicodeString pattern; local
244 pattern += icu::UnicodeString(pluralities.fallback_one);
245 pattern += icu::UnicodeString(pluralities.fallback_other);
249 new icu::PluralFormat(rules, pattern, error));
257 icu::UnicodeString pattern; local
/external/icu/icu4c/source/common/
H A Dsimplepatternformatter.cpp65 SimplePatternFormatter::SimplePatternFormatter(const UnicodeString &pattern) : argument
72 compile(pattern, status);
111 const UnicodeString &pattern, UErrorCode &status) {
115 const UChar *patternBuffer = pattern.getBuffer();
116 int32_t patternLength = pattern.length();
110 compile( const UnicodeString &pattern, UErrorCode &status) argument
/external/flac/libFLAC/
H A Dbitwriter.c518 FLAC__uint32 uval, pattern; local
530 pattern = 1 << parameter; /* the unary end bit */
531 pattern |= (uval & ((1<<parameter)-1)); /* the binary LSBs */
534 return FLAC__bitwriter_write_raw_uint32(bw, pattern, total_bits);
538 FLAC__bitwriter_write_raw_uint32(bw, pattern, interesting_bits); /* write the unary end bit and binary LSBs */
675 unsigned pattern;
681 pattern = 1 << k; /* the unary end bit */
682 pattern |= (uval & ((1u<<k)-1)); /* the binary LSBs */
685 if(!FLAC__bitwriter_write_raw_uint32(bw, pattern, total_bits))
693 if(!FLAC__bitwriter_write_raw_uint32(bw, pattern,
[all...]
/external/jhead/
H A Djhead.c584 char pattern[PATH_MAX+20];
595 pattern[PATH_MAX-1]=0;
596 strncpy(pattern, strftime_args, PATH_MAX-1);
597 while ((s = strstr(pattern, "%f")) && strlen(pattern) + n < PATH_MAX-1){
604 // '%i' type pattern becomes sequence number.
606 for (a=0;pattern[a];a++){
607 if (pattern[a] == '%'){
609 }else if (pattern[a] == 'i'){
614 memcpy(pat, pattern
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dtridpars.cpp235 * @param id the pattern the parse
244 * @param canonID OUTPUT parameter. The pattern for the filter
246 * at the start, if dir is REVERSE. The pattern will be enclosed
287 UnicodeString pattern; local
288 id.extractBetween(pos, ppos.getIndex(), pattern);
296 // In the forward direction, append the pattern to the
302 pattern.insert(0, OPEN_REV);
303 pattern.append(CLOSE_REV);
305 canonID->append(pattern).append(ID_DELIM);
308 pattern
[all...]
/external/icu/icu4c/source/i18n/
H A Dtridpars.cpp235 * @param id the pattern the parse
244 * @param canonID OUTPUT parameter. The pattern for the filter
246 * at the start, if dir is REVERSE. The pattern will be enclosed
287 UnicodeString pattern; local
288 id.extractBetween(pos, ppos.getIndex(), pattern);
296 // In the forward direction, append the pattern to the
302 pattern.insert(0, OPEN_REV);
303 pattern.append(CLOSE_REV);
305 canonID->append(pattern).append(ID_DELIM);
308 pattern
[all...]
/external/chromium_org/third_party/cython/src/Cython/Build/
H A DDependencies.py69 def extended_iglob(pattern):
70 if '**/' in pattern:
72 first, rest = pattern.split('**/', 1)
87 for path in iglob(pattern):
599 for pattern in exclude:
600 to_exclude.update(map(os.path.abspath, extended_iglob(pattern)))
602 for pattern in patterns:
603 if isinstance(pattern, str):
604 filepattern = pattern
609 elif isinstance(pattern, Extensio
[all...]
/external/chromium_org/third_party/re2/re2/
H A Dre2.cc126 static string trunc(const StringPiece& pattern) { argument
127 if (pattern.size() < 100)
128 return pattern.as_string();
129 return pattern.substr(0, 100).as_string() + "...";
133 RE2::RE2(const char* pattern) { argument
134 Init(pattern, DefaultOptions);
137 RE2::RE2(const string& pattern) { argument
138 Init(pattern, DefaultOptions);
141 RE2::RE2(const StringPiece& pattern) { argument
142 Init(pattern, DefaultOption
145 RE2(const StringPiece& pattern, const Options& options) argument
190 Init(const StringPiece& pattern, const Options& options) argument
[all...]
/external/regex-re2/re2/
H A Dre2.cc108 static string trunc(const StringPiece& pattern) { argument
109 if (pattern.size() < 100)
110 return pattern.as_string();
111 return pattern.substr(0, 100).as_string() + "...";
115 RE2::RE2(const char* pattern) { argument
116 Init(pattern, DefaultOptions);
119 RE2::RE2(const string& pattern) { argument
120 Init(pattern, DefaultOptions);
123 RE2::RE2(const StringPiece& pattern) { argument
124 Init(pattern, DefaultOption
127 RE2(const StringPiece& pattern, const Options& options) argument
172 Init(const StringPiece& pattern, const Options& options) argument
[all...]
/external/chromium_org/
H A DPRESUBMIT.py325 pattern = input_api.re.compile(r'^#include\s*<iostream>',
331 if pattern.search(contents):
478 pattern = input_api.re.compile(r'^#pragma\s+once',
484 if pattern.search(contents):
498 pattern = input_api.re.compile(r'\?\s*(true|false)\s*:\s*(true|false)')
504 if pattern.match(line):
510 'Please consider avoiding the "? true : false" pattern if possible.\n' +
588 pattern = input_api.re.compile(r'^#include\s*"ui/aura/window_property.h"')
594 if pattern.match(line):
759 pattern
[all...]

Completed in 671 milliseconds

<<21222324252627282930>>