/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | union_bitfield.rs | 75 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { in set() functions 134 self._bitfield_1.set(0usize, 1u8, val as u64) in set_derp() 143 __bindgen_bitfield_unit.set(0usize, 1u8, { 190 self._bitfield_1.set(0usize, 31u8, val as u64) in set_foo() 203 self._bitfield_1.set(31usize, 1u8, val as u64) in set_bar() 213 __bindgen_bitfield_unit.set(0usize, 31u8, { 217 __bindgen_bitfield_unit.set(31usize, 1u8, {
|
H A D | bitfield-large.rs | 75 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { in set() functions 125 self._bitfield_1.set(0usize, 128u8, val as u64) in set_x() 132 __bindgen_bitfield_unit.set(0usize, 128u8, { 170 self._bitfield_1.set(0usize, 80u8, val as u64) in set_x() 183 self._bitfield_1.set(80usize, 48u8, val as u64) in set_y() 193 __bindgen_bitfield_unit.set(0usize, 80u8, { 197 __bindgen_bitfield_unit.set(80usize, 48u8, {
|
H A D | packed-bitfield.rs | 75 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { in set() functions 124 self._bitfield_1.set(0usize, 5u8, val as u64) in set_day() 137 self._bitfield_1.set(5usize, 4u8, val as u64) in set_month() 150 self._bitfield_1.set(9usize, 15u8, val as u64) in set_year() 161 __bindgen_bitfield_unit.set(0usize, 5u8, { 165 __bindgen_bitfield_unit.set(5usize, 4u8, { 169 __bindgen_bitfield_unit.set(9usize, 15u8, {
|
H A D | layout_mbuf.rs | 75 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { in set() functions 159 /// VLAN TCI (CPU order), valid if PKT_RX_VLAN_STRIPPED is set. 165 /// Outer VLAN TCI (CPU order), valid if PKT_RX_QINQ_STRIPPED is set. 285 self._bitfield_1.set(0usize, 4u8, val as u64) in set_l2_type() 298 self._bitfield_1.set(4usize, 4u8, val as u64) in set_l3_type() 311 self._bitfield_1.set(8usize, 4u8, val as u64) in set_l4_type() 324 self._bitfield_1.set(12usize, 4u8, val as u64) in set_tun_type() 337 self._bitfield_1.set(16usize, 4u8, val as u64) in set_inner_l2_type() 350 self._bitfield_1.set(20usize, 4u8, val as u64) in set_inner_l3_type() 363 self._bitfield_1.set(2 in set_inner_l4_type() [all...] |
/third_party/python/Tools/peg_generator/pegen/ |
H A D | first_sets.py | 40 self.in_process: Set[str] = set() 48 result: Set[str] = set() 49 to_remove: Set[str] = set() 58 # If the set of new terminals can start with the empty string, 75 return set() 109 return set() 117 result: Set[str] = set() 124 return set()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | Instance.cpp | 63 enabledBackends.set(wgpu::BackendType::Null); in GetEnabledBackends() 66 enabledBackends.set(wgpu::BackendType::D3D12); in GetEnabledBackends() 69 enabledBackends.set(wgpu::BackendType::Metal); in GetEnabledBackends() 72 enabledBackends.set(wgpu::BackendType::Vulkan); in GetEnabledBackends() 75 enabledBackends.set(wgpu::BackendType::OpenGL); in GetEnabledBackends() 78 enabledBackends.set(wgpu::BackendType::OpenGLES); in GetEnabledBackends() 212 mBackendsConnected.set(backendType); in EnsureBackendConnection()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGNode.cpp | 19 fPresentationAttributes.fStopColor.set(SkSVGColor(SK_ColorBLACK)); in SkSVGNode() 20 fPresentationAttributes.fStopOpacity.set(SkSVGNumberType(1.0f)); in SkSVGNode() 21 fPresentationAttributes.fFloodColor.set(SkSVGColor(SK_ColorBLACK)); in SkSVGNode() 22 fPresentationAttributes.fFloodOpacity.set(SkSVGNumberType(1.0f)); in SkSVGNode() 23 fPresentationAttributes.fLightingColor.set(SkSVGColor(SK_ColorWHITE)); in SkSVGNode() 82 presentation_attribute.set(value); in SetInheritedByDefault() 92 this->set##attrName( \ in parseAndSetAttribute()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | IBMCalendarTest.java | 121 cal.set(data[i], data[i+1], data[i+2], data[i+3], 0, 0); in TestWeekend() 175 grego.set(gregorianYear, month, dayOfMonth); in quasiGregorianTest() 179 cal.set(Calendar.ERA, era); in quasiGregorianTest() 180 cal.set(year, month, dayOfMonth); in quasiGregorianTest() 323 cal.set(2007, Calendar.JANUARY, 1); in TestBuddhistLimits() 366 cal.set(2007, Calendar.JANUARY, 1); in TestTaiwanLimits() 502 cal.set(2004, Calendar.JANUARY, 1); in TestGregorianLimits() 515 cal.set(2004, Calendar.FEBRUARY, 29); in TestLeapFieldDifference() 517 cal.set(2000, Calendar.FEBRUARY, 29); in TestLeapFieldDifference() 535 cal.set(200 in TestLeapFieldDifference() [all...] |
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | bindec.S | 37 | The operation in A3 above may have set INEX2. 40 | ICTR is a flag used in A13. It must be set before the 49 | If LEN is computed to be greater than 17, set OPERR in 62 | The operation in A3 above may have set INEX2. 73 | If INEX is set, round error occurred. This is 77 | A11. Restore original FPCR; set size ext. 104 | length is 4, set operr. 171 | is a denormalized number, set the BINDEC_FLG memory word 175 fmovel #rm_mode,%FPCR |set RM and ext 201 st BINDEC_FLG(%a6) |set fla [all...] |
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | bindec.S | 37 | The operation in A3 above may have set INEX2. 40 | ICTR is a flag used in A13. It must be set before the 49 | If LEN is computed to be greater than 17, set OPERR in 62 | The operation in A3 above may have set INEX2. 73 | If INEX is set, round error occurred. This is 77 | A11. Restore original FPCR; set size ext. 104 | length is 4, set operr. 171 | is a denormalized number, set the BINDEC_FLG memory word 175 fmovel #rm_mode,%FPCR |set RM and ext 201 st BINDEC_FLG(%a6) |set fla [all...] |
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | octeon_switch.S | 26 .set arch=octeon 46 .set noreorder 55 .set reorder 96 .set push 97 .set noreorder 108 /* Skip next instructions if CvmCtl[NODFA_CP2] set */ 117 1: bbit1 t9, 26, 3f /* done if CvmCtl[NOCRYPTO] set */ 248 3: /* pass 1 or CvmCtl[NOCRYPTO] set */ 252 .set pop 258 .set pus [all...] |
H A D | signal_n32.c | 58 sigset_t set; in sysn32_rt_sigreturn() local 65 if (__copy_conv_sigset_from_user(&set, &frame->rs_uc.uc_sigmask)) in sysn32_rt_sigreturn() 68 set_current_blocked(&set); in sysn32_rt_sigreturn() 94 struct pt_regs *regs, sigset_t *set) in setup_rt_frame_n32() 111 err |= __copy_conv_sigset_to_user(&frame->rs_uc.uc_sigmask, set); in setup_rt_frame_n32() 93 setup_rt_frame_n32(void *sig_return, struct ksignal *ksig, struct pt_regs *regs, sigset_t *set) setup_rt_frame_n32() argument
|
H A D | head.S | 31 * set ST0_KX so that the CPU does not spit fire when using 35 .macro setup_c0_status set clr 36 .set push 38 or t0, ST0_KERNEL_CUMASK|\set|0x1f|\clr 41 .set noreorder 43 .set pop
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | octeon_switch.S | 25 .set arch=octeon 45 .set noreorder 54 .set reorder 95 .set push 96 .set noreorder 107 /* Skip next instructions if CvmCtl[NODFA_CP2] set */ 116 1: bbit1 t9, 26, 3f /* done if CvmCtl[NOCRYPTO] set */ 247 3: /* pass 1 or CvmCtl[NOCRYPTO] set */ 251 .set pop 257 .set pus [all...] |
H A D | signal_n32.c | 57 sigset_t set; in sysn32_rt_sigreturn() local 64 if (__copy_conv_sigset_from_user(&set, &frame->rs_uc.uc_sigmask)) in sysn32_rt_sigreturn() 67 set_current_blocked(&set); in sysn32_rt_sigreturn() 93 struct pt_regs *regs, sigset_t *set) in setup_rt_frame_n32() 110 err |= __copy_conv_sigset_to_user(&frame->rs_uc.uc_sigmask, set); in setup_rt_frame_n32() 92 setup_rt_frame_n32(void *sig_return, struct ksignal *ksig, struct pt_regs *regs, sigset_t *set) setup_rt_frame_n32() argument
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | signal32.c | 49 static inline int put_sigset_t(compat_sigset_t __user *uset, sigset_t *set) in put_sigset_t() argument 53 cset.sig[0] = set->sig[0] & 0xffffffffull; in put_sigset_t() 54 cset.sig[1] = set->sig[0] >> 32; in put_sigset_t() 59 static inline int get_sigset_t(sigset_t *set, in get_sigset_t() argument 67 set->sig[0] = s32.sig[0] | (((long)s32.sig[1]) << 32); in get_sigset_t() 186 sigset_t set; in compat_restore_sigframe() local 190 err = get_sigset_t(&set, &sf->uc.uc_sigmask); in compat_restore_sigframe() 192 set_current_blocked(&set); in compat_restore_sigframe() 358 struct pt_regs *regs, sigset_t *set) in compat_setup_sigframe() 383 /* set th in compat_setup_sigframe() 357 compat_setup_sigframe(struct compat_sigframe __user *sf, struct pt_regs *regs, sigset_t *set) compat_setup_sigframe() argument 403 compat_setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) compat_setup_rt_frame() argument 432 compat_setup_frame(int usig, struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) compat_setup_frame() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/phy/ |
H A D | bcm54140.c | 393 u16 mask, set; in bcm54140_enable_monitoring() local 396 set = BCM54140_RDB_MON_CTRL_V_MODE; in bcm54140_enable_monitoring() 400 set |= FIELD_PREP(BCM54140_RDB_MON_CTRL_SEL_MASK, in bcm54140_enable_monitoring() 406 return bcm_phy_modify_rdb(phydev, BCM54140_RDB_MON_CTRL, mask, set); in bcm54140_enable_monitoring() 712 u16 mask, set; in bcm54140_set_downshift() local 727 set = BCM54140_RDB_SPARE2_WS_RTRY_DIS; in bcm54140_set_downshift() 731 set = FIELD_PREP(BCM54140_RDB_SPARE2_WS_RTRY_LIMIT, cnt - 2); in bcm54140_set_downshift() 734 mask, set); in bcm54140_set_downshift() 772 u16 mask, set; in bcm54140_set_edpd() local 776 set in bcm54140_set_edpd() [all...] |
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | bcm54140.c | 393 u16 mask, set; in bcm54140_enable_monitoring() local 396 set = BCM54140_RDB_MON_CTRL_V_MODE; in bcm54140_enable_monitoring() 400 set |= FIELD_PREP(BCM54140_RDB_MON_CTRL_SEL_MASK, in bcm54140_enable_monitoring() 406 return bcm_phy_modify_rdb(phydev, BCM54140_RDB_MON_CTRL, mask, set); in bcm54140_enable_monitoring() 739 u16 mask, set; in bcm54140_set_downshift() local 754 set = BCM54140_RDB_SPARE2_WS_RTRY_DIS; in bcm54140_set_downshift() 758 set = FIELD_PREP(BCM54140_RDB_SPARE2_WS_RTRY_LIMIT, cnt - 2); in bcm54140_set_downshift() 761 mask, set); in bcm54140_set_downshift() 799 u16 mask, set; in bcm54140_set_edpd() local 803 set in bcm54140_set_edpd() [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | signal_32.c | 129 sigset_t set; in SYSCALL32_DEFINE0() local 133 if (__get_user(set.sig[0], &frame->sc.oldmask) in SYSCALL32_DEFINE0() 134 || __get_user(((__u32 *)&set)[1], &frame->extramask[0])) in SYSCALL32_DEFINE0() 137 set_current_blocked(&set); in SYSCALL32_DEFINE0() 152 sigset_t set; in SYSCALL32_DEFINE0() local 158 if (__get_user(*(__u64 *)&set, (__u64 __user *)&frame->uc.uc_sigmask)) in SYSCALL32_DEFINE0() 161 set_current_blocked(&set); in SYSCALL32_DEFINE0() 225 #define unsafe_put_sigcontext32(sc, fp, regs, set, label) \ 227 if (__unsafe_setup_sigcontext32(sc, fp, regs, set->sig[0])) \ 233 sigset32_t *set in ia32_setup_frame() local 304 sigset32_t *set = (sigset32_t *) sigmask_to_save(); ia32_setup_rt_frame() local [all...] |
/third_party/curl/lib/ |
H A D | sendf.c | 285 void *writebody_ptr = data->set.out; in chop_write() 298 ((type & CLIENTWRITE_HEADER) && data->set.include_header))) { in chop_write() 299 writebody = data->set.fwrite_func; in chop_write() 302 (data->set.fwrite_header || data->set.writeheader)) { in chop_write() 308 data->set.fwrite_header? data->set.fwrite_header: data->set.fwrite_func; in chop_write() 360 wrote = writeheader(optr, 1, olen, data->set.writeheader); in chop_write() 554 if((type & CLIENTWRITE_CONNECT) && data->set in cw_download_write() [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
H A D | consistency_tools.py | 24 """Get a set of all author tags registered for use.""" 25 return set(elt.get("name") for elt in reg.tree.findall("./tags/tag[@name]")) 99 specified_codes = set(self.codes_requiring_input_type.keys()) 183 """Return a set of return codes expected due to having 191 return self.input_type_to_codes.get(type_name, set()) 194 """Return a set of return codes required due to having a particular name. 197 return set() 200 """Return a set of return codes not permittted due to having a particular name. 203 return set() 224 self.ext_numbers = set() [all...] |
/third_party/python/Lib/test/ |
H A D | test_configparser.py | 448 cf.set("a", "B", "value") 454 cf.set("b", "A", "value") 457 cf.set("A", "A-B", "A-B value") 578 cf.set("foo", "bar", "value") 711 cf.set("sect", "option1", "splat") 712 cf.set("sect", "option1", mystr("splat")) 713 cf.set("sect", "option2", "splat") 714 cf.set("sect", "option2", mystr("splat")) 715 cf.set("sect", "option1", "splat") 716 cf.set("sec [all...] |
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | tls.h | 15 mcr p15, 0, \tp, c13, c0, 3 @ set TLS register 25 streq \tp, [\tmp2, #-15] @ set TLS value at 0xffff0ff0 27 mcrne p15, 0, \tp, c13, c0, 3 @ yes, set TLS register 28 mcrne p15, 0, \tpuser, c13, c0, 2 @ set user r/w register 34 str \tp, [\tmp1, #-15] @ set TLS value at 0xffff0ff0
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | dcr-native.h | 112 unsigned clr, unsigned set) in __dcri_clrset() 120 val = (mfdcrx(base_data) & ~clr) | set; in __dcri_clrset() 124 val = (__mfdcr(base_data) & ~clr) | set; in __dcri_clrset() 138 #define dcri_clrset(base, reg, clr, set) __dcri_clrset(DCRN_ ## base ## _CONFIG_ADDR, \ 140 reg, clr, set) 111 __dcri_clrset(int base_addr, int base_data, int reg, unsigned clr, unsigned set) __dcri_clrset() argument
|
/kernel/linux/linux-5.10/arch/mips/pic32/pic32mzda/ |
H A D | config.c | 37 static u32 pic32_conf_modify_atomic(u32 offset, u32 mask, u32 set) in pic32_conf_modify_atomic() argument 45 v |= (set & mask); in pic32_conf_modify_atomic() 71 u32 clr, set; in pic32_set_sdhci_adma_fifo_threshold() local 74 set = (rthrsh << 4) | (wthrsh << 16); in pic32_set_sdhci_adma_fifo_threshold() 75 return pic32_conf_modify_atomic(PIC32_CFGCON2, clr, set); in pic32_set_sdhci_adma_fifo_threshold()
|