Home
last modified time | relevance | path

Searched refs:abbr (Results 1 – 25 of 76) sorted by relevance

1234

/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
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[4] == '0') { // +9900 in FixedOffsetToAbbr()
130 abbr.erase(3, 2); // +99 in FixedOffsetToAbbr()
134 return abbr; in FixedOffsetToAbbr()
Dtime_zone_posix.cc51 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()
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/skia/third_party/externals/icu/source/tools/tzcode/
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(tmp) != '\0') in show()
[all …]
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; *cp != '\0'; ++cp) in doabbr()
[all …]
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()
479 find(abbroffset.begin(), abbroffset.end(), it->abbr); in readzoneinfo()
491 os << "Warning: unusual abbr offset " << it->abbr in readzoneinfo()
499 it->abbr = 0; in readzoneinfo()
502 it->abbr = index; in readzoneinfo()
1224 abbr(-1), isdst(false), isstd(false), isgmt(false) {} in ZoneType()
/third_party/icu/icu4c/source/tools/tzcode/
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(tmp) != '\0') in show()
[all …]
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; *cp != '\0'; ++cp) in doabbr()
[all …]
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()
479 find(abbroffset.begin(), abbroffset.end(), it->abbr); in readzoneinfo()
491 os << "Warning: unusual abbr offset " << it->abbr in readzoneinfo()
499 it->abbr = 0; in readzoneinfo()
502 it->abbr = index; in readzoneinfo()
1224 abbr(-1), isdst(false), isstd(false), isgmt(false) {} in ZoneType()
/third_party/tzdata/
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
Dziguard.awk189 abbr = stdabbr
212 abbr = dstabbr
214 abbr = stdabbr "/" dstabbr
217 sub(/%z/, abbr)
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(tm) == '-' || strcmp(abbr(tm), "zzz") == 0))) in format_utc_offset()
[all …]
Dzic.c197 static void newabbr(const char * abbr);
2790 doabbr(char *abbr, struct zone const *zp, char const *letters, in doabbr() argument
2807 sprintf(abbr, format, letters); in doabbr()
2809 strcpy(abbr, slashp + 1); in doabbr()
2811 memcpy(abbr, format, slashp - format); in doabbr()
2812 abbr[slashp - format] = '\0'; in doabbr()
2814 len = strlen(abbr); in doabbr()
2817 for (cp = abbr; is_alpha(*cp); cp++) in doabbr()
2821 abbr[len + 2] = '\0'; in doabbr()
2822 abbr[len + 1] = '>'; in doabbr()
[all …]
/third_party/ntfs-3g/ntfsprogs/
Dntfsmove.c256 static int ntfs_debug_runlist_dump2(const runlist *rl, int abbr, char *prefix)
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/Lib/zoneinfo/
D_common.py103 abbr = tuple(get_abbr(idx) for idx in abbrind)
124 return trans_idx, trans_list_utc, utcoff, isdst, abbr, tz_str
/third_party/python/Tools/tz/
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/ffmpeg/libavutil/
Dparseutils.c67 const char *abbr; member
72 const char *abbr; member
156 if (!strcmp(video_size_abbrs[i].abbr, str)) { in av_parse_video_size()
186 if (!strcmp(video_rate_abbrs[i].abbr, arg)) { in av_parse_video_rate()
/third_party/icu/icu4c/source/common/
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/
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/node/deps/icu-small/source/common/
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/python/Doc/library/
Dqueue.rst17 which the entries are retrieved. In a :abbr:`FIFO (first-in, first-out)`
19 :abbr:`LIFO (last-in, first-out)` queue, the most recently added entry is
29 :abbr:`FIFO (first-in, first-out)` queue type, :class:`SimpleQueue`, whose
37 Constructor for a :abbr:`FIFO (first-in, first-out)` queue. *maxsize* is
45 Constructor for a :abbr:`LIFO (last-in, first-out)` queue. *maxsize* is
76 Constructor for an unbounded :abbr:`FIFO (first-in, first-out)` queue.
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
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/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DTestUScript.java282 String abbr = UScript.getShortName(code); in TestAllCodepoints() local
283 if(abbr.indexOf("INV")>=0){ in TestAllCodepoints()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScript.java279 String abbr = UScript.getShortName(code); in TestAllCodepoints() local
280 if(abbr.indexOf("INV")>=0){ in TestAllCodepoints()
/third_party/mesa3d/docs/drivers/
Dd3d12.rst8 :abbr:`D3D12 (Direct3D 12)` API instead of targeting a specific GPU

1234