Home
last modified time | relevance | path

Searched refs:abbr (Results 1 - 25 of 41) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dtime_zone_fixed.cc121 std::string abbr = FixedOffsetToName(offset); in FixedOffsetToAbbr() local
123 if (abbr.size() == prefix_len + 9) { // <prefix>+99:99:99 in FixedOffsetToAbbr()
124 abbr.erase(0, prefix_len); // +99:99:99 in FixedOffsetToAbbr()
125 abbr.erase(6, 1); // +99:9999 in FixedOffsetToAbbr()
126 abbr.erase(3, 1); // +999999 in FixedOffsetToAbbr()
127 if (abbr[5] == '0' && abbr[6] == '0') { // +999900 in FixedOffsetToAbbr()
128 abbr.erase(5, 2); // +9999 in FixedOffsetToAbbr()
129 if (abbr[3] == '0' && abbr[ in FixedOffsetToAbbr()
[all...]
H A Dtime_zone_posix.cc50 // abbr = <.*?> | [^-+,\d]{3,}
51 const char* ParseAbbr(const char* p, std::string* abbr) { in ParseAbbr() argument
57 abbr->assign(op + 1, static_cast<std::size_t>(p - op) - 1); in ParseAbbr()
66 abbr->assign(op, static_cast<std::size_t>(p - op)); in ParseAbbr()
H A Dtime_zone_info.h99 const std::string& abbr, std::uint_least8_t* index);
H A Dtime_zone_libc.cc194 al.abbr = "-00"; in BreakTime()
222 al.abbr = local_ ? tm_zone(*tmp) : "UTC"; // as expected by cctz in BreakTime()
/third_party/icu/icu4c/source/tools/tzcode/
H A Dzdump.c225 static char * abbr(struct tm * tmp);
592 (void) strncpy(buf, abbr(&tm), (sizeof buf) - 1); in main()
615 abbr(&newtm), in main()
624 strcmp(abbr(&newtm), buf) != 0)) { in main()
630 abbr(&newtm), in main()
739 (void) strncpy(loab, abbr(&lotm), (sizeof loab) - 1); in hunt()
757 strcmp(abbr(&tm), loab) == 0)) { in hunt()
812 if (*abbr(tmp) != '\0') in show()
813 (void) printf(" %s", abbr(tmp)); in show()
822 if (tmp != NULL && *abbr(tm in show()
827 abbr(struct tm *tmp) abbr() function
[all...]
H A Dzic.c145 char *const abbr, int isdst,
148 static int addtype(zic_t gmtoff, const char * abbr, int isdst,
168 static void newabbr(const char * abbr);
1947 doabbr(char *const abbr, const char *const format, const char *const letters, in doabbr() argument
1957 (void) strcpy(abbr, format); in doabbr()
1958 else (void) sprintf(abbr, format, letters); in doabbr()
1960 (void) strcpy(abbr, slashp + 1); in doabbr()
1963 (void) strncpy(abbr, format, slashp - format); in doabbr()
1964 abbr[slashp - format] = '\0'; in doabbr()
1968 for (cp = abbr; *c in doabbr()
2708 addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff, char *const abbr, const int isdst, const int ttisstd, const int ttisgmt) addtype() argument
2871 itsabbr(register const char *abbr, register const char *word) itsabbr() argument
[all...]
H A Dtz2icu.cpp142 int32_t abbr; // index into ZoneInfo.abbrs 0..n-1 member
149 ZoneType() : rawoffset(-1), dstoffset(-1), abbr(-1) {} in ZoneType()
410 type.abbr = (int32_t) c; in readzoneinfo()
453 // the end of each abbr. in readzoneinfo()
458 // offset of each abbr in a vector. in readzoneinfo()
469 // raw abbr strings. New value is index into vector of in readzoneinfo()
479 find(abbroffset.begin(), abbroffset.end(), it->abbr); in readzoneinfo()
482 // the abbr list when a middle offset is given, e.g., in readzoneinfo()
486 // abbr at this time. in readzoneinfo()
489 // the Olson abbr dat in readzoneinfo()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dzdump.c231 static char * abbr(struct tm * tmp);
598 (void) strncpy(buf, abbr(&tm), (sizeof buf) - 1); in main()
621 abbr(&newtm), in main()
630 strcmp(abbr(&newtm), buf) != 0)) { in main()
636 abbr(&newtm), in main()
745 (void) strncpy(loab, abbr(&lotm), (sizeof loab) - 1); in hunt()
763 strcmp(abbr(&tm), loab) == 0)) { in hunt()
818 if (*abbr(tmp) != '\0') in show()
819 (void) printf(" %s", abbr(tmp)); in show()
828 if (tmp != NULL && *abbr(tm in show()
833 abbr(struct tm *tmp) abbr() function
[all...]
H A Dzic.c144 char *const abbr, int isdst,
147 static int addtype(zic_t gmtoff, const char * abbr, int isdst,
167 static void newabbr(const char * abbr);
1946 doabbr(char *const abbr, const char *const format, const char *const letters, in doabbr() argument
1956 (void) strcpy(abbr, format); in doabbr()
1957 else (void) sprintf(abbr, format, letters); in doabbr()
1959 (void) strcpy(abbr, slashp + 1); in doabbr()
1962 (void) strncpy(abbr, format, slashp - format); in doabbr()
1963 abbr[slashp - format] = '\0'; in doabbr()
1967 for (cp = abbr; *c in doabbr()
2707 addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff, char *const abbr, const int isdst, const int ttisstd, const int ttisgmt) addtype() argument
2870 itsabbr(register const char *abbr, register const char *word) itsabbr() argument
[all...]
H A Dtz2icu.cpp142 int32_t abbr; // index into ZoneInfo.abbrs 0..n-1 member
149 ZoneType() : rawoffset(-1), dstoffset(-1), abbr(-1) {} in ZoneType()
410 type.abbr = (int32_t) c; in readzoneinfo()
453 // the end of each abbr. in readzoneinfo()
458 // offset of each abbr in a vector. in readzoneinfo()
469 // raw abbr strings. New value is index into vector of in readzoneinfo()
479 find(abbroffset.begin(), abbroffset.end(), it->abbr); in readzoneinfo()
482 // the abbr list when a middle offset is given, e.g., in readzoneinfo()
486 // abbr at this time. in readzoneinfo()
489 // the Olson abbr dat in readzoneinfo()
[all...]
/third_party/tzdata/
H A Dziguard.awk189 abbr = stdabbr
212 abbr = dstabbr
214 abbr = stdabbr "/" dstabbr
217 sub(/%z/, abbr)
H A Dzishrink.awk271 abbr, f, field, i, n, newdef, newline, r, \
279 abbr = rule[r]
280 if (!abbr) {
281 rule[r] = abbr = gen_rule_name(r)
283 field[2] = abbr
H A Dzdump.c91 static char const *abbr(struct tm const *);
424 char const *ab = abbr(tmp); in saveabbr()
645 || strcmp(abbr(&newtm), ab) != 0))) { in main()
651 newtm_ok ? abbr(&newtm) : NULL, argv[i]); in main()
761 && strcmp(abbr(&tm), ab) == 0))) { in hunt()
870 if (*abbr(tmp) != '\0') in show()
871 printf(" %s", abbr(tmp)); in show()
880 if (tmp != NULL && *abbr(tmp) != '\0') in show()
881 abbrok(abbr(tmp), zone); in show()
1001 && (*abbr(t in format_utc_offset()
1167 abbr(struct tm const *tmp) abbr() function
[all...]
H A Dzic.c195 static void newabbr(const char * abbr);
2824 doabbr(char *abbr, struct zone const *zp, char const *letters, in doabbr() argument
2841 sprintf(abbr, format, letters); in doabbr()
2843 strcpy(abbr, slashp + 1); in doabbr()
2845 memcpy(abbr, format, slashp - format); in doabbr()
2846 abbr[slashp - format] = '\0'; in doabbr()
2848 len = strlen(abbr); in doabbr()
2851 for (cp = abbr; is_alpha(*cp); cp++) in doabbr()
2855 abbr[len + 2] = '\0'; in doabbr()
2856 abbr[le in doabbr()
3485 addtype(zic_t utoff, char const *abbr, bool isdst, bool ttisstd, bool ttisut) addtype() argument
3640 itsabbr(register const char *abbr, register const char *word) itsabbr() argument
3656 ciprefix(char const *abbr, char const *word) ciprefix() argument
[all...]
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsmove.c256 static int ntfs_debug_runlist_dump2(const runlist *rl, int abbr, char *prefix)
258 //int abbr = 3; /* abbreviate long lists */
273 if (abbr)
281 if (abbr)
283 if ((i == abbr) && (len > (abbr*2)))
285 if ((i > (abbr-1)) && (i < (len - (abbr-1))))
/third_party/python/Tools/tz/
H A Dzdump.py50 abbr = self.abbrs[abbrind:self.abbrs.find(0, abbrind)].decode()
56 print("%s UTC = %s %-5s isdst=%d" % (utc, lmt, abbr, tti[1]) + shift, file=stream)
/third_party/python/Lib/zoneinfo/
H A D_common.py94 # Where the idx to abbr mapping should be:
103 abbr = tuple(get_abbr(idx) for idx in abbrind)
124 return trans_idx, trans_list_utc, utcoff, isdst, abbr, tz_str
/third_party/icu/icu4c/source/common/
H A Dfilteredbrk.cpp615 const UnicodeString *abbr = fSet.getStringAt(i); in build() local
616 if(abbr) { in build()
617 FB_TRACE("build",abbr,true,i); in build()
618 ustrs[n] = *abbr; // copy by value in build()
621 FB_TRACE("build",abbr,false,i); in build()
/third_party/node/deps/icu-small/source/common/
H A Dfilteredbrk.cpp615 const UnicodeString *abbr = fSet.getStringAt(i); in build() local
616 if(abbr) { in build()
617 FB_TRACE("build",abbr,true,i); in build()
618 ustrs[n] = *abbr; // copy by value in build()
621 FB_TRACE("build",abbr,false,i); in build()
/third_party/skia/third_party/externals/icu/source/common/
H A Dfilteredbrk.cpp616 const UnicodeString *abbr = fSet.getStringAt(i); in build() local
617 if(abbr) { in build()
618 FB_TRACE("build",abbr,TRUE,i); in build()
619 ustrs[n] = *abbr; // copy by value in build()
622 FB_TRACE("build",abbr,FALSE,i); in build()
/third_party/ffmpeg/libavutil/
H A Dparseutils.c67 const char *abbr; member
72 const char *abbr; member
158 if (!strcmp(video_size_abbrs[i].abbr, str)) { in av_parse_video_size()
188 if (!strcmp(video_rate_abbrs[i].abbr, arg)) { in av_parse_video_rate()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
H A Dduration.cc714 absl::string_view abbr; member
732 out->append(unit.abbr.data(), unit.abbr.size()); in AppendNumberUnit()
755 out->append(unit.abbr.data(), unit.abbr.size()); in AppendNumberUnit()
/third_party/python/Modules/
H A D_zoneinfo.c126 parse_abbr(const char *const p, PyObject **abbr);
887 PyObject *abbr = PyTuple_GetItem(data_tuple, 4); in load_data() local
888 if (abbr == NULL) { in load_data()
1000 // Build _ttinfo objects from utcoff, dstoff and abbr in load_data()
1006 PyObject *tzname = PyTuple_GetItem(abbr, i); in load_data()
1592 parse_abbr(const char *const p, PyObject **abbr) in parse_abbr() argument
1635 *abbr = PyUnicode_FromStringAndSize(str_start, str_end - str_start); in parse_abbr()
1636 if (*abbr == NULL) { in parse_abbr()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
H A DTestUScript.java282 String abbr = UScript.getShortName(code); in TestAllCodepoints()
283 if(abbr.indexOf("INV")>=0){ in TestAllCodepoints()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DTestUScript.java279 String abbr = UScript.getShortName(code); in TestAllCodepoints()
280 if(abbr.indexOf("INV")>=0){ in TestAllCodepoints()

Completed in 45 milliseconds

12