HomeSort by relevance Sort by last modified time
    Searched full:errmsg (Results 1 - 25 of 202) sorted by null

1 2 3 4 5 6 7 8 9

  /external/llvm/lib/Support/Unix/
Program.inc 105 static bool RedirectIO(const Path *Path, int FD, std::string* ErrMsg) {
118 MakeErrMsg(ErrMsg, "Cannot open file '" + std::string(File) + "' for "
125 MakeErrMsg(ErrMsg, "Cannot dup2");
134 static bool RedirectIO_PS(const Path *Path, int FD, std::string *ErrMsg,
147 return MakeErrMsg(ErrMsg, "Cannot dup2", Err);
183 std::string *ErrMsg) {
196 if (RedirectIO_PS(redirects[0], 0, ErrMsg, FileActions) ||
197 RedirectIO_PS(redirects[1], 1, ErrMsg, FileActions))
202 if (RedirectIO_PS(redirects[2], 2, ErrMsg, FileActions)) return false;
207 return !MakeErrMsg(ErrMsg, "Can't redirect stderr to stdout", Err)
    [all...]
Memory.inc 33 std::string *ErrMsg) {
43 MakeErrMsg(ErrMsg, "Can't open /dev/zero device");
71 MakeErrMsg(ErrMsg, "Can't allocate RWX Memory");
80 MakeErrMsg(ErrMsg, "vm_protect max RX failed");
88 MakeErrMsg(ErrMsg, "vm_protect RW failed");
100 bool llvm::sys::Memory::ReleaseRWX(MemoryBlock &M, std::string *ErrMsg) {
103 return MakeErrMsg(ErrMsg, "Can't release RWX Memory");
107 bool llvm::sys::Memory::setWritable (MemoryBlock &M, std::string *ErrMsg) {
119 bool llvm::sys::Memory::setExecutable (MemoryBlock &M, std::string *ErrMsg) {
  /external/llvm/tools/lto/
LTOCodeGenerator.h 37 bool addModule(struct LTOModule*, std::string& errMsg);
38 bool setDebugInfo(lto_debug_model, std::string& errMsg);
39 bool setCodePICModel(lto_codegen_model, std::string& errMsg);
43 std::string& errMsg);
44 bool compile_to_file(const char** name, std::string& errMsg);
45 const void* compile(size_t* length, std::string& errMsg);
49 std::string& errMsg);
55 bool determineTarget(std::string& errMsg);
LTOCodeGenerator.cpp 92 bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg)
95 if(mod->getLLVVMModule()->MaterializeAllPermanently(&errMsg))
98 bool ret = _linker.LinkInModule(mod->getLLVVMModule(), &errMsg);
108 bool LTOCodeGenerator::setDebugInfo(lto_debug_model debug, std::string& errMsg)
119 errMsg = "unknown debug format";
125 std::string& errMsg)
134 errMsg = "unknown pic model";
150 std::string &errMsg) {
151 if (determineTarget(errMsg))
162 errMsg = "could not open bitcode file for writing: "
    [all...]
LTOModule.h 53 std::string& errMsg);
56 std::string& errMsg);
61 std::string& errMsg);
63 std::string& errMsg);
103 std::string& errMsg);
  /external/llvm/utils/not/
not.cpp 18 std::string ErrMsg;
20 &ErrMsg);
22 errs() << "Error: " << ErrMsg << "\n";
  /external/webkit/Source/JavaScriptCore/parser/
Parser.cpp 36 void Parser::parse(JSGlobalData* globalData, FunctionParameters* parameters, JSParserStrictness strictness, JSParserMode mode, int* errLine, UString* errMsg)
49 if (!errMsg)
50 errMsg = &defaultErrMsg;
53 *errMsg = UString();
65 *errMsg = parseError ? parseError : "Parse error";
Parser.h 62 void parse(JSGlobalData*, FunctionParameters*, JSParserStrictness strictness, JSParserMode mode, int* errLine, UString* errMsg);
85 UString errMsg;
90 parse(&lexicalGlobalObject->globalData(), parameters, strictness, ParsedNode::isFunctionNode ? JSParseFunctionCode : JSParseProgramCode, &errLine, &errMsg);
113 *exception = addErrorInfo(&lexicalGlobalObject->globalData(), createSyntaxError(lexicalGlobalObject, errMsg), errLine, source);
124 debugger->sourceParsed(debuggerExecState, source.provider(), errLine, errMsg);
  /system/core/libnetutils/
