/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 | 102 static bool RedirectIO(const StringRef *Path, int FD, std::string* ErrMsg) { 115 MakeErrMsg(ErrMsg, "Cannot open file '" + File + "' for " 122 MakeErrMsg(ErrMsg, "Cannot dup2"); 131 static bool RedirectIO_PS(const std::string *Path, int FD, std::string *ErrMsg, 145 return MakeErrMsg(ErrMsg, "Cannot dup2", Err); 186 unsigned memoryLimit, std::string *ErrMsg) { 188 if (ErrMsg) 189 *ErrMsg = std::string("Executable \"") + Program.str() + 219 if (RedirectIO_PS(RedirectsStr[0], 0, ErrMsg, FileActions) || 220 RedirectIO_PS(RedirectsStr[1], 1, ErrMsg, FileActions) [all...] |
Unix.h | 62 /// This function builds an error message into \p ErrMsg using the \p prefix 70 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 71 if (!ErrMsg) 75 *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...] |
/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/Support/ |
Program.cpp | 27 unsigned memoryLimit, std::string *ErrMsg); 31 unsigned memoryLimit, std::string *ErrMsg, 34 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { 38 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg); 50 unsigned memoryLimit, std::string *ErrMsg, 55 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg))
|
GraphWriter.cpp | 84 std::string &ErrMsg) { 88 &ErrMsg)) { 89 errs() << "Error: " << ErrMsg << "\n"; 95 sys::ExecuteNoWait(ExecPath, args.data(), nullptr, nullptr, 0, &ErrMsg); 137 std::string ErrMsg; 149 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); 164 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); 197 if (ExecGraphViewer(GeneratorPath, args, Filename, wait, ErrMsg)) 220 ErrMsg.clear(); 221 return ExecGraphViewer(ViewerPath, args, PSFilename, wait, ErrMsg); [all...] |
/external/llvm/utils/not/ |
not.cpp | 32 std::string ErrMsg; 34 &ErrMsg); 44 errs() << "Error: " << ErrMsg << "\n";
|
/external/llvm/lib/Support/Windows/ |
Program.inc | 70 static HANDLE RedirectIO(const StringRef *path, int fd, std::string* ErrMsg) { 99 MakeErrMsg(ErrMsg, std::string(fname) + ": Can't open file for " + 171 unsigned memoryLimit, std::string *ErrMsg) { 173 if (ErrMsg) 174 *ErrMsg = "program not executable"; 231 MakeErrMsg(ErrMsg, "Unable to convert environment variable to UTF-16"); 252 si.hStdInput = RedirectIO(redirects[0], 0, ErrMsg); 254 MakeErrMsg(ErrMsg, "can't redirect stdin"); 257 si.hStdOutput = RedirectIO(redirects[1], 1, ErrMsg); 260 MakeErrMsg(ErrMsg, "can't redirect stdout") [all...] |
/external/clang/lib/Driver/ |
Job.cpp | 121 int Command::Execute(const StringRef **Redirects, std::string *ErrMsg, 131 /*memoryLimit*/ 0, ErrMsg, ExecutionFailed); 155 int FallbackCommand::Execute(const StringRef **Redirects, std::string *ErrMsg, 157 int PrimaryStatus = Command::Execute(Redirects, ErrMsg, ExecutionFailed); 161 // Clear ExecutionFailed and ErrMsg before falling back. 162 if (ErrMsg) 163 ErrMsg->clear(); 170 int SecondaryStatus = Fallback->Execute(Redirects, ErrMsg, ExecutionFailed);
|
/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);
|
/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/icu/icu4c/source/tools/genrb/ |
genrb.h | 27 #include "errmsg.h"
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
PackageHelperTests.java | 60 void failStr(String errMsg) { 61 Log.w(TAG, "errMsg=" + errMsg); 62 fail(errMsg);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
decoder.py | 36 def errmsg(msg, doc, pos, end=None): function 84 errmsg("Unterminated string starting at", s, begin)) 100 raise ValueError(errmsg(msg, s, end)) 108 errmsg("Unterminated string starting at", s, begin)) 115 raise ValueError(errmsg(msg, s, end)) 123 raise ValueError(errmsg(msg, s, end)) 129 raise ValueError(errmsg(msg, s, end)) 132 raise ValueError(errmsg(msg, s, end)) 172 raise ValueError(errmsg( 183 raise ValueError(errmsg("Expecting ':' delimiter", s, end) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
decoder.py | 36 def errmsg(msg, doc, pos, end=None): function 84 errmsg("Unterminated string starting at", s, begin)) 100 raise ValueError(errmsg(msg, s, end)) 108 errmsg("Unterminated string starting at", s, begin)) 115 raise ValueError(errmsg(msg, s, end)) 123 raise ValueError(errmsg(msg, s, end)) 129 raise ValueError(errmsg(msg, s, end)) 132 raise ValueError(errmsg(msg, s, end)) 172 raise ValueError(errmsg( 183 raise ValueError(errmsg("Expecting ':' delimiter", s, end) [all...] |
/external/clang/lib/ARCMigrate/ |
FileRemapper.cpp | 125 std::string errMsg; 127 llvm::raw_fd_ostream infoOut(infoFile.c_str(), errMsg, llvm::sys::fs::F_None); 128 if (!errMsg.empty()) 129 return report(errMsg, Diag); 182 std::string errMsg; 183 llvm::raw_fd_ostream Out(origFE->getName(), errMsg, llvm::sys::fs::F_None); 184 if (!errMsg.empty()) 185 return report(errMsg, Diag);
|
/bootable/recovery/edify/ |
main.c | 44 state.errmsg = NULL; 47 free(state.errmsg); 203 state.errmsg = NULL; 208 (state.errmsg == NULL ? "(NULL)" : state.errmsg)); 209 free(state.errmsg);
|
/external/llvm/include/llvm/LTO/ |
LTOCodeGenerator.h | 67 bool addModule(struct LTOModule*, std::string &errMsg); 91 bool writeMergedModules(const char *path, std::string &errMsg); 104 std::string &errMsg); 115 std::string &errMsg); 123 bool disableGVNLoadPRE, std::string &errMsg); 129 bool determineTarget(std::string &errMsg);
|