/third_party/musl/libc-test/src/functionalext/supplement/signal/signal_gtest/ |
H A D | signal_sigemptyset_test.cpp | 14 * signal set and add two signals to the set without any errors. 19 sigset_t set; in HWTEST_F() local 21 sigemptyset(&set); in HWTEST_F() 22 sigaddset(&set, SIGINT); in HWTEST_F() 23 sigaddset(&set, SIGTERM); in HWTEST_F() 25 EXPECT_EQ(0, sigemptyset(&set)); in HWTEST_F()
|
/third_party/libbpf/src/ |
H A D | strset.h | 13 void strset__free(struct strset *set); 15 const char *strset__data(const struct strset *set); 16 size_t strset__data_size(const struct strset *set); 18 int strset__find_str(struct strset *set, const char *s); 19 int strset__add_str(struct strset *set, const char *s);
|
/kernel/liteos_a/kernel/base/ipc/ |
H A D | los_signal.c | 56 int OsSigIsMember(const sigset_t *set, int signo) in OsSigIsMember() argument 63 /* Check if the signal is in the set */ in OsSigIsMember() 64 ret = ((*set & SIGNO2SET((unsigned int)signo)) != 0); in OsSigIsMember() 204 void OsSigMaskSwitch(LosTaskCB * const rtcb, sigset_t set) in OsSigMaskSwitch() argument 208 rtcb->sig.sigprocmask = set; in OsSigMaskSwitch() 222 sigset_t set; in OsSigprocMask() local 232 set = *(sigset_t *)setl; in OsSigprocMask() 235 /* Set the union of the current set and the signal in OsSigprocMask() 236 * set pointed to by set a in OsSigprocMask() 375 OsSigEmptySet(sigset_t *set) OsSigEmptySet() argument 541 OsSigAddSet(sigset_t *set, int signo) OsSigAddSet() argument 555 OsSigPending(sigset_t *set) OsSigPending() argument 582 OsSigTimedWaitNoLock(sigset_t *set, siginfo_t *info, unsigned int timeout) OsSigTimedWaitNoLock() argument 618 OsSigTimedWait(sigset_t *set, siginfo_t *info, unsigned int timeout) OsSigTimedWait() argument 641 OsSigSuspend(const sigset_t *set) OsSigSuspend() argument [all...] |
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_nir_lower_descriptors.c | 63 get_set_layout(uint32_t set, const struct apply_descriptors_ctx *ctx) in get_set_layout() argument 65 return vk_to_panvk_descriptor_set_layout(ctx->layout->vk.set_layouts[set]); in get_set_layout() 69 get_binding_layout(uint32_t set, uint32_t binding, in get_binding_layout() argument 72 return &get_set_layout(set, ctx)->bindings[binding]; in get_binding_layout() 78 * NIR intrinsics for a reference into a descriptor set. It acts much like a 96 build_res_index(nir_builder *b, uint32_t set, uint32_t binding, in build_res_index() argument 101 get_set_layout(set, ctx); in build_res_index() 113 panvk_pipeline_layout_ubo_index(ctx->layout, set, binding, 0); in build_res_index() 125 panvk_pipeline_layout_ubo_start(ctx->layout, set, false) + in build_res_index() 141 const unsigned dyn_ssbo_idx = ctx->layout->sets[set] in build_res_index() 329 get_resource_deref_binding(nir_deref_instr *deref, uint32_t *set, uint32_t *binding, uint32_t *index_imm, nir_ssa_def **index_ssa) get_resource_deref_binding() argument 359 uint32_t set, binding, index_imm; load_resource_deref_desc() local 476 uint32_t set, binding, index_imm; lower_tex() local 499 uint32_t set, binding, index_imm; lower_tex() local 524 uint32_t set, binding, index_imm; get_img_index() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | shader_pipeline_binder.h | 54 void Bind(const uint32_t set, const uint32_t binding, const RenderHandleReference& handle) override; 56 void SetUniformData(const uint32_t set, const uint32_t binding, const BASE_NS::array_view<const uint8_t> data); 60 const uint32_t set, const uint32_t binding, const BindableBufferWithHandleReference& resource) override; 61 void BindBuffers(const uint32_t set, const uint32_t binding, 64 const uint32_t set, const uint32_t binding, const BindableImageWithHandleReference& resource) override; 65 void BindImages(const uint32_t set, const uint32_t binding, 68 const uint32_t set, const uint32_t binding, const BindableSamplerWithHandleReference& resource) override; 69 void BindSamplers(const uint32_t set, const uint32_t binding, 77 DescriptorSetLayoutBindingResources GetDescriptorSetLayoutBindingResources(const uint32_t set) const override; 91 ResourceBinding GetResourceBinding(uint32_t set, uint32_ [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-view.c | 226 /* We have a partial register set. Fill 14-31 with bogus values */ in gpr_get() 498 /* Only the AMR can be set from userspace */ in pkey_set() 508 * UAMOR determines which bits of the AMR can be set from userspace. in pkey_set() 527 .regset_get = gpr_get, .set = gpr_set 532 .regset_get = fpr_get, .set = fpr_set 538 .active = vr_active, .regset_get = vr_get, .set = vr_set 545 .active = vsr_active, .regset_get = vsr_get, .set = vsr_set 552 .active = evr_active, .regset_get = evr_get, .set = evr_set 559 .active = tm_cgpr_active, .regset_get = tm_cgpr_get, .set = tm_cgpr_set 564 .active = tm_cfpr_active, .regset_get = tm_cfpr_get, .set [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head.c | 43 .mask = asyh->clr.mask & ~(flush ? 0 : asyh->set.mask), in nv50_head_flush_clr() 54 if (asyh->set.curs ) head->func->curs_set(head, asyh); in nv50_head_flush_set_wndw() 55 if (asyh->set.olut ) { in nv50_head_flush_set_wndw() 67 if (asyh->set.view ) head->func->view (head, asyh); in nv50_head_flush_set() 68 if (asyh->set.mode ) head->func->mode (head, asyh); in nv50_head_flush_set() 69 if (asyh->set.core ) head->func->core_set(head, asyh); in nv50_head_flush_set() 70 if (asyh->set.base ) head->func->base (head, asyh); in nv50_head_flush_set() 71 if (asyh->set.ovly ) head->func->ovly (head, asyh); in nv50_head_flush_set() 72 if (asyh->set.dither ) head->func->dither (head, asyh); in nv50_head_flush_set() 73 if (asyh->set in nv50_head_flush_set() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head.c | 43 .mask = asyh->clr.mask & ~(flush ? 0 : asyh->set.mask), in nv50_head_flush_clr() 54 if (asyh->set.curs ) head->func->curs_set(head, asyh); in nv50_head_flush_set_wndw() 55 if (asyh->set.olut ) { in nv50_head_flush_set_wndw() 67 if (asyh->set.view ) head->func->view (head, asyh); in nv50_head_flush_set() 68 if (asyh->set.mode ) head->func->mode (head, asyh); in nv50_head_flush_set() 69 if (asyh->set.core ) head->func->core_set(head, asyh); in nv50_head_flush_set() 70 if (asyh->set.base ) head->func->base (head, asyh); in nv50_head_flush_set() 71 if (asyh->set.ovly ) head->func->ovly (head, asyh); in nv50_head_flush_set() 72 if (asyh->set.dither ) head->func->dither (head, asyh); in nv50_head_flush_set() 73 if (asyh->set in nv50_head_flush_set() [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/include/ |
H A D | mtpfs_type_dir.h | 20 #include <set> 61 std::set<MtpFsTypeDir>::size_type DirCount() const in DirCount() 65 std::set<MtpFsTypeFile>::size_type FileCount() const in FileCount() 71 std::set<MtpFsTypeDir> Dirs() const in Dirs() 75 std::set<MtpFsTypeFile> Files() const in Files() 113 std::set<MtpFsTypeDir> dirs_; 114 std::set<MtpFsTypeFile> files_;
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_app_uri_permission_column.cpp | 32 const std::set<int> AppUriPermissionColumn::URI_TYPES_ALL = { 40 const std::set<int> AppUriPermissionColumn::PERMISSION_TYPES_ALL = { 44 const std::set<int> AppUriPermissionColumn::PERMISSION_TYPES_PICKER = { 46 const std::set<int> AppUriPermissionColumn::PERMISSION_TYPES_TEMPORARY = { 49 const std::set<int> AppUriPermissionColumn::PERMISSION_TYPES_PERSIST = { 57 const std::set<std::string> AppUriPermissionColumn::DEFAULT_FETCH_COLUMNS = {AppUriPermissionColumn::ID}; 73 const std::set<std::string> AppUriPermissionColumn::ALL_COLUMNS = {
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcameradata/ |
H A D | dcamera_stream_data_process.h | 20 #include <set> 38 void ConfigStreams(std::shared_ptr<DCameraStreamConfig>& dstConfig, std::set<int32_t>& streamIds); 39 void ReleaseStreams(std::set<int32_t>& streamIds); 40 void StartCapture(std::shared_ptr<DCameraStreamConfig>& srcConfig, std::set<int32_t>& streamIds); 41 void StopCapture(std::set<int32_t>& streamIds); 42 void GetAllStreamIds(std::set<int32_t>& streamIds); 64 std::set<int32_t> streamIds_;
|
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | zboot-header.S | 6 .set .Lextra_characteristics, 0x0 7 .set .Lpe_opt_magic, PE_OPT_MAGIC_PE32PLUS 9 .set .Lextra_characteristics, IMAGE_FILE_32BIT_MACHINE 10 .set .Lpe_opt_magic, PE_OPT_MAGIC_PE32 109 .set .Lefi_debug_table_size, . - .Lefi_debug_table 138 .set .Lsection_count, (. - .Lsection_table) / 40 154 .set .Lefi_debug_entry_size, . - .Lefi_debug_entry
|
/third_party/musl/src/conf/ |
H A D | legacy.c | 14 unsigned char set[128] = {1}; in get_cpu_default() local 15 __syscall(SYS_sched_getaffinity, 0, sizeof(set), set); in get_cpu_default() 16 for ((i = cnt = 0); (i < sizeof(set)); i++) in get_cpu_default() 17 for (; set[i]; (set[i] &= set[i] - 1), cnt++); in get_cpu_default()
|
/third_party/musl/porting/linux/user/src/conf/ |
H A D | legacy.c | 14 unsigned char set[128] = {1}; in get_cpu_default() local 15 __syscall(SYS_sched_getaffinity, 0, sizeof(set), set); in get_cpu_default() 16 for ((i=cnt=0); (i < sizeof(set)); i++) in get_cpu_default() 17 for (; set[i]; (set[i]&=set[i]-1), cnt++); in get_cpu_default()
|
/third_party/musl/libc-test/src/functionalext/supplement/signal/ |
H A D | sigrelse.c | 52 sigset_t set = {0}; in sigrelse_0100() local 53 result = sigprocmask(SIG_SETMASK, NULL, &set); in sigrelse_0100() 59 result = sigismember(&set, sig); in sigrelse_0100() 82 result = sigprocmask(SIG_SETMASK, NULL, &set); in sigrelse_0100() 87 result = sigismember(&set, sig); in sigrelse_0100() 97 result = sigprocmask(SIG_SETMASK, NULL, &set); in sigrelse_0100() 102 result = sigismember(&set, sig); in sigrelse_0100()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | autoAccessor1(target=es2015).js | 20 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
25 _C1_a_accessor_storage.set(this, void 0);
26 _C1_b_accessor_storage.set(this, 1);
29 set a(value) { __classPrivateFieldSet(this, _C1_a_accessor_storage, value, "f"); }
31 set b(value) { __classPrivateFieldSet(this, _C1_b_accessor_storage, value, "f"); }
33 static set c(value) { __classPrivateFieldSet(this, _a, value, "f", _C1_c_accessor_storage); }
35 static set d(value) { __classPrivateFieldSet(this, _a, value, "f", _C1_d_accessor_storage); }
|
H A D | autoAccessor3(target=es2015).js | 20 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
25 _C1__a_accessor_storage.set(this, void 0);
26 _C1__b_accessor_storage.set(this, 1);
29 set "w"(value) { __classPrivateFieldSet(this, _C1__a_accessor_storage, value, "f"); }
31 set "x"(value) { __classPrivateFieldSet(this, _C1__b_accessor_storage, value, "f"); }
33 static set "y"(value) { __classPrivateFieldSet(this, _a, value, "f", _C1__c_accessor_storage); }
35 static set "z"(value) { __classPrivateFieldSet(this, _a, value, "f", _C1__d_accessor_storage); }
|
H A D | autoAccessor4(target=es2015).js | 20 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
25 _C1__a_accessor_storage.set(this, void 0);
26 _C1__b_accessor_storage.set(this, 1);
29 set 0(value) { __classPrivateFieldSet(this, _C1__a_accessor_storage, value, "f"); }
31 set 1(value) { __classPrivateFieldSet(this, _C1__b_accessor_storage, value, "f"); }
33 static set 2(value) { __classPrivateFieldSet(this, _a, value, "f", _C1__c_accessor_storage); }
35 static set 3(value) { __classPrivateFieldSet(this, _a, value, "f", _C1__d_accessor_storage); }
|
/third_party/rust/crates/rustix/tests/time/ |
H A D | y2038.rs | 47 let set = Itimerspec { in test_y2038_with_timerfd() 57 let _old: Itimerspec = match timerfd_settime(&fd, TimerfdTimerFlags::ABSTIME, &set) { in test_y2038_with_timerfd() 72 assert_eq!(set.it_interval.tv_sec, new.it_interval.tv_sec); in test_y2038_with_timerfd() 73 assert_eq!(set.it_interval.tv_nsec, new.it_interval.tv_nsec); in test_y2038_with_timerfd() 74 assert!(new.it_value.tv_sec <= set.it_value.tv_sec); in test_y2038_with_timerfd() 76 new.it_value.tv_nsec < set.it_value.tv_nsec || new.it_value.tv_sec < set.it_value.tv_sec in test_y2038_with_timerfd()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_descriptor_set.c | 13 * buffers. We reserve an extra descriptor set for these. This descriptor set 17 * descriptor set at CmdBindDescriptors time/draw time. 414 * just multiple descriptor set layouts pasted together. 439 for (uint32_t set = 0; set < pCreateInfo->setLayoutCount; set++) { in tu_CreatePipelineLayout() 441 pCreateInfo->pSetLayouts[set]); in tu_CreatePipelineLayout() 443 assert(set < MAX_SETS); in tu_CreatePipelineLayout() 444 layout->set[se in tu_CreatePipelineLayout() 505 struct tu_descriptor_set *set; tu_descriptor_set_create() local 618 tu_descriptor_set_destroy(struct tu_device *device, struct tu_descriptor_pool *pool, struct tu_descriptor_set *set, bool free_bo) tu_descriptor_set_destroy() argument 809 struct tu_descriptor_set *set = NULL; tu_AllocateDescriptorSets() local 1236 tu_update_descriptor_set_with_template( const struct tu_device *device, struct tu_descriptor_set *set, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void *pData) tu_update_descriptor_set_with_template() argument [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_descriptor_set.c | 156 /* We need to allocate decriptor set layouts off the device allocator with DEVICE scope because in radv_CreateDescriptorSetLayout() 469 * just multiple descriptor set layouts pasted together. 488 if (layout->set[set_idx].layout) in radv_pipeline_layout_add_set() 493 layout->set[set_idx].layout = set_layout; in radv_pipeline_layout_add_set() 500 layout->set[set_idx].dynamic_offset_start = layout->dynamic_offset_count; in radv_pipeline_layout_add_set() 513 struct radv_descriptor_set_layout *set_layout = layout->set[i].layout; in radv_pipeline_layout_hash() 518 /* Hash the entire set layout except for the vk_object_base and the reference counter. The in radv_pipeline_layout_hash() 519 * rest of the set layout is carefully constructed to not have pointers so a full hash instead in radv_pipeline_layout_hash() 534 if (!layout->set[i].layout) in radv_pipeline_layout_finish() 537 vk_descriptor_set_layout_unref(&device->vk, &layout->set[ in radv_pipeline_layout_finish() 619 struct radv_descriptor_set *set; radv_descriptor_set_create() local 733 radv_descriptor_set_destroy(struct radv_device *device, struct radv_descriptor_pool *pool, struct radv_descriptor_set *set, bool free_bo) radv_descriptor_set_destroy() argument 955 struct radv_descriptor_set *set = NULL; radv_AllocateDescriptorSets() local 1508 radv_update_descriptor_set_with_template_impl(struct radv_device *device, struct radv_cmd_buffer *cmd_buffer, struct radv_descriptor_set *set, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void *pData) radv_update_descriptor_set_with_template_impl() argument 1590 radv_cmd_update_descriptor_set_with_template(struct radv_device *device, struct radv_cmd_buffer *cmd_buffer, struct radv_descriptor_set *set, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void *pData) radv_cmd_update_descriptor_set_with_template() argument [all...] |
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/ |
H A D | ppc-darwin_closure.S | 241 .set L$set$0,LECIE1-LSCIE1 242 .long L$set$0 ; Length of Common Information Entry 260 .set L$set$1,LEFDE1-LASFDE1 261 .long L$set$1 ; FDE Length 266 .set L$set$3,LFE1-LFB1 267 .g_long L$set$3 ; FDE address range 270 .set [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
H A D | LanaiRegisterInfo.cpp | 45 Reserved.set(Lanai::R0); in getReservedRegs() 46 Reserved.set(Lanai::R1); in getReservedRegs() 47 Reserved.set(Lanai::PC); in getReservedRegs() 48 Reserved.set(Lanai::R2); in getReservedRegs() 49 Reserved.set(Lanai::SP); in getReservedRegs() 50 Reserved.set(Lanai::R4); in getReservedRegs() 51 Reserved.set(Lanai::FP); in getReservedRegs() 52 Reserved.set(Lanai::R5); in getReservedRegs() 53 Reserved.set(Lanai::RR1); in getReservedRegs() 54 Reserved.set(Lana in getReservedRegs() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | caltest.cpp | 484 if (cal->getFirstDayOfWeek() != i) errln("FAIL: set/getFirstDayOfWeek failed"); in TestGenericAPI() 492 if (cal->getMinimalDaysInFirstWeek() != i) errln("FAIL: set/getFirstDayOfWeek failed"); in TestGenericAPI() 507 cal->set(1984, 5, 24); in TestGenericAPI() 509 errln("FAIL: Calendar::set(3 args) failed"); in TestGenericAPI() 512 cal->set(1985, 3, 2, 11, 49); in TestGenericAPI() 514 errln("FAIL: Calendar::set(5 args) failed"); in TestGenericAPI() 517 cal->set(1995, 9, 12, 1, 39, 55); in TestGenericAPI() 519 errln("FAIL: Calendar::set(6 args) failed"); in TestGenericAPI() 695 gc->set(year, month, date); in TestRog() 696 gc->set(UCAL_HOUR_OF_DA in TestRog() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | config.c | 617 struct perf_config_set *set = perf_config_set; in collect_config() local 620 if (set == NULL) in collect_config() 623 sections = &set->sections; in collect_config() 669 int perf_config_set__collect(struct perf_config_set *set, const char *file_name, in perf_config_set__collect() argument 673 return collect_config(var, value, set); in perf_config_set__collect() 676 static int perf_config_set__init(struct perf_config_set *set) in perf_config_set__init() argument 685 return perf_config_from_file(collect_config, config_exclusive_filename, set); in perf_config_set__init() 687 if (perf_config_from_file(collect_config, perf_etc_perfconfig(), set) < 0) in perf_config_set__init() 721 ret = perf_config_from_file(collect_config, user_config, set); in perf_config_set__init() 731 struct perf_config_set *set in perf_config_set__new() local 817 perf_config_set__purge(struct perf_config_set *set) perf_config_set__purge() argument 827 perf_config_set__delete(struct perf_config_set *set) perf_config_set__delete() argument [all...] |