dhcp_utils.c 35 static char errmsg[100]; variable
101 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value);
108 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value);
188 snprintf(errmsg, sizeof(errmsg), "%s", "Timed out waiting for dhcpcd to start");
194 snprintf(errmsg, sizeof(errmsg), "%s", "Timed out waiting for DHCP to finish");
200 snprintf(errmsg, sizeof(errmsg), "%s", "DHCP result property was not set")
    [all...]
  /external/llvm/lib/Support/
GraphWriter.cpp 56 std::string ErrMsg;
66 if (sys::Program::ExecuteAndWait(Graphviz, &args[0],0,0,0,0,&ErrMsg)) {
67 errs() << "Error: " << ErrMsg << "\n";
91 &args[0],0,0,0,0,&ErrMsg)) {
92 errs() << "Error: " << ErrMsg << "\n";
156 if (sys::Program::ExecuteAndWait(prog, &args[0], 0, 0, 0, 0, &ErrMsg)) {
157 errs() << "Error: " << ErrMsg << "\n";
169 ErrMsg.clear();
171 if (sys::Program::ExecuteAndWait(gv, &args[0],0,0,0,0,&ErrMsg))
172 errs() << "Error: " << ErrMsg << "\n"
    [all...]
Program.cpp 31 std::string* ErrMsg) {
33 if (prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg))
34 return prg.Wait(path, secondsToWait, ErrMsg);
45 std::string* ErrMsg) {
47 prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg);
  /external/llvm/lib/Support/Windows/
