| /external/srec/srec/AcousticModels/include/ |
| SR_AcousticModelsImpl.h | 47 * Pattern objects using that Recognizer. 55 * Pattern objects. 72 * Legacy CREC pattern. 74 CA_Pattern* pattern; member in struct:SR_AcousticModelsImpl_t 141 * Pattern objects using that Recognizer. 149 * Pattern objects.
|
| /external/webkit/JavaScriptCore/icu/unicode/ |
| uset.h | 133 * Creates a set from the given pattern. See the UnicodeSet class 134 * description for the syntax of the pattern language. 135 * @param pattern a string specifying what characters are in the set 136 * @param patternLength the length of the pattern, or -1 if null 142 uset_openPattern(const UChar* pattern, int32_t patternLength, 146 * Creates a set from the given pattern. See the UnicodeSet class 147 * description for the syntax of the pattern language. 148 * @param pattern a string specifying what characters are in the set 149 * @param patternLength the length of the pattern, or -1 if null 151 * @param options bitmask for options to apply to the pattern [all...] |
| /external/webkit/JavaScriptCore/yarr/ |
| RegexJIT.h | 84 void jitCompileRegex(JSGlobalData* globalData, RegexCodeBlock& jitObject, const UString& pattern, unsigned& numSubpatterns, const char*& error, bool ignoreCase = false, bool multiline = false);
|
| RegexInterpreter.cpp | 290 if (pattern->m_ignoreCase ? ((Unicode::toLower(testChar) == ch) || (Unicode::toUpper(testChar) == ch)) : (testChar == ch)) { 350 return (input.atStart(term.inputPosition)) || (pattern->m_multiline && testCharacterClass(pattern->newlineCharacterClass, input.readChecked(term.inputPosition - 1))); 356 return (input.atEnd(term.inputPosition)) || (pattern->m_multiline && testCharacterClass(pattern->newlineCharacterClass, input.readChecked(term.inputPosition))); 358 return (input.atEnd()) || (pattern->m_multiline && testCharacterClass(pattern->newlineCharacterClass, input.read())); 363 bool prevIsWordchar = !input.atStart(term.inputPosition) && testCharacterClass(pattern->wordcharCharacterClass, input.readChecked(term.inputPosition - 1)); 366 readIsWordchar = !input.atEnd(term.inputPosition) && testCharacterClass(pattern->wordcharCharacterClass, input.readChecked(term.inputPosition)); 368 readIsWordchar = !input.atEnd() && testCharacterClass(pattern->wordcharCharacterClass, input.read()) 1247 BytecodePattern *pattern; member in class:JSC::Yarr::Interpreter [all...] |
| /external/webkit/SunSpider/tests/sunspider-0.9/ |
| string-validate-input.js | 18 var pattern = /^[a-zA-Z0-9\-\._]+@[a-zA-Z0-9\-_]+(\.?[a-zA-Z0-9\-_]*)\.[a-zA-Z]{2,3}$/; 20 if(pattern.test(email))
|
| /external/webkit/SunSpider/tests/sunspider-0.9.1/ |
| string-validate-input.js | 18 var pattern = /^[a-zA-Z0-9\-\._]+@[a-zA-Z0-9\-_]+(\.?[a-zA-Z0-9\-_]*)\.[a-zA-Z]{2,3}$/; 20 if(pattern.test(email))
|
| /external/webkit/WebCore/icu/unicode/ |
| uset.h | 133 * Creates a set from the given pattern. See the UnicodeSet class 134 * description for the syntax of the pattern language. 135 * @param pattern a string specifying what characters are in the set 136 * @param patternLength the length of the pattern, or -1 if null 142 uset_openPattern(const UChar* pattern, int32_t patternLength, 146 * Creates a set from the given pattern. See the UnicodeSet class 147 * description for the syntax of the pattern language. 148 * @param pattern a string specifying what characters are in the set 149 * @param patternLength the length of the pattern, or -1 if null 151 * @param options bitmask for options to apply to the pattern [all...] |
| /external/webkit/WebCore/platform/graphics/ |
| Pattern.h | 59 typedef pattern* PlatformPatternPtr; 69 class Pattern : public RefCounted<Pattern> { 71 static PassRefPtr<Pattern> create(Image* tileImage, bool repeatX, bool repeatY) 73 return adoptRef(new Pattern(tileImage, repeatX, repeatY)); 75 virtual ~Pattern(); 81 // Pattern space is an abstract space that maps to the default user space by the transformation 'userSpaceTransformation' 91 Pattern(Image*, bool repeatX, bool repeatY);
|
| /packages/apps/Settings/src/com/android/settings/ |
| ConfirmLockPattern.java | 35 * Launch this when you want the user to confirm their lock pattern. 38 * successfully confirmed their pattern. 53 // how long we wait to clear a wrong pattern 93 // lock pattern view. 114 // on first launch, if no lock pattern is set, then finish with 199 // clear the wrong pattern unless they have started a new one 207 * The pattern listener that responds according to a user confirming 208 * an existing lock pattern. 220 public void onPatternCellAdded(List<Cell> pattern) { 224 public void onPatternDetected(List<LockPatternView.Cell> pattern) { [all...] |
| /dalvik/libcore/icu/src/main/native/ |
| NativeRegEx.cpp | 45 jstring pattern, UParseError error) 53 pattern, error.offset)); 74 static RegExData* open(JNIEnv* env, jclass clazz, jstring pattern, jint flags) 85 int patternLen = env->GetStringLength(pattern); 89 jchar const * patternRaw = env->GetStringChars(pattern, NULL); 92 env->ReleaseStringChars(pattern, patternRaw); 97 throwPatternSyntaxException(env, status, pattern, error);
|
| /dalvik/libcore/xml/src/main/java/org/apache/xpath/compiler/ |
| Compiler.java | 670 * 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; local 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.setPredicates(getCompiledPredicates(opPos + argLen)) [all...] |
| /dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
| MessageFormatTest.java | 208 assertEquals("Wrong pattern", "{0}", format.toPattern()); 213 assertEquals("Wrong time pattern", "{0,time}", format.toPattern()); 217 assertEquals("Wrong short time pattern", "{0,time,short}", format 222 assertEquals("Wrong medium time pattern", "{0,time}", format 227 assertEquals("Wrong long time pattern", "{0,time,long}", format 237 // assertEquals("Wrong full time pattern", "{0,time,full}", format 244 assertEquals("Wrong date pattern", "{0,date}", format.toPattern()); 248 assertEquals("Wrong short date pattern", "{0,date,short}", format 253 assertEquals("Wrong medium date pattern", "{0,date}", format 258 assertEquals("Wrong long date pattern", "{0,date,long}", forma 518 String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} " + local 553 String pattern = "Date: {0,date} Currency: {1, number, currency} Integer: {2, number, integer}"; local 720 String pattern = "getLocale test {0,number,#,####}"; local 1108 String pattern = "[{0}]"; local 1125 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 1175 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/icu4c/test/cintltst/ |
| udatpg_test.c | 157 /* Test pattern == NULL */ 161 log_err("udatpg_getSkeleton failed in illegal argument - pattern is NULL.\n"); 176 /* Test pattern == NULL */ 180 log_err("udatpg_getBaseSkeleton failed in illegal argument - pattern is NULL.\n"); 226 UChar pattern[40], formatted[40]; local 239 /* Add a pattern */ 246 /* Add a redundant pattern */ 250 log_err("udatpg_addPattern() failed to find the duplicate pattern.\n"); 253 /* Test pattern == NULL */ 258 log_err("udatpg_addPattern failed in illegal argument - pattern is NULL.\n") [all...] |
| cdattst.c | 248 log_verbose("\nTesting the udat_openPattern with a specified pattern\n"); 263 log_verbose("Extracting the pattern\n"); 276 log_err("FAIL: error in extracting the pattern from UNumberFormat\n %s\n", 280 log_err("FAIL: Error in extracting the pattern\n"); 453 log_err("udat_toPatternRelativeDate timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) date pattern incorrect\n", *stylePtr ); 460 log_err("udat_toPatternRelativeTime timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) time pattern incorrect\n", *stylePtr ); 467 log_err("udat_toPattern timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) dateTime pattern incorrect\n", *stylePtr ); 479 log_err("udat_applyPatternRelative timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) didn't update time pattern\n", *stylePtr ); 536 UChar *pattern; local 578 pattern=(UChar*)malloc(sizeof(UChar) * 10) 863 UChar *pattern=NULL; local [all...] |
| /external/bluetooth/bluez/src/ |
| sdpd-request.c | 301 * specified in the "search pattern" must be present in the 302 * "target pattern". Here "search pattern" is the set of UUIDs 303 * specified by the service discovery client and "target pattern" 307 * pattern exists in the target pattern, 0 if the 310 static int sdp_match_uuid(sdp_list_t *search, sdp_list_t *pattern) 315 * from the search pattern 317 int patlen = sdp_list_len(pattern); 330 list = sdp_list_find(pattern, uuid128, sdp_uuid128_cmp) 346 sdp_list_t *pattern = NULL; local 770 sdp_list_t *pattern = NULL, *seq = NULL, *svcList; local [all...] |
| sdpd-service.c | 282 server->pattern = NULL; 388 sdp_list_t *pattern; local 412 for (pattern = rec->pattern; pattern; pattern = pattern->next) { 415 if (pattern->data == NULL) 418 sdp_uuid2strn((uuid_t *) pattern->data, uuid, sizeof(uuid)); 419 debug("Record pattern UUID %s", uuid) [all...] |
| /external/icu4c/i18n/ |
| tmutfmt.cpp | 225 MessageFormat* pattern = ((MessageFormat**)countToPattern->get(count))[fStyle]; local 228 return pattern->format(formattable, 1, toAppendTo, pos, status); 271 MessageFormat* pattern = patterns[style]; local 276 pattern->parseObject(source, parsed, pos); 284 if (pattern->getArgTypeCount() != 0) { 285 // pattern with Number as beginning, such as "{0} d". 306 if (pattern->getArgTypeCount() != 0) { 321 * Result number could be null for the pattern without number pattern. 322 * such as unit pattern in Arabic 483 const UChar* pattern; local 624 const UChar* pattern; local 739 MessageFormat** pattern = (MessageFormat**)keyTok.pointer; local [all...] |
| tridpars.cpp | 235 * @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.insert(0, OPEN_REV) [all...] |
| /external/jhead/ |
| jhead.c | 584 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+ppos, 4) [all...] |
| /external/bluetooth/bluez/serial/ |
| port.c | 102 static struct serial_port *find_port(GSList *ports, const char *pattern) 108 channel = strtol(pattern, &endptr, 10); 115 if (port->uuid && !strcasecmp(port->uuid, pattern)) 121 if (port->dev && !strcmp(port->dev, pattern)) 127 uuid_str = bt_name2string(pattern); 494 const char *pattern; local 497 if (dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &pattern, 501 port = find_port(device->ports, pattern); 506 channel = strtol(pattern, &endptr, 10);
|
| /external/webkit/WebCore/page/mac/ |
| FrameMac.mm | 97 String pattern("("); 111 pattern.append("|"); 116 pattern.append("\\b"); 117 pattern.append(label); 119 pattern.append("\\b"); 121 pattern.append(")"); 122 result = new RegularExpression(pattern, TextCaseInsensitive);
|
| /external/icu4c/test/intltest/ |
| tchcfmt.cpp | 171 it_errln("*** ChoiceFormat to Pattern result!"); 448 // intervals. Do this both using arrays and using a pattern. 465 // 'fmt2' is created using a pattern; it should be equivalent 550 void TestChoiceFormat::_testPattern(const char* pattern, 556 ChoiceFormat fmt(pattern, ec); 559 logln((UnicodeString)"Ok: " + pattern + " failed"); 561 logln((UnicodeString)"FAIL: " + pattern + " accepted"); 566 errln((UnicodeString)"FAIL: ChoiceFormat(" + pattern + ") failed"); 569 logln((UnicodeString)"Ok: Pattern: " + pattern); [all...] |
| dtfmrgts.cpp | 83 logln("pattern: " + pat); 306 logln( "testIt: pattern=" + pat + 803 UnicodeString pattern = "'time' hh:mm"; 804 sdf->applyPattern(pattern); 805 logln("pattern: \"" + pattern + "\""); 868 UnicodeString pattern = "'time' hh:mm"; local 869 sdf->applyPattern(pattern); 870 logln("pattern: \"" + pattern + "\"") 1027 UnicodeString pattern = "'TO_DATE('''dd'-'MM'-'yyyy HH:mm:ss''' , ''DD-MM-YYYY HH:MI:SS'')'"; local [all...] |
| /frameworks/policies/base/phone/com/android/internal/policy/impl/ |
| PatternUnlockScreen.java | 53 // how long before we clear the wrong pattern 74 * whether there is a fallback option available when the pattern is forgotten. 108 * poke it when the user starts drawing the pattern. 114 * Useful for clearing out the wrong pattern after a delay 153 * @param lockPatternUtils Used to lookup lock pattern settings. 158 * their pattern (e.g they have a google account so we can show them the account based 232 // lock pattern view. 357 // as long as the user is entering a pattern (i.e sending a touch 405 Log.v(TAG, "***** PATTERN ATTACHED TO WINDOW"); 420 Log.v(TAG, "***** PATTERN CONFIGURATION CHANGED") [all...] |
| /external/emma/core/java12/com/vladium/util/args/ |
| OptsParser.java | 412 final String pattern = patterns [p]; local 414 if (n.startsWith (pattern)) 416 return canonicalPattern.concat (n.substring (pattern.length ())); 421 throw new IllegalStateException ("failed to detect pattern prefix for [" + n + "]"); 625 public IOpt [] getOpts (final String pattern) 629 final List /* Opt */ patternOpts = (List) m_patternMap.get (pattern); 756 private final Map /* String(name/pattern-prefixed name)->Opt */ m_nameMap; 757 private final Map /* String(pattern prefix)->List<Opt> */ m_patternMap; 864 void setPattern (final boolean pattern) 866 m_pattern = pattern; 945 final String pattern = (String) entry.getKey (); local [all...] |