Home
last modified time | relevance | path

Searched refs:errormsg (Results 1 – 14 of 14) sorted by relevance

/external/selinux/libselinux/src/
Daudit2why.c66 char errormsg[PATH_MAX]; in check_booleans() local
93 snprintf(errormsg, sizeof(errormsg), in check_booleans()
95 PyErr_SetString( PyExc_RuntimeError, errormsg); in check_booleans()
105 snprintf(errormsg, sizeof(errormsg), in check_booleans()
107 PyErr_SetString( PyExc_RuntimeError, errormsg); in check_booleans()
115 snprintf(errormsg, sizeof(errormsg), in check_booleans()
117 PyErr_SetString( PyExc_RuntimeError, errormsg); in check_booleans()
131 snprintf(errormsg, sizeof(errormsg), in check_booleans()
135 PyErr_SetString( PyExc_RuntimeError, errormsg); in check_booleans()
196 char errormsg[PATH_MAX]; in __policy_init() local
[all …]
Dload_policy.c85 char *errormsg = NULL; in selinux_mkload_policy() local
91 #define DLERR() if ((errormsg = dlerror())) goto dlclose; in selinux_mkload_policy()
298 if (errormsg) in selinux_mkload_policy()
299 fprintf(stderr, "libselinux: %s\n", errormsg); in selinux_mkload_policy()
/external/ltp/testcases/kernel/fs/doio/
Dfile_lock.c61 int file_lock(int fd, int flags, char **errormsg) in file_lock() argument
85 if (errormsg != NULL) { in file_lock()
88 *errormsg = errmsg; in file_lock()
113 if (errormsg != NULL) { in file_lock()
117 *errormsg = errmsg; in file_lock()
133 int record_lock(int fd, int flags, int start, int len, char **errormsg) in record_lock() argument
157 if (errormsg != NULL) { in record_lock()
160 *errormsg = errmsg; in record_lock()
185 if (errormsg != NULL) { in record_lock()
189 *errormsg = errmsg; in record_lock()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientshim.c239 const char *errormsg = "Unknown"; in DNSServiceRegister() local
253 …else if (!MakeDomainLabelFromLiteralString(&n, name)) { errormsg = "B… in DNSServiceRegister()
254 …if (!regtype || !*regtype || !MakeDomainNameFromDNSNameString(&t, regtype)) { errormsg = "B… in DNSServiceRegister()
255 …if (!MakeDomainNameFromDNSNameString(&d, (domain && *domain) ? domain : "local.")) { errormsg = "B… in DNSServiceRegister()
256 …if (!MakeDomainNameFromDNSNameString(&h, (host && *host ) ? host : "")) { errormsg = "B… in DNSServiceRegister()
257 …if (!ConstructServiceName(&srv, &n, &t, &d)) { errormsg = "B… in DNSServiceRegister()
264 if (!x) { err = mStatus_NoMemoryErr; errormsg = "No memory"; goto fail; } in DNSServiceRegister()
283 if (err) { mDNSPlatformMemFree(x); errormsg = "mDNS_RegisterService"; goto fail; } in DNSServiceRegister()
292 LogMsg("DNSServiceBrowse(\"%s\", \"%s\") failed: %s (%ld)", regtype, domain, errormsg, err); in DNSServiceRegister()
409 const char *errormsg = "Unknown"; in DNSServiceBrowse() local
[all …]
/external/python/cpython2/Lib/
Dpickletools.py1936 errormsg = None
1976 errormsg = markmsg = "no MARK exists on stack"
1982 errormsg = "memo key %r already defined" % arg
1984 errormsg = "stack is empty -- can't store into memo"
1986 errormsg = "can't store markobject in the memo"
1995 errormsg = "memo key %r has never been stored into" % arg
2006 if errormsg:
2009 raise ValueError(errormsg)
/external/autotest/frontend/afe/
Dmoblab_rpc_interface.py727 errormsg = str(e)
728 start_error_pos = errormsg.find("<Error>")
729 end_error_pos = errormsg.find("</Error>", start_error_pos)
730 extracted_error_msg = errormsg[start_error_pos:end_error_pos]
732 extracted_error_msg if extracted_error_msg else errormsg)
/external/toybox/toys/pending/
Dtftp.c121 static int mkpkt_err(uint8_t *buffer, uint16_t errorcode, char *errormsg) in mkpkt_err() argument
127 strcpy((char*) &buffer[4], errormsg); in mkpkt_err()
128 return strlen(errormsg) + 5; in mkpkt_err()
/external/mdnsresponder/mDNSCore/
DDNSCommon.c691 const char *errormsg; in ConstructServiceName() local
731 if (len >= 0x40) { errormsg = "Service instance name too long"; goto fail; } in ConstructServiceName()
749 …if (src[1] != '_') { errormsg = "Application protocol name must begin with underscore"; goto fail;… in ConstructServiceName()
769 errormsg = "Application protocol name must contain only letters, digits, and hyphens"; in ConstructServiceName()
781 …if (!ValidTransportProtocol(src)) { errormsg = "Transport protocol name must be _udp or _tcp"; got… in ConstructServiceName()
784 if (*src) { errormsg = "Service type must have only two labels"; goto fail; } in ConstructServiceName()
787 if (!domain->c[0]) { errormsg = "Service domain must be non-empty"; goto fail; } in ConstructServiceName()
789 { errormsg = "Illegal domain \"local.arpa.\" Use \"local.\" (or empty string)"; goto fail; } in ConstructServiceName()
791 if (!dst) { errormsg = "Service domain too long"; goto fail; } in ConstructServiceName()
795 LogMsg("ConstructServiceName: %s: %#s.%##s%##s", errormsg, name->c, type->c, domain->c); in ConstructServiceName()
/external/selinux/checkpolicy/
Dpolicy_define.c75 static char errormsg[ERRORMSG_LEN + 1] = {0}; variable
94 vsnprintf(errormsg, ERRORMSG_LEN, fmt, ap); in yyerror2()
95 yyerror(errormsg); in yyerror2()
/external/python/cpython2/Modules/
Dposixmodule.c4494 char errormsg[256], args[1024]; in async_system() local
4512 rc = DosExecPgm(errormsg, in async_system()
4513 sizeof(errormsg), in async_system()
/external/bison/build-aux/
Dtexinfo.tex233 % @errormsg{MSG}. Do the index-like expansions on MSG, but if things
237 \def\errormsg{\begingroup \indexnofonts \doerrormsg}
/external/libmicrohttpd/doc/
Dtexinfo.tex234 % @errormsg{MSG}. Do the index-like expansions on MSG, but if things
238 \def\errormsg{\begingroup \indexnofonts \doerrormsg}
/external/python/cpython2/Modules/_ctypes/libffi/
Dtexinfo.tex234 % @errormsg{MSG}. Do the index-like expansions on MSG, but if things
238 \def\errormsg{\begingroup \indexnofonts \doerrormsg}
/external/vulkan-validation-layers/layers/
Dvk_validation_error_database.txt4 # <error_enum>~^~<check_implemented>~^~<testname>~^~<api>~^~<errormsg>~^~<note>
9 # errormsg: The unique error message for this check that includes spec language and link