/third_party/python/Lib/test/ |
H A D | test_zipimport.py | 48 NOW = time.time() variable 49 test_pyc = make_pyc(test_co, NOW, len(test_src)) 170 files = {"zlib.py": (NOW, test_src)} 181 files = {TESTMOD + ".py": (NOW, test_src)} 185 files = {TESTMOD + pyc_ext: (NOW, test_pyc)} 189 files = {TESTMOD + ".py": (NOW, test_src), 190 TESTMOD + pyc_ext: (NOW, test_pyc)} 201 files = {TESTMOD + ".py": (NOW, "state = 'new'"), 202 TESTMOD + ".pyc": (NOW - 20, bytecode)} 216 files = {TESTMOD + ".py": (NOW, "stat [all...] |
/third_party/node/test/internet/ |
H A D | test-dgram-multicast-set-interface-lo.js | 43 const NOW = Date.now(); 44 const TMPL = (tail) => `${NOW} - ${tail}`; 117 NOW]); 225 console.error(TMPL(NOW, msg.tail));
|
/third_party/curl/tests/unit/ |
H A D | unit1303.c | 56 #define NOW(x,y) now.tv_sec = x; now.tv_usec = y macro 146 NOW(run[i].now_s, run[i].now_us);
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RelativeDateTimeFormatter.java | 72 * fmt.format(Direction.PLAIN, AbsoluteUnit.NOW); // "now" 245 NOW, enum constant 798 * unit this can occur with NOW which can only take PLAIN. 818 * unit this can occur with NOW which can only take PLAIN. 834 if (unit == AbsoluteUnit.NOW && direction != Direction.PLAIN) { in formatAbsoluteImpl() 835 throw new IllegalArgumentException("NOW can only accept direction PLAIN."); in formatAbsoluteImpl() 930 AbsoluteUnit absunit = AbsoluteUnit.NOW; in formatRelativeImpl() 948 // absunit = AbsoluteUnit.NOW was set above in formatRelativeImpl() 1325 EnumMap<Direction, String> unitStrings = absMap.get(AbsoluteUnit.NOW); in consumeTableRelative() 1328 absMap.put(AbsoluteUnit.NOW, unitString in consumeTableRelative() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | RelativeDateTimeFormatter.java | 73 * fmt.format(Direction.PLAIN, AbsoluteUnit.NOW); // "now" 219 NOW, enum constant 716 * unit this can occur with NOW which can only take PLAIN. 735 * unit this can occur with NOW which can only take PLAIN. 750 if (unit == AbsoluteUnit.NOW && direction != Direction.PLAIN) { in formatAbsoluteImpl() 751 throw new IllegalArgumentException("NOW can only accept direction PLAIN."); in formatAbsoluteImpl() 844 AbsoluteUnit absunit = AbsoluteUnit.NOW; in formatRelativeImpl() 862 // absunit = AbsoluteUnit.NOW was set above in formatRelativeImpl() 1235 EnumMap<Direction, String> unitStrings = absMap.get(AbsoluteUnit.NOW); in consumeTableRelative() 1238 absMap.put(AbsoluteUnit.NOW, unitString in consumeTableRelative() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | RelativeDateTimeFormatterTest.java | 427 {Direction.PLAIN, AbsoluteUnit.NOW, "now"}, in TestRelativeDateWithoutQuantity() 496 {Direction.PLAIN, AbsoluteUnit.NOW, "Now"}, in TestRelativeDateWithoutQuantityCaps() 574 {Direction.PLAIN, AbsoluteUnit.NOW, "now"}, in TestRelativeDateWithoutQuantityShort() 652 {Direction.PLAIN, AbsoluteUnit.NOW, "now"}, in TestRelativeDateWithoutQuantityNarrow() 907 fmt.format(Direction.LAST, AbsoluteUnit.NOW); in TestFormatWithoutQuantityIllegalArgument() 913 fmt.format(Direction.NEXT, AbsoluteUnit.NOW); in TestFormatWithoutQuantityIllegalArgument() 919 fmt.format(Direction.THIS, AbsoluteUnit.NOW); in TestFormatWithoutQuantityIllegalArgument()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | RelativeDateTimeFormatterTest.java | 424 {Direction.PLAIN, AbsoluteUnit.NOW, "now"}, in TestRelativeDateWithoutQuantity() 493 {Direction.PLAIN, AbsoluteUnit.NOW, "Now"}, in TestRelativeDateWithoutQuantityCaps() 571 {Direction.PLAIN, AbsoluteUnit.NOW, "now"}, in TestRelativeDateWithoutQuantityShort() 649 {Direction.PLAIN, AbsoluteUnit.NOW, "now"}, in TestRelativeDateWithoutQuantityNarrow() 904 fmt.format(Direction.LAST, AbsoluteUnit.NOW); in TestFormatWithoutQuantityIllegalArgument() 910 fmt.format(Direction.NEXT, AbsoluteUnit.NOW); in TestFormatWithoutQuantityIllegalArgument() 916 fmt.format(Direction.THIS, AbsoluteUnit.NOW); in TestFormatWithoutQuantityIllegalArgument()
|