Searched defs:tv (Results 1 - 2 of 2) sorted by relevance
/libcore/ojluni/src/main/native/ |
H A D | UnixFileSystem_md.c | 408 struct timeval tv[2]; local 411 tv[0].tv_sec = sb.st_atime; 412 tv[0].tv_usec = 0; 415 tv[1].tv_sec = time / 1000; 416 tv[1].tv_usec = (time % 1000) * 1000; 418 if (utimes(path, tv) == 0)
|
/libcore/luni/src/main/native/ |
H A D | libcore_io_Linux.cpp | 517 static jobject makeStructTimeval(JNIEnv* env, const struct timeval& tv) { argument 523 static_cast<jlong>(tv.tv_sec), static_cast<jlong>(tv.tv_usec)); 1442 struct timeval tv; local 1443 socklen_t size = sizeof(tv); 1444 memset(&tv, 0, size); 1445 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &tv, &size)); 1450 return makeStructTimeval(env, tv);
|
Completed in 43 milliseconds