Searched refs:cur_size (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/startup/init/services/modules/seccomp/scripts/ |
H A D | generate_code_from_policy.py | 423 def gen_bpf_valid_syscall_nr(syscall_nr, cur_size): argument 426 bpf_policy.append(BPF_JEQ.format(syscall_nr, 0, cur_size)) 452 def gen_mask_equal_bpf(arg_id, mask, value, cur_size): argument 457 bpf_policy.append(BPF_JEQ.format('((uint64_t)' + value + ') >> 32', 0, cur_size + 4)) 462 bpf_policy.append(BPF_JEQ.format(value, cur_size, cur_size + 1)) 668 def compile_atom(self, atom, cur_size): argument 674 bpf_policy += self.compile_mask_equal_atom(atom, cur_size) 676 bpf_policy += self.compile_single_operation_atom(atom, cur_size) 680 def compile_mask_equal_atom(self, atom, cur_size): argument 703 return self.gen_mask_equal_bpf(arg_res[0], mask, value, cur_size) [all …]
|
/ohos5.0/build/config/components/init/seccomp/scripts/ |
H A D | generate_code_from_policy.py | 423 def gen_bpf_valid_syscall_nr(syscall_nr, cur_size): argument 426 bpf_policy.append(BPF_JEQ.format(syscall_nr, 0, cur_size)) 452 def gen_mask_equal_bpf(arg_id, mask, value, cur_size): argument 457 bpf_policy.append(BPF_JEQ.format('((uint64_t)' + value + ') >> 32', 0, cur_size + 4)) 462 bpf_policy.append(BPF_JEQ.format(value, cur_size, cur_size + 1)) 668 def compile_atom(self, atom, cur_size): argument 674 bpf_policy += self.compile_mask_equal_atom(atom, cur_size) 676 bpf_policy += self.compile_single_operation_atom(atom, cur_size) 680 def compile_mask_equal_atom(self, atom, cur_size): argument 703 return self.gen_mask_equal_bpf(arg_res[0], mask, value, cur_size) [all …]
|
/ohos5.0/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/src/ |
H A D | nfcc_nci_adapter.cpp | 458 … static_cast<uint32_t>(eventData->ndef_detect.cur_size), eventData->ndef_detect.flags); in NfcConnectionCallback() 460 … eventData->ndef_detect.cur_size, eventData->ndef_detect.flags, eventData->ndef_detect.max_size); in NfcConnectionCallback()
|