Home
last modified time | relevance | path

Searched defs:state (Results 1 - 23 of 23) sorted by relevance

/commonlibrary/memory_utils/libpurgeablemem/common/src/
H A Dpm_state_c.c45 const char *GetPMStateName(PMState state) in GetPMStateName() argument
/commonlibrary/c_utils/base/test/benchmarktest/
H A Dbenchmark_assert.h22 void AssertEqual(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertEqual() argument
30 void AssertUnequal(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertUnequal() argument
38 void AssertFalse(const T &t, const char* printInfo, benchmark::State& state) in AssertFalse() argument
46 void AssertTrue(const T &t, const char* printInfo, benchmark::State& state) in AssertTrue() argument
54 void AssertLessThan(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertLessThan() argument
62 AssertLessThanOrEqual(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) AssertLessThanOrEqual() argument
70 AssertGreaterThan(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) AssertGreaterThan() argument
78 AssertGreaterThanOrEqual(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) AssertGreaterThanOrEqual() argument
85 AssertStringEqual(const char* str1, const char* str2, const char* printInfo, benchmark::State& state) AssertStringEqual() argument
[all...]
/commonlibrary/rust/ylong_http/ylong_http/src/huffman/
H A Dmod.rs70 let mut state = 0u64; variables
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/ashemem_benchmark_test/
H A Dashemem_benchmark_test.cpp115 "memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)) did not equal 0 as expected.", state); BENCHMARK_F() local
122 "memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)) did not equal 0 as expected.", state); BENCHMARK_F() local
161 "memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)) did not equal 0 as expected.", state); BENCHMARK_F() local
203 "memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)) did not equal 0 as expected.", state); BENCHMARK_F() local
240 "memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)) did not equal 0 as expected.", state); BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/observer_benchmark_test/
H A Dobserver_benchmark_test.cpp122 AddObservers(BookList& bookList, shared_ptr<BookObserver>& bookObserver1, shared_ptr<BookObserver>& bookObserver2, shared_ptr<BookObserver>& bookObserver3, benchmark::State& state) AddObservers() argument
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/unique_fd_benchmark_test/
H A Dunique_fd_benchmark_test.cpp58 AssertEqual(remove(TEST_FILE_NAME), 0, "remove(TEST_FILE_NAME) did not equal 0 as expected.", state); variable
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/file_benchmark_test/
H A Dfile_benchmark_test.cpp79 void LoadString(string& filename, string& content, benchmark::State& state) in LoadString() argument
93 void SaveString(string& filename, string& content, benchmark::State& state) in SaveString() argument
405 state); BENCHMARK_F() local
431 state); BENCHMARK_F() local
893 "CountStrInFile(filename, str, true) did not equal -1 as expected.", state); BENCHMARK_F() local
912 "CountStrInFile(filename, str, true) did not equal -1 as expected.", state); BENCHMARK_F() local
932 "CountStrInFile(filename, str1, true) did not equal 0 as expected.", state); BENCHMARK_F() local
934 "CountStrInFile(filename, str2, true) did not equal 1 as expected.", state); BENCHMARK_F() local
955 "CountStrInFile(filename, str1, true) did not equal 2 as expected.", state); BENCHMARK_F() local
957 "CountStrInFile(filename, str1, false) did not equal 4 as expected.", state); BENCHMARK_F() local
960 "CountStrInFile(filename, str2, true) did not equal 1 as expected.", state); BENCHMARK_F() local
962 "CountStrInFile(filename, str2, false) did not equal 4 as expected.", state); BENCHMARK_F() local
965 "CountStrInFile(filename, str3, true) did not equal 0 as expected.", state); BENCHMARK_F() local
984 "CountStrInFile(filename, str1, true) did not equal 2 as expected.", state); BENCHMARK_F() local
986 "CountStrInFile(filename, str1, false) did not equal 3 as expected.", state); BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/datatime_benchmark_test/
H A Ddatatime_benchmark_test.cpp64 "SecToNanosec(second) did not equal nanosecondsInASecond as expected.", state); in BENCHMARK_F() local
68 "MillisecToNanosec(millsec) did not equal nanosecondsInAMillisecond as expected.", state); in BENCHMARK_F() local
72 "MicrosecToNanosec(microsec) did not equal nanosecondsInAMicrosecond as expected.", state); in BENCHMARK_F() local
79 "NanosecToSec(nanoces) did not equal secondsInANanosecond as expected.", state); in BENCHMARK_F() local
81 "NanosecToMillisec(nanoces) did not equal millisecondsInANanosecond as expected.", state); in BENCHMARK_F() local
83 "NanosecToMicrosec(nanoces) did not equal microsecondsInANanosecond as expected.", state); in BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/
H A Dmapped_benchmark_test.cpp127 void CreateFile(std::string& filename, std::string& content, benchmark::State& state) in CreateFile() argument
136 void ReadFromMappedFile(std::string& content, MappedFile& mf, benchmark::State& state) in ReadFromMappedFile() argument
257 "The two strings, res.c_str() and toWrite.c_str(), did not have the same content as expected.", state); BENCHMARK_F() local
449 ChangeParamsWhenUnmapped(MappedFile& mf, const int sizeIncrement, std::string& filename, std::string& filename1, benchmark::State& state) ChangeParamsWhenUnmapped() argument
716 did not have the same content as expected.", state); BENCHMARK_F() local
765 KeepAPageAndReachBottom(off_t& endOff, const off_t orig, MappedFile& mf, benchmark::State& state) KeepAPageAndReachBottom() argument
793 Remapping(MappedFile& mf, off_t& endOff, off_t& curSize, benchmark::State& state) Remapping() argument
804 "static_cast<off_t>(mf.RegionEnd() - mf.RegionStart()) + 1LL did not equal mf.PageSize().", state); Remapping() local
823 "stat(filename.c_str(), &stb) did not equal 0 as expected.", state); BENCHMARK_F() local
830 "ftruncate(fd, MappedFile::PageSize() + MappedFile::PageSize() / 100LL) did not equal 0.", state); BENCHMARK_F() local
849 "The two strings, res.c_str() and content.append(\\"N\\").c_str(), did not have the same content.", state); BENCHMARK_F() local
904 "ftruncate(mf.GetFd(), MappedFile::PageSize() + MappedFile::PageSize() / 100LL) did not equal 0.", state); BENCHMARK_F() local
910 "static_cast<off_t>(mf.StartOffset()) did not equal curOff + mf.PageSize() as expected.", state); BENCHMARK_F() local
943 "ftruncate(mf.GetFd(), MappedFile::PageSize() + MappedFile::PageSize() / 100LL) did not equal 0.", state); BENCHMARK_F() local
957 "The two strings, res.c_str() and content.append(\\"N\\").c_str(), did not have the same content.", state); BENCHMARK_F() local
1009 "stat(filename.c_str(), &stb) did not equal 0 as expected.", state); BENCHMARK_F() local
1017 "ftruncate(fd, MappedFile::PageSize() + newSize) did not equal 0 as expected.", state); BENCHMARK_F() local
1045 "static_cast<off_t>(mf.RegionEnd() - mf.RegionStart()) + 1LL did not equal mf.PageSize().", state); BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/safe_block_queue_tracking_benchmark_test/
H A Dsafe_block_queue_tracking_benchmark_test.cpp196 "static_cast<unsigned>(1) did not equal qi.Size() as expected.", state); in BENCHMARK_F() local
219 "static_cast<unsigned>(numberOfPushes) did not equal qi.Size() as expected.", state); in BENCHMARK_F() local
430 QueuePushFullEquivalent(const int Equivalent, benchmark::State& state) QueuePushFullEquivalent() argument
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/safe_block_queue_benchmark_test/
H A Dsafe_block_queue_benchmark_test.cpp140 static void QueuePushFullEquivalent(const int Equivalent, benchmark::State& state) in QueuePushFullEquivalent() argument
169 "static_cast<unsigned>(expectedQueueSize) did not equal qi.Size() as expected.", state); in BENCHMARK_F() local
190 "static_cast<unsigned>(expectedQueueSize) did not equal qi.Size() as expected.", state); in BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/sorted_vector_benchmark_test/
H A Dsorted_vector_benchmark_test.cpp131 "static_cast<size_t>(EXPECTED_SIZE_AFTER_DUPLICATES) did not equal svec.Size() as expected.", state); BENCHMARK_F() local
135 "static_cast<size_t>(VECTOR_SIZE_TWENTY) did not equal newSvec.Size() as expected.", state); BENCHMARK_F() local
162 "static_cast<size_t>(VECTOR_SIZE_TWENTY) did not equal svec.Size() as expected.", state); BENCHMARK_F() local
166 "static_cast<size_t>(VECTOR_SIZE_TWENTY) did not equal newSvecTrue.Size() as expected.", state); BENCHMARK_F() local
173 "static_cast<size_t>(VECTOR_SIZE_TWENTY) did not equal newSvecFalse.Size() as expected.", state); BENCHMARK_F() local
214 "static_cast<size_t>(EXPECTED_SIZE_AFTER_DUPLICATES) did not equal svec.Size() as expected.", state); BENCHMARK_F() local
218 "static_cast<size_t>(VECTOR_SIZE_TWENTY) did not equal newSvec.Size() as expected.", state); BENCHMARK_F() local
245 "static_cast<size_t>(VECTOR_SIZE_TWENTY) did not equal svec.Size() as expected.", state); BENCHMARK_F() local
250 "static_cast<size_t>(VECTOR_SIZE_TWENTY) did not equal newSvecFalse.Size() as expected.", state); BENCHMARK_F() local
252 "static_cast<size_t>(VECTOR_SIZE_TWENTY) did not equal newSvecTrue.Size() as expected.", state); BENCHMARK_F() local
282 "static_cast<size_t>(VECTOR_SIZE_TEN) did not equal svec.Size() as expected.", state); BENCHMARK_F() local
592 "static_cast<size_t>(consFromVectorVectorSize) did not equal vec.size() as expected.", state); BENCHMARK_F() local
596 "static_cast<size_t>(consFromVectorSortedVectorSize) did not equal svec.Size() as expected.", state); BENCHMARK_F() local
686 "Expected size after merge did not equal svec.Size().", state); BENCHMARK_F() local
730 "static_cast<size_t>(addNotAllowedSvectorSize) did not equal svec.Size() as expected.", state); BENCHMARK_F() local
737 "static_cast<size_t>(addNotAllowedSvectorSize) did not equal svec.Size() as expected.", state); BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/thread_benchmark_test/
H A Dthread_benchmark_test.cpp219 ThreadTestProcedure(std::unique_ptr<TestThread>& test, const int expectedDataValue, benchmark::State& state) ThreadTestProcedure() argument
402 ThreadTestStart(std::unique_ptr<T>& test, benchmark::State& state) ThreadTestStart() argument
[all...]
/commonlibrary/c_utils/base/test/fuzztest/refbase_fuzzer/
H A Drefbase_fuzzer.cpp254 void CleanUpWeakRefCounter(SingleThreadRefCounts& state, WeakRefCounter* newWeakRef) in CleanUpWeakRefCounter() argument
276 void CleanUpWeakCounter(SingleThreadRefCounts& state) in CleanUpWeakCounter() argument
293 CleanUpStrongCounter(SingleThreadRefCounts& state) CleanUpStrongCounter() argument
311 SingleThreadRefCounts state; TestLoop() local
[all...]
/commonlibrary/ets_utils/js_concurrent_module/utils/locks/
H A Dgraph.h186 Path DfsBuildCycleInfo(DfsStack &dfsStack, DfsState state) in DfsBuildCycleInfo() argument
207 DfsAction DfsVisitChildren(DfsStack &dfsStack, DfsState &state) in DfsVisitChildren() argument
[all...]
/commonlibrary/rust/ylong_json/src/
H A Dstates.rs149 let mut state = InnerState::Start; in parse_object() variables
452 let mut state = InnerState::Start; parse_array() variables
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/event_benchmark_test/
H A Devent_benchmark_test.cpp102 void SetFdAndCallback(std::shared_ptr<IOEventHandler>& handler, benchmark::State& state) in SetFdAndCallback() argument
208 AddHandler(std::shared_ptr<IOEventReactor>& reactor, std::shared_ptr<IOEventHandler>& handler1, std::shared_ptr<IOEventHandler>& handler2, std::shared_ptr<IOEventHandler>& handler3, benchmark::State& state) AddHandler() argument
222 RemoveHandler(std::shared_ptr<IOEventReactor>& reactor, std::shared_ptr<IOEventHandler>& handler2, std::shared_ptr<IOEventHandler>& handler3, std::shared_ptr<IOEventHandler>& handler4, benchmark::State& state) RemoveHandler() argument
236 UpdateHandler(std::shared_ptr<IOEventReactor>& reactor, std::shared_ptr<IOEventHandler>& handler1, std::shared_ptr<IOEventHandler>& handler3, std::shared_ptr<IOEventHandler>& handler4, benchmark::State& state) UpdateHandler() argument
459 EventLoop(std::shared_ptr<TimerFdHandler>& handler, benchmark::State& state, std::thread& loopThread) EventLoop() argument
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/refbase_benchmark_test/
H A Drefbase_benchmark_test.cpp1217 CompOrigWptrAndTarWptr001(const wptr<T1> &origWptr, const wptr<T2> &tarWptr, int value, benchmark::State& state) CompOrigWptrAndTarWptr001() argument
1220 "testOrigWptrObject.GetRefPtr() did not equal tarWptr.GetRefPtr()", state); CompOrigWptrAndTarWptr001() local
1223 "&(*testOrigWptrObject) did not equal &(*tarWptr)", state); CompOrigWptrAndTarWptr001() local
1246 CompOrigSptrAndTarWptr002(const sptr<T1> &origSptr, const wptr<T2> &tarWptr, int value, benchmark::State& state) CompOrigSptrAndTarWptr002() argument
1249 "origSptr.GetRefPtr() did not equal tarWptr.GetRefPtr()", state); CompOrigSptrAndTarWptr002() local
1252 "&(*origSptr) did not equal &(*tarWptr)", state); CompOrigSptrAndTarWptr002() local
[all...]
/commonlibrary/ets_utils/js_concurrent_module/worker/test/
H A Dtest_worker.cpp178 static void UpdateWorkerState(Worker *worker, Worker::RunnerState state) in UpdateWorkerState() argument
223 static void UpdateHostState(Worker *worker, Worker::HostState state) in UpdateHostState() argument
/commonlibrary/rust/ylong_http/ylong_http/src/body/
H A Dchunk.rs829 pub fn state(&self) -> &ChunkState { in state() functions
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/parcel_benchmark_test/
H A Dparcel_benchmark_test.cpp126 void WriteTestData(Parcel &parcel, const struct TestData &data, benchmark::State& state) in WriteTestData() argument
152 WriteUnalignedTestData(Parcel &parcel, const struct TestData &data, benchmark::State& state) WriteUnalignedTestData() argument
172 ReadTestData(Parcel &parcel, const struct TestData &data, benchmark::State& state) ReadTestData() argument
197 ReadUnalignedTestData(Parcel &parcel, const struct TestData &data, benchmark::State& state) ReadUnalignedTestData() argument
224 ReadTestDataWithTarget(Parcel &parcel, const struct TestData &data, benchmark::State& state) ReadTestDataWithTarget() argument
287 CopyOldParcelToNewParcel(Parcel &oldParcel, Parcel &newParcel, benchmark::State& state) CopyOldParcelToNewParcel() argument
294 did not equal true as expected.", state); CopyOldParcelToNewParcel() local
388 WriteSignalDataToVector002(T1 &value, benchmark::State& state, const F executeFunc) WriteSignalDataToVector002() argument
466 WriteSignalDataToVector003(T1 &value, benchmark::State& state, const F executeFunc) WriteSignalDataToVector003() argument
543 WriteDataToVector(T1 &value, benchmark::State& state, const F executeFunc) WriteDataToVector() argument
554 WriteDataToVector(std::string &value, benchmark::State& state, const F executeFunc) WriteDataToVector() argument
564 WriteDataToVector(std::u16string &value, benchmark::State& state, const F executeFunc) WriteDataToVector() argument
685 TestParcelWrite001(T1 value, benchmark::State& state, const F executeFunc) TestParcelWrite001() argument
699 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); BENCHMARK_F() local
773 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); BENCHMARK_F() local
795 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); BENCHMARK_F() local
827 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); BENCHMARK_F() local
872 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); BENCHMARK_F() local
914 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); BENCHMARK_F() local
1118 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); BENCHMARK_F() local
1171 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); BENCHMARK_F() local
1200 ValidatePadded(const struct Padded &left, const struct Padded &right, benchmark::State& state) ValidatePadded() argument
1210 ValidateUnpadded(const struct Unpadded &left, const struct Unpadded &right, benchmark::State& state) ValidateUnpadded() argument
1395 "CopyOldParcelToNewParcel(parcel, recvParcel, state) did not equal true as expected.", state); BENCHMARK_F() local
1414 WriteVectorTestData(Parcel &parcel, const VectorTestData &data, benchmark::State& state) WriteVectorTestData() argument
1446 LoopReadVectorCmpData(const vector<T1> &vec1, const vector<T1> &vec2, const char* printInfo, benchmark::State& state) LoopReadVectorCmpData() argument
1454 LoopReadVectorCmpData(const vector<u16string> &vec1, const vector<u16string> &vec2, const char* printInfo, benchmark::State& state) LoopReadVectorCmpData() argument
1462 ReadVectorTestData(Parcel &parcel, const VectorTestData &data, benchmark::State& state) ReadVectorTestData() argument
1553 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); BENCHMARK_F() local
1591 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); BENCHMARK_F() local
1720 ParcelWriteVector(const std::vector<T> &vectorTest, benchmark::State& state) ParcelWriteVector() argument
1728 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); ParcelWriteVector() local
1949 ParcelWriteData(Parcel& parcel, u16string& str16Write, string& strWrite, benchmark::State& state) ParcelWriteData() argument
2466 "CopyOldParcelToNewParcel(parcel1, parcel2, state) did not equal true as expected.", state); BENCHMARK_F() local
[all...]
/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtask_manager.cpp193 ExecuteState state = task->taskState_; in GetTaskInfos() local
243 bool state = (GetThreadNum() == ConcurrentHelper::GetMaxThreads()) && (GetIdleWorkers() == 0); in CheckForBlockedWorkers() local
346 char state; in GetIdleWorkers() local
386 char state; GetIdleWorkersList() local
630 ExecuteState state = task->taskState_.exchange(ExecuteState::CANCELED); CancelTask() local
[all...]
/commonlibrary/ets_utils/js_concurrent_module/worker/
H A Dworker.cpp1788 bool Worker::UpdateWorkerState(RunnerState state) in UpdateWorkerState() argument
1802 bool Worker::UpdateHostState(HostState state) in UpdateHostState() argument

Completed in 65 milliseconds