/toolchain/binutils/binutils-2.27/include/som/ |
clock.h | 26 unsigned char secs[4]; member in struct:som_external_clock
|
/external/syslinux/gpxe/src/core/ |
timer.c | 36 * @v secs Number of seconds for which to delay 38 unsigned int sleep ( unsigned int secs ) { 39 while ( secs-- )
|
/external/libcups/cups/ |
testgetdests.c | 34 double secs; /* Total seconds to run cupsGetDests */ local 42 secs = end.tv_sec - start.tv_sec + 0.000001 * (end.tv_usec - start.tv_usec); 44 printf("Found %d printers in %.3f seconds...\n", num_dests, secs);
|
/system/core/libutils/include/utils/ |
Timers.h | 38 static CONSTEXPR inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) 40 return secs*1000000000; 43 static CONSTEXPR inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) 45 return secs*1000000; 48 static CONSTEXPR inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) 50 return secs*1000; 53 static CONSTEXPR inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) 55 return secs/1000000000; 58 static CONSTEXPR inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) 60 return secs/1000000 [all...] |
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
FileTime.java | 146 long secs = unit.convert(instant.getEpochSecond(), TimeUnit.SECONDS); local 147 if (secs == Long.MIN_VALUE || secs == Long.MAX_VALUE) { 148 return secs; 151 long r = secs + nanos; 153 if (((secs ^ r) & (nanos ^ r)) < 0) { 154 return (secs < 0) ? Long.MIN_VALUE : Long.MAX_VALUE; 173 long secs = instant.getEpochSecond(); local 176 long r = secs * 1000; 177 long ax = Math.abs(secs); 232 long secs = 0L; local 343 long secs = toInstant().getEpochSecond(); local 413 long secs = 0L; local [all...] |
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_power.h | 55 * \param secs Seconds of battery life left. You can pass a NULL here if 65 extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct);
|
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_power.h | 55 * \param secs Seconds of battery life left. You can pass a NULL here if 65 extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct);
|
/prebuilts/misc/windows/sdl2/include/ |
SDL_power.h | 55 * \param secs Seconds of battery life left. You can pass a NULL here if 65 extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct);
|
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_power.h | 55 * \param secs Seconds of battery life left. You can pass a NULL here if 65 extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct);
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
alarm.c | 35 alarm(unsigned int secs) 41 itp->it_value.tv_sec = secs;
|
/external/ltp/testcases/lib/ |
tst_sleep.c | 45 long interval, secs = 0, usecs = 0; local 87 secs = interval; 90 secs = interval / 1000; 95 secs = interval / 1000000; 99 if (secs) 100 sleep(secs);
|
/tools/loganalysis/src/com/android/loganalysis/util/ |
NumberFormattingUtil.java | 31 * Convert days/hours/mins/secs/msecs into milliseconds. 33 public static long getMs(long days, long hours, long mins, long secs, long msecs) { 34 return (((24 * days + hours) * 60 + mins) * 60 + secs) * 1000 + msecs; 38 * Convert hours/mins/secs/msecs into milliseconds. 40 public static long getMs(long hours, long mins, long secs, long msecs) { 41 return getMs(0, hours, mins, secs, msecs); 75 * Converts milliseconds to days/hours/mins/secs 78 * @return the duration in days/hours/mins/secs 88 final long secs = TimeUnit.MILLISECONDS.toSeconds(ms - TimeUnit.DAYS.toMillis(days) local 91 return String.format("%dd %dh %dm %ds", days, hrs, mins, secs); [all...] |
/external/syslinux/gpxe/src/hci/commands/ |
time_cmd.c | 32 int rc, secs; local 48 secs = (currticks() - start) / ticks_per_sec(); 50 printf ( "%s: %ds\n", argv[0], secs );
|
/external/ltp/utils/ffsb-6.0-rc2/ |
fileops.h | 42 void ffsb_read_print_exl(struct ffsb_op_results *, double secs, unsigned op_num); 43 void ffsb_write_print_exl(struct ffsb_op_results *, double secs, unsigned op_num); 44 void ffsb_create_print_exl(struct ffsb_op_results *, double secs, unsigned op_num); 45 void ffsb_append_print_exl(struct ffsb_op_results *, double secs, unsigned op_num);
|
/external/skia/samplecode/ |
SampleAnimBlur.cpp | 15 SkScalar get_anim_sin(double secs, SkScalar amplitude, SkScalar periodInSec, SkScalar phaseInSec) { 19 double t = secs + phaseInSec; 61 fBlurSigma = get_anim_sin(timer.secs(), 100, 4, 5); 62 fCircleRadius = 3 + get_anim_sin(timer.secs(), 150, 25, 3);
|
/external/skqp/samplecode/ |
SampleAnimBlur.cpp | 15 SkScalar get_anim_sin(double secs, SkScalar amplitude, SkScalar periodInSec, SkScalar phaseInSec) { 19 double t = secs + phaseInSec; 61 fBlurSigma = get_anim_sin(timer.secs(), 100, 4, 5); 62 fCircleRadius = 3 + get_anim_sin(timer.secs(), 150, 25, 3);
|
/external/libcups/filter/ |
rasterbench.c | 44 static double compute_median(double *secs); 127 compute_median(double *secs) /* I - Array of time samples */ 139 if (secs[i] > secs[j]) 141 temp = secs[i]; 142 secs[i] = secs[j]; 143 secs[j] = temp; 150 return (0.5 * (secs[TEST_PASSES / 2 - 1] + secs[TEST_PASSES / 2])) [all...] |
/prebuilts/go/darwin-x86/src/net/ |
tcpsockopt_darwin.go | 18 secs := int(d.Seconds()) 19 switch err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, sysTCP_KEEPINTVL, secs); err { 24 err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPALIVE, secs)
|
tcpsockopt_unix.go | 18 secs := int(d.Seconds()) 19 if err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, secs); err != nil { 22 err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, secs)
|
/prebuilts/go/linux-x86/src/net/ |
tcpsockopt_darwin.go | 18 secs := int(d.Seconds()) 19 switch err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, sysTCP_KEEPINTVL, secs); err { 24 err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPALIVE, secs)
|
tcpsockopt_unix.go | 18 secs := int(d.Seconds()) 19 if err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, secs); err != nil { 22 err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, secs)
|
/frameworks/base/services/net/java/android/net/dhcp/ |
DhcpDeclinePacket.java | 29 DhcpDeclinePacket(int transId, short secs, Inet4Address clientIp, Inet4Address yourIp, 32 super(transId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, false);
|
DhcpDiscoverPacket.java | 29 DhcpDiscoverPacket(int transId, short secs, byte[] clientMac, boolean broadcast) { 30 super(transId, secs, INADDR_ANY, INADDR_ANY, INADDR_ANY, INADDR_ANY, clientMac, broadcast);
|
DhcpInformPacket.java | 29 DhcpInformPacket(int transId, short secs, Inet4Address clientIp, Inet4Address yourIp, 32 super(transId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, false);
|
/system/bt/embdrv/sbc/decoder/include/ |
oi_bt_spec.h | 203 #define OI_SECONDS_TO_BT_TICKS(secs) ((secs)*1600)
|