Home
last modified time | relevance | path

Searched refs:dstr (Results 1 – 20 of 20) sorted by relevance

/external/python/dateutil/dateutil/test/
Dtest_parser.py178 dstr = actual.strftime(fmt)
179 res = parse(dstr)
207 dstr = StringPassThrough(StringIO('2014 January 19'))
209 res = parse(dstr)
214 dstr = StringIO('2014 January 19')
216 res = parse(dstr)
674 dstr = 'AD2001'
675 res = parse(dstr)
692 dstr = '1991041310:19:24'
694 res = parse(dstr)
[all …]
/external/toybox/toys/posix/
Dpaste.c37 char *dpos, *dstr, *buf, c; local
71 dstr = dpos;
81 dstr = &c;
89 if (dlen<0) dpos = dstr+1;
92 dlen = dpos-dstr;
96 if (dlen) fwrite(dstr, dlen, 1, stdout);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java531 String dstr = Double.toString(n); in convertToAccurateDouble() local
533 if (dstr.indexOf('E') != -1) { in convertToAccurateDouble()
535 assert dstr.indexOf('.') == 1; in convertToAccurateDouble()
536 int expPos = dstr.indexOf('E'); in convertToAccurateDouble()
537 _setToLong(Long.parseLong(dstr.charAt(0) + dstr.substring(2, expPos))); in convertToAccurateDouble()
538 scale += Integer.parseInt(dstr.substring(expPos + 1)) - (expPos - 1) + 1; in convertToAccurateDouble()
539 } else if (dstr.charAt(0) == '0') { in convertToAccurateDouble()
541 assert dstr.indexOf('.') == 1; in convertToAccurateDouble()
542 _setToLong(Long.parseLong(dstr.substring(2))); in convertToAccurateDouble()
543 scale += 2 - dstr.length(); in convertToAccurateDouble()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java533 String dstr = Double.toString(n); in convertToAccurateDouble() local
535 if (dstr.indexOf('E') != -1) { in convertToAccurateDouble()
537 assert dstr.indexOf('.') == 1; in convertToAccurateDouble()
538 int expPos = dstr.indexOf('E'); in convertToAccurateDouble()
539 _setToLong(Long.parseLong(dstr.charAt(0) + dstr.substring(2, expPos))); in convertToAccurateDouble()
540 scale += Integer.parseInt(dstr.substring(expPos + 1)) - (expPos - 1) + 1; in convertToAccurateDouble()
541 } else if (dstr.charAt(0) == '0') { in convertToAccurateDouble()
543 assert dstr.indexOf('.') == 1; in convertToAccurateDouble()
544 _setToLong(Long.parseLong(dstr.substring(2))); in convertToAccurateDouble()
545 scale += 2 - dstr.length(); in convertToAccurateDouble()
[all …]
/external/llvm-project/clang/test/CodeGenHIP/
Dprintf.cpp29 __device__ char *dstr; variable
32 return printf("%s %p\n", dstr, dstr); in foo2()
/external/kmod/libkmod/
Dlibkmod-file.c117 static int zstd_decompress_block(struct kmod_file *file, ZSTD_DStream *dstr, in zstd_decompress_block() argument
133 dsret = ZSTD_decompressStream(dstr, output, input); in zstd_decompress_block()
150 ZSTD_DStream *dstr; in load_zstd() local
157 dstr = ZSTD_createDStream(); in load_zstd()
158 if (dstr == NULL) { in load_zstd()
164 next_block_size = ZSTD_initDStream(dstr); in load_zstd()
174 ret = zstd_decompress_block(file, dstr, &zst_inb, &zst_outb, in load_zstd()
180 ZSTD_freeDStream(dstr); in load_zstd()
187 if (dstr != NULL) in load_zstd()
188 ZSTD_freeDStream(dstr); in load_zstd()
/external/tensorflow/tensorflow/core/platform/default/
Denv.cc282 string dstr = d; in GetLocalTempDirectories() local
283 if (dstr[dstr.size() - 1] != '/') { in GetLocalTempDirectories()
284 dstr += "/"; in GetLocalTempDirectories()
289 !access(dstr.c_str(), 0)) { in GetLocalTempDirectories()
291 list->push_back(dstr); in GetLocalTempDirectories()
/external/e2fsprogs/lib/et/
Derror_message.c232 char *dstr, *fn, *tmp; in init_debug() local
238 dstr = getenv("COMERR_DEBUG"); in init_debug()
239 if (dstr) { in init_debug()
240 debug_mask = strtoul(dstr, &tmp, 0); in init_debug()
/external/e2fsprogs/lib/blkid/
Dcache.c87 char *dstr = getenv("BLKID_DEBUG"); in blkid_get_cache() local
89 if (dstr) in blkid_get_cache()
90 blkid_debug_mask = strtoul(dstr, 0, 0); in blkid_get_cache()
/external/icu/icu4c/source/i18n/
Dvtzone.cpp1512 UnicodeString *dstr = nullptr; in parse() local
1516 dstr = new UnicodeString(value, dstart); in parse()
1519 dstr = new UnicodeString(value, dstart, dend - dstart); in parse()
1521 if (dstr == nullptr) { in parse()
1524 dates->addElement(dstr, status); in parse()
2324 UnicodeString dstr; in writeZonePropsByDOM() local
2325 appendAsciiDigits(dayOfMonth, 0, dstr); in writeZonePropsByDOM()
2326 writer.write(dstr); in writeZonePropsByDOM()
2328 appendUNTIL(writer, getDateTimeString(untilTime + fromOffset, dstr), status); in writeZonePropsByDOM()
2358 UnicodeString dstr; in writeZonePropsByDOW() local
[all …]
/external/llvm-project/openmp/runtime/tools/lib/
DBuild.pm48 sub dstr($) { subroutine
171 progress( "Time elapsed", " %s", dstr( $finish - $start ) );
246 printf( "%${width}s: %s\n", "Elapsed", dstr( $finish - $start ) );
/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp2954 UnicodeString dstr; in TestT9452() local
2962 sdf.format(d, dstr); in TestT9452()
2963 logln(UnicodeString("Initial date: ") + dstr); in TestT9452()
2970 dstr.remove(); in TestT9452()
2971 sdf.format(d, dstr); in TestT9452()
2972 logln(UnicodeString("+1 day: ") + dstr); in TestT9452()
2973 assertEquals("Add 1 day", UnicodeString("2011-12-31T00:00:00+14:00"), dstr); in TestT9452()
2980 dstr.remove(); in TestT9452()
2981 sdf.format(d, dstr); in TestT9452()
2982 logln(UnicodeString("-1 day: ") + dstr); in TestT9452()
[all …]
Dnumrgts.cpp606 UnicodeString dstr; in Test4068693() local
610 dstr = df->format(d.getDouble(), dstr, fp); in Test4068693()
611 if (dstr != UnicodeString("123.55456")) { in Test4068693()
/external/icu/icu4c/source/tools/tzcode/
Dzic.c2116 struct rule stdr, dstr; in stringzone() local
2161 dstr.r_month = TM_JANUARY; in stringzone()
2162 dstr.r_dycode = DC_DOM; in stringzone()
2163 dstr.r_dayofmonth = 1; in stringzone()
2164 dstr.r_tod = 0; in stringzone()
2165 dstr.r_todisstd = dstr.r_todisgmt = FALSE; in stringzone()
2166 dstr.r_stdoff = stdrp->r_stdoff; in stringzone()
2167 dstr.r_abbrvar = stdrp->r_abbrvar; in stringzone()
2176 dstrp = &dstr; in stringzone()
/external/python/cpython3/Lib/test/
Dtest_xmlrpc.py525 dstr = now.strftime("%Y%m%dT%H:%M:%S")
526 self.assertTrue(dtime == dstr)
527 self.assertTrue(dstr == dtime)
529 self.assertTrue(dtime_then >= dstr)
530 self.assertTrue(dstr < dtime_then)
533 dbytes = dstr.encode('ascii')
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegressionTest.java2352 String dstr = sdf.format(d);
2353 logln("Initial date: " + dstr);
2358 dstr = sdf.format(d);
2359 logln("+1 day: " + dstr);
2360 assertEquals("Add 1 day", "2011-12-31T00:00:00+14:00", dstr);
2365 dstr = sdf.format(d);
2366 logln("-1 day: " + dstr);
2367 assertEquals("Subtract 1 day", "2011-12-29T00:00:00-10:00", dstr);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java2349 String dstr = sdf.format(d);
2350 logln("Initial date: " + dstr);
2355 dstr = sdf.format(d);
2356 logln("+1 day: " + dstr);
2357 assertEquals("Add 1 day", "2011-12-31T00:00:00+14:00", dstr);
2362 dstr = sdf.format(d);
2363 logln("-1 day: " + dstr);
2364 assertEquals("Subtract 1 day", "2011-12-29T00:00:00-10:00", dstr);
/external/python/cpython3/Lib/
Ddatetime.py1758 dstr = date_string[0:10]
1762 date_components = _parse_isoformat_date(dstr)
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt17377 bedstraw %8777 bˈɛdstro, bˈɛdstrɔ
60748 edstrom ˈɛdstrəm
88136 headstrong %19987 -strɔŋ, hˈɛdstroŋ, hˈɛdstrɔŋ
88137 headstrongly hˈɛdstrˌɔŋli
88138 headstrongness hˈɛdstrˌɔŋnɛs
88530 hedstrom hˈɛdstrəm
88687 heidstra hˈạdstrə
94858 hydstra hˈạdstrə
108053 kladstrup %2769 klˈædstrəp
108054 kladstrup's klˈædstrəps
Dinternal_raw_IPA.txt14766 bedstraw %20677 bˈɛdstro, bˈɛdstrɔ
51204 edstrom %34381 ˈɛdstrəm
74259 headstrong %29162 hˈɛdstroŋ, hˈɛdstrɔŋ
74260 headstrongly hˈɛdstrˌɔŋli
74261 headstrongness hˈɛdstrˌɔŋnɛs
74597 hedstrom %34563 hˈɛdstrəm
74738 heidstra hˈɑɪdstrə
80062 hydstra hˈɑɪdstrə
91076 kladstrup %2769 klˈædstrəp
91077 kladstrup's klˈædstrəps