Home
last modified time | relevance | path

Searched refs:THROW_RUNTIME_ERROR (Results 1 – 25 of 30) sorted by relevance

12

/dports/graphics/embree/embree-3.13.2/tutorials/common/scenegraph/
H A Dcorona_loader.cpp82 THROW_RUNTIME_ERROR(xml->loc.str()+": invalid material: "+xml->name); in loadMaterial()
130 THROW_RUNTIME_ERROR(xml->loc.str()+": invalid material definition"); in loadMaterialDefinition()
177 THROW_RUNTIME_ERROR(xml->loc.str()+": invalid map definition"); in loadMapDefinition()
188 THROW_RUNTIME_ERROR(xml->loc.str()+": invalid material library"); in loadMaterialLibrary()
205 THROW_RUNTIME_ERROR(xml->loc.str()+": invalid object node"); in loadObject()
207 THROW_RUNTIME_ERROR(xml->loc.str()+": invalid object class"); in loadObject()
215 THROW_RUNTIME_ERROR(xml->loc.str()+": invalid instance node"); in loadInstances()
226 else THROW_RUNTIME_ERROR(child->loc.str()+": unknown node: "+child->name); in loadInstances()
235 THROW_RUNTIME_ERROR(xml->loc.str()+": invalid group node"); in loadGroupNode()
266 else THROW_RUNTIME_ERROR(xml->loc.str()+": unknown tag: "+xml->name); in loadNode()
[all …]
H A Dxml_parser.cpp21 THROW_RUNTIME_ERROR(cin->get().Location().str()+": --> expected"); in parseComments()
32 …if (cin->get() != Token::Sym("=")) THROW_RUNTIME_ERROR(cin->unget().Location().str()+": symbol \"=… in parseParm()
40 …if (cin->get() != Token::Sym("<?")) THROW_RUNTIME_ERROR(cin->unget().Location().str()+": wrong XML… in parseHeader()
55 THROW_RUNTIME_ERROR(cin->peek().Location().str()+": maximal nesting depth reached"); in parseXML()
61 …if (cin->get() != Token::Sym("<")) THROW_RUNTIME_ERROR(cin->unget().Location().str()+": tag expect… in parseXML()
91 …if (cin->get() != Token::Sym("</") ) THROW_RUNTIME_ERROR(cin->unget().Location().str()+": symbo… in parseXML()
92 …if (cin->get() != Token::Id(xml->name)) THROW_RUNTIME_ERROR(cin->unget().Location().str()+": closi… in parseXML()
93 …if (cin->get() != Token::Sym(">") ) THROW_RUNTIME_ERROR(cin->unget().Location().str()+": symbo… in parseXML()
120 …if (cin->peek() != Token::Eof()) THROW_RUNTIME_ERROR(cin->peek().Location().str()+": end of file e… in parseXML()
192 if (!cout.is_open()) THROW_RUNTIME_ERROR("cannot open file " + fileName.str() + " for writing"); in emitXML()
H A Dxml_parser.h35 …if (i == parms.end()) THROW_RUNTIME_ERROR (loc.str()+": XML node has no parameter \"" + parmID + "… in parm_Vec2f()
41 …if (i == parms.end()) THROW_RUNTIME_ERROR (loc.str()+": XML node has no parameter \"" + parmID + "… in parm_Vec3fa()
47 …if (i == parms.end()) THROW_RUNTIME_ERROR (loc.str()+": XML node has no parameter \"" + parmID + "… in parm_float()
55 THROW_RUNTIME_ERROR (loc.str()+": XML node has no child \"" + toString(id) + "\""); in child()
64 THROW_RUNTIME_ERROR (loc.str()+": XML node has no child \"" + childID + "\""); in child()
H A Dscenegraph.cpp471 THROW_RUNTIME_ERROR("invalid triangle"); in verify()
489 THROW_RUNTIME_ERROR("invalid quad"); in verify()
501 THROW_RUNTIME_ERROR("invalid grid"); in verify()
598 THROW_RUNTIME_ERROR("invalid hair"); in verify()
604 THROW_RUNTIME_ERROR("invalid hair"); in verify()
829 THROW_RUNTIME_ERROR("incompatible scene graph"); in extend_animation()
841 THROW_RUNTIME_ERROR("incompatible scene graph"); in extend_animation()
853 THROW_RUNTIME_ERROR("incompatible scene graph"); in extend_animation()
865 THROW_RUNTIME_ERROR("incompatible scene graph"); in extend_animation()
877 THROW_RUNTIME_ERROR("incompatible scene graph"); in extend_animation()
[all …]
H A Dxml_loader.cpp445 THROW_RUNTIME_ERROR("cannot open file "+binFileName.str()+" for reading"); in loadBinary()
456 THROW_RUNTIME_ERROR("error reading from binary file: "+binFileName.str()); in loadBinary()
461 THROW_RUNTIME_ERROR("error reading from binary file: "+binFileName.str()); in loadBinary()
563 THROW_RUNTIME_ERROR(xml->loc.str()+": invalid AffineSpace3fa array"); in loadAffineSpace3faArray()
741 else THROW_RUNTIME_ERROR(xml->loc.str()+": invalid light node: "+xml->name); in loadLight()
759 THROW_RUNTIME_ERROR(xml->loc.str()+": light types do not match"); in loadAnimatedLight()
848 else THROW_RUNTIME_ERROR(entry->loc.str()+": invalid param type: "+type); in loadMaterialParms()
1550 else THROW_RUNTIME_ERROR(xml->loc.str()+": unknown tag: "+xml->name); in loadNode()
1601 THROW_RUNTIME_ERROR(xml->loc.str()+": invalid group node"); in loadBGFGroupNode()
1630 else THROW_RUNTIME_ERROR(xml->loc.str()+": unknown tag: "+xml->name); in loadBGFNode()
[all …]
H A Dtexture.cpp60 default : THROW_RUNTIME_ERROR("invalid texture format"); in format_to_string()
69 else THROW_RUNTIME_ERROR("invalid texture format string"); in string_to_format()
78 default : THROW_RUNTIME_ERROR("invalid texture format"); in getFormatBytesPerTexel()
H A Dobj_loader.cpp50 if (!sep) THROW_RUNTIME_ERROR("separator expected"); in parseSep()
155 THROW_RUNTIME_ERROR("cannot open " + fileName.str()); in OBJLoader()
388 if (name == "") THROW_RUNTIME_ERROR("invalid material file: newmtl expected first"); in loadMTL()
/dports/graphics/embree/embree-3.13.2/tutorials/common/image/
H A Dpng.cpp32 if (!fp) THROW_RUNTIME_ERROR("cannot open file "+fileName.str()); in loadPNG()
38 THROW_RUNTIME_ERROR("invalid PNG file "+fileName.str()); in loadPNG()
43 THROW_RUNTIME_ERROR("invalid PNG file "+fileName.str()); in loadPNG()
47 if (!png_ptr) THROW_RUNTIME_ERROR("invalid PNG file "+fileName.str()); in loadPNG()
53 THROW_RUNTIME_ERROR("invalid PNG file "+fileName.str()); in loadPNG()
58 THROW_RUNTIME_ERROR("invalid PNG file "+fileName.str()); in loadPNG()
128 THROW_RUNTIME_ERROR("invalid color type in PNG file "+fileName.str()); in loadPNG()
H A Dtga.cpp55 if (idlength != 0) THROW_RUNTIME_ERROR("unsupported TGA file"); in loadTGA()
58 if (colormaptype != 0) THROW_RUNTIME_ERROR("unsupported TGA file"); in loadTGA()
61 if (datatype != 2) THROW_RUNTIME_ERROR("unsupported TGA file"); in loadTGA()
69 THROW_RUNTIME_ERROR("unsupported TGA file"); in loadTGA()
75 if (bits != 3*8) THROW_RUNTIME_ERROR("unsupported TGA file bits per pixel"); in loadTGA()
78 if (desc != 0x20) THROW_RUNTIME_ERROR("unsupported TGA file"); in loadTGA()
H A Doiio.cpp20 THROW_RUNTIME_ERROR("error opening file " + fileName.str()); in loadOIIO()
50 if (!out) THROW_RUNTIME_ERROR("unsupported output file format " + fileName.str()); in storeOIIO()
68 THROW_RUNTIME_ERROR("error opening file " + fileName.str()); in storeOIIO()
H A Djpeg.cpp91 THROW_RUNTIME_ERROR("JPEG encoding into a memory buffer requires LibJPEG 8a or higher"); in encodeRGB8_to_JPEG()
101 …FILE *file = fopen(filename.c_str(), "rb"); if (!file) THROW_RUNTIME_ERROR("Unable to open \"" + … in loadJPEG()
148 …FILE *file = fopen(filename.c_str(), "wb"); if (!file) THROW_RUNTIME_ERROR("Unable to open \"" + … in storeJPEG()
H A Dpfm.cpp43 if (maxColor > 0) THROW_RUNTIME_ERROR("Big endian PFM files not supported"); in loadPFM()
64 THROW_RUNTIME_ERROR("Invalid magic value in PFM file"); in loadPFM()
H A Dimage.cpp63 THROW_RUNTIME_ERROR("image format " + ext + " not supported"); in loadImageFromDisk()
102 THROW_RUNTIME_ERROR("image format " + ext + " not supported"); in storeImage()
H A Dppm.cpp44 if (maxColor <= 0) THROW_RUNTIME_ERROR("Invalid maxColor value in PPM file"); in loadPPM()
89 THROW_RUNTIME_ERROR("Invalid magic value in PPM file"); in loadPPM()
/dports/graphics/embree/embree-3.13.2/common/sys/
H A Dmutex.cpp31 THROW_RUNTIME_ERROR("pthread_mutex_init failed"); in MutexSys()
44 THROW_RUNTIME_ERROR("pthread_mutex_lock failed"); in lock()
54 THROW_RUNTIME_ERROR("pthread_mutex_unlock failed"); in unlock()
H A Dcondition.cpp44 THROW_RUNTIME_ERROR("pthread_cond_init failed"); in ConditionImplementation()
54 THROW_RUNTIME_ERROR("pthread_cond_wait failed"); in wait()
59 THROW_RUNTIME_ERROR("pthread_cond_broadcast failed"); in notify_all()
H A Dlibrary.cpp65 THROW_RUNTIME_ERROR(error); in openLibrary()
67 THROW_RUNTIME_ERROR("could not load library "+executable.str()); in openLibrary()
H A Dbarrier.cpp49 THROW_RUNTIME_ERROR("WaitForSingleObjects failed"); in wait()
58 THROW_RUNTIME_ERROR("SetEvent failed"); in wait()
69 THROW_RUNTIME_ERROR("ResetEvent failed"); in wait()
H A Dplatform.h184 #define THROW_RUNTIME_ERROR(str) \ macro
187 #define THROW_RUNTIME_ERROR(str) \ macro
191 #define FATAL(x) THROW_RUNTIME_ERROR(x)
/dports/graphics/embree/embree-3.13.2/common/lexers/
H A Dtokenstream.h32 THROW_RUNTIME_ERROR(loc.str()+": character expected"); in Char()
37 THROW_RUNTIME_ERROR(loc.str()+": integer expected"); in Int()
43 THROW_RUNTIME_ERROR(loc.str()+": float expected");
48 THROW_RUNTIME_ERROR(loc.str()+": identifier expected"); in Identifier()
53 THROW_RUNTIME_ERROR(loc.str()+": string expected"); in String()
58 THROW_RUNTIME_ERROR(loc.str()+": symbol expected"); in Symbol()
H A Dstream.h60 if (past == 0) THROW_RUNTIME_ERROR("stream buffer empty"); in pop_front()
84 if (past < n) THROW_RUNTIME_ERROR ("cannot unget that many items");
133 if (file == nullptr) THROW_RUNTIME_ERROR("cannot open file " + fileName.str()); in FileStream()
H A Dparsestream.h32 THROW_RUNTIME_ERROR("token \""+next+"\" expected but token \""+token+"\" found"); in force()
/dports/devel/rkcommon/rkcommon-1.8.0/rkcommon/
H A Dplatform.h115 #define THROW_RUNTIME_ERROR(str) \ macro
119 #define FATAL(x) THROW_RUNTIME_ERROR(x)
/dports/graphics/embree/embree-3.13.2/tutorials/common/tutorial/
H A Dscene.cpp63 THROW_RUNTIME_ERROR("camera \"" + name +"\" not found"); in getCamera()
H A Dscene_device.cpp107 default : THROW_RUNTIME_ERROR("unknown light type"); in createLight()
556 THROW_RUNTIME_ERROR("invalid scene structure"); in commit()
641 THROW_RUNTIME_ERROR("unknown geometry type"); in convertGeometry()
738 THROW_RUNTIME_ERROR("invalid scene structure"); in ConvertInstance()
744 THROW_RUNTIME_ERROR("scene instancing depth is too large"); in ConvertInstance()

12