/external/ltp/testcases/kernel/syscalls/execve/ |
D | execve05.c | 61 char *av[6]; variable 70 int main(int ac, char **av) in main() argument 78 tst_parse_opts(ac, av, NULL, NULL); in main() 89 prog = av[0]; in main() 90 iterations = atoi(av[1]); in main() 91 fname1 = av[2]; in main() 92 fname2 = av[3]; in main() 93 count = atoi(av[4]); in main() 107 av[0] = fname1; in main() 108 av[1] = iter; in main() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_codeop.py | 60 av = self.assertValid 71 av("") 72 av("\n") 74 av("a = 1") 75 av("\na = 1") 76 av("a = 1\n") 77 av("a = 1\n\n") 78 av("\n\na = 1\n\n") 80 av("def x():\n pass\n") 81 av("if 1:\n pass\n") [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_codeop.py | 60 av = self.assertValid 71 av("") 72 av("\n") 74 av("a = 1") 75 av("\na = 1") 76 av("a = 1\n") 77 av("a = 1\n\n") 78 av("\n\na = 1\n\n") 80 av("def x():\n pass\n") 81 av("if 1:\n pass\n") [all …]
|
/external/python/cpython2/Lib/ |
D | sre_compile.py | 78 for op, av in pattern: 81 lo = _sre.getlower(av, flags) 97 emit(av) 107 _compile_charset(av, flags, code, fixup, fixes) 119 emit(av[0]) 120 emit(av[1]) 121 _compile(code, av[2], flags) 124 elif _simple(av) and op is not REPEAT: 130 emit(av[0]) 131 emit(av[1]) [all …]
|
/external/python/cpython3/Lib/ |
D | sre_compile.py | 79 for op, av in pattern: 82 lo = _sre.getlower(av, flags) 98 emit(av) 108 _compile_charset(av, flags, code, fixup, fixes) 118 elif _simple(av) and op is not REPEAT: 124 emit(av[0]) 125 emit(av[1]) 126 _compile(code, av[2], flags) 132 emit(av[0]) 133 emit(av[1]) [all …]
|
/external/Microsoft-GSL/tests/ |
D | multi_span_tests.cpp | 686 auto av = as_multi_span(a); variable 687 fn(av.bounds()); 688 auto av2 = as_multi_span(av, dim<60>()); 711 multi_span<int, 5> av = arr; variable 712 CHECK((av.first<2>().bounds() == static_bounds<2>())); 713 CHECK(av.first<2>().length() == 2); 714 CHECK(av.first(2).length() == 2); 718 multi_span<int, 5> av = arr; variable 719 CHECK((av.first<0>().bounds() == static_bounds<0>())); 720 CHECK(av.first<0>().length() == 0); [all …]
|
D | strided_span_tests.cpp | 45 const auto av = as_multi_span(a); variable 46 const auto sub = av.section({15, 0, 0}, gsl::index<3>{2, 2, 2}); 55 const multi_span<int, 5, 10> av = as_multi_span(multi_span<int>{data}, dim<5>(), dim<10>()); variable 57 const strided_span<int, 2> av_section_1 = av.section({1, 2}, {3, 4}); 194 const multi_span<int, 2> av(arr, 2); variable 195 multi_span<const int, 2> av2{av}; 330 multi_span<int> av(arr); 335 CHECK_THROWS_AS(av.section(0, 0)[0], fail_fast); 336 CHECK_THROWS_AS(av.section(1, 0)[0], fail_fast); 337 CHECK_THROWS_AS(av.section(1, 1)[1], fail_fast); [all …]
|
D | span_tests.cpp | 810 span<int, 5> av = arr; variable 811 CHECK(av.first<2>().length() == 2); 812 CHECK(av.first(2).length() == 2); 816 span<int, 5> av = arr; variable 817 CHECK(av.first<0>().length() == 0); 818 CHECK(av.first(0).length() == 0); 822 span<int, 5> av = arr; variable 823 CHECK(av.first<5>().length() == 5); 824 CHECK(av.first(5).length() == 5); 828 span<int, 5> av = arr; variable [all …]
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | policygen.py | 157 for av in avs: 158 rule = refpolicy.AVRule(av) 163 rule.comment = str(refpolicy.Comment(explain_access(av, verbosity=self.explain))) 164 if av.type == audit2why.ALLOW: 166 if av.type == audit2why.DONTAUDIT: 169 if av.type == audit2why.BOOLEAN: 170 if len(av.data) > 1: 171 …avc can be allowed using one of the these booleans:\n# %s" % ", ".join([x[0] for x in av.data]) 173 … rule.comment += "\n#!!!! This avc can be allowed using the boolean '%s'" % av.data[0][0] 175 if av.type == audit2why.CONSTRAINT: [all …]
|
D | interfaces.py | 62 def __param_insert(name, type, av, params): argument 76 if av: 77 avobjs = [av.obj_class] 100 if av: 101 p.obj_classes.add(av.obj_class) 106 def av_extract_params(av, params): argument 144 if access.is_idparam(av.src_type): 145 if __param_insert(av.src_type, refpolicy.SRC_TYPE, av, params) == 1: 148 if access.is_idparam(av.tgt_type): 149 if __param_insert(av.tgt_type, refpolicy.TGT_TYPE, av, params) == 1: [all …]
|
D | access.py | 208 for av in objs.values(): 209 yield av 243 for av in self: 244 l.append(av.to_list()) 257 for av in l: 258 self.add_av(AccessVector(av)) 281 def add_av(self, av, audit_msg=None): argument 283 self.add(av.src_type, av.tgt_type, av.obj_class, av.perms) 288 for av in avs: 289 types.add(av.src_type) [all …]
|
/external/syslinux/gpxe/src/net/infiniband/ |
D | ib_pathrec.c | 50 struct ib_address_vector *av __unused ) { in ib_path_complete() 52 struct ib_gid *dgid = &path->av.gid; in ib_path_complete() 68 path->av.lid = ntohs ( pathrec->dlid ); in ib_path_complete() 69 path->av.sl = ( pathrec->reserved__sl & 0x0f ); in ib_path_complete() 70 path->av.rate = ( pathrec->rate_selector__rate & 0x3f ); in ib_path_complete() 74 htonl ( dgid->u.dwords[3] ), path->av.lid, path->av.sl, in ib_path_complete() 75 path->av.rate ); in ib_path_complete() 83 path->op->complete ( ibdev, path, rc, &path->av ); in ib_path_complete() 100 ib_create_path ( struct ib_device *ibdev, struct ib_address_vector *av, in ib_create_path() argument 111 memcpy ( &path->av, av, sizeof ( path->av ) ); in ib_create_path() [all …]
|
D | ib_packet.c | 48 const struct ib_address_vector *av ) { in ib_push() argument 61 ibdev, ibdev->lid, qp->ext_qpn, av->lid, av->qpn, av->qkey ); in ib_push() 73 grh = ( av->gid_present ? in ib_push() 82 lrh->sl__lnh = ( ( av->sl << 4 ) | lnh ); in ib_push() 83 lrh->dlid = htons ( av->lid ); in ib_push() 95 memcpy ( &grh->dgid, &av->gid, sizeof ( grh->dgid ) ); in ib_push() 102 bth->dest_qp = htonl ( av->qpn ); in ib_push() 106 deth->qkey = htonl ( av->qkey ); in ib_push() 126 struct ib_address_vector *av ) { in ib_pull() argument 142 memset ( av, 0, sizeof ( *av ) ); in ib_pull() [all …]
|
D | ib_cm.c | 54 struct ib_address_vector *av ) { in ib_cm_send_rtu() argument 68 if ( ( rc = ib_mi_send ( ibdev, mi, &mad, av ) ) != 0 ){ in ib_cm_send_rtu() 93 struct ib_address_vector *av ) { in ib_cm_connect_rep() argument 104 if ( ( rc = ib_cm_send_rtu ( ibdev, mi, conn, av ) ) != 0 ) { in ib_cm_connect_rep() 158 struct ib_address_vector *av ) { in ib_cm_req_complete() argument 186 qp->av.qpn = ( ntohl ( connect_rep->local_qpn ) >> 8 ); in ib_cm_req_complete() 191 conn, qp->av.qpn, qp->send.psn ); in ib_cm_req_complete() 201 if ( ( rc = ib_cm_send_rtu ( ibdev, mi, conn, av ) ) != 0 ) { in ib_cm_req_complete() 251 struct ib_address_vector *av ) { in ib_cm_path_complete() argument 268 memcpy ( &qp->av, av, sizeof ( qp->av ) ); in ib_cm_path_complete() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | racoonctl.c | 255 main(ac, av) in main() argument 257 char **av; 262 pname = *av; 278 while ((c = getopt(ac, av, "lds:")) != -1) { 299 av += optind; 301 combuf = get_combuf(ac, av); 368 get_combuf(ac, av) in get_combuf() argument 370 char **av; 381 if (strcmp(*av, cp->str) == 0) { 386 printf("Invalid command [%s]\n", *av); [all …]
|
/external/ltp/tools/pounder21/src/memxfer5b/ |
D | memxfer5b.c | 62 int main(int ac, char *av[]) in main() argument 79 progname = av[0]; in main() 84 if (equal(av[1], "-f")) { in main() 87 av++; in main() 88 } else if (equal(av[1], "-w")) { in main() 91 av++; in main() 92 } else if (equal(av[1], "-s")) { in main() 95 av++; in main() 96 } else if (equal(av[1], "-p")) { in main() 99 av++; in main() [all …]
|
/external/annotation-tools/asmx/src/org/objectweb/asm/util/ |
D | CheckAnnotationAdapter.java | 42 private AnnotationVisitor av; field in CheckAnnotationAdapter 48 public CheckAnnotationAdapter(final AnnotationVisitor av) { in CheckAnnotationAdapter() argument 49 this(av, true); in CheckAnnotationAdapter() 53 final AnnotationVisitor av, in CheckAnnotationAdapter() argument 56 this.av = av; in CheckAnnotationAdapter() 75 av.visit(name, value); in visit() 89 av.visitEnum(name, desc, value); in visitEnum() 99 return new CheckAnnotationAdapter(av.visitAnnotation(name, desc)); in visitAnnotation() 105 return new CheckAnnotationAdapter(av.visitArray(name), false); in visitArray() 111 av.visitEnd(); in visitEnd()
|
/external/libgsm/tst/ |
D | lin2txt.c | 66 main P2((ac, av), int ac, char ** av) 74 if (!(pname = av[0])) pname = "inp2txt"; 76 while ((opt = getopt(ac, av, "v")) != EOF) switch (opt) { 82 av += optind; 85 else for (; *av; av++) { 86 if (!(f = fopen(*av, "r"))) perror(*av); 88 process(f, *av);
|
D | lin2cod.c | 75 main P2((ac, av), int ac, char ** av) 83 if (!(pname = av[0])) pname = "inp2cod"; 85 while ((opt = getopt(ac, av, "vwF")) != EOF) switch (opt) { 93 av += optind; 96 else for (; *av; av++) { 97 if (!(f = fopen(*av, "r"))) perror(*av); 99 process(f, *av);
|
D | cod2lin.c | 74 main P2((ac, av), int ac, char ** av) 82 if (!(pname = av[0])) pname = "cod2out"; 84 while ((opt = getopt(ac, av, "vwF")) != EOF) switch (opt) { 92 av += optind; 95 else for (; *av; av++) { 96 if (!(f = fopen(*av, "r"))) perror(*av); 98 process(f, *av);
|
/external/strace/tests-m32/ |
D | block_reset_raise_run.c | 36 main(int ac, char **av) in main() argument 43 const int signo = atoi(av[1]); in main() 45 perror_msg_and_fail("sigaddset: %s", av[1]); in main() 49 perror_msg_and_fail("signal: %s", av[1]); in main() 51 perror_msg_and_fail("raise: %s", av[1]); in main() 53 execvp(av[2], av + 2); in main() 54 perror_msg_and_fail("execvp: %s", av[2]); in main()
|
/external/strace/tests-mx32/ |
D | block_reset_raise_run.c | 36 main(int ac, char **av) in main() argument 43 const int signo = atoi(av[1]); in main() 45 perror_msg_and_fail("sigaddset: %s", av[1]); in main() 49 perror_msg_and_fail("signal: %s", av[1]); in main() 51 perror_msg_and_fail("raise: %s", av[1]); in main() 53 execvp(av[2], av + 2); in main() 54 perror_msg_and_fail("execvp: %s", av[2]); in main()
|
/external/strace/tests/ |
D | block_reset_raise_run.c | 36 main(int ac, char **av) in main() argument 43 const int signo = atoi(av[1]); in main() 45 perror_msg_and_fail("sigaddset: %s", av[1]); in main() 49 perror_msg_and_fail("signal: %s", av[1]); in main() 51 perror_msg_and_fail("raise: %s", av[1]); in main() 53 execvp(av[2], av + 2); in main() 54 perror_msg_and_fail("execvp: %s", av[2]); in main()
|
/external/libedit/examples/ |
D | tc1.c | 185 const char **av; in main() local 206 ncontinuation = tok_line(tok, li, &ac, &av, &cc, &co); in main() 242 (void) fprintf(stderr, "`%s'\n", av[i]); in main() 245 co, av[i], av[i] + co); in main() 249 if (strcmp(av[0], "history") == 0) { in main() 261 if (strcmp(av[1], "clear") == 0) in main() 268 if (strcmp(av[1], "load") == 0) in main() 269 history(hist, &ev, H_LOAD, av[2]); in main() 270 else if (strcmp(av[1], "save") == 0) in main() 271 history(hist, &ev, H_SAVE, av[2]); in main() [all …]
|
/external/selinux/libselinux/src/ |
D | stringrep.c | 252 access_vector_t av) in security_av_perm_to_string() argument 257 av = unmap_perm(tclass, av); in security_av_perm_to_string() 261 if (av && node) in security_av_perm_to_string() 263 if ((1<<i) & av) in security_av_perm_to_string() 269 int security_av_string(security_class_t tclass, access_vector_t av, char **res) in security_av_string() argument 273 access_vector_t tmp = av; in security_av_string() 281 str = security_av_perm_to_string(tclass, av & (1<<i)); in security_av_string() 302 tmp = av; in security_av_string() 305 if (!av) { in security_av_string() 314 tclass, av & (1<<i))); in security_av_string() [all …]
|