Home
last modified time | relevance | path

Searched refs:tv (Results 1 - 14 of 14) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/platform/unix/
H A Dtime.cpp30 time_t tv = timeMs; in GetLocalOffsetFromOS() local
34 struct tm *t = localtime_r(&tv, &tm); in GetLocalOffsetFromOS()
46 time_t tv = timeMs; in IsDst() local
50 t = localtime_r(&tv, &tm); in IsDst()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dincremental_marker.cpp122 struct timeval tv; in GetCurrentTimeInMs() local
123 gettimeofday(&tv, nullptr); in GetCurrentTimeInMs()
124 return static_cast<double>(tv.tv_sec) * MS_PER_SECOND + (tv.tv_usec / MS_PER_SECOND); in GetCurrentTimeInMs()
/arkcompiler/ets_runtime/ecmascript/platform/windows/
H A Dtime.cpp38 time_t tv = timeMs; in IsDst() local
40 localtime_s(&nowtm, &tv); in IsDst()
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/shaders/
H A Dshader_fast.js34 vec4 tv=vec4(position.x, position.y, position.z, 1.0)*tmpMat*uMat;
35 gl_Position = tv;
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
H A Dheap_snapshot.h272 struct timeval tv = {0, 0}; in Now() local
273 gettimeofday(&tv, nullptr); in Now()
275 return tv.tv_usec + tv.tv_sec * THOUSAND * THOUSAND; in Now()
/arkcompiler/ets_runtime/ecmascript/
H A Dtagged_hash_table.h323 JSTaggedValue tv = Get(fromIndex); in Rehash() local
324 newTable->Set(thread, insertionIndex, tv); in Rehash()
326 tv = Get(fromIndex + j); in Rehash()
327 newTable->Set(thread, insertionIndex + j, tv); in Rehash()
H A Djs_date.cpp521 struct timeval tv {
523 gettimeofday(&tv, nullptr);
524 ans = static_cast<int64_t>(tv.tv_sec) * MS_PER_SECOND + (tv.tv_usec / MS_PER_SECOND);
H A Djs_hclass.cpp110 JSTaggedValue tv = Get(fromIndex); in Rehash() local
111 newTable->Set(thread, insertionIndex, tv); in Rehash()
113 tv = Get(fromIndex + j); in Rehash()
114 newTable->Set(thread, insertionIndex + j, tv); in Rehash()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dobject_accessor-inl.h447 coretypes::TaggedValue tv(value); in SetDynValue()
448 if (tv.IsHeapObject() && tv.GetRawHeapObject() != nullptr) { in SetDynValue()
451 GetBarrierSet(thread)->PostBarrier(obj, offset, tv.GetRawHeapObject()); in SetDynValue()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_date.cpp154 // 2. Let tv be ToPrimitive(hint Number) in ToJSON()
156 JSHandle<JSTaggedValue> tv(thread, in ToJSON()
159 // 3. If Type(tv) is Number and tv is not finite, return null in ToJSON()
160 if (tv->IsNumber()) { in ToJSON()
161 if (tv->IsDouble() && !std::isfinite(tv->GetDouble())) { in ToJSON()
/arkcompiler/ets_runtime/ecmascript/base/
H A Dnumber_helper.cpp1320 struct timeval tv;
1321 gettimeofday(&tv, NULL);
1322 randomState_ = static_cast<uint64_t>((tv.tv_sec * SECONDS_TO_SUBTLE) + tv.tv_usec);
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/
H A Dencode.cpp2511 ScopedTmpReg tv(this, src.GetType()); in EncodeRoundAway()
2525 GetMasm()->movq(ArchVReg(tv), ArchReg(ti)); in EncodeRoundAway()
2526 GetMasm()->andpd(ArchVReg(dest), ArchVReg(tv)); in EncodeRoundAway()
2530 GetMasm()->movq(ArchVReg(tv), ArchReg(ti)); in EncodeRoundAway()
2531 GetMasm()->orpd(ArchVReg(dest), ArchVReg(tv)); in EncodeRoundAway()
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs.cpp3294 struct timeval tv { in CallDateNow() struct
3296 gettimeofday(&tv, nullptr); in CallDateNow()
3297 ans = static_cast<int64_t>(tv.tv_sec) * MS_PER_SECOND + (tv.tv_usec / MS_PER_SECOND); in CallDateNow()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js[all...]

Completed in 55 milliseconds