HomeSort by relevance Sort by last modified time
    Searched refs:pattern (Results 276 - 300 of 846) sorted by null

<<11121314151617181920>>

  /external/chromium/chrome/browser/content_settings/
content_settings_notification_provider.cc 59 GURL NotificationProvider::ToGURL(const ContentSettingsPattern& pattern) {
60 std::string pattern_spec(pattern.AsString());
72 } else if (!pattern.scheme().empty()) {
73 url_spec += pattern.scheme();
149 ContentSettingsPattern pattern = local
152 pattern,
153 pattern,
159 ContentSettingsPattern pattern = local
162 pattern,
163 pattern,
    [all...]
content_settings_pref_provider_unittest.cc 180 ContentSettingsPattern pattern("[*.]example.com");
183 pattern,
184 pattern,
189 EXPECT_EQ(pattern, observer.last_pattern);
237 ContentSettingsPattern pattern("[*.]example.com");
239 pattern,
240 pattern,
327 ContentSettingsPattern pattern("[*.]example.com");
335 pattern,
336 pattern,
    [all...]
  /external/chromium/chrome/common/
time_format.cc 207 icu::UnicodeString pattern; local
218 pattern += kKeywords[j];
219 pattern += UNICODE_STRING_SIMPLE("{");
220 pattern += icu::UnicodeString(sub_pattern.c_str(), "UTF-8");
221 pattern += UNICODE_STRING_SIMPLE("}");
224 icu::PluralFormat* format = new icu::PluralFormat(*rules, pattern, err);
247 icu::UnicodeString pattern; local
249 pattern += UNICODE_STRING_SIMPLE("one{# ") + kUnits[index][0] + suffix;
251 pattern += UNICODE_STRING_SIMPLE(" other{# ") + kUnits[index][1] + suffix;
253 icu::PluralFormat* format = new icu::PluralFormat(rules, pattern, err)
    [all...]
  /external/iptables/extensions/
libxt_string.c 81 /* xt_string does not need \0 at the end of the pattern */
83 strncpy(info->pattern, s, XT_STRING_MAX_PATTERN_SIZE);
130 info->pattern[sindex] = s[i+1];
152 info->pattern[sindex] = (char) schar;
158 info->pattern[sindex] = s[i];
265 if (is_hex_string(info->pattern, info->patlen)) {
267 print_hex_string(info->pattern, info->patlen);
270 print_string(info->pattern, info->patlen);
289 if (is_hex_string(info->pattern, info->patlen)) {
291 print_hex_string(info->pattern, info->patlen)
    [all...]
  /libcore/luni/src/main/java/java/text/
DecimalFormat.java 64 * A {@code DecimalFormat} consists of a <em>pattern</em> and a set of
65 * <em>symbols</em>. The pattern may be set directly using
67 * manipulate aspects of the pattern, such as the minimum number of integer
69 * using the {@link NumberFormat} factory methods, the pattern and symbols are
71 * <h4>Special Pattern Characters</h4>
73 * Many characters in a pattern are taken literally; they are matched during
77 * Often the replacement character is the same as the pattern character; in the
84 * To insert a special character in a pattern as a literal, that is, without any
176 * international currency symbol. If present in a pattern, the monetary decimal
196 * A {@code DecimalFormat} pattern contains a positive and negative subpattern
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldMessageFormatTest.java 43 String pattern = "A {3, number, currency} B {2, time} C {0, number, percent} D {4} E {1,choice,0#off|1#on} F {0, date}"; local
44 format1 = new MessageFormat(pattern);
52 assertEquals("Wrong full time pattern", "{0,time,full}", format
87 String pattern = "getLocale test {0,number,#,####}"; local
91 mf = new MessageFormat(pattern, l[i]);
103 mf = new MessageFormat(pattern);
143 "Test1B:wrong format for pattern index " + i + ":",
221 String pattern = "Date: {0,date} Currency: {1, number, currency} Integer: {2, number, integer}"; local
222 String sFormat = MessageFormat.format(pattern, (Object[]) args);
227 pattern = "abc {4, number, integer} def {3,date} ghi {2,number} jkl {1,choice,0#low|1#high} mnop {0}"
283 String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} " + local
335 String pattern = "A {3, number, currency} B {2, time} C {0, number, percent} D {4} E {1,choice,0#off|1#on} F {0, date}"; local
    [all...]
  /external/qemu/
qemu-io.c 31 * Parse the pattern argument to various sub-commands.
33 * Because the pattern is used as an argument to memset it must evaluate
39 long pattern; local
41 pattern = strtol(arg, &endptr, 0);
42 if (pattern < 0 || pattern > UCHAR_MAX || *endptr != '\0') {
43 printf("%s is not a valid pattern byte\n", arg);
47 return pattern;
58 static void *qemu_io_alloc(size_t len, int pattern)
65 memset(buf, pattern, len)
360 int pattern = 0, pattern_offset = 0, pattern_count = 0; local
540 int pattern = 0; local
664 int pattern = 0xcd; local
795 int pattern = 0xcd; local
900 int pattern = 0xcd; local
1013 int pattern; member in struct:aio_ctx
1223 int pattern = 0xcd; local
    [all...]
  /libcore/luni/src/main/java/libcore/icu/
NativeDecimalFormat.java 100 * The last pattern we gave to ICU, so we can make repeated applications cheap.
121 public NativeDecimalFormat(String pattern, DecimalFormatSymbols dfs) {
123 this.address = open(pattern, dfs.getCurrencySymbol(),
129 this.lastPattern = pattern;
133 throw new IllegalArgumentException("syntax error: " + re.getMessage() + ": " + pattern);
138 public NativeDecimalFormat(String pattern, LocaleData data) {
139 this.address = open(pattern, data.currencySymbol,
144 this.lastPattern = pattern;
267 public void applyLocalizedPattern(String pattern) {
268 applyPattern(this.address, true, pattern);
    [all...]
  /external/icu4c/i18n/unicode/
msgfmt.h 51 * specified at once in a <EM>pattern</EM>. By using different
92 * {@link #format(const UnicodeString& pattern,const Formattable* arguments,int32_t cnt,UnicodeString& appendTo,UErrorCode& success)},
111 * <LI>If one of the arguments does not occur in the pattern, it
119 * some part of the parse is ambiguous. For example, if the pattern
124 * then the rightmost subformat in the pattern string will produce the
174 * The pattern is of the following form. Legend:
225 * rule set is used. For a ChoiceFormat or PluralFormat or SelectFormat, the pattern
235 * If a pattern is used, then unquoted braces in the pattern, if any,
308 * Constructs a new MessageFormat using the given pattern and th
    [all...]
smpdtfmt.h 55 * is guaranteed to get an appropriate formatting pattern for whatever locale the
58 * and give it an appropriate pattern (or use one of the factory methods on DateFormat
59 * and modify the pattern after the fact with toPattern() and applyPattern().
63 * The date/time format is specified by means of a string time pattern. In this
64 * pattern, all ASCII letters are reserved as pattern letters, which are defined
105 * The count of pattern letters determine the format.
119 * Any characters in the pattern that are not in the ranges of ['a'..'z'] and
124 * A pattern containing any invalid pattern letter will result in a failin
    [all...]
  /external/kernel-headers/original/asm-x86/
string_32.h 208 * as we by now know that both pattern and count is constant..
210 static __always_inline void * __constant_c_and_count_memset(void * s, unsigned long pattern, size_t count)
216 *(unsigned char *)s = pattern;
219 *(unsigned short *)s = pattern;
222 *(unsigned short *)s = pattern;
223 *(2+(unsigned char *)s) = pattern;
226 *(unsigned long *)s = pattern;
234 : "a" (pattern),"0" (count/4),"1" ((long) s) \
  /external/webkit/Source/JavaScriptCore/runtime/
RegExp.cpp 105 Yarr::YarrPattern pattern(m_patternString, ignoreCase(), multiline(), &m_constructionError);
109 m_numSubpatterns = pattern.m_numSubpatterns;
114 if (!pattern.m_containsBackreferences && globalData->canUseJIT()) {
115 Yarr::jitCompile(pattern, globalData, m_representation->m_regExpJITCode);
128 m_representation->m_regExpBytecode = Yarr::byteCompile(pattern, &globalData->m_regExpAllocator);
215 fprintf(stderr, "RegExp Discrepency for /%s/\n string input ", pattern().utf8().data());
245 strncpy(rawPattern, pattern().utf8().data(), 40);
  /external/webkit/Source/WebCore/html/canvas/
CanvasStyle.cpp 131 CanvasStyle::CanvasStyle(PassRefPtr<CanvasPattern> pattern)
133 , m_pattern(pattern)
178 PassRefPtr<CanvasStyle> CanvasStyle::createFromPattern(PassRefPtr<CanvasPattern> pattern)
180 if (!pattern)
182 return adoptRef(new CanvasStyle(pattern));
258 context->setStrokePattern(canvasPattern()->pattern());
295 context->setFillPattern(canvasPattern()->pattern());
  /external/webkit/Source/WebCore/rendering/svg/
RenderSVGResourcePattern.cpp 106 if (!patternData->pattern) {
107 // If we couldn't determine the pattern content element root, stop here.
111 // Compute all necessary transformations to build the tile image & the pattern.
131 // Build pattern.
132 patternData->pattern = Pattern::create(copiedImage, true, true);
133 if (!patternData->pattern)
136 // Compute pattern space transformation.
144 patternData->pattern->setPatternSpaceTransform(patternData->transform);
147 // Draw pattern
    [all...]
  /ndk/sources/host-tools/make-3.81/
expand.c 330 char *pattern, *replace, *ppercent, *rpercent;
335 /* Copy the pattern and the replacement. Add in an
337 isn't one in the pattern. */
338 pattern = (char *) alloca (subst_end - subst_beg + 2);
339 *(pattern++) = '%';
340 bcopy (subst_beg, pattern, subst_end - subst_beg);
341 pattern[subst_end - subst_beg] = '\0';
352 ppercent = find_percent (pattern);
360 ppercent = pattern;
362 --pattern;
328 char *pattern, *replace, *ppercent, *rpercent; local
    [all...]
  /external/chromium/chrome/browser/notifications/
desktop_notification_service.cc 66 LOG(DFATAL) << "Ignoring invalid content settings pattern: "
72 LOG(DFATAL) << "Ignoring unsupported content settings pattern: "
324 ContentSettingsPattern pattern = local
327 pattern,
328 pattern,
344 ContentSettingsPattern pattern = local
347 pattern,
348 pattern,
466 ContentSettingsPattern pattern = local
469 pattern,
477 ContentSettingsPattern pattern = local
    [all...]
  /external/elfutils/libasm/
asm_align.c 60 /* Fill in the bytes. We align the pattern according to the
62 byteptr = asmscn->offset % asmscn->pattern->len;
70 = asmscn->pattern->bytes[byteptr++];
72 if (byteptr == asmscn->pattern->len)
  /external/icu4c/common/
util_props.cpp 66 * Parse a pattern string starting at offset pos. Keywords are
72 * @param pattern must only contain lowercase characters, which
80 * signs in 'pattern'.
85 const UnicodeString& pattern, int32_t* parsedInts) {
89 for (int32_t i=0; i<pattern.length(); ++i) {
90 UChar cpat = pattern.charAt(i);
  /external/webkit/Source/WebCore/platform/network/mac/
NetworkStateNotifierMac.cpp 122 RetainPtr<CFStringRef> pattern; local
127 pattern.adoptCF(SCDynamicStoreKeyCreateNetworkInterfaceEntity(0, kSCDynamicStoreDomainState, kSCCompAnyRegex, kSCEntNetIPv4));
128 CFArrayAppendValue(patterns.get(), pattern.get());
  /external/libxml2/
schematron.c 12 * - multiple rules applying in a single pattern/node
34 #include <libxml/pattern.h>
103 xmlSchematronRulePtr patnext;/* the next rule in the pattern list */
107 xmlPatternPtr pattern; /* the compiled pattern associated */ member in struct:_xmlSchematronRule
114 * A Schematrons pattern
119 xmlSchematronPatternPtr next;/* the next pattern in the list */
121 xmlChar *name; /* the name of the pattern */
394 xmlPatternPtr pattern; local
401 * Try first to compile the pattern
960 xmlSchematronPatternPtr pattern; local
1667 xmlSchematronPatternPtr pattern; local
    [all...]
  /external/srec/srec/AcousticModels/src/
AcousticModelsImpl.c 75 * Initializes pattern properties to default values.
85 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Pattern.dimen", 16));
86 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Pattern.whole_dimen", 0));
87 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Pattern.start", 0));
88 CHKLOG(rc, ESR_SessionSetBoolIfEmpty("CREC.Pattern.chelt_imelda", ESR_FALSE));
89 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Pattern.vfrlimit", 100));
90 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Pattern.vfrthresh", 0));
91 CHKLOG(rc, ESR_SessionSetFloatIfEmpty("CREC.Pattern.mix_score_scale", 0.46f));
92 CHKLOG(rc, ESR_SessionSetFloatIfEmpty("CREC.Pattern.imelda_scale", 16));
93 CHKLOG(rc, ESR_SessionSetFloatIfEmpty("CREC.Pattern.uni_score_scale", 0.46f))
    [all...]
  /external/v8/src/
regexp.js 35 function DoConstructRegExp(object, pattern, flags) {
37 if (IS_REGEXP(pattern)) {
41 flags = (pattern.global ? 'g' : '')
42 + (pattern.ignoreCase ? 'i' : '')
43 + (pattern.multiline ? 'm' : '');
44 pattern = pattern.source;
47 pattern = IS_UNDEFINED(pattern) ? '' : ToString(pattern);
    [all...]
  /bionic/libc/kernel/common/linux/mtd/
bbm.h 26 uint8_t *pattern; member in struct:nand_bbt_descr
  /dalvik/dx/src/com/android/dx/cf/code/
ValueAwareMachine.java 133 for (int pattern = getAuxInt(); pattern != 0; pattern >>= 4) {
134 int which = (pattern & 0x0f) - 1;
  /development/ndk/platforms/android-3/include/linux/mtd/
bbm.h 26 uint8_t *pattern; member in struct:nand_bbt_descr

Completed in 907 milliseconds

<<11121314151617181920>>