/external/hyphenation/ |
hyphen.c | 286 char pattern[MAX_CHARS]; local 358 pattern[j] = '0'; 383 pattern[j] = buf[i]; 387 pattern[++j] = '0'; 391 pattern[j + 1] = '\0'; 396 for (; pattern[i] == '0'; i++); 421 printf ("word %s pattern %s, j = %d repl: %s\n", word, pattern + i, j, repl); 425 dict[k]->states[state_num].match = hnj_strdup (pattern + i); [all...] |
/external/icu4c/i18n/unicode/ |
udat.h | 184 * only keeps the field pattern letter and ignores all other parts 185 * in a pattern, such as space, punctuations, and string literals. 191 * might hide a field's pattern letter length. 193 * For those non-digit calendar fields, the pattern letter length is 195 * and the field's pattern letter length is honored. 198 * the field pattern length is ignored and the best match, which is defined 199 * in date time patterns, will be returned without honor the field pattern 526 * @param pattern A pattern specifying the format to use. 527 * @param patternLength The number of characters in the pattern, or -1 if null-terminated [all...] |
unum.h | 105 * Use a pattern to create either a DecimalFormat or a RuleBasedNumberFormat 106 * formatter. The pattern must conform to the syntax defined for those 137 * Decimal format defined by a pattern string. 182 * Rule-based format defined by a pattern string. 273 * number format is opened using the given pattern, which must conform 276 * @param pattern A pattern specifying the format to use. 279 * @param patternLength The number of characters in the pattern, or -1 296 const UChar* pattern, 629 * Set the pattern used by a UNumberFormat. This can only be use [all...] |
/external/icu4c/test/intltest/ |
tsdcfmsy.cpp | 216 void IntlTestDecimalFormatSymbols::Verify(double value, const UnicodeString& pattern, DecimalFormatSymbols sym, const UnicodeString& expected){ 218 DecimalFormat *df = new DecimalFormat(pattern, sym, status);
|
/external/libxml2/ |
triostr.h | 75 TRIO_STRING_PUBLIC int trio_match TRIO_PROTO((const char *string, const char *pattern)); 76 TRIO_STRING_PUBLIC int trio_match_case TRIO_PROTO((const char *string, const char *pattern));
|
xmllint.c | 96 #include <libxml/pattern.h> 117 XMLLINT_ERR_SCHEMAPAT = 7, /* Error in schema pattern */ 205 static const char *pattern = NULL; variable [all...] |
/external/libxslt/libxslt/ |
numbers.c | 27 #include "pattern.h" 705 xmlBufferPtr pattern; local 708 pattern = xmlBufferCreate(); 709 if (pattern != NULL) { 710 xmlBufferCCat(pattern, "number("); 711 xmlBufferCat(pattern, value); 712 xmlBufferCCat(pattern, ")"); 714 obj = xmlXPathEvalExpression(xmlBufferContent(pattern), 721 xmlBufferFree(pattern); 913 * pattern := subpattern{;subpattern [all...] |
/external/markdown/markdown/extensions/ |
footnotes.py | 62 # Insert an inline pattern before ImageReferencePattern 255 class FootnotePattern(markdown.inlinepatterns.Pattern): 258 def __init__(self, pattern, footnotes): 259 markdown.inlinepatterns.Pattern.__init__(self, pattern)
|
/external/mesa3d/docs/OLD/ |
MESA_trace.spec | 44 "chain of responsibility" pattern (aka "composable piepline")
|
/external/webkit/Source/JavaScriptCore/parser/ |
SyntaxChecker.h | 143 ExpressionType createRegExp(const Identifier& pattern, const Identifier&, int) { return Yarr::checkSyntax(pattern.ustring()) ? 0 : RegExpExpr; }
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
StringImpl.cpp | 819 PassRefPtr<StringImpl> StringImpl::replace(UChar pattern, StringImpl* replacement) 829 while ((srcSegmentStart = find(pattern, srcSegmentStart)) != notFound) { 857 while ((srcSegmentEnd = find(pattern, srcSegmentStart)) != notFound) { 874 PassRefPtr<StringImpl> StringImpl::replace(StringImpl* pattern, StringImpl* replacement) 876 if (!pattern || !replacement) 879 unsigned patternLength = pattern->length(); 888 while ((srcSegmentStart = find(pattern, srcSegmentStart)) != notFound) { 915 while ((srcSegmentEnd = find(pattern, srcSegmentStart)) != notFound) {
|
/external/webkit/Source/WebCore/platform/graphics/ |
GraphicsContext.cpp | 258 void GraphicsContext::setStrokePattern(PassRefPtr<Pattern> pattern) 260 ASSERT(pattern); 261 if (!pattern) { 266 m_state.strokePattern = pattern; 270 void GraphicsContext::setFillPattern(PassRefPtr<Pattern> pattern) 272 ASSERT(pattern); 273 if (!pattern) { 278 m_state.fillPattern = pattern; [all...] |
/external/webkit/Tools/wx/build/ |
build_utils.py | 53 for pattern in patterns: 56 adir = root + subdir + os.sep + pattern
|
/libcore/luni/src/main/java/java/text/ |
DateFormat.java | 329 * Formats the specified object as a string using the pattern of this date 377 * Formats the specified date as a string using the pattern of this date 511 String pattern = localeData.getDateFormat(dateStyle) + " " + localeData.getTimeFormat(timeStyle); local 512 return new SimpleDateFormat(pattern, locale);
|
/libcore/luni/src/main/native/ |
java_util_regex_Matcher.cpp | 173 RegexPattern* pattern = reinterpret_cast<RegexPattern*>(static_cast<uintptr_t>(patternAddr)); local 175 RegexMatcher* result = pattern->matcher(status);
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
RawContactDeltaListTests.java | 178 static void assertDiffPattern(RawContactDelta delta, ContentProviderOperation... pattern) { 182 assertDiffPattern(diff, pattern); 185 static void assertDiffPattern(RawContactDeltaList set, ContentProviderOperation... pattern) { 186 assertDiffPattern(set.buildDiff(), pattern); local 190 ContentProviderOperation... pattern) { 191 assertEquals("Unexpected operations", pattern.length, diff.size()); 192 for (int i = 0; i < pattern.length; i++) { 193 final ContentProviderOperation expected = pattern[i];
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/ |
DeviceBridge.java | 32 import java.util.regex.Pattern; 223 Pattern pattern = Pattern.compile(".*?\\([0-9]{8} ([0-9]{8}).*"); local 224 Matcher matcher = pattern.matcher(strings[0]);
|
/tools/motodev/src/plugins/devices.services/src/com/motorola/studio/android/devices/services/console/ |
EmulatorConsoleHandler.java | 25 import java.util.regex.Pattern; 118 Pattern pattern = Pattern.compile("emulator-([0-9]+)"); local 178 Matcher matcher = pattern.matcher(serialNumber[0]);
|
/external/icu4c/i18n/ |
bmsearch.cpp | 67 UBool isIdentical(UnicodeString &pattern, int32_t start, int32_t end); 347 UBool Target::isIdentical(UnicodeString &pattern, int32_t start, int32_t end) 358 nfd.normalize(pattern, p2, status); 499 // ((patlen - 1) - end) is how far the end of that match is from end of pattern 501 // (i + (patlen - 1) - end) is index of same character at end of pattern 529 // initialize entries to minLengthInChars of the pattern 538 // this matching suffix is a prefix of the pattern 542 // so that the front of the pattern (i.e. the prefix) 603 : data(theData), patCEs(NULL), badCharacterTable(NULL), goodSuffixTable(NULL), pattern(patternString), target(NULL) 667 // Searching for a zero length pattern always fails [all...] |
locdspnm.cpp | 324 UnicodeString pattern; local 325 langData.getNoFallback("localeDisplayPattern", "pattern", pattern); 326 if (pattern.isBogus()) { 327 pattern = UnicodeString("{0} ({1})", -1, US_INV); 330 format = new MessageFormat(pattern, status);
|
/external/protobuf/gtest/test/ |
gtest-port_test.cc | 183 EXPECT_STREQ("", empty.pattern()); 186 EXPECT_STREQ("hello", simple.pattern()); 189 EXPECT_STREQ(".*(\\w+)", normal.pattern()); 639 EXPECT_STREQ("", empty.pattern()); 642 EXPECT_STREQ("hello", simple.pattern());
|
/external/webkit/Source/JavaScriptCore/yarr/ |
YarrPattern.cpp | 344 YarrPatternConstructor(YarrPattern& pattern) 345 : m_pattern(pattern) 346 , m_characterClassConstructor(pattern.m_ignoreCase) 347 , m_beginCharHelper(&pattern.m_beginChars, pattern.m_ignoreCase) [all...] |
/external/webkit/Source/WebCore/page/ |
Frame.cpp | 341 String pattern("("); 355 pattern.append("|"); 360 pattern.append("\\b"); 361 pattern.append(label); 363 pattern.append("\\b"); 365 pattern.append(")"); 366 return new RegularExpression(pattern, TextCaseInsensitive); [all...] |
/external/icu4c/test/cintltst/ |
cldrtest.c | 281 log_err("key \"%s\" at index %d has time pattern chars in date for locale \"%s\"\n", 297 log_err("key \"%s\" at index %d has date pattern chars in time for locale \"%s\"\n", 781 char pattern[256] = { '[', ':', 0x000 }; local 1186 UChar pattern[32] = {0,}; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
ClockBackService.java | 104 /** Vibrate a pattern. */ 256 long[] pattern = sVibrationPatterns.get(key); 257 if (pattern != null) { 258 mVibrator.vibrate(pattern, -1);
|