Home
last modified time | relevance | path

Searched refs:effective (Results 1 - 21 of 21) sorted by relevance

/third_party/ltp/lib/
H A Dtst_capability.c34 static void do_cap_req(uint32_t *permitted, uint32_t *effective, uint32_t mask, in do_cap_req() argument
40 if (!(*effective & mask)) { in do_cap_req()
42 *effective |= mask; in do_cap_req()
55 uint32_t *pE = &new[CAP_TO_INDEX(cap->id)].effective; in tst_cap_action()
H A Dtst_memutils.c119 if (caps[0].effective & (1U << CAP_SYS_RESOURCE)) in has_caps()
/third_party/ltp/testcases/kernel/syscalls/capset/
H A Dcapset02.c45 int effective; member
67 data->effective = tc->effective; in verify_capset()
87 data->effective = CAP1; in setup()
H A Dcapset03.c39 data[0].effective = CAP1; in setup()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dcapset.c38 printf("capdata: %x %x %x\n", cap_data.effective, cap_data.permitted, cap_data.inheritable); in capset_0100()
42 cap_data.effective = cap_mask; in capset_0100()
51 printf("capdata: %x %x %x\n", cap_data.effective, cap_data.permitted, cap_data.inheritable); in capset_0100()
H A Dcapget.c41 printf("Cap data 0x%x, 0x%x, 0x%x \n", cap_data->effective, cap_data->permitted, cap_data->inheritable); in capget_0100()
/third_party/python/Lib/idlelib/
H A Dformat.py203 """Return a line's indentation as (# chars, effective # of spaces).
205 The effective # of spaces is the length after properly "expanding"
270 raw, effective = get_line_indent(line, self.editwin.tabwidth)
271 effective = effective + self.editwin.indentwidth
272 lines[pos] = self.editwin._make_blanks(effective) + line[raw:]
282 raw, effective = get_line_indent(line, self.editwin.tabwidth)
283 effective = max(effective - self.editwin.indentwidth, 0)
284 lines[pos] = self.editwin._make_blanks(effective)
[all...]
H A Deditor.py1394 raw, effective = get_line_indent(prefix, self.tabwidth)
1397 self.reindent_to(effective + self.indentwidth)
1403 effective = len(prefix.expandtabs(self.tabwidth))
1405 pad = ' ' * (n - effective % n)
1602 """Return a line's indentation as (# chars, effective # of spaces).
1604 The effective # of spaces is the length after properly "expanding"
/third_party/rust/crates/rustix/tests/process/
H A Dprctl.rs134 effective: u32,
146 effective: 0,
151 effective: 0,
176 Ok((flag & data[data_index].effective) != 0)
/third_party/libfuse/util/
H A Dmount.fuse.c162 return data[0].effective | ((uint64_t) data[1].effective << 32); in get_capabilities()
177 data[0].effective = data[0].permitted = caps; in set_capabilities()
178 data[1].effective = data[1].permitted = caps >> 32; in set_capabilities()
/third_party/musl/src/linux/liteos_a/
H A Dcap.c204 data_ptr[0].effective = ohos_caps_to_linux(capvalue); in linux_capget()
234 capvalue = linux_caps_to_ohos(data_ptr[0].effective); in linux_capset()
/third_party/musl/porting/liteos_a/user/src/linux/
H A Dcap.c220 data_ptr[0].effective = ohos_caps_to_linux(capvalue); in linux_capget()
250 capvalue = linux_caps_to_ohos(data_ptr[0].effective); in linux_capset()
/third_party/ltp/include/
H A Dtst_capability.h29 uint32_t effective; member
61 * It will attempt to drop or add capability to the effective set. It will
63 * clearly can not add a privilege to the effective set then it will return
66 * This only tries to change the effective set. Some tests may need to change
/third_party/ltp/testcases/kernel/syscalls/capget/
H A Dcapget01.c38 if (data[0].effective & 1 << CAP_NET_RAW) in verify_capget()
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_emit.c199 unsigned effective = ins->mask; in mir_pack_mask_alu() local
202 * override to the lower or upper half, shifting the effective mask in in mir_pack_mask_alu()
209 effective >>= upper_shift; in mir_pack_mask_alu()
218 alu->mask = expand_writemask(effective, 2); in mir_pack_mask_alu()
220 alu->mask = expand_writemask(effective, 1); in mir_pack_mask_alu()
222 alu->mask = effective; in mir_pack_mask_alu()
/third_party/backends/backend/genesys/
H A Dgl847.cpp393 std::uint8_t effective = dev->interface->read_register(REG_0x6C); in gl847_init_motor_regs_scan() local
397 std::uint8_t val = effective; in gl847_init_motor_regs_scan()
399 val = effective & ~REG_0x6C_GPIO13; in gl847_init_motor_regs_scan()
401 val = effective | REG_0x6C_GPIO13; in gl847_init_motor_regs_scan()
405 // effective scan in gl847_init_motor_regs_scan()
406 effective = dev->interface->read_register(REG_0x6C); in gl847_init_motor_regs_scan()
407 val = effective | REG_0x6C_GPIO10; in gl847_init_motor_regs_scan()
/third_party/python/Lib/
H A Dbdb.py218 """Return True if there is an effective breakpoint for this line.
221 Delete temporary breakpoints if effective() says to.
235 (bp, flag) = effective(filename, lineno, frame)
682 # effective break .... see effective()
811 def effective(file, line, frame): function
/third_party/rust/crates/nix/src/
H A Dunistd.rs87 /// Returns effective Uid of calling process. This is practically a more Rusty alias for `geteuid`.
89 pub fn effective() -> Self { in effective() functions
144 /// Returns effective Gid of calling process. This is practically a more Rusty alias for `getegid`.
146 pub fn effective() -> Self { in effective() functions
1412 /// Get the effective user ID
1432 /// Get the effective group ID
1442 /// Set the effective user ID
1452 /// Set the effective group ID
2008 /// the effective group ID of the process or to one of its supplementary
2780 /// Sets the real, effective, an
[all...]
/third_party/rust/crates/nix/test/
H A Dtest_unistd.rs698 assert_ne!(resuids.effective.as_raw(), libc::uid_t::MAX); in test_getresuid()
713 assert_ne!(resgids.effective.as_raw(), libc::gid_t::MAX); in test_getresgid()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dos_unix.c356 cap.effective = cap.permitted = in os_program_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos_unix.c364 cap.effective = cap.permitted = in os_program_init()

Completed in 20 milliseconds