/libcore/luni/src/test/java/libcore/java/sql/ |
TimestampTest.java | 20 import java.sql.Timestamp; 27 // Timestamp uses the current default timezone in toString() to convert to 32 Timestamp t1 = new Timestamp(Long.MIN_VALUE); 35 Timestamp t2 = new Timestamp(Long.MIN_VALUE + 1); 38 Timestamp t3 = new Timestamp(Long.MIN_VALUE + 807); 41 Timestamp t4 = new Timestamp(Long.MIN_VALUE + 808) 149 Timestamp timestamp = new Timestamp(0); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
TimestampTest.java | 25 import java.security.Timestamp; 34 * Tests for <code>Timestamp</code> class fields and methods 47 new Timestamp(null, cpath); 53 new Timestamp(now, null); 59 Timestamp timestamp = new Timestamp(now, cpath); local 60 assertEquals("not expected value", now, timestamp.getTimestamp()); 61 assertEquals("not expected cert path", cpath, timestamp.getSignerCertPath()); 68 Timestamp one = new Timestamp(now, cpath) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
TimestampTest.java | 34 * Tests for <code>Timestamp</code> class fields and methods 47 new Timestamp(null, cpath); 53 new Timestamp(now, null); 64 Timestamp one = new Timestamp(now, cpath); 65 Timestamp two = new Timestamp(now, cpath); 73 Timestamp two1 = new Timestamp(new Date(9999), cpath); 79 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath) [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TimestampTest.java | 20 import java.sql.Timestamp; 29 * JUnit Testcase for the java.sql.Timestamp class 34 static class MockTimestamp extends Timestamp { 137 Timestamp theTimestamp = new Timestamp(TIME_TEST1); 138 // The Timestamp should have been created 141 Timestamp mockTimestamp = new MockTimestamp(TIME_TEST1); 174 Timestamp theTimestamp = new Timestamp(element[0], element[1], 176 assertNotNull("Timestamp not generated: ", theTimestamp) [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/util/ |
time_util.h | 44 #include <google/protobuf/timestamp.pb.h> 51 typedef google::protobuf::Timestamp Timestamp; 55 // The min/max Timestamp/Duration values we support. 64 // Converts Timestamp to/from RFC 3339 date string format. 69 // Note that Timestamp can only represent time from 71 // a Timestamp outside of this range is undefined behavior. 79 static string ToString(const Timestamp& timestamp); 80 static bool FromString(const string& value, Timestamp* timestamp) [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
timestamp.pb.h | 2 // source: google/protobuf/timestamp.proto 40 class Timestamp; 44 class LIBPROTOBUF_EXPORT Timestamp : public ::google::protobuf::Message { 46 Timestamp(); 47 virtual ~Timestamp(); 49 Timestamp(const Timestamp& from); 51 inline Timestamp& operator=(const Timestamp& from) { 61 static const Timestamp& default_instance() [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
JavaBeanWithSqlTimestamp.java | 19 private java.sql.Timestamp timestamp; field in class:JavaBeanWithSqlTimestamp 22 public java.sql.Timestamp getTimestamp() { 23 return timestamp; 26 public void setTimestamp(java.sql.Timestamp timestamp) { 27 this.timestamp = timestamp;
|
JavaBeanTimeStampTest.java | 19 import java.sql.Timestamp; 28 Timestamp stamp = new Timestamp(1000000000000L); 48 Timestamp stamp = new Timestamp(1000000000000L);
|
JavaBeanWithNullValues.java | 18 import java.sql.Timestamp; 29 private Timestamp timestamp; field in class:JavaBeanWithNullValues 91 public Timestamp getTimestamp() { 92 return timestamp; 95 public void setTimestamp(Timestamp timestamp) { 96 this.timestamp = timestamp;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
CodeSignerTest.java | 25 import java.security.Timestamp; 44 Timestamp ts = new Timestamp(new Date(1146633204309L), cpath);
|
TimestampTest.java | 24 import java.security.Timestamp; 33 * Serialization tests for <code>Timestamp</code> 43 return new Object[] { new Timestamp(new Date(1146633251341L), cpath) };
|
/system/connectivity/shill/net/ |
shill_time.h | 31 // Timestamp encapsulates a |monotonic| and a |boottime| clock that can be used 37 struct SHILL_EXPORT Timestamp { 38 Timestamp() : monotonic{} {} 39 Timestamp(const struct timeval& in_monotonic, 74 virtual Timestamp GetNow();
|
event_history.h | 61 // this same timestamp to remove all entries that occurred more than 66 // Returns a vector of human-readable strings representing each timestamp in 77 Timestamp Front() { return events_.front(); } 85 void RecordEventInternal(Timestamp now); 87 void ExpireEventsBeforeInternal(int seconds_ago, Timestamp now, 92 std::deque<Timestamp> events_;
|
event_history.cc | 39 Timestamp now = time_->GetNow(); 46 for (deque<Timestamp>::const_iterator it = events_.begin(); 53 void EventHistory::RecordEventInternal(Timestamp now) { 61 void EventHistory::ExpireEventsBeforeInternal(int seconds_ago, Timestamp now, 90 Timestamp now = time_->GetNow();
|
mock_time.h | 37 MOCK_METHOD0(GetNow, Timestamp());
|
/libcore/ojluni/src/main/java/java/security/ |
Timestamp.java | 36 * This class encapsulates information about a signed timestamp. 38 * It includes the timestamp's date and time as well as information about the 39 * Timestamping Authority (TSA) which generated and signed the timestamp. 45 public final class Timestamp implements Serializable { 50 * The timestamp's date and time 54 private Date timestamp; field in class:Timestamp 64 * Hash code for this timestamp. 69 * Constructs a Timestamp. 71 * @param timestamp is the timestamp's date and time. It must not be null [all...] |
CodeSigner.java | 51 * The signature timestamp. 55 private Timestamp timestamp; field in class:CodeSigner 67 * @param timestamp A signature timestamp. 68 * If <code>null</code> then no timestamp was generated 73 public CodeSigner(CertPath signerCertPath, Timestamp timestamp) { 78 this.timestamp = timestamp; [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
CodeSigner_ImplTest.java | 25 import java.security.Timestamp; 41 private Timestamp ts = new Timestamp(now, cpath);
|
Timestamp_ImplTest.java | 24 import java.security.Timestamp; 34 * Tests for <code>Timestamp</code> class fields and methods 46 assertTrue(new Timestamp(now, cpath).hashCode() == (now.hashCode() ^ cpath
|
/external/llvm/tools/dsymutil/ |
BinaryHolder.h | 56 GetArchiveMemberBuffers(StringRef Filename, sys::TimeValue Timestamp); 64 MapArchiveAndGetMemberBuffers(StringRef Filename, sys::TimeValue Timestamp); 76 GetMemoryBuffersForFile(StringRef Filename, sys::TimeValue Timestamp); 93 sys::TimeValue Timestamp = sys::TimeValue::PosixZeroTime()); 99 sys::TimeValue Timestamp = sys::TimeValue::PosixZeroTime()) { 100 auto ErrOrObjFile = GetObjectFiles(Filename, Timestamp);
|
BinaryHolder.cpp | 55 sys::TimeValue Timestamp) { 60 if (auto ErrOrArchiveMembers = GetArchiveMemberBuffers(Filename, Timestamp)) 67 MapArchiveAndGetMemberBuffers(Filename, Timestamp)) 97 sys::TimeValue Timestamp) { 118 if (Timestamp != sys::TimeValue::PosixZeroTime() && 119 Timestamp != Child.getLastModified()) { 121 outs() << "\tmember had timestamp mismatch.\n"; 142 sys::TimeValue Timestamp) { 171 return GetArchiveMemberBuffers(Filename, Timestamp); 188 BinaryHolder::GetObjectFiles(StringRef Filename, sys::TimeValue Timestamp) { [all...] |
DebugMap.h | 96 sys::TimeValue Timestamp); 148 sys::TimeValue getTimestamp() const { return Timestamp; } 161 DebugMapObject(StringRef ObjectFilename, sys::TimeValue Timestamp); 164 sys::TimeValue Timestamp; 179 std::swap(Timestamp, RHS.Timestamp); 186 Timestamp = std::move(RHS.Timestamp);
|
/libcore/ojluni/src/main/java/java/sql/ |
Timestamp.java | 32 * the JDBC API to identify this as an SQL <code>TIMESTAMP</code> value. 34 * to hold the SQL <code>TIMESTAMP</code> fractional seconds value, by allowing 36 * A Timestamp also provides formatting and 37 * parsing operations to support the JDBC escape syntax for timestamp values. 39 * <p>The precision of a Timestamp object is calculated to be either: 43 * of characters in the yyyy-mm-dd hh:mm:ss.[fff...] and <code>s</code> represents the scale of the given Timestamp, 50 * separate. The <code>Timestamp.equals(Object)</code> method never returns 52 * that isn't an instance of <code>java.sql.Timestamp</code>, 54 * As a result, the <code>Timestamp.equals(Object)</code> 61 * Due to the differences between the <code>Timestamp</code> clas [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/sqlite3/ |
dbapi2.py | 39 Timestamp = datetime.datetime 48 return Timestamp(*time.localtime(ticks)[:6]) 82 register_converter("timestamp", convert_timestamp)
|
/prebuilts/gdb/linux-x86/lib/python2.7/sqlite3/ |
dbapi2.py | 39 Timestamp = datetime.datetime 48 return Timestamp(*time.localtime(ticks)[:6]) 82 register_converter("timestamp", convert_timestamp)
|