| /external/rust/crates/tokio/tests/ |
| D | async_send_sync.rs | 15 // Send: Yes, Sync: Yes 19 // Send: Yes, Sync: No 25 // Send: No, Sync: No 32 type BoxFutureSync<T> = std::pin::Pin<Box<dyn std::future::Future<Output = T> + Send + Sync>>; 39 type BoxAsyncRead = std::pin::Pin<Box<dyn tokio::io::AsyncBufRead + Send + Sync>>; 41 type BoxAsyncSeek = std::pin::Pin<Box<dyn tokio::io::AsyncSeek + Send + Sync>>; 43 type BoxAsyncWrite = std::pin::Pin<Box<dyn tokio::io::AsyncWrite + Send + Sync>>; 48 fn require_sync<T: Sync>(_t: &T) {} in require_sync() 65 impl<T: ?Sized + Sync> AmbiguousIfSync<Invalid> for T {} 81 (Send & $(!)?Sync & $(!)?Unpin, $value:expr) => { [all …]
|
| /external/mesa3d/src/vulkan/runtime/ |
| D | vk_sync.c | 82 struct vk_sync *sync, in vk_sync_init() argument 94 assert(type->size >= sizeof(*sync)); in vk_sync_init() 95 memset(sync, 0, type->size); in vk_sync_init() 96 sync->type = type; in vk_sync_init() 97 sync->flags = flags; in vk_sync_init() 99 return type->init(device, sync, initial_value); in vk_sync_init() 104 struct vk_sync *sync) in vk_sync_finish() argument 106 sync->type->finish(device, sync); in vk_sync_finish() 116 struct vk_sync *sync; in vk_sync_create() local 118 sync = vk_alloc(&device->alloc, type->size, 8, in vk_sync_create() [all …]
|
| D | vk_sync.h | 39 /** Set if a sync type supports the binary mode of operation 59 /** Set if a sync type supports the timeline mode of operation 80 /** Set if this sync supports GPU waits */ 83 /** Set if a sync type supports multiple GPU waits on one signal state 97 /** Set if a sync type supports vk_sync_wait() and vk_sync_wait_many() */ 100 /** Set if a sync type supports vk_sync_reset() 106 /** Set if a sync type supports vk_sync_signal() */ 111 * vk_sync_wait_many() will support the bit regardless. If the sync type 116 /** Set if a sync type supports the VK_SYNC_WAIT_PENDING bit 123 /** Set if a sync type natively supports wait-before-signal [all …]
|
| D | vk_sync_binary.c | 29 to_vk_sync_binary(struct vk_sync *sync) in to_vk_sync_binary() argument 31 assert(sync->type->init == vk_sync_binary_init); in to_vk_sync_binary() 33 return container_of(sync, struct vk_sync_binary, sync); in to_vk_sync_binary() 38 struct vk_sync *sync, in vk_sync_binary_init() argument 41 struct vk_sync_binary *binary = to_vk_sync_binary(sync); in vk_sync_binary_init() 44 container_of(binary->sync.type, struct vk_sync_binary_type, sync); in vk_sync_binary_init() 46 assert(!(sync->flags & VK_SYNC_IS_TIMELINE)); in vk_sync_binary_init() 47 assert(!(sync->flags & VK_SYNC_IS_SHAREABLE)); in vk_sync_binary_init() 57 struct vk_sync *sync) in vk_sync_binary_finish() argument 59 struct vk_sync_binary *binary = to_vk_sync_binary(sync); in vk_sync_binary_finish() [all …]
|
| /external/ltp/runtest/ |
| D | ltp-aiodio.part1 | 1 #DESCRIPTION:ltp A-sync IO and Direct IO tests 4 AD002 aiocp -b 1k -n 1 -f SYNC 6 AD004 aiocp -b 1k -n 2 -f SYNC 8 AD006 aiocp -b 1k -n 4 -f SYNC 10 AD008 aiocp -b 1k -n 8 -f SYNC 12 AD010 aiocp -b 1k -n 16 -f SYNC 14 AD012 aiocp -b 1k -n 32 -f SYNC 16 AD014 aiocp -b 1k -n 64 -f SYNC 18 AD016 aiocp -b 2k -n 1 -f SYNC 20 AD018 aiocp -b 2k -n 2 -f SYNC [all …]
|
| /external/sdv/vsomeip/third_party/boost/thread/test/ |
| D | Jamfile.v2 | 386 …[ thread-compile-fail ./sync/conditions/condition_variable/assign_fail.cpp : : condition_variable_… 387 …[ thread-compile-fail ./sync/conditions/condition_variable/copy_fail.cpp : : condition_variable__c… 388 …[ thread-run2-noit ./sync/conditions/condition_variable/default_pass.cpp : condition_variable__def… 389 …[ thread-run2-noit ./sync/conditions/condition_variable/dtor_pass.cpp : condition_variable__dtor_p… 390 …[ thread-run2-noit-pthread ./sync/conditions/condition_variable/native_handle_pass.cpp : condition… 391 …[ thread-run2-noit ./sync/conditions/condition_variable/wait_pass.cpp : condition_variable__wait_p… 392 …[ thread-run2-noit ./sync/conditions/condition_variable/wait_for_pass.cpp : condition_variable__wa… 393 …[ thread-run2-noit ./sync/conditions/condition_variable/wait_for_pred_pass.cpp : condition_variabl… 394 …[ thread-run2-noit ./sync/conditions/condition_variable/wait_until_pass.cpp : condition_variable__… 395 …[ thread-run2-noit ./sync/conditions/condition_variable/wait_until_pred_pass.cpp : condition_varia… [all …]
|
| /external/mesa3d/src/gallium/frontends/lavapipe/ |
| D | lvp_pipe_sync.c | 28 lvp_pipe_sync_validate(ASSERTED struct lvp_pipe_sync *sync) in lvp_pipe_sync_validate() argument 30 if (sync->signaled) in lvp_pipe_sync_validate() 31 assert(sync->fence == NULL); in lvp_pipe_sync_validate() 39 struct lvp_pipe_sync *sync = vk_sync_as_lvp_pipe_sync(vk_sync); in lvp_pipe_sync_init() local 41 mtx_init(&sync->lock, mtx_plain); in lvp_pipe_sync_init() 42 cnd_init(&sync->changed); in lvp_pipe_sync_init() 43 sync->signaled = (initial_value != 0); in lvp_pipe_sync_init() 44 sync->fence = NULL; in lvp_pipe_sync_init() 54 struct lvp_pipe_sync *sync = vk_sync_as_lvp_pipe_sync(vk_sync); in lvp_pipe_sync_finish() local 56 lvp_pipe_sync_validate(sync); in lvp_pipe_sync_finish() [all …]
|
| /external/rust/crates/futures/tests/ |
| D | auto_traits.rs | 3 //! Assert Send/Sync/Unpin for all public types. 19 pub type SyncFuture<T = *const ()> = Pin<Box<dyn Future<Output = T> + Sync>>; 21 pub type SendSyncFuture<T = *const ()> = Pin<Box<dyn Future<Output = T> + Send + Sync>>; 38 pub type SyncStream<T = *const ()> = Pin<Box<dyn Stream<Item = T> + Sync>>; 40 pub type SendSyncStream<T = *const ()> = Pin<Box<dyn Stream<Item = T> + Send + Sync>>; 55 pub type SyncSink<T = *const (), E = *const ()> = Pin<Box<dyn Sink<T, Error = E> + Sync>>; 74 /// Assert Send/Sync/Unpin for all public types in `futures::channel`. 81 assert_impl!(mpsc::Receiver<()>: Sync); 82 assert_not_impl!(mpsc::Receiver<*const ()>: Sync); 86 assert_impl!(mpsc::SendError: Sync); [all …]
|
| /external/mesa3d/src/intel/compiler/tests/gen12/ |
| D | sync.asm | 1 sync nop(16) null<0,1,0>UB { align1 WE_all 1H @1 }; label 2 sync nop(1) null<0,1,0>UB { align1 WE_all 1N @1 }; label 3 sync nop(1) null<0,1,0>UB { align1 WE_all 1N @2 }; label 4 sync nop(1) null<0,1,0>UB { align1 WE_all 1N @3 }; label 5 sync nop(1) null<0,1,0>UB { align1 WE_all 1N @4 }; label 6 sync nop(1) null<0,1,0>UB { align1 WE_all 1N @5 }; label 7 sync nop(1) null<0,1,0>UB { align1 WE_all 1N @6 }; label 8 sync nop(1) null<0,1,0>UB { align1 WE_all 1N @7 }; label 9 sync nop(1) null<0,1,0>UB { align1 WE_all 3N @1 }; label 10 sync nop(1) null<0,1,0>UB { align1 WE_all 3N @2 }; label [all …]
|
| /external/mesa3d/src/egl/main/ |
| D | eglsync.c | 37 * Parse the list of sync attributes and return the proper error code. 40 _eglParseSyncAttribList(_EGLSync *sync, const EGLAttrib *attrib_list) in _eglParseSyncAttribList() argument 54 if (sync->Type == EGL_SYNC_CL_EVENT_KHR) { in _eglParseSyncAttribList() 55 sync->CLEvent = val; in _eglParseSyncAttribList() 61 if (sync->Type == EGL_SYNC_NATIVE_FENCE_ANDROID) { in _eglParseSyncAttribList() 63 sync->SyncFd = val; in _eglParseSyncAttribList() 74 _eglLog(_EGL_DEBUG, "bad sync attribute 0x%" PRIxPTR, attr); in _eglParseSyncAttribList() 83 _eglInitSync(_EGLSync *sync, _EGLDisplay *disp, EGLenum type, in _eglInitSync() argument 88 _eglInitResource(&sync->Resource, sizeof(*sync), disp); in _eglInitSync() 89 sync->Type = type; in _eglInitSync() [all …]
|
| D | eglsync.h | 38 /* A sync is a display resource */ 49 _eglInitSync(_EGLSync *sync, _EGLDisplay *disp, EGLenum type, 53 _eglGetSyncAttrib(_EGLDisplay *disp, _EGLSync *sync, EGLint attribute, 57 * Increment reference count for the sync. 60 _eglGetSync(_EGLSync *sync) in _eglGetSync() argument 62 if (sync) in _eglGetSync() 63 _eglGetResource(&sync->Resource); in _eglGetSync() 64 return sync; in _eglGetSync() 68 * Decrement reference count for the sync. 71 _eglPutSync(_EGLSync *sync) in _eglPutSync() argument [all …]
|
| /external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
| D | child.h | 3 * Helper functions to sync execution between parent and child processes. 29 #define CHILD_FAIL_IF(x, sync) \ argument 34 (sync)->child_gave_up = true; \ 35 prod_parent(sync); \ 40 #define PARENT_FAIL_IF(x, sync) \ argument 45 (sync)->parent_gave_up = true; \ 46 prod_child(sync); \ 51 #define PARENT_SKIP_IF_UNSUPPORTED(x, sync) \ argument 54 (sync)->parent_gave_up = true; \ 55 prod_child(sync); \ [all …]
|
| /external/rust/crates/grpcio-sys/grpc/test/core/security/ |
| D | print_google_default_creds_token.cc | 27 #include <grpc/support/sync.h> 46 synchronizer* sync = static_cast<synchronizer*>(arg); in on_metadata_response() local 53 GPR_ASSERT(sync->md_array.size == 1); in on_metadata_response() 54 token = grpc_slice_to_c_string(GRPC_MDVALUE(sync->md_array.md[0])); in on_metadata_response() 58 gpr_mu_lock(sync->mu); in on_metadata_response() 59 sync->is_done = true; in on_metadata_response() 62 grpc_pollset_kick(grpc_polling_entity_pollset(&sync->pops), nullptr)); in on_metadata_response() 63 gpr_mu_unlock(sync->mu); in on_metadata_response() 69 synchronizer sync; in main() local 92 memset(&sync, 0, sizeof(sync)); in main() [all …]
|
| D | verify_jwt.cc | 27 #include <grpc/support/sync.h> 54 synchronizer* sync = static_cast<synchronizer*>(user_data); in on_jwt_verification_done() local 56 sync->success = (status == GRPC_JWT_VERIFIER_OK); in on_jwt_verification_done() 57 if (sync->success) { in on_jwt_verification_done() 70 gpr_mu_lock(sync->mu); in on_jwt_verification_done() 71 sync->is_done = 1; in on_jwt_verification_done() 72 GRPC_LOG_IF_ERROR("pollset_kick", grpc_pollset_kick(sync->pollset, nullptr)); in on_jwt_verification_done() 73 gpr_mu_unlock(sync->mu); in on_jwt_verification_done() 77 synchronizer sync; in main() local 97 sync.pollset = static_cast<grpc_pollset*>(gpr_zalloc(grpc_pollset_size())); in main() [all …]
|
| /external/grpc-grpc/test/core/security/ |
| D | print_google_default_creds_token.cc | 27 #include <grpc/support/sync.h> 46 synchronizer* sync = static_cast<synchronizer*>(arg); in on_metadata_response() local 53 GPR_ASSERT(sync->md_array.size == 1); in on_metadata_response() 54 token = grpc_slice_to_c_string(GRPC_MDVALUE(sync->md_array.md[0])); in on_metadata_response() 58 gpr_mu_lock(sync->mu); in on_metadata_response() 59 sync->is_done = true; in on_metadata_response() 62 grpc_pollset_kick(grpc_polling_entity_pollset(&sync->pops), nullptr)); in on_metadata_response() 63 gpr_mu_unlock(sync->mu); in on_metadata_response() 69 synchronizer sync; in main() local 92 memset(&sync, 0, sizeof(sync)); in main() [all …]
|
| D | verify_jwt.cc | 27 #include <grpc/support/sync.h> 54 synchronizer* sync = static_cast<synchronizer*>(user_data); in on_jwt_verification_done() local 56 sync->success = (status == GRPC_JWT_VERIFIER_OK); in on_jwt_verification_done() 57 if (sync->success) { in on_jwt_verification_done() 70 gpr_mu_lock(sync->mu); in on_jwt_verification_done() 71 sync->is_done = 1; in on_jwt_verification_done() 72 GRPC_LOG_IF_ERROR("pollset_kick", grpc_pollset_kick(sync->pollset, nullptr)); in on_jwt_verification_done() 73 gpr_mu_unlock(sync->mu); in on_jwt_verification_done() 77 synchronizer sync; in main() local 97 sync.pollset = static_cast<grpc_pollset*>(gpr_zalloc(grpc_pollset_size())); in main() [all …]
|
| /external/lzma/CPP/7zip/UI/GUI/ |
| D | UpdateCallbackGUI.cpp | 38 ProgressDialog->Sync.AddError_Message(s); in OpenResult() 46 CProgressSync &sync = ProgressDialog->Sync; in StartScanning() local 47 sync.Set_Status(LangString(IDS_SCANNING)); in StartScanning() 54 ProgressDialog->Sync.AddError_Code_Name(HRESULT_FROM_WIN32(systemError), fs2us(path)); in ScanError() 60 CProgressSync &sync = ProgressDialog->Sync; in FinishScanning() local 61 RINOK(ProgressDialog->Sync.ScanProgress(st.NumFiles + st.NumAltStreams, in FinishScanning() 63 sync.Set_Status(L""); in FinishScanning() 69 CProgressSync &sync = ProgressDialog->Sync; in StartArchive() local 70 sync.Set_Status(LangString(IDS_PROGRESS_COMPRESSING)); in StartArchive() 71 sync.Set_TitleFileName(name); in StartArchive() [all …]
|
| D | BenchmarkDialog.cpp | 289 Sync.Init(); in InitSyncNew() 327 Sync.SendExit(); in SendExit_Status() 331 CBenchProgressSync Sync; member in CBenchmarkDialog 528 UInt32 numThreads = Sync.NumThreads; in OnInit() 556 Sync.NumThreads = GetNumberOfThreads(); in OnInit() 574 if (Sync.DictSize == (UInt64)(Int64)-1) in OnInit() 583 Sync.NumThreads, Sync.Level, (UInt64)1 << dicSizeLog, TotalMode))) in OnInit() 585 Sync.DictSize = (UInt64)1 << dicSizeLog; in OnInit() 588 if (Sync.DictSize < kMinDicSize) Sync.DictSize = kMinDicSize; in OnInit() 589 if (Sync.DictSize > kMaxDicSize) Sync.DictSize = kMaxDicSize; in OnInit() [all …]
|
| /external/mesa3d/src/mesa/main/ |
| D | syncobj.c | 26 * Sync object management. 28 * Unlike textures and other objects that are shared between contexts, sync 30 * and delete behavior of sync objects is slightly different. References to 31 * sync objects are added: 45 * As with shader objects, sync object names become invalid as soon as 78 * Allocate/init the context state related to sync objects. 88 * Free the context state related to sync objects. 145 * - sync is unsignaled when ClientWaitSync is called, in __client_wait_sync() 149 * immediately after the creation of sync. in __client_wait_sync() 164 * Check if the given sync object is: [all …]
|
| /external/bcc/tools/ |
| D | compactsnoop_example.txt | 9 zsh 23685 0 ZONE_DMA -1 SYNC 0.025 complete 10 zsh 23685 0 ZONE_DMA32 -1 SYNC 3.925 complete 11 zsh 23685 0 ZONE_NORMAL -1 SYNC 113.975 complete 12 zsh 23685 1 ZONE_NORMAL -1 SYNC 81.57 complete 13 zsh 23685 0 ZONE_DMA -1 SYNC 0.02 complete 14 zsh 23685 0 ZONE_DMA32 -1 SYNC 4.631 complete 15 zsh 23685 0 ZONE_NORMAL -1 SYNC 113.975 complete 16 zsh 23685 1 ZONE_NORMAL -1 SYNC 80.647 complete 17 zsh 23685 0 ZONE_DMA -1 SYNC 0.020 complete 18 zsh 23685 0 ZONE_DMA32 -1 SYNC 3.367 complete [all …]
|
| /external/libchrome/base/trace_event/ |
| D | memory_infra_background_whitelist.cc | 272 "sync/0x?/kernel", 273 "sync/0x?/store", 274 "sync/0x?/model_type/APP", 275 "sync/0x?/model_type/APP_LIST", 276 "sync/0x?/model_type/APP_NOTIFICATION", 277 "sync/0x?/model_type/APP_SETTING", 278 "sync/0x?/model_type/ARC_PACKAGE", 279 "sync/0x?/model_type/ARTICLE", 280 "sync/0x?/model_type/AUTOFILL", 281 "sync/0x?/model_type/AUTOFILL_PROFILE", [all …]
|
| /external/virglrenderer/src/venus/ |
| D | vkr_queue.c | 21 struct vkr_queue_sync *sync; in vkr_device_alloc_queue_sync() local 30 sync = malloc(sizeof(*sync)); in vkr_device_alloc_queue_sync() 31 if (!sync) in vkr_device_alloc_queue_sync() 43 vk->CreateFence(dev->base.handle.device, &create_info, NULL, &sync->fence); in vkr_device_alloc_queue_sync() 45 free(sync); in vkr_device_alloc_queue_sync() 49 sync = LIST_ENTRY(struct vkr_queue_sync, dev->free_syncs.next, head); in vkr_device_alloc_queue_sync() 50 list_del(&sync->head); in vkr_device_alloc_queue_sync() 55 vk->ResetFences(dev->base.handle.device, 1, &sync->fence); in vkr_device_alloc_queue_sync() 58 sync->device_lost = false; in vkr_device_alloc_queue_sync() 59 sync->flags = fence_flags; in vkr_device_alloc_queue_sync() [all …]
|
| /external/compiler-rt/lib/tsan/tests/unit/ |
| D | tsan_clock_test.cc | 78 SyncClock sync; in TEST() local 79 thr1.ReleaseStore(&cache, &sync); in TEST() 81 thr2.acquire(&cache, &sync); in TEST() 82 thr2.acquire(&cache, &sync); in TEST() 84 sync.Reset(&cache); in TEST() 155 SyncClock sync; in TEST() local 156 vector.release(&cache, &sync); in TEST() 157 ASSERT_EQ(sync.size(), 11U); in TEST() 158 ASSERT_EQ(sync.get(0), 0ULL); in TEST() 159 ASSERT_EQ(sync.get(1), 0ULL); in TEST() [all …]
|
| /external/aws-sdk-java-v2/services/codestarconnections/src/main/resources/codegen-resources/ |
| D | service-2.json | 61 …specified external Git repository. A repository link allows Git sync to monitor and sync changes t… 80 …sync configuration which allows Amazon Web Services to sync content from a Git repository to updat… 145 … "documentation":"<p>Deletes the sync configuration for a specified repository and connection.</p>" 191 …s details about a repository link. A repository link allows Git sync to monitor and sync changes f… 208 …"documentation":"<p>Returns details about the sync status for a repository. A repository sync uses… 225 …"documentation":"<p>Returns the status of the sync with the Git repository for a specific Amazon W… 242 "documentation":"<p>Returns a list of the most recent sync blockers.</p>" 259 …s details about a sync configuration, including the sync type and resource name. A sync configurat… 317 …"documentation":"<p>Lists the repository sync definitions for repository links in your account.</p… 334 "documentation":"<p>Returns a list of sync configurations for a specified repository.</p>" [all …]
|
| /external/mesa3d/src/intel/vulkan/ |
| D | anv_bo_sync.c | 30 to_anv_bo_sync(struct vk_sync *sync) in to_anv_bo_sync() argument 32 assert(sync->type == &anv_bo_sync_type); in to_anv_bo_sync() 33 return container_of(sync, struct anv_bo_sync, sync); in to_anv_bo_sync() 42 struct anv_bo_sync *sync = to_anv_bo_sync(vk_sync); in anv_bo_sync_init() local 44 sync->state = initial_value ? ANV_BO_SYNC_STATE_SIGNALED : in anv_bo_sync_init() 47 return anv_device_alloc_bo(device, "bo-sync", 4096, in anv_bo_sync_init() 51 &sync->bo); in anv_bo_sync_init() 59 struct anv_bo_sync *sync = to_anv_bo_sync(vk_sync); in anv_bo_sync_finish() local 61 anv_device_release_bo(device, sync->bo); in anv_bo_sync_finish() 68 struct anv_bo_sync *sync = to_anv_bo_sync(vk_sync); in anv_bo_sync_reset() local [all …]
|