/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateIntervalFormat.java | 280 final String skeleton; field in DateIntervalFormat.SkeletonAndItsBestMatch 282 SkeletonAndItsBestMatch(String skeleton, String bestMatch) { in SkeletonAndItsBestMatch() argument 283 this.skeleton = skeleton; in SkeletonAndItsBestMatch() 360 public DateIntervalFormat(String skeleton, DateIntervalInfo dtItvInfo, in DateIntervalFormat() argument 366 fSkeleton = skeleton; in DateIntervalFormat() 374 private DateIntervalFormat(String skeleton, ULocale locale, in DateIntervalFormat() argument 378 fSkeleton = skeleton; in DateIntervalFormat() 400 getInstance(String skeleton) in getInstance() argument 403 return getInstance(skeleton, ULocale.getDefault(Category.FORMAT)); in getInstance() 420 getInstance(String skeleton, Locale locale) in getInstance() argument [all …]
|
D | DateIntervalInfo.java | 454 String skeleton = itvDtPtnResource.get(index).getKey(); in setup() local 455 if ( skeleton.compareTo(FALLBACK_STRING) == 0 ) { in setup() 458 … ICUResourceBundle intervalPatterns = (ICUResourceBundle)itvDtPtnResource.get(skeleton); in setup() 464 String skeletonKeyPair = skeleton + "\u0001" + key; in setup() 496 if (DEBUG_SKELETON != null && DEBUG_SKELETON.equals(skeleton)) { in setup() 497 Map<String, PatternInfo> oldValue = fIntervalPatterns.get(skeleton); in setup() 498 setIntervalPatternInternally(skeleton, key, pattern); in setup() 499 Map<String, PatternInfo> newValue = fIntervalPatterns.get(skeleton); in setup() 501 …System.out.println("\n" + currentLocale + ", skeleton: " + skeleton + ", oldValue: " + oldValue + … in setup() 504 setIntervalPatternInternally(skeleton, key, pattern); in setup() [all …]
|
D | DateFormat.java | 2068 public final static DateFormat getInstanceForSkeleton(String skeleton) { in getInstanceForSkeleton() argument 2069 return getPatternInstance(skeleton, ULocale.getDefault(Category.FORMAT)); in getInstanceForSkeleton() 2084 public final static DateFormat getInstanceForSkeleton(String skeleton, Locale locale) { in getInstanceForSkeleton() argument 2085 return getPatternInstance(skeleton, ULocale.forLocale(locale)); in getInstanceForSkeleton() 2100 public final static DateFormat getInstanceForSkeleton(String skeleton, ULocale locale) { in getInstanceForSkeleton() argument 2102 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() 2121 …public final static DateFormat getInstanceForSkeleton(Calendar cal, String skeleton, Locale locale… in getInstanceForSkeleton() argument 2122 return getPatternInstance(cal, skeleton, ULocale.forLocale(locale)); in getInstanceForSkeleton() 2141 Calendar cal, String skeleton, ULocale locale) { in getInstanceForSkeleton() argument 2143 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateIntervalFormat.java | 280 final String skeleton; field in DateIntervalFormat.SkeletonAndItsBestMatch 282 SkeletonAndItsBestMatch(String skeleton, String bestMatch) { in SkeletonAndItsBestMatch() argument 283 this.skeleton = skeleton; in SkeletonAndItsBestMatch() 361 public DateIntervalFormat(String skeleton, DateIntervalInfo dtItvInfo, in DateIntervalFormat() argument 367 fSkeleton = skeleton; in DateIntervalFormat() 375 private DateIntervalFormat(String skeleton, ULocale locale, in DateIntervalFormat() argument 379 fSkeleton = skeleton; in DateIntervalFormat() 400 getInstance(String skeleton) in getInstance() argument 403 return getInstance(skeleton, ULocale.getDefault(Category.FORMAT)); in getInstance() 419 getInstance(String skeleton, Locale locale) in getInstance() argument [all …]
|
D | DateIntervalInfo.java | 445 String skeleton = itvDtPtnResource.get(index).getKey(); in setup() local 446 if ( skeleton.compareTo(FALLBACK_STRING) == 0 ) { in setup() 449 … ICUResourceBundle intervalPatterns = (ICUResourceBundle)itvDtPtnResource.get(skeleton); in setup() 455 String skeletonKeyPair = skeleton + "\u0001" + key; in setup() 487 if (DEBUG_SKELETON != null && DEBUG_SKELETON.equals(skeleton)) { in setup() 488 Map<String, PatternInfo> oldValue = fIntervalPatterns.get(skeleton); in setup() 489 setIntervalPatternInternally(skeleton, key, pattern); in setup() 490 Map<String, PatternInfo> newValue = fIntervalPatterns.get(skeleton); in setup() 492 …System.out.println("\n" + currentLocale + ", skeleton: " + skeleton + ", oldValue: " + oldValue + … in setup() 495 setIntervalPatternInternally(skeleton, key, pattern); in setup() [all …]
|
D | DateFormat.java | 1925 public final static DateFormat getInstanceForSkeleton(String skeleton) { in getInstanceForSkeleton() argument 1926 return getPatternInstance(skeleton, ULocale.getDefault(Category.FORMAT)); in getInstanceForSkeleton() 1939 public final static DateFormat getInstanceForSkeleton(String skeleton, Locale locale) { in getInstanceForSkeleton() argument 1940 return getPatternInstance(skeleton, ULocale.forLocale(locale)); in getInstanceForSkeleton() 1953 public final static DateFormat getInstanceForSkeleton(String skeleton, ULocale locale) { in getInstanceForSkeleton() argument 1955 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() 1972 …public final static DateFormat getInstanceForSkeleton(Calendar cal, String skeleton, Locale locale… in getInstanceForSkeleton() argument 1973 return getPatternInstance(cal, skeleton, ULocale.forLocale(locale)); in getInstanceForSkeleton() 1990 Calendar cal, String skeleton, ULocale locale) { in getInstanceForSkeleton() argument 1992 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | dtitvinf.cpp | 82 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, in setIntervalPattern() argument 88 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 89 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 92 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 94 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 178 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, in getIntervalPattern() argument 186 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton); in getIntervalPattern() 275 const char* skeleton = ures_getKey(oneRes.getAlias()); in initializeData() local 276 if (skeleton == NULL) { in initializeData() 279 UnicodeString skeletonUniStr(skeleton, -1, US_INV); in initializeData() [all …]
|
D | udatpg.cpp | 58 const UChar *skeleton, int32_t length, in udatpg_getBestPattern() argument 61 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern() 68 const UChar *skeleton, int32_t length, in udatpg_getBestPatternWithOptions() argument 75 if(skeleton==NULL && length!=0) { in udatpg_getBestPatternWithOptions() 79 UnicodeString skeletonString((UBool)(length<0), skeleton, length); in udatpg_getBestPatternWithOptions() 87 UChar *skeleton, int32_t capacity, in udatpg_getSkeleton() argument 99 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getSkeleton() 105 UChar *skeleton, int32_t capacity, in udatpg_getBaseSkeleton() argument 117 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getBaseSkeleton() 219 const UChar *skeleton, int32_t skeletonLength, in udatpg_replaceFieldTypes() argument [all …]
|
D | dtitvfmt.cpp | 69 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 71 return createInstance(skeleton, Locale::getDefault(), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 76 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 83 skeleton.extract(0, skeleton.length(), result, "UTF-8"); in createInstance() 92 return create(locale, dtitvinf, &skeleton, status); in createInstance() 98 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 101 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); in createInstance() 106 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 111 return create(locale, ptn, &skeleton, status); in createInstance() 498 const UnicodeString* skeleton, in DateIntervalFormat() argument [all …]
|
D | dtptngen.cpp | 318 dtMatcher->copyFrom(other.dtMatcher->skeleton); in operator =() 838 const UnicodeString& skeleton, in replaceFieldTypes() argument 840 return replaceFieldTypes(pattern, skeleton, UDATPG_MATCH_NO_OPTIONS, status); in replaceFieldTypes() 845 const UnicodeString& skeleton, in replaceFieldTypes() argument 848 dtMatcher->set(skeleton, fp); in replaceFieldTypes() 948 PtnSkeleton skeleton; in addPatternWithSkeleton() local 953 matcher.set(pattern, fp, skeleton); in addPatternWithSkeleton() 956 …matcher.set(*skeletonToUse, fp, skeleton); // no longer trims skeleton fields to max len 3, per #7… in addPatternWithSkeleton() 980 duplicatePattern = patternMap->getPatternFromSkeleton(skeleton, &entrySpecifiedSkeleton); in addPatternWithSkeleton() 988 patternMap->add(basePattern, skeleton, pattern, skeletonToUse != NULL, status); in addPatternWithSkeleton() [all …]
|
D | dtptngen_impl.h | 130 PtnSkeleton *skeleton; variable 181 PtnSkeleton skeleton; 186 void set(const UnicodeString& pattern, FormatParser* fp, PtnSkeleton& skeleton); 187 void copyFrom(const PtnSkeleton& skeleton); 203 …void add(const UnicodeString& basePattern, const PtnSkeleton& skeleton, const UnicodeString& valu… 205 …const UnicodeString* getPatternFromSkeleton(PtnSkeleton& skeleton, const PtnSkeleton** specifiedSk… 211 …PtnElem* getDuplicateElem(const UnicodeString &basePattern, const PtnSkeleton& skeleton, PtnElem …
|
D | datefmt.cpp | 72 const UnicodeString &skeleton, in DateFmtBestPatternKey() argument 75 fSkeleton(DateTimePatternGenerator::staticGetSkeleton(skeleton, status)) { } in DateFmtBestPatternKey() 430 const UnicodeString &skeleton, in getBestPattern() argument 436 DateFmtBestPatternKey key(locale, skeleton, status); in getBestPattern() 450 const UnicodeString& skeleton, in createInstanceForSkeleton() argument 461 DateFormat *result = createInstanceForSkeleton(skeleton, locale, status); in createInstanceForSkeleton() 471 const UnicodeString& skeleton, in createInstanceForSkeleton() argument 479 getBestPattern(locale, skeleton, status), in createInstanceForSkeleton() 487 const UnicodeString& skeleton, in createInstanceForSkeleton() argument 490 skeleton, Locale::getDefault(), status); in createInstanceForSkeleton()
|
/external/bison/tests/ |
D | skeletons.at | 1 # Checking skeleton support. -*- Autotest -*- 21 ## Relative skeleton file names. ## 24 AT_SETUP([[Relative skeleton file names]]) 43 [[%skeleton "./skel.c" 50 [[%skeleton "./skel.c" 72 AT_BISON_CHECK([[--skeleton=tmp/skel.c tmp/input-cmd-line.y]]) 81 ## Installed skeleton file names. ## 84 AT_SETUP([[Installed skeleton file names]]) 121 [[%skeleton "yacc.c"] 124 AT_BISON_CHECK([[--skeleton=yacc.c -o input-cmd-line.c input-cmd-line.y]]) [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtitvfmt.h | 237 const UnicodeString& skeleton, 275 const UnicodeString& skeleton, 295 const UnicodeString& skeleton, 340 const UnicodeString& skeleton, 635 const UnicodeString* skeleton, UErrorCode& status); 652 const UnicodeString* skeleton, 756 const UnicodeString& skeleton, 785 static void U_EXPORT2 getDateTimeSkeleton(const UnicodeString& skeleton, 846 const UnicodeString* skeleton, 910 const UnicodeString& skeleton);
|
D | dtitvinf.h | 261 void setIntervalPattern(const UnicodeString& skeleton, 276 UnicodeString& getIntervalPattern(const UnicodeString& skeleton, 390 void setIntervalPatternInternally(const UnicodeString& skeleton, 414 const UnicodeString* getBestSkeleton(const UnicodeString& skeleton, 425 static void U_EXPORT2 parseSkeleton(const UnicodeString& skeleton,
|
D | udatpg.h | 211 const UChar *skeleton, int32_t length, 247 const UChar *skeleton, int32_t length, 276 UChar *skeleton, int32_t capacity, 508 const UChar *skeleton, int32_t skeletonLength, 545 const UChar *skeleton, int32_t skeletonLength, 589 const UChar *skeleton, int32_t skeletonLength,
|
D | dtptngen.h | 316 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status); 338 UnicodeString getBestPattern(const UnicodeString& skeleton, 365 const UnicodeString& skeleton, 391 const UnicodeString& skeleton, 414 const UnicodeString& getPatternForSkeleton(const UnicodeString& skeleton) const;
|
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/dateintervalformat/ |
D | DateIntervalFormatSample.java | 58 for (String skeleton:skeletons) { in dtitvfmtPreDefined() 59 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtPreDefined() 60 … DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton, ULocale.ENGLISH); in dtitvfmtPreDefined() 61 … DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton, ULocale.JAPANESE); in dtitvfmtPreDefined() 105 for (String skeleton:skeletons){ in dtitvfmtCustomized() 107 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtCustomized() 108 … DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton,ULocale.ENGLISH,dtitvinf); in dtitvfmtCustomized() 109 …DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton,ULocale.JAPANESE,dtitvinf); in dtitvfmtCustomized()
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/ |
D | DateIntervalFormatSample.java | 57 for (String skeleton:skeletons) { in dtitvfmtPreDefined() 58 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtPreDefined() 59 … DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton, ULocale.ENGLISH); in dtitvfmtPreDefined() 60 … DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton, ULocale.JAPANESE); in dtitvfmtPreDefined() 104 for (String skeleton:skeletons){ in dtitvfmtCustomized() 106 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtCustomized() 107 … DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton,ULocale.ENGLISH,dtitvinf); in dtitvfmtCustomized() 108 …DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton,ULocale.JAPANESE,dtitvinf); in dtitvfmtCustomized()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdateintervalformattest.c | 43 const char * skeleton; member 83 u_unescape(testItemPtr->skeleton, skelBuf, kSkelBufLen); in TestDateIntervalFormat() 103 … testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, in TestDateIntervalFormat() 108 …testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErro… in TestDateIntervalFormat() 113 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, myErrorName(status) ); in TestDateIntervalFormat() 257 const char * skeleton; member 286 u_strFromUTF8(ubuf, kSizeUBuf, &ulen, locSkelItemPtr->skeleton, -1, &status); in TestFPos_SkelWithSeconds() 290 locSkelItemPtr->locale, locSkelItemPtr->skeleton, u_errorName(status)); in TestFPos_SkelWithSeconds() 304 locSkelItemPtr->locale, locSkelItemPtr->skeleton, *deltasPtr, u_errorName(status)); in TestFPos_SkelWithSeconds() 310 locSkelItemPtr->locale, locSkelItemPtr->skeleton, *deltasPtr, in TestFPos_SkelWithSeconds()
|
/external/parameter-framework/upstream/skeleton-subsystem/test/ |
D | CMakeLists.txt | 32 add_executable(skeleton-test main.cpp) 33 target_include_directories(skeleton-test PRIVATE "${PFW_INCLUDE_ROOT}/parameter/client") 34 target_link_libraries(skeleton-test "${PFW_CORE_LIBRARY}") 36 add_test(NAME skeleton-test 38 COMMAND skeleton-test) 39 set_test_env(skeleton-test)
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/ |
D | DateTimePatternGeneratorSample.java | 52 for (String skeleton:skeletons) { in getBestPatternExample() 53 System.out.printf("%-20s", skeleton); in getBestPatternExample() 58 String pattern = dtfg.getBestPattern(skeleton); in getBestPatternExample() 88 for (String skeleton:dtfskeleton) { in getBestPatternExample() 89 System.out.printf("%-20s", skeleton); in getBestPatternExample() 93 String df=DateFormat.getPatternInstance(skeleton,locale).format(date); in getBestPatternExample()
|
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/ |
D | DateTimePatternGeneratorSample.java | 53 for (String skeleton:skeletons) { in getBestPatternExample() 54 System.out.printf("%-20s", skeleton); in getBestPatternExample() 59 String pattern = dtfg.getBestPattern(skeleton); in getBestPatternExample() 89 for (String skeleton:dtfskeleton) { in getBestPatternExample() 90 System.out.printf("%-20s", skeleton); in getBestPatternExample() 94 String df=DateFormat.getPatternInstance(skeleton,locale).format(date); in getBestPatternExample()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 976 String[] skeleton = { in stress() local 1033 skeletonIndex < skeleton.length; in stress() 1035 String oneSkeleton = skeleton[skeletonIndex]; in stress() 1465 for (String skeleton : skeletons) { in TestTicket11583() 1466 if (filterPattern != null && !skeleton.equals(filterPattern)) { in TestTicket11583() 1470 DateFormat dateFormat = DateFormat.getPatternInstance(skeleton, locale); in TestTicket11583() 1473 … DateIntervalFormat intervalFormat = DateIntervalFormat.getInstance(skeleton, locale); in TestTicket11583() 1476 if (skeleton.equals(filterPattern)) { in TestTicket11583() 1493 … logln("For skeleton " + skeleton + "/locale " + locale + ": mismatch between date format «" in TestTicket11583() 1496 … errln("For skeleton " + skeleton + "/locale " + locale + ": mismatch between date format «" in TestTicket11583() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 980 String[] skeleton = { in stress() local 1037 skeletonIndex < skeleton.length; in stress() 1039 String oneSkeleton = skeleton[skeletonIndex]; in stress() 1469 for (String skeleton : skeletons) { in TestTicket11583() 1470 if (filterPattern != null && !skeleton.equals(filterPattern)) { in TestTicket11583() 1474 DateFormat dateFormat = DateFormat.getPatternInstance(skeleton, locale); in TestTicket11583() 1477 … DateIntervalFormat intervalFormat = DateIntervalFormat.getInstance(skeleton, locale); in TestTicket11583() 1480 if (skeleton.equals(filterPattern)) { in TestTicket11583() 1497 … logln("For skeleton " + skeleton + "/locale " + locale + ": mismatch between date format «" in TestTicket11583() 1500 … errln("For skeleton " + skeleton + "/locale " + locale + ": mismatch between date format «" in TestTicket11583() [all …]
|