/external/chromium_org/third_party/sqlite/src/test/ |
trans3.test | 37 if {[catch {db eval COMMIT} errmsg]} { 39 error $errmsg 42 } errmsg] 43 lappend x $errmsg 60 if {[catch {db eval ROLLBACK} errmsg]} { 62 error $errmsg 65 } errmsg] 66 lappend x $errmsg
|
/external/llvm/lib/Support/Unix/ |
Program.inc | 96 static bool RedirectIO(const StringRef *Path, int FD, std::string* ErrMsg) { 109 MakeErrMsg(ErrMsg, "Cannot open file '" + File + "' for " 116 MakeErrMsg(ErrMsg, "Cannot dup2"); 125 static bool RedirectIO_PS(const std::string *Path, int FD, std::string *ErrMsg, 139 return MakeErrMsg(ErrMsg, "Cannot dup2", Err); 180 unsigned memoryLimit, std::string *ErrMsg) { 206 if (RedirectIO_PS(RedirectsStr[0], 0, ErrMsg, FileActions) || 207 RedirectIO_PS(RedirectsStr[1], 1, ErrMsg, FileActions)) 212 if (RedirectIO_PS(RedirectsStr[2], 2, ErrMsg, FileActions)) 218 return !MakeErrMsg(ErrMsg, "Can't redirect stderr to stdout", Err) [all...] |
Unix.h | 58 /// This function builds an error message into \p ErrMsg using the \p prefix 66 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 67 if (!ErrMsg) 71 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
|
/system/core/libnetutils/ |
dhcp_utils.c | 36 static char errmsg[100]; variable 129 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value); 136 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value); 229 snprintf(errmsg, sizeof(errmsg), "%s", "Timed out waiting for dhcpcd to start"); 235 snprintf(errmsg, sizeof(errmsg), "%s", "Timed out waiting for DHCP to finish"); 241 snprintf(errmsg, sizeof(errmsg), "%s", "DHCP result property was not set") [all...] |
/external/llvm/include/llvm/Bitcode/ |
ReaderWriter.h | 32 /// in *ErrMsg with an error description if ErrMsg is non-null. 35 std::string *ErrMsg = 0); 39 /// On error, this returns null, and fills in *ErrMsg with an error 40 /// description if ErrMsg is non-null. 44 std::string *ErrMsg = 0); 49 /// of 'buffer'. On error, this returns "", and fills in *ErrMsg 50 /// if ErrMsg is non-null. 53 std::string *ErrMsg = 0); 56 /// If an error occurs, this returns null and fills in *ErrMsg if it i [all...] |
/external/llvm/lib/Support/ |
Program.cpp | 27 unsigned memoryLimit, std::string *ErrMsg); 30 std::string *ErrMsg); 34 unsigned memoryLimit, std::string *ErrMsg, 37 if (Execute(&Data, Program, args, envp, redirects, memoryLimit, ErrMsg)) { 39 return Wait(Data, Program, secondsToWait, ErrMsg); 47 std::string *ErrMsg) { 48 Execute(/*Data*/ 0, Program, args, envp, redirects, memoryLimit, ErrMsg);
|
GraphWriter.cpp | 84 StringRef Filename, bool wait, std::string &ErrMsg) { 86 if (sys::ExecuteAndWait(ExecPath, &args[0],0,0,0,0,&ErrMsg)) { 87 errs() << "Error: " << ErrMsg << "\n"; 95 sys::ExecuteNoWait(ExecPath, &args[0],0,0,0,&ErrMsg); 105 std::string ErrMsg; 115 if (!ExecGraphViewer(Graphviz, args, Filename, wait, ErrMsg)) 134 if (!ExecGraphViewer(LLVM_PATH_XDOT, args, Filename, wait, ErrMsg)) 193 if (!ExecGraphViewer(prog, args, Filename, wait, ErrMsg)) 203 ErrMsg.clear(); 204 if (!ExecGraphViewer(gv, args, PSFilename, wait, ErrMsg)) [all...] |
/hardware/samsung_slsi/exynos5/mobicore/common/MobiCore/inc/ |
mcVersionHelper.h | 90 * checkVersionOk##component(uint32_t version, char** errmsg) 93 * Additionally, it creates a message string that can be printed out using printf("%s", errmsg). 97 * @param errmsg[out] a message string that contains a log. 103 static uint32_t checkVersionOk##comp(uint32_t version, char** errmsg) { \ 108 *errmsg = msgBuf; \ 123 static uint32_t checkVersionOk##comp(uint32_t version, char** errmsg) { \ 126 *errmsg = NULL; \ 148 * checkVersionOkDataObject##component(uint32_t version, char** errmsg) 154 * Additionally, it creates a message string that can be printed out using printf("%s", errmsg). 159 * @param errmsg[out] a message string that contains a log [all...] |
/external/llvm/lib/IRReader/ |
IRReader.cpp | 33 std::string ErrMsg; 34 Module *M = getLazyBitcodeModule(Buffer, Context, &ErrMsg); 37 ErrMsg); 66 std::string ErrMsg; 67 Module *M = ParseBitcodeFile(Buffer, Context, &ErrMsg); 70 ErrMsg);
|
/external/llvm/utils/not/ |
not.cpp | 32 std::string ErrMsg; 33 int Result = sys::ExecuteAndWait(Program, argv, 0, 0, 0, 0, &ErrMsg); 35 errs() << "Error: " << ErrMsg << "\n";
|
/frameworks/compile/slang/BitWriter_2_9/ |
ReaderWriter_2_9.h | 33 /// in *ErrMsg with an error description if ErrMsg is non-null. 36 std::string *ErrMsg = 0); 41 /// of 'buffer'. On error, this returns "", and fills in *ErrMsg 42 /// if ErrMsg is non-null. 45 std::string *ErrMsg = 0); 48 /// If an error occurs, this returns null and fills in *ErrMsg if it is 51 std::string *ErrMsg = 0);
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
ReaderWriter_2_9_func.h | 33 /// in *ErrMsg with an error description if ErrMsg is non-null. 36 std::string *ErrMsg = 0); 41 /// of 'buffer'. On error, this returns "", and fills in *ErrMsg 42 /// if ErrMsg is non-null. 45 std::string *ErrMsg = 0); 48 /// If an error occurs, this returns null and fills in *ErrMsg if it is 51 std::string *ErrMsg = 0);
|
/frameworks/compile/slang/BitWriter_3_2/ |
ReaderWriter_3_2.h | 33 /// in *ErrMsg with an error description if ErrMsg is non-null. 36 std::string *ErrMsg = 0); 41 /// of 'buffer'. On error, this returns "", and fills in *ErrMsg 42 /// if ErrMsg is non-null. 45 std::string *ErrMsg = 0); 48 /// If an error occurs, this returns null and fills in *ErrMsg if it is 51 std::string *ErrMsg = 0);
|
/external/bison/lib/ |
strerror_r.c | 255 const char *errmsg = local 262 const char *errmsg = local 268 const char *errmsg = sys_errlist[errnum]; 270 if (errmsg == NULL || *errmsg == '\0') 273 ret = safe_copy (buf, buflen, errmsg); 288 char *errmsg = strerror (errnum); local 290 if (errmsg == NULL || *errmsg == '\0') 293 ret = safe_copy (buf, buflen, errmsg); 303 char *errmsg = strerror (errnum); local [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldServerSocketChannelTest.java | 84 public String errMsg = null; 88 errMsg = "should throw ClosedByInterruptException"; 92 errMsg = "caught wrong Exception: " + e.getClass() + ": " + 105 if (thread.errMsg != null) { 106 fail(thread.errMsg);
|
/external/llvm/tools/lto/ |
LTOCodeGenerator.cpp | 124 bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg) { 125 bool ret = _linker.linkInModule(mod->getLLVVMModule(), &errMsg); 159 std::string &errMsg) { 160 if (!determineTarget(errMsg)) 172 errMsg = "could not open bitcode file for writing: "; 173 errMsg += path; 182 errMsg = "could not write bitcode file: "; 183 errMsg += path; 192 bool LTOCodeGenerator::compile_to_file(const char** name, std::string& errMsg) { 198 errMsg = EC.message() [all...] |
/external/llvm/lib/Support/Windows/ |
Program.inc | 80 static HANDLE RedirectIO(const StringRef *path, int fd, std::string* ErrMsg) { 104 MakeErrMsg(ErrMsg, std::string(fname) + ": Can't open file for " + 180 std::string* ErrMsg) { 182 if (ErrMsg) 183 *ErrMsg = "program not executable"; 267 si.hStdInput = RedirectIO(redirects[0], 0, ErrMsg); 269 MakeErrMsg(ErrMsg, "can't redirect stdin"); 272 si.hStdOutput = RedirectIO(redirects[1], 1, ErrMsg); 275 MakeErrMsg(ErrMsg, "can't redirect stdout"); 286 si.hStdError = RedirectIO(redirects[2], 2, ErrMsg); [all...] |
Memory.inc | 157 std::string *ErrMsg) { 162 if (EC != error_code::success() && ErrMsg) { 163 MakeErrMsg(ErrMsg, EC.message()); 168 bool Memory::ReleaseRWX(MemoryBlock &M, std::string *ErrMsg) { 172 MakeErrMsg(ErrMsg, EC.message()); 184 bool Memory::setWritable(MemoryBlock &M, std::string *ErrMsg) { 186 return MakeErrMsg(ErrMsg, "Cannot set memory to writeable: "); 191 bool Memory::setExecutable(MemoryBlock &M, std::string *ErrMsg) { 193 return MakeErrMsg(ErrMsg, "Cannot set memory to executable: ");
|
/bionic/libc/upstream-netbsd/libc/gen/ |
setjmperr.c | 54 #define ERRMSG "longjmp botch.\n" 55 (void)write(STDERR_FILENO, ERRMSG, sizeof(ERRMSG) - 1);
|
/external/openssh/ |
sandbox-darwin.c | 61 char *errmsg; local 66 &errmsg) == -1) 67 fatal("%s: sandbox_init: %s", __func__, errmsg);
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitReader_2_7.h | 38 std::string *ErrMsg); 42 std::string *ErrMsg); 46 std::string *ErrMsg);
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitReader_3_0.h | 37 std::string *ErrMsg); 41 std::string *ErrMsg); 45 std::string *ErrMsg);
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
genrb.h | 27 #include "errmsg.h"
|
/external/icu4c/tools/genrb/ |
genrb.h | 27 #include "errmsg.h"
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
PackageHelperTests.java | 58 void failStr(String errMsg) { 59 Log.w(TAG, "errMsg=" + errMsg); 60 fail(errMsg);
|