Home
last modified time | relevance | path

Searched refs:newlevel (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
Drepr.py46 newlevel = level - 1
48 pieces = [repr1(elem, newlevel) for elem in islice(x, maxiter)]
80 newlevel = level - 1
84 keyrepr = repr1(key, newlevel)
85 valrepr = repr1(x[key], newlevel)
/external/python/cpython3/Lib/
Dreprlib.py72 newlevel = level - 1
74 pieces = [repr1(elem, newlevel) for elem in islice(x, maxiter)]
112 newlevel = level - 1
116 keyrepr = repr1(key, newlevel)
117 valrepr = repr1(x[key], newlevel)
/external/selinux/policycoreutils/newrole/
Dnewrole.c118 static char *build_new_range(char *newlevel, const char *range) in build_new_range() argument
125 if (!range || !strlen(range) || !newlevel || !strlen(newlevel)) in build_new_range()
129 if (strchr(newlevel, '-')) { in build_new_range()
130 newrangep = strdup(newlevel); in build_new_range()
138 len = strlen(newlevel) + 1 + strlen(tmpptr + 1) + 1; in build_new_range()
142 snprintf(newrangep, len, "%s-%s", newlevel, tmpptr + 1); in build_new_range()
145 if (!strcmp(newlevel, range)) { in build_new_range()
148 len = strlen(newlevel) + 1 + strlen(range) + 1; in build_new_range()
152 snprintf(newrangep, len, "%s-%s", newlevel, range); in build_new_range()
/external/selinux/checkpolicy/
Dpolicy_define.c1008 mls_level_t *level = (mls_level_t *) arg, *newlevel; in clone_level() local
1014 newlevel = (mls_level_t *) malloc(sizeof(mls_level_t)); in clone_level()
1015 if (!newlevel) in clone_level()
1017 if (mls_level_cpy(newlevel, level)) { in clone_level()
1018 free(newlevel); in clone_level()
1021 levdatum->level = newlevel; in clone_level()