Home | History | Annotate | Download | only in android

Lines Matching refs:TT

36   if (selabel_lookup(TT.handle, &context, property, 1)) {
44 if (!(TT.size&31)) TT.nv = xrealloc(TT.nv, (TT.size+32)*2*sizeof(char *));
46 TT.nv[2*TT.size] = xstrdup((char *)name);
48 TT.nv[1+2*TT.size++] = get_property_context(name);
50 TT.nv[1+2*TT.size++] = xstrdup((char *)value);
78 TT.handle = selinux_android_prop_context_handle();
79 if (!TT.handle) error_exit("unable to get selinux property context handle");
98 qsort(TT.nv, TT.size, 2*sizeof(char *), qstrcmp);
99 for (i = 0; i<TT.size; i++) printf("[%s]: [%s]\n", TT.nv[i*2],TT.nv[1+i*2]);
101 for (i = 0; i<TT.size; i++) {
102 free(TT.nv[i*2]);
103 free(TT.nv[1+i*2]);
105 free(TT.nv);
108 if (CFG_TOYBOX_FREE && (toys.optflags & FLAG_Z)) selabel_close(TT.handle);