Memory.inc 29 std::string *ErrMsg) {
40 MakeErrMsg(ErrMsg, "Can't allocate RWX Memory: ");
50 bool Memory::ReleaseRWX(MemoryBlock &M, std::string *ErrMsg) {
53 return MakeErrMsg(ErrMsg, "Can't release RWX Memory: ");
57 bool Memory::setWritable(MemoryBlock &M, std::string *ErrMsg) {
61 bool Memory::setExecutable(MemoryBlock &M, std::string *ErrMsg) {
Program.inc 97 static HANDLE RedirectIO(const Path *path, int fd, std::string* ErrMsg) {
121 MakeErrMsg(ErrMsg, std::string(fname) + ": Can't open file for " +
158 std::string* ErrMsg) {
167 if (ErrMsg)
168 *ErrMsg = "program not executable";
245 si.hStdInput = RedirectIO(redirects[0], 0, ErrMsg);
247 MakeErrMsg(ErrMsg, "can't redirect stdin");
250 si.hStdOutput = RedirectIO(redirects[1], 1, ErrMsg);
253 MakeErrMsg(ErrMsg, "can't redirect stdout");
264 si.hStdError = RedirectIO(redirects[2], 2, ErrMsg);
    [all...]
Path.inc 199 Path::GetTemporaryDirectory(std::string* ErrMsg) {
205 if (ErrMsg)
206 *ErrMsg = "Can't determine temporary directory";
472 bool Path::makeReadableOnDisk(std::string* ErrMsg) {
477 bool Path::makeWriteableOnDisk(std::string* ErrMsg) {
486 MakeErrMsg(ErrMsg, std::string(path) + ": Can't make file writable: ");
493 bool Path::makeExecutableOnDisk(std::string* ErrMsg) {
499 Path::getDirectoryContents(std::set<Path>& result, std::string* ErrMsg) const {
502 MakeErrMsg(ErrMsg, path + ": can't get status of file");
507 if (ErrMsg)
    [all...]
  /bionic/libc/stdlib/
setjmperr.c 44 #define ERRMSG "longjmp botch.\n"
45 (void)write(STDERR_FILENO, ERRMSG, sizeof(ERRMSG) - 1);
  /external/llvm/include/llvm/Bitcode/
ReaderWriter.h 31 /// in *ErrMsg with an error description if ErrMsg is non-null.
34 std::string *ErrMsg = 0);
39 /// of 'buffer'. On error, this returns "", and fills in *ErrMsg
40 /// if ErrMsg is non-null.
43 std::string *ErrMsg = 0);
46 /// If an error occurs, this returns null and fills in *ErrMsg if it is
49 std::string *ErrMsg = 0);
  /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);
  /bootable/recovery/updater/
updater.c 116 state.errmsg = NULL;
120 if (state.errmsg == NULL) {
124 fprintf(stderr, "script aborted: %s\n", state.errmsg);
125 char* line = strtok(state.errmsg, "\n");
132 free(state.errmsg);
  /libcore/luni/src/test/java/libcore/java/nio/channels/
OldServerSocketChannelTest.java 93 public String errMsg = null;
97 errMsg = "should throw ClosedByInterruptException";
101 errMsg = "caught wrong Exception: " + e.getClass() + ": " +
114 if (thread.errMsg != null) {
115 fail(thread.errMsg);
  /external/llvm/lib/Archive/
Archive.cpp 69 bool ArchiveMember::replaceWith(const sys::Path& newFile, std::string* ErrMsg) {
72 if (ErrMsg)
73 *ErrMsg = "Can not replace an archive member with a non-existent file";
123 const sys::FileStatus *FSinfo = path.getFileStatus(false, ErrMsg);
151 Archive::mapToMemory(std::string* ErrMsg) {
154 if (ErrMsg)
155 *ErrMsg = ec.message();
221 std::string* ErrMsg) {
224 if (ErrMsg) *ErrMsg = "Could not open file '" + fName.str() + "'" + ":
    [all...]
ArchiveWriter.cpp 159 std::string* ErrMsg) {
162 if (ErrMsg)
163 *ErrMsg = "Can not add a non-existent file to archive";
171 const sys::FileStatus *FSInfo = mbr->path.getFileStatus(false, ErrMsg);
208 std::string* ErrMsg
222 if (ErrMsg)
223 *ErrMsg = ec.message();
238 GetBitcodeSymbols(data, fSize, FullMemberName, Context, symbols, ErrMsg);
258 if (ErrMsg)
259 *ErrMsg = "Can't parse bitcode member: " + member.getPath().str(
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/
decoder.py 29 def errmsg(msg, doc, pos, end=None): function
78 errmsg("Unterminated string starting at", s, begin))
91 errmsg("Unterminated string starting at", s, begin))
97 errmsg("Invalid \\escape: %r" % (esc,), s, end))
106 raise ValueError(errmsg("Invalid \\uXXXX escape", s, end))
127 raise ValueError(errmsg("Expecting property name", s, end))
135 raise ValueError(errmsg("Expecting : delimiter", s, end))
140 raise ValueError(errmsg("Expecting object", s, end))
148 raise ValueError(errmsg("Expecting , delimiter", s, end - 1))
153 raise ValueError(errmsg("Expecting property name", s, end - 1)
    [all...]
  /external/llvm/tools/llvm-ar/
llvm-ar.cpp 278 std::set<sys::Path>& result, std::string* ErrMsg) {
282 if (path.getDirectoryContents(content, ErrMsg))
289 const sys::FileStatus *Status = PwS.getFileStatus(false, ErrMsg);
294 if (recurseDirectories(*I, moreResults, ErrMsg))
308 bool buildPaths(bool checkExistence, std::string* ErrMsg) {
324 if (recurseDirectories(aPath, dirpaths, ErrMsg))
352 bool doPrint(std::string* ErrMsg) {
353 if (buildPaths(false, ErrMsg))
404 doDisplayTable(std::string* ErrMsg) {
405 if (buildPaths(false, ErrMsg))
    [all...]
  /external/clang/lib/AST/
InheritViz.cpp 138 std::string ErrMsg;
139 sys::Path Filename = sys::Path::GetTemporaryDirectory(&ErrMsg);
141 llvm::errs() << "Error: " << ErrMsg << "\n";
145 if (Filename.makeUnique(true,&ErrMsg)) {
146 llvm::errs() << "Error: " << ErrMsg << "\n";
152 llvm::raw_fd_ostream O(Filename.c_str(), ErrMsg);
154 if (ErrMsg.empty()) {
  /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
BitReader_2_7.h 38 std::string *ErrMsg);
42 std::string *ErrMsg);
46 std::string *ErrMsg);

Completed in 2708 milliseconds

1 2 3 4 5 6 7 8 9