OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tm_ptr
(Results
1 - 7
of
7
) sorted by null
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mktime/
1-1.c
18
struct tm
tm_ptr
;
variable in typeref:struct:tm
24
tm_ptr
.tm_year = 2001 - 1900;
25
tm_ptr
.tm_mon = 7 - 1;
26
tm_ptr
.tm_mday = 4;
27
tm_ptr
.tm_hour = 0;
28
tm_ptr
.tm_min = 0;
29
tm_ptr
.tm_sec = 1;
30
tm_ptr
.tm_isdst = -1;
32
tps = mktime(&
tm_ptr
);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/
1-1.c
19
struct tm *
tm_ptr
;
local
24
tm_ptr
= gmtime(&the_time);
29
if ((
tm_ptr
->tm_sec >= 0) && (
tm_ptr
->tm_sec < 60)) {
30
printf("sec %02d\n",
tm_ptr
->tm_sec);
37
if ((
tm_ptr
->tm_min >= 0) && (
tm_ptr
->tm_min <= 59)) {
38
printf("min %02d\n",
tm_ptr
->tm_min);
45
if ((
tm_ptr
->tm_hour >= 0) && (
tm_ptr
->tm_hour <= 23))
[
all
...]
2-1.c
19
struct tm *
tm_ptr
;
local
23
tm_ptr
= NULL;
24
tm_ptr
= gmtime(&the_time);
26
if (
tm_ptr
!= NULL) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/
3-1.c
19
struct tm *
tm_ptr
;
local
25
tm_ptr
= localtime(&the_time);
26
result = strftime(buf, sizeof(buf), "%A %d %B, %I:%S %p",
tm_ptr
);
/external/googletest/googletest/src/
gtest.cc
[
all
...]
/external/libvpx/libvpx/third_party/googletest/src/src/
gtest.cc
[
all
...]
/external/v8/testing/gtest/src/
gtest.cc
[
all
...]
Completed in 284 milliseconds