HomeSort by relevance Sort by last modified time
    Searched refs:pattern (Results 1251 - 1275 of 4320) sorted by null

<<51525354555657585960>>

  /libcore/ojluni/src/main/java/java/text/
DecimalFormat.java 84 * <p>A <code>DecimalFormat</code> comprises a <em>pattern</em> and a set of
85 * <em>symbols</em>. The pattern may be set directly using
88 * the <code>NumberFormat</code> factory methods, the pattern and symbols are
95 * <i>Pattern:</i>
130 * <p>A <code>DecimalFormat</code> pattern contains a positive and negative
139 * pattern. That means that <code>"#,##0.0#;(#)"</code> produces precisely
156 * 1,0000,0000. If you supply a pattern with multiple grouping characters, the
161 * <h4>Special Pattern Characters</h4>
163 * <p>Many characters in a pattern are taken literally; they are matched during
235 * If present in a pattern, the monetary decimal separato
420 String pattern = LocaleData.get(def).numberPattern; local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
DateUtils.java 198 * to eliminate the year in the string pattern. In the rare occurence that the resulting
199 * pattern cannot be reconverted into a SimpleDateFormat, it uses the provided context to
204 final String pattern = ((SimpleDateFormat) SimpleDateFormat.getDateInstance( local
206 // Determine the correct regex pattern for year.
208 final String yearPattern = pattern.contains(
211 // Eliminate the substring in pattern that matches the format for that of year
212 return new SimpleDateFormat(pattern.replaceAll(yearPattern, ""));
  /packages/services/Car/obd2-lib/src/com/android/car/obd2/
Obd2Connection.java 151 for (String pattern : patterns) {
152 if (response.contains(pattern)) response = response.replaceAll(pattern, "");
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_zipimport_support.py 203 pattern = 'File "%s", line 2, in %s'
207 expected = pattern % (script_name, "__main__.Test")
216 expected = pattern % (run_name, "__main__.Test")
  /prebuilts/gdb/darwin-x86/lib/python2.7/unittest/
main.py 37 -p pattern Pattern to match test files ('test*.py' default)
185 parser.add_option('-p', '--pattern', dest='pattern', default='test*.py',
186 help="Pattern to match tests ('test*.py' default)")
194 for name, value in zip(('start', 'pattern', 'top'), args):
210 pattern = options.pattern
214 self.test = loader.discover(start_dir, pattern, top_level_dir)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_zipimport_support.py 203 pattern = 'File "%s", line 2, in %s'
207 expected = pattern % (script_name, "__main__.Test")
216 expected = pattern % (run_name, "__main__.Test")
  /prebuilts/gdb/linux-x86/lib/python2.7/unittest/
main.py 37 -p pattern Pattern to match test files ('test*.py' default)
185 parser.add_option('-p', '--pattern', dest='pattern', default='test*.py',
186 help="Pattern to match tests ('test*.py' default)")
194 for name, value in zip(('start', 'pattern', 'top'), args):
210 pattern = options.pattern
214 self.test = loader.discover(start_dir, pattern, top_level_dir)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_zipimport_support.py 203 pattern = 'File "%s", line 2, in %s'
207 expected = pattern % (script_name, "__main__.Test")
216 expected = pattern % (run_name, "__main__.Test")
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/
main.py 37 -p pattern Pattern to match test files ('test*.py' default)
185 parser.add_option('-p', '--pattern', dest='pattern', default='test*.py',
186 help="Pattern to match tests ('test*.py' default)")
194 for name, value in zip(('start', 'pattern', 'top'), args):
210 pattern = options.pattern
214 self.test = loader.discover(start_dir, pattern, top_level_dir)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_zipimport_support.py 203 pattern = 'File "%s", line 2, in %s'
207 expected = pattern % (script_name, "__main__.Test")
216 expected = pattern % (run_name, "__main__.Test")
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/
main.py 37 -p pattern Pattern to match test files ('test*.py' default)
185 parser.add_option('-p', '--pattern', dest='pattern', default='test*.py',
186 help="Pattern to match tests ('test*.py' default)")
194 for name, value in zip(('start', 'pattern', 'top'), args):
210 pattern = options.pattern
214 self.test = loader.discover(start_dir, pattern, top_level_dir)
  /system/extras/boottime_tools/bootanalyze/
bootanalyze.py 96 search_events_pattern = {key: re.compile(pattern)
97 for key, pattern in cfg['events'].iteritems()}
98 timing_events_pattern = {key: re.compile(pattern)
99 for key, pattern in cfg['timings'].iteritems()}
100 shutdown_events_pattern = {key: re.compile(pattern)
101 for key, pattern in cfg['shutdown_events'].iteritems()}
685 pattern = re.compile(BOOT_PROP)
689 match = pattern.match(line)
718 def extract_a_time(line, pattern, date_transform_function):
719 found = re.findall(pattern, line
    [all...]
  /prebuilts/tools/common/m2/repository/org/anarres/jarjar/jarjar-core/1.0.0/
jarjar-core-1.0.0.jar 
  /external/icu/icu4c/source/i18n/
decimfmt.cpp 98 * every currency format pattern,
99 * including the pattern of default currecny style
103 // negative prefix pattern
105 // negative suffix pattern
107 // positive prefix pattern
109 // positive suffix pattern
135 /* affix for currency formatting when the currency sign in the pattern
136 * equals to 3, such as the pattern contains 3 currency sign or
225 * CURRENCY_SIGN is seen in a pattern, then the decimal separator is
261 // pattern in the default locale
    [all...]
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 242 private static void checkFormat(String expected, String pattern, int hour) {
248 SimpleDateFormat sdf = new SimpleDateFormat(pattern);
251 if (pattern.equals("k") && (hour == 0 || hour == 24)) {
254 assertEquals("0", DateFormat.format(pattern, c));
256 assertEquals(expected, DateFormat.format(pattern, c));
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
_strptime.py 5 TimeRE -- Creates regexes for pattern matching a string of text containing
217 base.__setitem__('c', self.pattern(self.locale_time.LC_date_time))
218 base.__setitem__('x', self.pattern(self.locale_time.LC_date))
219 base.__setitem__('X', self.pattern(self.locale_time.LC_time))
240 def pattern(self, format): member in class:TimeRE
241 """Return regex pattern for the format string.
265 return re_compile(self.pattern(format), IGNORECASE)
  /external/deqp/external/openglcts/scripts/verify/
verify_es.py 127 pattern = "config-" + os.path.splitext(caseListFile)[0] + "-cfg-[0-9]*"+"-run-[0-9]*"
140 pattern += "-width-" + cfgItems['width'] + "-height-" + cfgItems['height']
142 pattern += "-seed-" + cfgItems['seed']
143 pattern += ".qpa"
144 p = re.compile(pattern)
  /external/fio/tools/plot/
fio2gnuplot 30 def find_file(path, pattern):
35 if fnmatch.fnmatch(file, pattern):
361 print 'fio2gnuplot -ghbiodvk -t <title> -o <outputfile> -p <pattern> -G <type> -m <time> -M <time>'
364 print '-p <pattern> or --pattern <pattern> : A glob pattern to select fio input files'
365 print '-b or --bandwidth : A predefined pattern for selecting *_bw.log files'
366 print '-i or --iops : A predefined pattern for selecting *_iops.log files'
369 print ' - Basename is set with the pattern if defined
    [all...]
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
AbstractFakeFileSystem.java 630 String pattern = containsWildcards ? PatternUtil.convertStringWithWildcardsToRegex(getName(path)) : null; local
631 LOG.debug("path=" + path + " lastComponent=" + lastComponent + " containsWildcards=" + containsWildcards + " dir=" + dir + " pattern=" + pattern);
640 boolean patternEmpty = pattern == null || pattern.length() == 0;
642 (patternEmpty || (getName(descendentPath).matches(pattern)))) {
  /external/python/cpython2/Lib/
_strptime.py 5 TimeRE -- Creates regexes for pattern matching a string of text containing
221 base.__setitem__('c', self.pattern(self.locale_time.LC_date_time))
222 base.__setitem__('x', self.pattern(self.locale_time.LC_date))
223 base.__setitem__('X', self.pattern(self.locale_time.LC_time))
244 def pattern(self, format): member in class:TimeRE
245 """Return regex pattern for the format string.
269 return re_compile(self.pattern(format), IGNORECASE)
  /external/python/cpython2/Lib/lib-tk/
FileDialog.py 28 fname = d.go(dir_or_file, pattern, default, key)
36 and pattern arguments, overriding the values passed in (it does
109 def go(self, dir_or_file=os.curdir, pattern="*", default="", key=None):
111 self.directory, pattern = dialogstates[key]
118 self.set_filter(self.directory, pattern)
127 directory, pattern = self.get_filter()
130 dialogstates[key] = directory, pattern
  /external/python/cpython3/Lib/distutils/command/
config.py 191 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None,
195 'pattern'. 'pattern' should either be a compiled regex object or a
203 if isinstance(pattern, str):
204 pattern = re.compile(pattern)
212 if pattern.search(line):
  /external/python/cpython3/Lib/test/
test_string.py 288 pattern = r"""
303 pattern = r"""
316 pattern = r"""
333 pattern = r"""
351 # pattern can't trigger (always has at least '$')
352 # So we craft a pattern that is always invalid
355 pattern = r"""
  /frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardPatternView.java 53 // how long before we clear the wrong pattern
79 * drawing the pattern.
85 * Useful for clearing out the wrong pattern after a delay
177 // as long as the user is entering a pattern (i.e sending a touch event that was handled
193 // reset lock pattern
238 public void onPatternCellAdded(List<LockPatternView.Cell> pattern) {
243 public void onPatternDetected(final List<LockPatternView.Cell> pattern) {
250 if (pattern.size() < LockPatternUtils.MIN_PATTERN_REGISTER_FAIL) {
262 pattern,
300 if (pattern.size() > MIN_PATTERN_BEFORE_POKE_WAKELOCK)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
_strptime.py 5 TimeRE -- Creates regexes for pattern matching a string of text containing
217 base.__setitem__('c', self.pattern(self.locale_time.LC_date_time))
218 base.__setitem__('x', self.pattern(self.locale_time.LC_date))
219 base.__setitem__('X', self.pattern(self.locale_time.LC_time))
240 def pattern(self, format): member in class:TimeRE
241 """Return regex pattern for the format string.
265 return re_compile(self.pattern(format), IGNORECASE)

Completed in 1379 milliseconds

<<51525354555657585960>>