Searched refs:av (Results 1 - 25 of 94) sorted by relevance

1234

/external/mockito/cglib-and-asm/src/org/mockito/asm/util/
H A DCheckAnnotationAdapter.java42 private final AnnotationVisitor av; field in class:CheckAnnotationAdapter
48 public CheckAnnotationAdapter(final AnnotationVisitor av) { argument
49 this(av, true);
52 CheckAnnotationAdapter(final AnnotationVisitor av, final boolean named) { argument
53 this.av = av;
72 if (av != null) {
73 av.visit(name, value);
88 if (av != null) {
89 av
[all...]
H A DTraceFieldVisitor.java56 AnnotationVisitor av = super.visitAnnotation(desc, visible);
58 ((TraceAnnotationVisitor) av).av = fv.visitAnnotation(desc, visible);
60 return av;
H A DASMifierAnnotationVisitor.java65 buf.append("av").append(id).append(".visit(");
79 buf.append("av").append(id).append(".visitEnum(");
95 buf.append("AnnotationVisitor av").append(id + 1).append(" = av");
102 ASMifierAnnotationVisitor av = new ASMifierAnnotationVisitor(id + 1);
103 text.add(av.getText());
105 return av;
111 buf.append("AnnotationVisitor av").append(id + 1).append(" = av");
116 ASMifierAnnotationVisitor av
[all...]
H A DTraceAnnotationVisitor.java49 protected AnnotationVisitor av; field in class:TraceAnnotationVisitor
148 if (av != null) {
149 av.visit(name, value);
207 if (av != null) {
208 av.visitEnum(name, desc, value);
228 if (av != null) {
229 tav.av = av.visitAnnotation(name, desc);
245 if (av != null) {
246 tav.av
[all...]
/external/strace/tests/
H A Dunix-pair-send-recv.c20 main(int ac, char **av) argument
23 const int len = strlen(av[1]);
39 transpose(av[1], len);
40 assert(sendto(0, av[1], len, MSG_DONTROUTE, NULL, 0) == len);
41 assert(recvfrom(0, av[1], len, MSG_WAITALL, NULL, NULL) == len);
49 assert(recvfrom(1, av[1], len, MSG_WAITALL, NULL, NULL) == len);
50 transpose(av[1], len);
51 assert(sendto(1, av[1], len, MSG_DONTROUTE, NULL, 0) == len);
52 assert(recvfrom(1, av[1], len, MSG_WAITALL, NULL, NULL) == 0);
H A Dnet-accept-connect.c18 main(int ac, const char **av) argument
26 assert(strlen(av[1]) > 0);
28 strncpy(addr.sun_path, av[1], sizeof(addr.sun_path));
29 len = offsetof(struct sockaddr_un, sun_path) + strlen(av[1]) + 1;
33 unlink(av[1]);
72 unlink(av[1]);
/external/selinux/sepolgen/src/sepolgen/
H A Dinterfaces.py62 def __param_insert(name, type, av, params):
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):
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
[all...]
H A Dpolicygen.py156 for av in avs:
157 rule = refpolicy.AVRule(av)
162 rule.comment = str(refpolicy.Comment(explain_access(av, verbosity=self.explain)))
163 if av.type == audit2why.ALLOW:
165 if av.type == audit2why.DONTAUDIT:
168 if av.type == audit2why.BOOLEAN:
169 if len(av.data) > 1:
170 rule.comment += "\n#!!!! This avc can be allowed using one of the these booleans:\n# %s" % ", ".join(map(lambda x: x[0], av.data))
172 rule.comment += "\n#!!!! This avc can be allowed using the boolean '%s'" % av.data[0][0]
174 if av
[all...]
H A Daccess.py207 for av in objs.values():
208 yield av
242 for av in self:
243 l.append(av.to_list())
256 for av in l:
257 self.add_av(AccessVector(av))
280 def add_av(self, av, audit_msg=None):
282 self.add(av.src_type, av.tgt_type, av
[all...]
H A Dmatching.py61 self.av = None
157 < 0 : The prov av does not provide all of the access in req.
160 > 0 : The prov av provides more access than req. The larger
179 # If this av doesn't have a matching source type, target type, and object class
199 def av_set_match(self, av_set, av):
207 tmp = self.av_distance(av, x)
224 av_dir = self.perm_maps.getdefault_direction(av.obj_class, av.perms)
239 def search_ifs(self, ifset, av, match_list):
240 match_list.av
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/
H A DAnnotationNode.java145 * @param av an annotation visitor. Maybe <tt>null</tt>.
147 public void accept(final AnnotationVisitor av) { argument
148 if (av != null) {
153 accept(av, name, value);
156 av.visitEnd();
163 * @param av an annotation visitor. Maybe <tt>null</tt>.
168 final AnnotationVisitor av,
172 if (av != null) {
175 av.visitEnum(name, typeconst[0], typeconst[1]);
178 an.accept(av
167 accept( final AnnotationVisitor av, final String name, final Object value) argument
[all...]
/external/selinux/libselinux/src/
H A Dstringrep.c230 access_vector_t av)
235 av = unmap_perm(tclass, av);
239 if (av && node)
241 if ((1<<i) & av)
247 int security_av_string(security_class_t tclass, access_vector_t av, char **res) argument
251 access_vector_t tmp = av;
259 str = security_av_perm_to_string(tclass, av & (1<<i));
280 tmp = av;
283 if (!av) {
229 security_av_perm_to_string(security_class_t tclass, access_vector_t av) argument
301 print_access_vector(security_class_t tclass, access_vector_t av) argument
[all...]
H A DcheckAccess.c25 access_vector_t av; local
50 av = string_to_av_perm(sclass, perm);
51 if (av == 0) {
60 return avc_has_perm (scon_id, tcon_id, sclass, av, NULL, aux);
/external/libselinux/src/
H A DcheckAccess.c25 access_vector_t av; local
50 av = string_to_av_perm(sclass, perm);
51 if (av == 0) {
60 return avc_has_perm (scon_id, tcon_id, sclass, av, NULL, aux);
H A Dstringrep.c208 access_vector_t av)
213 av = unmap_perm(tclass, av);
217 if (av && node)
219 if ((1<<i) & av)
225 int security_av_string(security_class_t tclass, access_vector_t av, char **res) argument
229 access_vector_t tmp = av;
237 str = security_av_perm_to_string(tclass, av & (1<<i));
258 tmp = av;
261 if (!av) {
207 security_av_perm_to_string(security_class_t tclass, access_vector_t av) argument
[all...]
/external/selinux/libsepol/include/sepol/policydb/
H A Dutil.h33 sepol_access_vector_t av);
/external/e2fsprogs/e2fsck/
H A Dargv_parse.c143 char **av, **cpp; local
149 ret = argv_parse(buf, &ac, &av);
155 for (cpp = av; *cpp; cpp++) {
156 if (cpp != av)
161 argv_free(av);
/external/libedit/examples/
H A Dtc1.c185 const char **av; local
206 ncontinuation = tok_line(tok, li, &ac, &av, &cc, &co);
242 (void) fprintf(stderr, "`%s'\n", av[i]);
245 co, av[i], av[i] + co);
249 if (strcmp(av[0], "history") == 0) {
261 if (strcmp(av[1], "clear") == 0)
268 if (strcmp(av[1], "load") == 0)
269 history(hist, &ev, H_LOAD, av[2]);
270 else if (strcmp(av[
[all...]
H A Dwtc1.c159 const wchar_t **av; local
182 ncontinuation = tok_wline(tok, li, &ac, &av, &cc, &co);
204 (void)fwprintf(stderr, L"`%ls'\n", av[i]);
207 co, av[i], av[i] + co);
211 if (wcscmp (av[0], L"history") == 0) {
221 if (wcscmp(av[1], L"clear") == 0)
227 if (wcscmp(av[1], L"load") == 0)
229 my_wcstombs(av[2]));
230 else if (wcscmp(av[
[all...]
/external/ipsec-tools/src/racoon/
H A Dracoonctl.c255 main(ac, av)
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)
370 char **av;
381 if (strcmp(*av, cp->str) == 0) {
386 printf("Invalid command [%s]\n", *av);
[all...]
H A Dmain.c142 main(ac, av)
144 char **av;
178 parse(ac, av);
291 parse(ac, av)
293 char **av;
302 pname = strrchr(*av, '/');
306 pname = *av;
308 while ((c = getopt(ac, av, "dLFp:P:a:f:l:vZBC"
390 av += optind;
/external/selinux/sepolgen/tests/
H A Dtest_interfaces.py38 av = access.AccessVector(['foo', 'bar', 'file', 'read'])
40 ret = interfaces.av_extract_params(av, params)
44 av.src_type = "$1"
45 ret = interfaces.av_extract_params(av, params)
53 av.tgt_type = "$1"
54 av.obj_class = "process"
55 ret = interfaces.av_extract_params(av, params)
63 av.tgt_type = "$1"
64 av.obj_class = "dir"
65 ret = interfaces.av_extract_params(av, param
[all...]
H A Dtest_access.py162 for av in access.avrule_to_access_vectors(rule):
163 self.assertEquals(av.perms, refpolicy.IdSet(["read", "write"]))
165 if comps[i][0] == av.src_type and \
166 comps[i][1] == av.tgt_type and \
167 comps[i][2] == av.obj_class:
188 for av in avs:
189 s.add_av(av)
205 for av in self.s:
206 self.assertEquals(av.perms, refpolicy.IdSet(["read", "write"]))
208 if comps[i][0] == av
[all...]
/external/eigen/unsupported/Eigen/src/AutoDiff/
H A DAutoDiffJacobian.h60 ActiveValue av(jac.rows());
64 av[j].derivatives().resize(this->inputs());
69 Functor::operator()(ax, &av);
73 (*v)[i] = av[i].value();
74 jac.row(i) = av[i].derivatives();
/external/skia/samplecode/
H A DSampleAnimator.cpp160 SkAnimatorView* av = new SkAnimatorView; local
161 // av->decodeFile("/skimages/test.xml");
163 av->setURIBase("/skia/trunk/animations/");
164 av->decodeFile("/skia/trunk/animations/checkbox.xml");
166 av->setURIBase("/");
167 av->decodeFile("/testanim.txt");
169 return av;

Completed in 512 milliseconds

1234