Home
last modified time | relevance | path

Searched refs:cv (Results 1 – 25 of 31) sorted by relevance

12

/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXthreads.h56 # define xcondition_init(cv) condition_init(cv) argument
57 # define xcondition_clear(cv) condition_clear(cv) argument
58 # define xcondition_wait(cv,m) condition_wait(cv,m) argument
59 # define xcondition_signal(cv) condition_signal(cv) argument
60 # define xcondition_broadcast(cv) condition_broadcast(cv) argument
61 # define xcondition_set_name(cv,str) condition_set_name(cv,str) argument
91 # define xcondition_init(cv) cond_init(cv,USYNC_THREAD,0) argument
92 # define xcondition_clear(cv) cond_destroy(cv) argument
93 # define xcondition_wait(cv,m) cond_wait(cv,m) argument
94 # define xcondition_signal(cv) cond_signal(cv) argument
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/blake3/
Dblake3_portable.c37 INLINE void compress_pre(uint32_t state[16], const uint32_t cv[8], in compress_pre()
58 state[0] = cv[0]; in compress_pre()
59 state[1] = cv[1]; in compress_pre()
60 state[2] = cv[2]; in compress_pre()
61 state[3] = cv[3]; in compress_pre()
62 state[4] = cv[4]; in compress_pre()
63 state[5] = cv[5]; in compress_pre()
64 state[6] = cv[6]; in compress_pre()
65 state[7] = cv[7]; in compress_pre()
84 void blake3_compress_in_place_portable(uint32_t cv[8], in blake3_compress_in_place_portable()
[all …]
Dblake3_dispatch.c136 void blake3_compress_in_place(uint32_t cv[8], in blake3_compress_in_place()
145 blake3_compress_in_place_avx512(cv, block, block_len, counter, flags); in blake3_compress_in_place()
151 blake3_compress_in_place_sse41(cv, block, block_len, counter, flags); in blake3_compress_in_place()
157 blake3_compress_in_place_sse2(cv, block, block_len, counter, flags); in blake3_compress_in_place()
162 blake3_compress_in_place_portable(cv, block, block_len, counter, flags); in blake3_compress_in_place()
165 void blake3_compress_xof(const uint32_t cv[8], in blake3_compress_xof()
174 blake3_compress_xof_avx512(cv, block, block_len, counter, flags, out); in blake3_compress_xof()
180 blake3_compress_xof_sse41(cv, block, block_len, counter, flags, out); in blake3_compress_xof()
186 blake3_compress_xof_sse2(cv, block, block_len, counter, flags, out); in blake3_compress_xof()
191 blake3_compress_xof_portable(cv, block, block_len, counter, flags, out); in blake3_compress_xof()
Dblake3_impl.h180 void blake3_compress_in_place(uint32_t cv[8],
185 void blake3_compress_xof(const uint32_t cv[8],
199 void blake3_compress_in_place_portable(uint32_t cv[8],
204 void blake3_compress_xof_portable(const uint32_t cv[8],
217 void blake3_compress_in_place_sse2(uint32_t cv[8],
221 void blake3_compress_xof_sse2(const uint32_t cv[8],
232 void blake3_compress_in_place_sse41(uint32_t cv[8],
236 void blake3_compress_xof_sse41(const uint32_t cv[8],
254 void blake3_compress_in_place_avx512(uint32_t cv[8],
259 void blake3_compress_xof_avx512(const uint32_t cv[8],
Dblake3.c12 memcpy(self->cv, key, BLAKE3_KEY_LEN); in chunk_state_init()
22 memcpy(self->cv, key, BLAKE3_KEY_LEN); in chunk_state_reset()
81 INLINE void output_chaining_value(const output_t *self, uint8_t cv[32]) { in output_chaining_value()
86 store_cv_words(cv, cv_words); in output_chaining_value()
120 self->cv, self->buf, BLAKE3_BLOCK_LEN, self->chunk_counter, in chunk_state_update()
129 blake3_compress_in_place(self->cv, input, BLAKE3_BLOCK_LEN, in chunk_state_update()
145 return make_output(self->cv, self->buf, self->buf_len, self->chunk_counter, in chunk_state_output()
533 uint8_t cv[BLAKE3_OUT_LEN]; in blake3_hasher_update() local
534 output_chaining_value(&output, cv); in blake3_hasher_update()
535 hasher_push_cv(self, cv, chunk_state.chunk_counter); in blake3_hasher_update()
Dblake3.h21 uint32_t cv[8]; member
Dblake3_neon.c298 void blake3_compress_in_place_portable(uint32_t cv[8],
307 uint32_t cv[8]; in hash_one_neon() local
308 memcpy(cv, key, BLAKE3_KEY_LEN); in hash_one_neon()
317 blake3_compress_in_place_portable(cv, input, BLAKE3_BLOCK_LEN, counter, in hash_one_neon()
323 memcpy(out, cv, BLAKE3_OUT_LEN); in hash_one_neon()
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DBackgroundWorkerTest.cpp48 std::condition_variable cv; in TEST() local
57 cv.notify_all(); in TEST()
67 cv.wait_for(lock, 1500ms, [&]() { return vec.size() == 3; }); in TEST()
79 std::condition_variable cv; in TEST() local
89 cv.notify_all(); in TEST()
101 cv.wait_for(lock, 1500ms, [&]() { return vec.size() == 3; }); in TEST()
113 std::condition_variable cv; in TEST() local
123 cv.notify_all(); in TEST()
131 cv.notify_all(); in TEST()
146 cv.wait_for(lock, 1500ms, [&]() { return vec.size() == 6; }); in TEST()
/hardware/interfaces/biometrics/common/thread/tests/
DWorkerThreadTest.cpp76 std::condition_variable cv; in TEST() local
90 worker.schedule(Callable::from([&mut, &cv, &finished] { in TEST()
93 cv.notify_one(); in TEST()
97 cv.wait(lock, [&finished] { return finished; }); in TEST()
/hardware/interfaces/gnss/common/utils/default/include/
DUtils.h64 return !cv.wait_for(lock, time, [&] { return terminate; }); in wait_for()
70 cv.notify_all(); in notify()
79 std::condition_variable cv;
/hardware/google/gfxstream/guest/mesa/src/util/format/
Dtexcompress_s3tc_tmp.h198 GLubyte cv[4][4]; in fancybasecolorsearch() local
222 cv[0][i] = testcolor[0][i]; in fancybasecolorsearch()
223 cv[1][i] = testcolor[1][i]; in fancybasecolorsearch()
224 cv[2][i] = (testcolor[0][i] * 2 + testcolor[1][i]) / 3; in fancybasecolorsearch()
225 cv[3][i] = (testcolor[0][i] + testcolor[1][i] * 2) / 3; in fancybasecolorsearch()
242 colordist = srccolors[j][i][0] - (cv[colors][0]); in fancybasecolorsearch()
245 colordist = srccolors[j][i][1] - (cv[colors][1]); in fancybasecolorsearch()
248 colordist = srccolors[j][i][2] - (cv[colors][2]); in fancybasecolorsearch()
388 GLubyte cv[4][4]; in storedxtencodedblock() local
406 cv[0][i] = bestcolor[0][i]; in storedxtencodedblock()
[all …]
/hardware/google/gfxstream/common/detector/
DSubprocess.cpp82 std::condition_variable cv; in WaitForChildWithTimeoutFallback() local
87 if (!cv.wait_for(lock, timeout, [&] { return childExited; })) { in WaitForChildWithTimeoutFallback()
98 cv.notify_all(); in WaitForChildWithTimeoutFallback()
/hardware/interfaces/radio/1.0/vts/functional/
Dsap_hidl_hal_test.cpp66 cv.notify_one(); in notify()
76 status = cv.wait_until(lock, now + std::chrono::seconds(TIMEOUT_PERIOD)); in wait()
Dradio_hidl_hal_test.cpp82 cv.notify_one(); in notify()
92 status = cv.wait_until(lock, now + std::chrono::seconds(sec)); in wait()
Dsap_hidl_hal_utils.h94 std::condition_variable cv; variable
/hardware/qcom/sm8150/display/libhistogram/
Dhistogram_collector.cpp163 cv.notify_all(); in stop()
182 cv.notify_all(); in notify_histogram_event()
191 cv.wait(lk, [this] { return !started || work_available; }); in blob_processing_thread()
Dhistogram_collector.h65 std::condition_variable cv; variable
/hardware/qcom/sm7250/display/libhistogram/
Dhistogram_collector.cpp159 cv.notify_all(); in stop()
178 cv.notify_all(); in notify_histogram_event()
187 cv.wait(lk, [this] { return !started || work_available; }); in blob_processing_thread()
Dhistogram_collector.h61 std::condition_variable cv; variable
/hardware/interfaces/radio/1.1/vts/functional/
Dradio_hidl_hal_test.cpp79 cv.notify_one(); in notify()
89 status = cv.wait_until(lock, now + std::chrono::seconds(sec)); in wait()
/hardware/interfaces/media/bufferpool/aidl/default/
DAccessor.h221 std::condition_variable &cv,
238 std::condition_variable &cv);
DAccessor.cpp344 std::condition_variable &cv, in invalidatorThread() argument
359 cv.wait(lock); in invalidatorThread()
446 std::condition_variable &cv) { in evictorThread() argument
455 cv.wait(lock); in evictorThread()
/hardware/interfaces/secure_element/aidl/vts/
DVtsHalSecureElementTargetTest.cpp80 cv.notify_one(); in onStateChange()
86 cv.wait_for(l, 5s, [&]() { return history.size() >= want.size(); }); in expectCallbackHistory()
97 std::condition_variable cv; member in MySecureElementCallback
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleHalManager.cpp468 for (const HalClientValues& cv : clientValues) { in onBatchHalEvent() local
469 auto vecSize = cv.values.size(); in onBatchHalEvent()
478 for (VehiclePropValue* pValue : cv.values) { in onBatchHalEvent()
481 auto status = cv.client->getCallback()->onPropertyEvent(vec); in onBatchHalEvent()
484 toString(cv.client->getCallback()).c_str(), in onBatchHalEvent()
/hardware/interfaces/radio/aidl/vts/
Dradio_sap_utils.h74 std::condition_variable cv; variable

12