Searched refs:argidx (Results 1 – 6 of 6) sorted by relevance
/external/minijail/ |
D | bpf.c | 45 size_t bpf_load_arg(struct sock_filter *filter, int argidx) in bpf_load_arg() argument 47 set_bpf_stmt(filter, BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in bpf_load_arg() 51 size_t bpf_load_arg(struct sock_filter *filter, int argidx) in bpf_load_arg() argument 54 set_bpf_stmt(curr_block++, BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in bpf_load_arg() 56 set_bpf_stmt(curr_block++, BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in bpf_load_arg() 136 size_t bpf_arg_comp(struct sock_filter **pfilter, int op, int argidx, in bpf_arg_comp() argument 147 curr_block += bpf_load_arg(curr_block, argidx); in bpf_arg_comp()
|
D | bpf.h | 176 size_t bpf_load_arg(struct sock_filter *filter, int argidx); 189 int op, int argidx, unsigned long c, unsigned int label_id);
|
D | syscall_filter_unittest.cc | 108 const int argidx = 1; in TEST() local 109 size_t len = bpf_load_arg(load_arg, argidx); in TEST() 114 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST() 116 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST() 118 EXPECT_EQ_STMT(&load_arg[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST() 185 const int argidx = 1; in TEST() local 189 size_t len = bpf_arg_comp(&arg_comp, op, argidx, c, label_id); in TEST() 194 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST() 198 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST() 200 EXPECT_EQ_STMT(&arg_comp[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST()
|
D | syscall_filter.c | 208 long int argidx = strtol(argidx_str + 3, &argidx_ptr, 10); in compile_atom() local 247 size_t len = bpf_arg_comp(&comp_block, op, argidx, c, id); in compile_atom()
|
/external/python/cpython2/Objects/ |
D | stringobject.c | 3929 Py_ssize_t argidx = *p_argidx; in getnextarg() local 3930 if (argidx < arglen) { in getnextarg() 3935 return PyTuple_GetItem(args, argidx); in getnextarg() 4249 Py_ssize_t arglen, argidx; in PyString_Format() local 4271 argidx = 0; in PyString_Format() 4275 argidx = -2; in PyString_Format() 4310 Py_ssize_t argidx_start = argidx; in PyString_Format() 4357 argidx = -2; in PyString_Format() 4370 v = getnextarg(args, arglen, &argidx); in PyString_Format() 4408 v = getnextarg(args, arglen, &argidx); in PyString_Format() [all …]
|
D | unicodeobject.c | 8113 Py_ssize_t argidx = *p_argidx; in getnextarg() local 8114 if (argidx < arglen) { in getnextarg() 8119 return PyTuple_GetItem(args, argidx); in getnextarg() 8361 Py_ssize_t fmtcnt, rescnt, reslen, arglen, argidx; in PyUnicode_Format() local 8385 argidx = 0; in PyUnicode_Format() 8389 argidx = -2; in PyUnicode_Format() 8475 argidx = -2; in PyUnicode_Format() 8488 v = getnextarg(args, arglen, &argidx); in PyUnicode_Format() 8525 v = getnextarg(args, arglen, &argidx); in PyUnicode_Format() 8568 v = getnextarg(args, arglen, &argidx); in PyUnicode_Format() [all …]
|