Home
last modified time | relevance | path

Searched refs:lc (Results 1 – 5 of 5) sorted by relevance

/sdk/emulator/opengl/host/tools/emugen/
DEntryPoint.cpp95 bool EntryPoint::parse(unsigned int lc, const std::string & str) in parse() argument
113 fprintf(stderr, "line: %d: Parsing error in field <%s>\n", lc, field.c_str()); in parse()
134 fprintf(stderr, "line: %d: Parsing error in field <%s>\n", lc, field.c_str()); in parse()
140 fprintf(stderr, "%d: Unknown type: %s\n", lc, vartype.c_str()); in parse()
205 int EntryPoint::setAttribute(const std::string &line, size_t lc) in setAttribute() argument
216 … fprintf(stderr, "ERROR: %u: Missing variable name in 'len' attribute\n", (unsigned int)lc); in setAttribute()
222 (unsigned int)lc, varname.c_str(), name().c_str()); in setAttribute()
233 …fprintf(stderr, "ERROR: %u: Missing variable name in 'param_check' attribute\n", (unsigned int)lc); in setAttribute()
239 (unsigned int)lc, varname.c_str(), name().c_str()); in setAttribute()
250 … fprintf(stderr, "ERROR: %u: Missing variable name in 'dir' attribute\n", (unsigned int)lc); in setAttribute()
[all …]
DTypeFactory.cpp77 int lc = 0; in initFromFile() local
79 lc++; in initFromFile()
88 fprintf(stderr, "Error: %d : missing type name\n", lc); in initFromFile()
95 fprintf(stderr, "Error: %d : missing type width\n", lc); in initFromFile()
102 fprintf(stderr, "Error: %d : missing print-string\n", lc); in initFromFile()
110 fprintf(stderr, "Error: %d : missing ispointer definition\n", lc); in initFromFile()
121 …tf(stderr, "Error: %d : invalid isPointer definition, must be either \"true\" or \"false\"\n", lc); in initFromFile()
127 fprintf(stderr, "Error: %d : unknown var width: %d\n", lc, atoi(size.c_str())); in initFromFile()
134 lc, name.c_str(), lc); in initFromFile()
DEntryPoint.h33 bool parse(unsigned int lc, const std::string & str);
50 int setAttribute(const std::string &line, size_t lc);
61 void err(unsigned int lc, const char *msg) { in err() argument
62 fprintf(stderr, "line %d: %s\n", lc, msg); in err()
DApiGen.cpp962 unsigned int lc = 0; in readSpec() local
964 lc++; in readSpec()
966 if (ref.parse(lc, std::string(line))) { in readSpec()
988 size_t lc = 0; in readAttributes() local
991 lc++; in readAttributes()
1011 …stderr, "WARNING: %u: attribute of non existant entry point %s\n", (unsigned int)lc, line.c_str()); in readAttributes()
1018 setGlobalAttribute(line, lc); in readAttributes()
1020 currentEntry->setAttribute(line, lc); in readAttributes()
1029 int ApiGen::setGlobalAttribute(const std::string & line, size_t lc) in setGlobalAttribute() argument
1039 fprintf(stderr, "line %u: missing value for base_opcode\n", (uint) lc); in setGlobalAttribute()
[all …]
DApiGen.h92 int setGlobalAttribute(const std::string & line, size_t lc);