Home
last modified time | relevance | path

Searched refs:errormsg (Results 1 – 15 of 15) 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+1024+20]; 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()
300 if (errormsg) in selinux_mkload_policy()
301 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/python/cpython3/Lib/
Dpickletools.py2368 errormsg = None
2409 errormsg = markmsg = "no MARK exists on stack"
2420 errormsg = "memo key %r already defined" % arg
2422 errormsg = "stack is empty -- can't store into memo"
2424 errormsg = "can't store markobject in the memo"
2432 errormsg = "memo key %r has never been stored into" % arg
2450 if errormsg:
2453 raise ValueError(errormsg)
/external/autotest/frontend/afe/
Dmoblab_rpc_interface.py967 errormsg = str(e)
968 start_error_pos = errormsg.find("<Error>")
969 end_error_pos = errormsg.find("</Error>", start_error_pos)
970 extracted_error_msg = errormsg[start_error_pos:end_error_pos]
972 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/python/oauth2client/oauth2client/contrib/
Dappengine.py784 errormsg = self.request.get('error_description', error)
787 _safe_html(errormsg)))
/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/scapy/scapy/layers/
Dtftp.py445 self.send(self.l3/TFTP_ERROR(errorcode=1, errormsg=TFTP_Error_Codes[1]))
/external/selinux/checkpolicy/
Dpolicy_define.c79 static char errormsg[ERRORMSG_LEN + 1] = {0}; variable
98 vsnprintf(errormsg, ERRORMSG_LEN, fmt, ap); in yyerror2()
99 yyerror(errormsg); in yyerror2()
/external/python/cpython2/Modules/
Dposixmodule.c4518 char errormsg[256], args[1024]; in async_system() local
4536 rc = DosExecPgm(errormsg, in async_system()
4537 sizeof(errormsg), in async_system()
/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/libffi/
Dtexinfo.tex234 % @errormsg{MSG}. Do the index-like expansions on MSG, but if things
238 \def\errormsg{\begingroup \indexnofonts \doerrormsg}