Home
last modified time | relevance | path

Searched refs:insns (Results 1 – 25 of 118) sorted by relevance

12345

/external/boringssl/src/crypto/fipsmodule/sha/asm/
Dsha1-x86_64.pl577 my @insns = (&$body,&$body,&$body,&$body); # 40 instructions
580 eval(shift(@insns)); # ror
582 eval(shift(@insns));
585 eval(shift(@insns));
586 eval(shift(@insns));
589 eval(shift(@insns));
590 eval(shift(@insns)); # rol
591 eval(shift(@insns));
593 eval(shift(@insns));
594 eval(shift(@insns));
[all …]
Dsha1-586.pl677 my @insns = (&$body,&$body,&$body,&$body); # 40 instructions
680 eval(shift(@insns)); # ror
681 eval(shift(@insns));
682 eval(shift(@insns));
685 eval(shift(@insns));
686 eval(shift(@insns));
690 eval(shift(@insns)); # rol
691 eval(shift(@insns));
693 eval(shift(@insns));
694 eval(shift(@insns));
[all …]
Dsha256-armv4.pl325 my @insns = (&$body,&$body,&$body,&$body);
329 eval(shift(@insns));
330 eval(shift(@insns));
331 eval(shift(@insns));
333 eval(shift(@insns));
334 eval(shift(@insns));
335 eval(shift(@insns));
337 eval(shift(@insns));
338 eval(shift(@insns));
340 eval(shift(@insns));
[all …]
Dsha1-armv4-large.pl384 my @insns = (&$body,&$body,&$body,&$body);
388 eval(shift(@insns));
389 eval(shift(@insns));
390 eval(shift(@insns));
392 eval(shift(@insns));
394 eval(shift(@insns));
396 eval(shift(@insns));
397 eval(shift(@insns));
398 eval(shift(@insns));
400 eval(shift(@insns));
[all …]
Dsha256-586.pl723 my @insns = (&$body,&$body,&$body,&$body); # 120 instructions
725 eval(shift(@insns));
727 eval(shift(@insns)); # @
728 eval(shift(@insns));
730 eval(shift(@insns));
731 eval(shift(@insns));
733 eval(shift(@insns));
734 eval(shift(@insns)); # @
735 eval(shift(@insns));
737 eval(shift(@insns));
[all …]
Dsha512-x86_64.pl903 my @insns = (&$body,&$body,&$body,&$body); # 104 instructions
908 eval(shift(@insns));
909 eval(shift(@insns));
910 eval(shift(@insns));
913 eval(shift(@insns)); #@
915 eval(shift(@insns));
916 eval(shift(@insns));
918 eval(shift(@insns)); #@
919 eval(shift(@insns));
920 eval(shift(@insns));
[all …]
/external/syzkaller/pkg/ifuzz/
Difuzz.go114 var insns []*Insn
115 insns = append(insns, modeInsns[cfg.Mode][typeUser]...)
117 insns = append(insns, modeInsns[cfg.Mode][typePriv]...)
119 insns = append(insns, modeInsns[cfg.Mode][typeExec]...)
122 return insns
137 insns := split(cfg, text)
139 for stop := false; !stop || retry || len(insns) == 0; stop = r.Intn(2) == 0 {
142 case x < 10 && len(insns) != 0:
144 i := r.Intn(len(insns))
145 copy(insns[i:], insns[i+1:])
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tag.c27 static void bpf_gen_imm_prog(unsigned int insns, int fd_map) in bpf_gen_imm_prog() argument
32 for (i = 0; i < insns; i++) in bpf_gen_imm_prog()
37 static void bpf_gen_map_prog(unsigned int insns, int fd_map) in bpf_gen_map_prog() argument
41 for (i = 0; i + 1 < insns; i += 2) { in bpf_gen_map_prog()
48 if (insns % 2 == 0) in bpf_gen_map_prog()
49 prog[insns - 2] = BPF_ALU64_IMM(BPF_MOV, i % BPF_REG_10, 42); in bpf_gen_map_prog()
50 prog[insns - 1] = BPF_EXIT_INSN(); in bpf_gen_map_prog()
53 static int bpf_try_load_prog(int insns, int fd_map, in bpf_try_load_prog() argument
54 void (*bpf_filler)(unsigned int insns, in bpf_try_load_prog() argument
59 bpf_filler(insns, fd_map); in bpf_try_load_prog()
[all …]
Dtest_verifier.c63 struct bpf_insn insns[MAX_INSNS]; member
111 struct bpf_insn *insn = self->insns; in bpf_fill_ld_abs_vlan_push_pop()
149 struct bpf_insn *insn = self->insns; in bpf_fill_jump_around_ld_abs()
164 struct bpf_insn *insn = self->insns; in bpf_fill_rand_ld_dw()
207 .insns = {
222 .insns = {
234 .insns = {
246 .insns = {
258 .insns = {
270 .insns = {
[all …]
Dtest_sock.c27 struct bpf_insn insns[MAX_INSNS]; member
48 .insns = {
65 .insns = {
82 .insns = {
99 .insns = {
116 .insns = {
130 .insns = {
144 .insns = {
158 .insns = {
172 .insns = {
[all …]
Dtest_align.c33 struct bpf_insn insns[MAX_INSNS]; member
50 .insns = {
72 .insns = {
106 .insns = {
130 .insns = {
166 .insns = {
200 .insns = {
230 .insns = {
268 .insns = {
375 .insns = {
[all …]
Dtest_sock_addr.c520 const struct bpf_insn *insns, size_t insns_cnt) in load_insns() argument
528 load_attr.insns = insns; in load_insns()
571 struct bpf_insn insns[] = { in bind4_prog_load() local
618 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in bind4_prog_load()
636 struct bpf_insn insns[] = { in bind6_prog_load() local
684 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in bind6_prog_load()
719 struct bpf_insn insns[] = { in sendmsg_deny_prog_load() local
724 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in sendmsg_deny_prog_load()
742 struct bpf_insn insns[] = { in sendmsg4_rw_asm_prog_load() local
776 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in sendmsg4_rw_asm_prog_load()
[all …]
/external/capstone/
Dutils.c14 static unsigned short *make_id2insn(insn_map *insns, unsigned int size) in make_id2insn() argument
17 unsigned short max_id = insns[size - 1].id; in make_id2insn()
23 cache[insns[i].id] = i; in make_id2insn()
30 unsigned short insn_find(insn_map *insns, unsigned int max, unsigned int id, unsigned short **cache) in insn_find() argument
32 if (id > insns[max - 1].id) in insn_find()
36 *cache = make_id2insn(insns, max); in insn_find()
/external/capstone/arch/XCore/
DXCoreMapping.c74 static insn_map insns[] = { variable
1374 i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in XCore_get_insn_id()
1376 insn->id = insns[i].mapid; in XCore_get_insn_id()
1380 memcpy(insn->detail->regs_read, insns[i].regs_use, sizeof(insns[i].regs_use)); in XCore_get_insn_id()
1381 insn->detail->regs_read_count = (uint8_t)count_positive(insns[i].regs_use); in XCore_get_insn_id()
1383 memcpy(insn->detail->regs_write, insns[i].regs_mod, sizeof(insns[i].regs_mod)); in XCore_get_insn_id()
1384 insn->detail->regs_write_count = (uint8_t)count_positive(insns[i].regs_mod); in XCore_get_insn_id()
1386 memcpy(insn->detail->groups, insns[i].groups, sizeof(insns[i].groups)); in XCore_get_insn_id()
1387 insn->detail->groups_count = (uint8_t)count_positive(insns[i].groups); in XCore_get_insn_id()
1389 if (insns[i].branch || insns[i].indirect_branch) { in XCore_get_insn_id()
/external/syzkaller/pkg/ifuzz/gen/
Dgen.go33 var insns []*ifuzz.Insn
61 insns = append(insns, insn1)
109 insns = append(insns, insn1)
142 for _, insn := range insns {
163 fmt.Fprintf(os.Stderr, "deduped %v instructions\n", len(insns)-len(deduped))
164 insns = deduped
171 serializer.Write(os.Stdout, insns)
173 fmt.Fprintf(os.Stderr, "handled %v, skipped %v\n", len(insns), skipped)
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vertprog.c41 FREE(vp->insns); in nv30_vertprog_destroy()
42 vp->insns = NULL; in nv30_vertprog_destroy()
108 inst = vp->insns[reloc->location].data; in nv30_vertprog_validate()
117 inst = vp->insns[reloc->location].data; in nv30_vertprog_validate()
151 inst = vp->insns[reloc->location].data; in nv30_vertprog_validate()
160 inst = vp->insns[reloc->location].data; in nv30_vertprog_validate()
201 PUSH_DATAp(push, vp->insns[i].data, 4); in nv30_vertprog_validate()
/external/capstone/suite/
Dfuzz.py66 insns = md.disasm(code, 0)
67 for i in insns:
73 insns = md.disasm_lite(code, 0)
74 for (addr, size, mnem, ops) in insns:
Dbenchmark.py57 insns = md.disasm(code, 0)
60 for i in insns:
66 insns = md.disasm_lite(code, 0)
67 for (addr, size, mnem, ops) in insns:
/external/strace/tests/
Dbpf.c494 static const struct bpf_insn insns[] = { variable
531 # define INSNS_ARG insns[0].off, insns[0].imm
534 # define INSNS_ARG insns
542 attr->insns = (uintptr_t) insns; in init_BPF_PROG_LOAD_attr3()
556 (unsigned int) ARRAY_SIZE(insns), INSNS_ARG, license, in print_BPF_PROG_LOAD_attr3()
565 attr->insns = (uintptr_t) insns; in init_BPF_PROG_LOAD_attr4()
583 (unsigned int) ARRAY_SIZE(insns), INSNS_ARG, in print_BPF_PROG_LOAD_attr4()
598 .insns = 0,
617 .insns = 0xffffffff00000000,
640 .insn_cnt = ARRAY_SIZE(insns),
[all …]
/external/strace/tests-m32/
Dbpf.c494 static const struct bpf_insn insns[] = { variable
531 # define INSNS_ARG insns[0].off, insns[0].imm
534 # define INSNS_ARG insns
542 attr->insns = (uintptr_t) insns; in init_BPF_PROG_LOAD_attr3()
556 (unsigned int) ARRAY_SIZE(insns), INSNS_ARG, license, in print_BPF_PROG_LOAD_attr3()
565 attr->insns = (uintptr_t) insns; in init_BPF_PROG_LOAD_attr4()
583 (unsigned int) ARRAY_SIZE(insns), INSNS_ARG, in print_BPF_PROG_LOAD_attr4()
598 .insns = 0,
617 .insns = 0xffffffff00000000,
640 .insn_cnt = ARRAY_SIZE(insns),
[all …]
/external/strace/tests-mx32/
Dbpf.c494 static const struct bpf_insn insns[] = { variable
531 # define INSNS_ARG insns[0].off, insns[0].imm
534 # define INSNS_ARG insns
542 attr->insns = (uintptr_t) insns; in init_BPF_PROG_LOAD_attr3()
556 (unsigned int) ARRAY_SIZE(insns), INSNS_ARG, license, in print_BPF_PROG_LOAD_attr3()
565 attr->insns = (uintptr_t) insns; in init_BPF_PROG_LOAD_attr4()
583 (unsigned int) ARRAY_SIZE(insns), INSNS_ARG, in print_BPF_PROG_LOAD_attr4()
598 .insns = 0,
617 .insns = 0xffffffff00000000,
640 .insn_cnt = ARRAY_SIZE(insns),
[all …]
/external/swiftshader/third_party/LLVM/utils/Target/ARM/
Danalyze-match-table.py11 insns = []
23 insns.append((code,string,converter,items,features))
28 for insn in insns:
/external/swiftshader/third_party/llvm-7.0/llvm/utils/Target/ARM/
Danalyze-match-table.py11 insns = []
23 insns.append((code,string,converter,items,features))
28 for insn in insns:
/external/llvm/utils/Target/ARM/
Danalyze-match-table.py11 insns = []
23 insns.append((code,string,converter,items,features))
28 for insn in insns:
/external/swiftshader/src/Pipeline/
DSpirvShader.hpp34 InsnStore insns; member in sw::SpirvShader
93 return InsnIterator{insns.cbegin() + 5}; in begin()
98 return InsnIterator{insns.cend()}; in end()
125 explicit SpirvShader(InsnStore const &insns);

12345