/external/syslinux/com32/lua/src/ |
H A D | lvm.c | 136 const TValue *tm; local 141 (tm = fasttm(L, h->metatable, TM_INDEX)) == NULL) { /* or no TM? */ 147 else if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_INDEX))) 149 if (ttisfunction(tm)) { 150 callTM(L, tm, t, key, val, 1); 153 t = tm; /* else repeat with 'tm' */ 162 const TValue *tm; local 170 ((tm = fasttm(L, h->metatable, TM_NEWINDEX)) == NULL && 185 if (ttisnil(tm 200 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ local 284 const TValue *tm; local 359 const TValue *tm; local [all...] |
/external/tcpdump/ |
H A D | util.c | 196 struct tm *tm; local 246 tm = gmtime (&Time); 247 if (!tm) 251 tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday,
|
/external/toybox/toys/pending/ |
H A D | crond.c | 586 time_t tm = ptime-ptime%60; local 588 for (; tm <= ctime; tm += 60) { 589 struct tm *lt; 593 if (tm <= ptime) continue; 594 lt = localtime(&tm);
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | os_internal.c | 60 struct tm tm; local 67 os_memset(&tm, 0, sizeof(tm)); 68 tm.tm_year = year - 1900; 69 tm.tm_mon = month - 1; 70 tm.tm_mday = day; 71 tm.tm_hour = hour; 72 tm.tm_min = min; 73 tm 80 os_gmtime(os_time_t t, struct os_tm *tm) argument [all...] |
H A D | os_unix.c | 131 struct tm tm, *tm1; local 140 memset(&tm, 0, sizeof(tm)); 141 tm.tm_year = year - 1900; 142 tm.tm_mon = month - 1; 143 tm.tm_mday = day; 144 tm.tm_hour = hour; 145 tm.tm_min = min; 146 tm 168 os_gmtime(os_time_t t, struct os_tm *tm) argument [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | os_internal.c | 60 struct tm tm; local 67 os_memset(&tm, 0, sizeof(tm)); 68 tm.tm_year = year - 1900; 69 tm.tm_mon = month - 1; 70 tm.tm_mday = day; 71 tm.tm_hour = hour; 72 tm.tm_min = min; 73 tm 80 os_gmtime(os_time_t t, struct os_tm *tm) argument [all...] |
H A D | os_unix.c | 131 struct tm tm, *tm1; local 140 memset(&tm, 0, sizeof(tm)); 141 tm.tm_year = year - 1900; 142 tm.tm_mon = month - 1; 143 tm.tm_mday = day; 144 tm.tm_hour = hour; 145 tm.tm_min = min; 146 tm 168 os_gmtime(os_time_t t, struct os_tm *tm) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | os_internal.c | 60 struct tm tm; local 67 os_memset(&tm, 0, sizeof(tm)); 68 tm.tm_year = year - 1900; 69 tm.tm_mon = month - 1; 70 tm.tm_mday = day; 71 tm.tm_hour = hour; 72 tm.tm_min = min; 73 tm 80 os_gmtime(os_time_t t, struct os_tm *tm) argument [all...] |
H A D | os_unix.c | 131 struct tm tm, *tm1; local 140 memset(&tm, 0, sizeof(tm)); 141 tm.tm_year = year - 1900; 142 tm.tm_mon = month - 1; 143 tm.tm_mday = day; 144 tm.tm_hour = hour; 145 tm.tm_min = min; 146 tm 168 os_gmtime(os_time_t t, struct os_tm *tm) argument [all...] |
/external/curl/lib/vtls/ |
H A D | gtls.c | 208 struct tm buffer; 209 const struct tm *tm = &buffer; local 218 Curl_wkday[tm->tm_wday?tm->tm_wday-1:6], 219 tm->tm_mday, 220 Curl_month[tm->tm_mon], 221 tm->tm_year + 1900, 222 tm->tm_hour, 223 tm [all...] |
/external/dhcpcd-6.8.2/ |
H A D | if-options.c | 1899 struct tm tm; local 1901 memset(&tm, 0, sizeof(tm)); 1902 if (strptime(arg, "%Y-%m-%d %H:%M", &tm) == NULL) { 1908 if ((token->expire = mktime(&tm)) == (time_t)-1) {
|
/external/icu/icu4c/source/tools/tzcode/ |
H A D | zdump.c | 24 #include "time.h" /* for struct tm */ 230 static char * abbr(struct tm * tmp); 232 static intmax_t delta(struct tm * newp, struct tm * oldp) ATTRIBUTE_PURE; 233 static void dumptime(const struct tm * tmp); 254 static struct tm * 257 register struct tm * tmp; 261 struct tm tm; local 264 tm 348 struct tm tm; local 738 struct tm tm; local 933 struct tm tm; local [all...] |
/external/iproute2/lib/ |
H A D | utils.c | 907 struct tm *tm; local 910 tm = localtime(&tv.tv_sec); 915 strftime(tshort, sizeof(tshort), "%Y-%m-%dT%H:%M:%S", tm); 918 char *tstr = asctime(tm);
|
/external/ipsec-tools/src/racoon/ |
H A D | racoonctl.c | 1098 struct tm *tm; local 1194 tm = localtime(&pd->created); 1195 strftime(tbuf, sizeof(tbuf), "%Y-%m-%d %T", tm); 1313 struct tm *tm; local 1324 tm = localtime(&sc->created); 1325 strftime(tbuf, sizeof(tbuf), "%Y-%m-%d %T", tm);
|
/external/libcups/cups/ |
H A D | tls-sspi.c | 301 struct tm tm; /* UNIX date/time */ local 305 tm.tm_year = systime.wYear - 1900; 306 tm.tm_mon = systime.wMonth - 1; 307 tm.tm_mday = systime.wDay; 308 tm.tm_hour = systime.wHour; 309 tm.tm_min = systime.wMinute; 310 tm.tm_sec = systime.wSecond; 312 expiration_date = mktime(&tm); 352 struct tm t local [all...] |
/external/libcxx/src/experimental/filesystem/ |
H A D | operations.cpp | 554 bool is_representable(TimeSpec const& tm) { argument 555 if (tm.tv_sec >= 0) { 556 return (tm.tv_sec < max_seconds) || 557 (tm.tv_sec == max_seconds && tm.tv_nsec <= max_nsec); 558 } else if (tm.tv_sec == (min_seconds - 1)) { 559 return tm.tv_nsec >= min_nsec_timespec; 561 return (tm.tv_sec >= min_seconds); 583 bool is_representable(file_time_type const& tm) { argument 584 auto secs = duration_cast<seconds>(tm 608 convert_timespec(TimeSpec const& tm) argument [all...] |
/external/llvm/lib/CodeGen/ |
H A D | TargetLoweringBase.cpp | 798 TargetLoweringBase::TargetLoweringBase(const TargetMachine &tm) : TM(tm) { argument
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelDAGToDAG.cpp | 53 NVPTXDAGToDAGISel::NVPTXDAGToDAGISel(NVPTXTargetMachine &tm, argument 55 : SelectionDAGISel(tm, OptLevel), TM(tm) {
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCAsmPrinter.cpp | 1416 createPPCAsmPrinterPass(TargetMachine &tm, argument 1418 if (tm.getTargetTriple().isMacOSX()) 1419 return new PPCDarwinAsmPrinter(tm, std::move(Streamer)); 1420 return new PPCLinuxAsmPrinter(tm, std::move(Streamer));
|
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 44 AMDGPUPeepholeOpt(TargetMachine &tm); 156 createAMDGPUPeepholeOpt(TargetMachine &tm) argument 158 return new AMDGPUPeepholeOpt(tm); 162 AMDGPUPeepholeOpt::AMDGPUPeepholeOpt(TargetMachine &tm) argument 163 : FunctionPass(ID), TM(tm)
|
/external/openssh/ |
H A D | krl.c | 793 struct tm *tm; local 796 tm = localtime(&t); 797 if (tm == NULL) 801 strftime(ts, nts, "%Y%m%dT%H%M%S", tm);
|
/external/skia/gm/ |
H A D | gradients.cpp | 58 SkShader::TileMode tm, const SkMatrix& localMatrix) { 59 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm, 0, 64 SkShader::TileMode tm, const SkMatrix& localMatrix) { 66 return SkGradientShader::MakeLinear(pts, data.fColors4f, srgb, data.fPos, data.fCount, tm, 0, 71 SkShader::TileMode tm, const SkMatrix& localMatrix) { 76 tm, 0, &localMatrix); 80 SkShader::TileMode tm, const SkMatrix& localMatrix) { 86 data.fCount, tm, 0, &localMatrix); 109 SkShader::TileMode tm, const SkMatrix& localMatrix) { 117 data.fColors, data.fPos, data.fCount, tm, 57 MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 63 MakeLinear4f(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 70 MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 79 MakeRadial4f(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 108 Make2Radial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 121 Make2Radial4f(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 135 Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 147 Make2Conical4f(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 191 SkShader::TileMode tm = SkShader::kClamp_TileMode; local 247 SkShader::TileMode tm = SkShader::kClamp_TileMode; local 305 SkShader::TileMode tm = SkShader::kClamp_TileMode; local [all...] |
/external/skia/samplecode/ |
H A D | SampleSlides.cpp | 179 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { argument 180 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); 183 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { argument 188 data.fPos, data.fCount, tm); 191 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { argument 198 static sk_sp<SkShader> Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { argument 206 data.fColors, data.fPos, data.fCount, tm); 219 SkShader::TileMode tm = SkShader::kClamp_TileMode; local 229 paint.setShader(gGradMakers[j](pts, gGradData[i], tm));
|
/external/skia/src/gpu/ |
H A D | GrPathUtils.cpp | 670 const SkScalar tm = 3 * d[1] - root; local 684 klmCoeffs[col + 6] = 3 * sm * sm * tm; 688 klmCoeffs[col + 0] = -tl * sm - tm * sl; 690 klmCoeffs[col + 6] = -3 * sm * tm * tm; 695 klmCoeffs[2] = tl * tm; 697 klmCoeffs[8] = tm * tm * tm;
|
/external/skia/third_party/lua/src/ |
H A D | lgc.c | 804 const TValue *tm; local 807 tm = luaT_gettmbyobj(L, &v, TM_GC); 808 if (tm != NULL && ttisfunction(tm)) { /* is there a finalizer? */ 814 setobj2s(L, L->top, tm); /* push finalizer... */
|