HomeSort by relevance Sort by last modified time
    Searched refs:ts (Results 1 - 25 of 912) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/bionic/
bionic_time_conversions.cpp 31 bool timespec_from_timeval(timespec& ts, const timeval& tv) {
33 ts.tv_sec = tv.tv_sec;
39 ts.tv_nsec = tv.tv_usec * 1000;
43 void timespec_from_ms(timespec& ts, const int ms) {
44 ts.tv_sec = ms / 1000;
45 ts.tv_nsec = (ms % 1000) * 1000000;
48 void timeval_from_timespec(timeval& tv, const timespec& ts) {
49 tv.tv_sec = ts.tv_sec;
50 tv.tv_usec = ts.tv_nsec / 1000;
clock.cpp 37 timespec ts; local
38 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == -1) {
41 return (ts.tv_sec * CLOCKS_PER_SEC) + (ts.tv_nsec / (NS_PER_S / CLOCKS_PER_SEC));
utimes.cpp 36 timespec ts[2]; local
39 if (!timespec_from_timeval(ts[0], tv[0]) || !timespec_from_timeval(ts[1], tv[1])) {
43 ts_ptr = ts;
pthread_internals.cpp 71 // Initialize 'ts' with the difference between 'abstime' and the current time
73 int __timespec_from_absolute(timespec* ts, const timespec* abstime, clockid_t clock) {
74 clock_gettime(clock, ts);
75 ts->tv_sec = abstime->tv_sec - ts->tv_sec;
76 ts->tv_nsec = abstime->tv_nsec - ts->tv_nsec;
77 if (ts->tv_nsec < 0) {
78 ts->tv_sec--;
79 ts->tv_nsec += 1000000000
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
ptw32_timespec.c 51 ptw32_timespec_to_filetime (const struct timespec *ts, FILETIME * ft)
61 *(int64_t *) ft = ts->tv_sec * 10000000
62 + (ts->tv_nsec + 50) / 100 + PTW32_TIMESPEC_TO_FILETIME_OFFSET;
66 ptw32_filetime_to_timespec (const FILETIME * ft, struct timespec *ts)
76 ts->tv_sec =
78 ts->tv_nsec =
80 ((int64_t) ts->tv_sec * (int64_t) 10000000)) * 100);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_structmembers.py 11 ts=_test_structmembersType(False, 1, 2, 3, 4, 5, 6, 7, 8, variable
17 ts.T_BOOL = True
18 self.assertEqual(ts.T_BOOL, True)
19 ts.T_BOOL = False
20 self.assertEqual(ts.T_BOOL, False)
21 self.assertRaises(TypeError, setattr, ts, 'T_BOOL', 1)
24 ts.T_BYTE = CHAR_MAX
25 self.assertEqual(ts.T_BYTE, CHAR_MAX)
26 ts.T_BYTE = CHAR_MIN
27 self.assertEqual(ts.T_BYTE, CHAR_MIN
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_structmembers.py 11 ts=_test_structmembersType(False, 1, 2, 3, 4, 5, 6, 7, 8, variable
17 ts.T_BOOL = True
18 self.assertEqual(ts.T_BOOL, True)
19 ts.T_BOOL = False
20 self.assertEqual(ts.T_BOOL, False)
21 self.assertRaises(TypeError, setattr, ts, 'T_BOOL', 1)
24 ts.T_BYTE = CHAR_MAX
25 self.assertEqual(ts.T_BYTE, CHAR_MAX)
26 ts.T_BYTE = CHAR_MIN
27 self.assertEqual(ts.T_BYTE, CHAR_MIN
    [all...]
  /external/clang/test/SemaCXX/
PR9459.cpp 6 template<typename>struct ts{}ap() // expected-error {{expected ';' after struct}} expected-error {{requires a type specifier}} struct
7 {ts<a>::ap<ae_same<int>::&ae_same<>>::p(a); }; // expected-error {{use of undeclared identifier 'a'}}
  /external/antlr/antlr-3.4/runtime/Ruby/test/unit/
test-scheme.rb 11 @ts = TokenScheme.new do
20 @a_class.send(:include, @ts)
26 @ts::A.should == 4
27 @ts::B.should == 5
28 @ts::T__6.should == 6
29 @ts::EOF.should == -1
33 @ts::TOKEN_NAMES.should == {
38 @ts.token_name(5).should == 'B'
39 @ts.token_name(6).should == "'+'"
40 @ts.token_name(-1).should == '<EOF>
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/transformer/
TransformerClient.java 40 * @param ts A reference to a TransformState object
42 void setTransformState(TransformState ts);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGRenderTreeAsText.cpp 93 TextStream& operator<<(TextStream& ts, TextStreamSeparator& sep)
96 ts << sep.m_separator;
99 return ts;
103 static void writeNameValuePair(TextStream& ts, const char* name, ValueType value)
105 ts << " [" << name << "=" << value << "]";
109 static void writeNameAndQuotedValue(TextStream& ts, const char* name, ValueType value)
111 ts << " [" << name << "=\"" << value << "\"]";
114 static void writeIfNotEmpty(TextStream& ts, const char* name, const String& value)
117 writeNameValuePair(ts, name, value);
121 static void writeIfNotDefault(TextStream& ts, const char* name, ValueType value, ValueType defaultValue
    [all...]