/external/toybox/toys/other/ |
rmmod.c | 28 char * mod_name; local 32 mod_name = basename(*toys.optargs); 35 len = strlen(mod_name); 36 if (len > 3 && !strcmp(&mod_name[len-3], ".ko" )) mod_name[len-3] = 0; 41 if (delete_module(mod_name, flags)) 42 perror_exit("failed to unload %s", mod_name);
|
/external/python/cpython3/Python/ |
dynload_shlib.c | 99 PyObject *mod_name; local 108 mod_name = PyUnicode_FromString(shortname); 109 if (mod_name == NULL) { 116 Py_DECREF(mod_name); 119 PyErr_SetImportError(error_ob, mod_name, path); 121 Py_DECREF(mod_name);
|
pythonrun.c | 179 PyObject *m, *d, *v, *w, *oenc = NULL, *mod_name; local 187 mod_name = _PyUnicode_FromId(&PyId___main__); /* borrowed */ 188 if (mod_name == NULL) { 250 m = PyImport_AddModuleObject(mod_name); [all...] |
/external/selinux/policycoreutils/hll/pp/ |
pp.c | 131 char *mod_name = mod_pkg->policy->p.name; local 143 if (mod_name && strcmp(mod_name, cil_name) != 0) { 144 fprintf(stderr, "Warning: SELinux userspace will refer to the module from %s as %s rather than %s\n", ifile, mod_name, cil_name);
|
/external/selinux/checkpolicy/ |
checkmodule.c | 262 char *mod_name = modpolicydb.name; local 273 if (strcmp(mod_name, out_name) != 0) { 274 fprintf(stderr, "%s: Module name %s is different than the output base filename %s\n", argv[0], mod_name, out_name);
|
/external/python/cpython3/Objects/ |
moduleobject.c | 703 PyObject *attr, *mod_name, *getattr; local 717 mod_name = _PyDict_GetItemId(m->md_dict, &PyId___name__); 718 if (mod_name && PyUnicode_Check(mod_name)) { 720 "module '%U' has no attribute '%U'", mod_name, name);
|
object.c | 1085 PyObject *mod_name, *mod, *attr; local 1087 mod_name = _PyUnicode_FromId(&PyId_builtins); /* borrowed */ 1088 if (mod_name == NULL) 1090 mod = PyImport_Import(mod_name); [all...] |
/external/selinux/libsepol/src/ |
link.c | 2102 const char *mod_name = cur->branch_list->module_name ? local 2161 const char *mod_name = cur->branch_list->module_name ? local 2233 const char *mod_name = decl->module_name ? local [all...] |