Searched defs:skeleton (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/icu/source/i18n/
H A Dudateintervalformat.cpp25 const UChar* skeleton,
34 if ((skeleton == NULL ? skeletonLength != 0 : skeletonLength < -1) ||
40 UnicodeString skel((UBool)(skeletonLength == -1), skeleton, skeletonLength);
24 udtitvfmt_open(const char* locale, const UChar* skeleton, int32_t skeletonLength, const UChar* tzID, int32_t tzIDLength, UErrorCode* status) argument
H A Dudatpg.cpp58 const UChar *skeleton, int32_t length,
61 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length,
68 const UChar *skeleton, int32_t length,
75 if(skeleton==NULL && length!=0) {
79 UnicodeString skeletonString((UBool)(length<0), skeleton, length);
87 UChar *skeleton, int32_t capacity,
98 return result.extract(skeleton, capacity, *pErrorCode);
104 UChar *skeleton, int32_t capacity,
115 return result.extract(skeleton, capacity, *pErrorCode);
217 const UChar *skeleton, int32_
57 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t length, UChar *bestPattern, int32_t capacity, UErrorCode *pErrorCode) argument
67 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t length, UDateTimePatternMatchOptions options, UChar *bestPattern, int32_t capacity, UErrorCode *pErrorCode) argument
85 udatpg_getSkeleton(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) argument
102 udatpg_getBaseSkeleton(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) argument
215 udatpg_replaceFieldTypes(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
226 udatpg_replaceFieldTypesWithOptions(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UDateTimePatternMatchOptions options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
260 udatpg_getPatternForSkeleton(const UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t skeletonLength, int32_t *pLength) argument
[all...]
H A Ddtitvinf.cpp82 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, argument
88 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status);
89 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status);
92 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status);
94 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status);
178 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, argument
186 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton);
275 const char* skeleton = ures_getKey(oneRes.getAlias()); local
276 if (skeleton == NULL) {
279 UnicodeString skeletonUniStr(skeleton,
366 setIntervalPatternInternally(const UnicodeString& skeleton, UCalendarDateFields lrgDiffCalUnit, const UnicodeString& intervalPattern, UErrorCode& status) argument
390 parseSkeleton(const UnicodeString& skeleton, int32_t* skeletonFieldWidth) argument
418 getBestSkeleton(const UnicodeString& skeleton, int8_t& bestMatchDistanceInfo) const argument
488 UnicodeString* skeleton = (UnicodeString*)keyTok.pointer; local
[all...]
H A Ddtitvfmt.cpp69 DateIntervalFormat::createInstance(const UnicodeString& skeleton, argument
71 return createInstance(skeleton, Locale::getDefault(), status);
76 DateIntervalFormat::createInstance(const UnicodeString& skeleton, argument
83 skeleton.extract(0, skeleton.length(), result, "UTF-8");
87 sprintf(mesg, "skeleton: %s; pattern: %s\n", result, result_1);
92 return create(locale, dtitvinf, &skeleton, status);
98 DateIntervalFormat::createInstance(const UnicodeString& skeleton, argument
101 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status);
106 DateIntervalFormat::createInstance(const UnicodeString& skeleton, argument
463 DateIntervalFormat(const Locale& locale, DateIntervalInfo* dtItvInfo, const UnicodeString* skeleton, UErrorCode& status) argument
511 createSDFPatternInstance(const UnicodeString& skeleton, const Locale& locale, DateTimePatternGenerator* dtpng, UErrorCode& status) argument
534 create(const Locale& locale, DateIntervalInfo* dtitvinf, const UnicodeString* skeleton, UErrorCode& status) argument
709 UnicodeString skeleton = fSkeleton; local
772 getDateTimeSkeleton(const UnicodeString& skeleton, UnicodeString& dateSkeleton, UnicodeString& normalizedDateSkeleton, UnicodeString& timeSkeleton, UnicodeString& normalizedTimeSkeleton) argument
941 const UnicodeString* skeleton; local
1016 setFallbackPattern(UCalendarDateFields field, const UnicodeString& skeleton, UErrorCode& status) argument
1130 setIntervalPattern(UCalendarDateFields field, const UnicodeString* skeleton, const UnicodeString* bestSkeleton, int8_t differenceInfo, UnicodeString* extendedSkeleton, UnicodeString* extendedBestSkeleton) argument
1311 fieldExistsInSkeleton(UCalendarDateFields field, const UnicodeString& skeleton) argument
[all...]
H A Ddtptngen_impl.h130 PtnSkeleton *skeleton; member in class:PtnElem
182 PtnSkeleton skeleton; member in class:DateTimeMatcher
187 void set(const UnicodeString& pattern, FormatParser* fp, PtnSkeleton& skeleton);
188 void copyFrom(const PtnSkeleton& skeleton);
204 void add(const UnicodeString& basePattern, const PtnSkeleton& skeleton, const UnicodeString& value, UBool skeletonWasSpecified, UErrorCode& status);
206 const UnicodeString* getPatternFromSkeleton(PtnSkeleton& skeleton, const PtnSkeleton** specifiedSkeletonPtr = 0);
212 PtnElem* getDuplicateElem(const UnicodeString &basePattern, const PtnSkeleton& skeleton, PtnElem *baseElem);
H A Ddtptngen.cpp320 dtMatcher->copyFrom(other.dtMatcher->skeleton);
651 // Add pattern with its associated skeleton. Override any duplicate derived from std patterns,
792 // Get pattern for skeleton with H, then replace H or k
833 const UnicodeString& skeleton,
835 return replaceFieldTypes(pattern, skeleton, UDATPG_MATCH_NO_OPTIONS, status);
840 const UnicodeString& skeleton,
843 dtMatcher->set(skeleton, fp);
925 // 1. We pass that skeleton to matcher.set instead of having it derive a skeleton from the pattern.
926 // 2. If the new entry's skeleton o
832 replaceFieldTypes(const UnicodeString& pattern, const UnicodeString& skeleton, UErrorCode& status) argument
839 replaceFieldTypes(const UnicodeString& pattern, const UnicodeString& skeleton, UDateTimePatternMatchOptions options, UErrorCode& ) argument
943 PtnSkeleton skeleton; local
1378 add(const UnicodeString& basePattern, const PtnSkeleton& skeleton, const UnicodeString& value, UBool skeletonWasSpecified, UErrorCode &status) argument
1477 getPatternFromSkeleton(PtnSkeleton& skeleton, const PtnSkeleton** specifiedSkeletonPtr) argument
1565 getDuplicateElem( const UnicodeString &basePattern, const PtnSkeleton &skeleton, PtnElem *baseElem) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Dudateintervalformat.cpp25 const UChar* skeleton,
34 if ((skeleton == NULL ? skeletonLength != 0 : skeletonLength < -1) ||
40 UnicodeString skel((UBool)(skeletonLength == -1), skeleton, skeletonLength);
24 udtitvfmt_open(const char* locale, const UChar* skeleton, int32_t skeletonLength, const UChar* tzID, int32_t tzIDLength, UErrorCode* status) argument
H A Dudatpg.cpp58 const UChar *skeleton, int32_t length,
61 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length,
68 const UChar *skeleton, int32_t length,
75 if(skeleton==NULL && length!=0) {
79 UnicodeString skeletonString((UBool)(length<0), skeleton, length);
87 UChar *skeleton, int32_t capacity,
98 return result.extract(skeleton, capacity, *pErrorCode);
104 UChar *skeleton, int32_t capacity,
115 return result.extract(skeleton, capacity, *pErrorCode);
217 const UChar *skeleton, int32_
57 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t length, UChar *bestPattern, int32_t capacity, UErrorCode *pErrorCode) argument
67 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t length, UDateTimePatternMatchOptions options, UChar *bestPattern, int32_t capacity, UErrorCode *pErrorCode) argument
85 udatpg_getSkeleton(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) argument
102 udatpg_getBaseSkeleton(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) argument
215 udatpg_replaceFieldTypes(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
226 udatpg_replaceFieldTypesWithOptions(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UDateTimePatternMatchOptions options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
260 udatpg_getPatternForSkeleton(const UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t skeletonLength, int32_t *pLength) argument
[all...]
H A Ddtitvinf.cpp82 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, argument
88 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status);
89 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status);
92 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status);
94 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status);
178 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, argument
186 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton);
275 const char* skeleton = ures_getKey(oneRes.getAlias()); local
276 if (skeleton == NULL) {
279 UnicodeString skeletonUniStr(skeleton,
366 setIntervalPatternInternally(const UnicodeString& skeleton, UCalendarDateFields lrgDiffCalUnit, const UnicodeString& intervalPattern, UErrorCode& status) argument
390 parseSkeleton(const UnicodeString& skeleton, int32_t* skeletonFieldWidth) argument
418 getBestSkeleton(const UnicodeString& skeleton, int8_t& bestMatchDistanceInfo) const argument
488 UnicodeString* skeleton = (UnicodeString*)keyTok.pointer; local
[all...]
H A Ddtitvfmt.cpp69 DateIntervalFormat::createInstance(const UnicodeString& skeleton, argument
71 return createInstance(skeleton, Locale::getDefault(), status);
76 DateIntervalFormat::createInstance(const UnicodeString& skeleton, argument
83 skeleton.extract(0, skeleton.length(), result, "UTF-8");
87 sprintf(mesg, "skeleton: %s; pattern: %s\n", result, result_1);
92 return create(locale, dtitvinf, &skeleton, status);
98 DateIntervalFormat::createInstance(const UnicodeString& skeleton, argument
101 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status);
106 DateIntervalFormat::createInstance(const UnicodeString& skeleton, argument
463 DateIntervalFormat(const Locale& locale, DateIntervalInfo* dtItvInfo, const UnicodeString* skeleton, UErrorCode& status) argument
511 createSDFPatternInstance(const UnicodeString& skeleton, const Locale& locale, DateTimePatternGenerator* dtpng, UErrorCode& status) argument
534 create(const Locale& locale, DateIntervalInfo* dtitvinf, const UnicodeString* skeleton, UErrorCode& status) argument
709 UnicodeString skeleton = fSkeleton; local
772 getDateTimeSkeleton(const UnicodeString& skeleton, UnicodeString& dateSkeleton, UnicodeString& normalizedDateSkeleton, UnicodeString& timeSkeleton, UnicodeString& normalizedTimeSkeleton) argument
943 const UnicodeString* skeleton; local
1018 setFallbackPattern(UCalendarDateFields field, const UnicodeString& skeleton, UErrorCode& status) argument
1132 setIntervalPattern(UCalendarDateFields field, const UnicodeString* skeleton, const UnicodeString* bestSkeleton, int8_t differenceInfo, UnicodeString* extendedSkeleton, UnicodeString* extendedBestSkeleton) argument
1313 fieldExistsInSkeleton(UCalendarDateFields field, const UnicodeString& skeleton) argument
[all...]
H A Ddtptngen_impl.h130 PtnSkeleton *skeleton; member in class:PtnElem
182 PtnSkeleton skeleton; member in class:DateTimeMatcher
187 void set(const UnicodeString& pattern, FormatParser* fp, PtnSkeleton& skeleton);
188 void copyFrom(const PtnSkeleton& skeleton);
204 void add(const UnicodeString& basePattern, const PtnSkeleton& skeleton, const UnicodeString& value, UBool skeletonWasSpecified, UErrorCode& status);
206 const UnicodeString* getPatternFromSkeleton(PtnSkeleton& skeleton, const PtnSkeleton** specifiedSkeletonPtr = 0);
212 PtnElem* getDuplicateElem(const UnicodeString &basePattern, const PtnSkeleton& skeleton, PtnElem *baseElem);
/external/javassist/src/main/javassist/
H A DCtNewConstructor.java176 public static CtConstructor skeleton(CtClass[] parameters, method in class:CtNewConstructor
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcdateintervalformattest.c41 const char * skeleton; member in struct:__anon12199
81 u_unescape(testItemPtr->skeleton, skelBuf, kSkelBufLen);
100 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n",
101 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to,
105 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n",
106 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErrorName(status) );
110 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n",
111 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, myErrorName(status) );
H A Dudatpg_test.c69 static const UChar skeleton[]= {0x4d, 0x4d, 0x4d, 0x64, 0}; /* MMMd */ variable
155 /* Test skeleton == NULL */
159 log_err("udatpg_getBestPattern failed in illegal argument - skeleton is NULL.\n");
302 /* Get all skeletons and the crroespong pattern for each skeleton. */
349 length = udatpg_getBestPattern(generator, skeleton, 4,
427 log_err("ERROR udatpg_getBestPatternWithOptions, locale %s, skeleton %s, options 0x%04X, expected pattern %s, got %s, status %d\n",
H A Dcdattst.c1370 const UChar * skeleton; member in struct:__anon12202
1409 int32_t len = udatpg_getBestPattern(udtpg, textContextItemPtr->skeleton, -1, ubuf, kUbufMax, &status);
/external/icu/icu4c/source/test/cintltst/
H A Dcdateintervalformattest.c41 const char * skeleton; member in struct:__anon21998
81 u_unescape(testItemPtr->skeleton, skelBuf, kSkelBufLen);
100 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n",
101 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to,
105 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n",
106 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErrorName(status) );
110 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n",
111 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, myErrorName(status) );
H A Dudatpg_test.c69 static const UChar skeleton[]= {0x4d, 0x4d, 0x4d, 0x64, 0}; /* MMMd */ variable
155 /* Test skeleton == NULL */
159 log_err("udatpg_getBestPattern failed in illegal argument - skeleton is NULL.\n");
302 /* Get all skeletons and the crroespong pattern for each skeleton. */
349 length = udatpg_getBestPattern(generator, skeleton, 4,
426 log_err("ERROR udatpg_getBestPatternWithOptions, locale %s, skeleton %s, options 0x%04X, expected pattern %s, got %s, status %d\n",
H A Dcdattst.c1370 const UChar * skeleton; member in struct:__anon22001
1439 int32_t len = udatpg_getBestPattern(udtpg, textContextItemPtr->skeleton, -1, ubuf, kUbufMax, &status);
/external/bison/src/
H A Dgetargs.h31 extern char const *skeleton;
66 char skeleton[sizeof "java-skel.m4"]; member in struct:bison_language
H A Dgetargs.c80 const char *skeleton = NULL; variable
196 "muscles - m4 definitions passed to the skeleton",
199 "skeleton - skeleton postprocessing",
332 -S, --skeleton=FILE specify the skeleton to use\n\
446 | --skeleton and --language handling. |
455 skeleton = arg;
458 complain_at (loc, _("multiple skeleton declarations are invalid"));
568 { "skeleton", required_argumen
[all...]
/external/chromium_org/components/dom_distiller/core/
H A Ddom_distiller_service.cc20 ArticleEntry skeleton; local
21 skeleton.set_entry_id(base::GenerateGUID());
22 ArticleEntryPage* page = skeleton.add_pages();
25 DCHECK(IsEntryValid(skeleton));
26 return skeleton;
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DLocaleICU.cpp312 static String getFormatForSkeleton(const char* locale, const String& skeleton) argument
321 skeleton.appendTo(skeletonCharacters);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Ddtifmtts.cpp61 /* ====== Test create interval instance with default locale and skeleton
64 logln("Testing DateIntervalFormat create instance with default locale and skeleton");
68 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + default locale) - exitting");
75 /* ====== Test create interval instance with given locale and skeleton
78 logln("Testing DateIntervalFormat create instance with given locale and skeleton");
82 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + locale) - exitting");
89 /* ====== Test create interval instance with dateIntervalInfo and skeleton
92 logln("Testing DateIntervalFormat create instance with dateIntervalInfo and skeleton");
100 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + DateIntervalInfo + default locale) - exitting");
107 /* ====== Test create interval instance with dateIntervalInfo and skeleton
1382 UnicodeString skeleton[] = { local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Ddtifmtts.cpp61 /* ====== Test create interval instance with default locale and skeleton
64 logln("Testing DateIntervalFormat create instance with default locale and skeleton");
68 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + default locale) - exitting");
75 /* ====== Test create interval instance with given locale and skeleton
78 logln("Testing DateIntervalFormat create instance with given locale and skeleton");
82 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + locale) - exitting");
89 /* ====== Test create interval instance with dateIntervalInfo and skeleton
92 logln("Testing DateIntervalFormat create instance with dateIntervalInfo and skeleton");
100 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + DateIntervalInfo + default locale) - exitting");
107 /* ====== Test create interval instance with dateIntervalInfo and skeleton
1382 UnicodeString skeleton[] = { local
[all...]
/external/chromium_org/v8/src/
H A Di18n.cc96 // Make formatter from skeleton. Calendar and numbering system are added
99 icu::UnicodeString skeleton; local
100 if (ExtractStringSetting(isolate, options, "skeleton", &skeleton)) {
105 pattern = generator->getBestPattern(skeleton, status);

Completed in 431 milliseconds

12