std 49 cygnal/cgi-bin/echo/echo.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(cygnal::Buffer &buf) std 51 cygnal/cgi-bin/echo/echo.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(boost::uint8_t *buf, size_t size); std 43 cygnal/cgi-bin/fitcDemo/fitcDemo.cpp using namespace std; std 82 cygnal/cgi-bin/fitcDemo/fitcDemo.cpp std::copy(buf->begin(), buf->begin() + safe, data); std 48 cygnal/cgi-bin/fitcDemo/fitcDemo.h std::vector<boost::shared_ptr<amf::Element > > parseFitcDemoRequest(amf::Buffer &buf) std 50 cygnal/cgi-bin/fitcDemo/fitcDemo.h std::vector<boost::shared_ptr<amf::Element > > parseFitcDemoRequest(boost::uint8_t *buf, size_t size); std 74 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp # define NAMLEN(dirent) std::strlen((dirent)->d_name) std 289 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp std::vector<boost::shared_ptr<demoService::filestats_t> > & std 296 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp std::vector<boost::shared_ptr<demoService::filestats_t> > & std 325 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp std::string name(entry->d_name); std 331 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp const std::string::size_type pos = name.find_last_of('.'); std 332 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp if (pos == std::string::npos) { std 336 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp const std::string suffix = name.substr(pos); std 446 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp std::string key = docroot + "/"; std 449 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp std::vector<boost::shared_ptr<demoService::filestats_t> > &mediafiles = demo.getFileStats(); std 451 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp std::vector<boost::shared_ptr<demoService::filestats_t> >::iterator it; std 522 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp std::vector<boost::shared_ptr<cygnal::Element> > data1; std 49 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::string name; std 50 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::string last; std 51 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::string size; std 57 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::vector<boost::shared_ptr<filestats_t> > &getListOfAvailableFiles(const std::string &path); std 60 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::vector<boost::shared_ptr<filestats_t> > &getListOfAvailableFiles(const std::string &path, std 61 cygnal/cgi-bin/oflaDemo/oflaDemo.h const std::string &type); std 62 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::vector<boost::shared_ptr<filestats_t> > &getFileStats() { return _stats; }; std 65 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::string _path; std 66 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::vector<boost::shared_ptr<filestats_t> > _stats; std 76 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::vector<boost::shared_ptr<cygnal::Element > > parseOflaDemoRequest(cygnal::Buffer &buf) std 78 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::vector<boost::shared_ptr<cygnal::Element > > parseOflaDemoRequest(boost::uint8_t *buf, size_t size); std 45 cygnal/crc.cpp using namespace std; std 61 cygnal/crc.h bool parseFile(const std::string& filespec); std 96 cygnal/crc.h void setDocumentRoot(const std::string &x) { _wwwroot = x; } std 97 cygnal/crc.h std::string getDocumentRoot() { return _wwwroot; } std 99 cygnal/crc.h void setCgiRoot(const std::string &x) { _cgiroot = x; } std 100 cygnal/crc.h std::string getCgiRoot() { return _cgiroot; } std 103 cygnal/crc.h const std::string& getRootCert() const { std 107 cygnal/crc.h void setRootCert(const std::string& value) { std 112 cygnal/crc.h const std::string& getCertFile() const { std 116 cygnal/crc.h void setCertFile(const std::string& value) { std 121 cygnal/crc.h const std::string& getCertDir() const { std 125 cygnal/crc.h void setCertDir(const std::string& value) { std 131 cygnal/crc.h void dump() const { dump(std::cerr); } std 134 cygnal/crc.h void dump(std::ostream& os) const; std 139 cygnal/crc.h std::string _wwwroot; std 143 cygnal/crc.h std::string _cgiroot; std 182 cygnal/crc.h std::string _certfile; std 186 cygnal/crc.h std::string _certdir; std 191 cygnal/crc.h inline std::ostream& operator << (std::ostream& os, const CRcInitFile& crcini) std 102 cygnal/cygnal.cpp using namespace std; std 231 cygnal/cygnal.cpp char *home = std::getenv("HOME"); std 249 cygnal/cygnal.cpp std::ifstream in; std 250 cygnal/cygnal.cpp std::string line; std 270 cygnal/cygnal.cpp while (std::getline(in, line)) { std 279 cygnal/cygnal.cpp std::istringstream ss(line); std 356 cygnal/cygnal.cpp std::vector<boost::shared_ptr<Cygnal::peer_t> >::iterator it; std 372 cygnal/cygnal.cpp map<std::string, boost::shared_ptr<Handler> >::iterator it; std 384 cygnal/cygnal.cpp map<std::string, boost::shared_ptr<Handler> >::iterator it; std 397 cygnal/cygnal.cpp std::vector<boost::shared_ptr<Cygnal::peer_t> >::iterator it; std 658 cygnal/cygnal.cpp std::transform(ptr, ptr + ret, data, (int(*)(int)) toupper); std 921 cygnal/cygnal.cpp std::vector<boost::shared_ptr<Cygnal::peer_t> >::iterator it; std 922 cygnal/cygnal.cpp std::vector<boost::shared_ptr<Cygnal::peer_t> > active = cyg.getActive(); std 933 cygnal/cygnal.cpp char *env = std::getenv("CYGNAL_PLUGINS"); std 47 cygnal/cygnal.h std::string hostname; std 52 cygnal/cygnal.h std::vector<std::string> supported; std 58 cygnal/cygnal.h bool loadPeersFile(const std::string &filespec); std 63 cygnal/cygnal.h void probePeers(std::vector<boost::shared_ptr<peer_t> > &peers); std 65 cygnal/cygnal.h void addHandler(const std::string &path, boost::shared_ptr<Handler> x) { std 69 cygnal/cygnal.h boost::shared_ptr<Handler> findHandler(const std::string &path); std 70 cygnal/cygnal.h void removeHandler(const std::string &path); std 72 cygnal/cygnal.h std::vector<boost::shared_ptr<peer_t> > & getActive() { return _active_peers; }; std 81 cygnal/cygnal.h std::vector<boost::shared_ptr<peer_t> > _peers; std 82 cygnal/cygnal.h std::vector<boost::shared_ptr<peer_t> > _active_peers; std 83 cygnal/cygnal.h std::map<std::string, boost::shared_ptr<Handler> > _handlers; std 281 cygnal/handler.cpp Handler::initModule(const std::string& str) std 400 cygnal/handler.cpp Handler::findStream(const std::string &filespec) std 426 cygnal/handler.cpp Handler::createStream(double /* transid */, const std::string &filespec) std 451 cygnal/handler.cpp Handler::playStream(const std::string &filespec) std 484 cygnal/handler.cpp Handler::publishStream(const std::string &/*filespec */, Handler::pub_stream_e /* op std 96 cygnal/handler.h std::string version; std 97 cygnal/handler.h std::string description; std 98 cygnal/handler.h std::string hostname; std 99 cygnal/handler.h std::string path; std 118 cygnal/handler.h void setName(const std::string &x) { _name = x; }; std 119 cygnal/handler.h std::string &getName() { return _name; } std 145 cygnal/handler.h std::vector<int> &getClients() { return _clients; }; std 170 cygnal/handler.h boost::shared_ptr<cygnal_init_t> initModule(const std::string& module); std 191 cygnal/handler.h double createStream(double transid, const std::string &filespec); std 197 cygnal/handler.h bool playStream(const std::string &filespec); std 201 cygnal/handler.h int publishStream(const std::string &filespec, pub_stream_e op); std 211 cygnal/handler.h boost::shared_ptr<gnash::DiskStream> findStream(const std::string &filespec); std 226 cygnal/handler.h void setFCSubscribe(const std::string &x) { _fcsubscribe = x; }; std 227 cygnal/handler.h std::string &getFCSubscribe() { return _fcsubscribe; } std 248 cygnal/handler.h std::string &getKey(int x) { return _keys[x]; }; std 249 cygnal/handler.h void setKey(int fd, std::string x) { _keys[fd] = x; }; std 257 cygnal/handler.h std::string _name; std 268 cygnal/handler.h std::map<int, boost::shared_ptr<gnash::DiskStream> > _diskstreams; std 272 cygnal/handler.h std::map<int, gnash::Network::protocols_supported_e> _protocol; std 274 cygnal/handler.h std::map<int, boost::shared_ptr<HTTPServer> > _http; std 275 cygnal/handler.h std::map<int, boost::shared_ptr<RTMPServer> > _rtmp; std 280 cygnal/handler.h std::vector<int> _clients; std 284 cygnal/handler.h std::vector<int> _remote; std 295 cygnal/handler.h std::vector<boost::shared_ptr<gnash::DiskStream> > _files; std 298 cygnal/handler.h std::vector<boost::shared_ptr<cygnal::Element> > _sol; std 303 cygnal/handler.h std::map<int, size_t> _bodysize; std 312 cygnal/handler.h std::string _fcsubscribe; std 323 cygnal/handler.h std::map<int, std::string> _keys; std 551 cygnal/http_server.cpp boost::uint8_t *endstr = std::find(tmpptr, tmpptr+length, '\0'); std 572 cygnal/http_server.cpp endstr = std::find(tmpptr, tmpptr+length, '\0'); std 716 cygnal/http_server.cpp std::transform(body.begin(), body.end(), body.begin(), std 785 cygnal/http_server.cpp std::transform(body.begin(), body.end(), body.begin(), std 864 cygnal/http_server.cpp boost::uint8_t *start = std::find(data, data+7, ' ') + 1; std 865 cygnal/http_server.cpp boost::uint8_t *end = std::find(start + 2, data+PATH_MAX, ' '); std 866 cygnal/http_server.cpp boost::uint8_t *params = std::find(start, end, '?'); std 868 cygnal/http_server.cpp _params = std::string(params+1, end); std 869 cygnal/http_server.cpp _filespec = std::string(start, params); std 873 cygnal/http_server.cpp _filespec = std::string(start, end); std 905 cygnal/http_server.cpp std::transform(name.begin(), name.end(), name.begin(), std 907 cygnal/http_server.cpp std::transform(value.begin(), value.end(), value.begin(), std 89 cygnal/http_server.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(gnash::cygnal::Buffer &buf) { return parseEchoRequest(buf.reference(), buf.size()); }; std 90 cygnal/http_server.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(boost::uint8_t *buf, size_t size); std 93 cygnal/http_server.h gnash::cygnal::Buffer &formatEchoResponse(const std::string &num, cygnal::Element &el); std 94 cygnal/http_server.h gnash::cygnal::Buffer &formatEchoResponse(const std::string &num, cygnal::Buffer &data); std 95 cygnal/http_server.h gnash::cygnal::Buffer &formatEchoResponse(const std::string &num, uint8_t *data, size_t size); std 124 cygnal/libamf/amf.cpp std::reverse(x, x+size); std 190 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> >::const_iterator ait; std 191 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = data.getProperties(); std 342 cygnal/libamf/amf.cpp std::string name = data.getName(); std 349 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> >::const_iterator ait; std 350 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = data.getProperties(); std 443 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> >::const_iterator ait; std 444 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = data.getProperties(); std 547 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> >::const_iterator ait; std 548 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = data.getProperties(); std 577 cygnal/libamf/amf.cpp std::ostringstream os; std 806 cygnal/libamf/amf.cpp std::string name = el.getName(); std 842 cygnal/libamf/amf.cpp std::string name = el->getName(); std 917 cygnal/libamf/amf.cpp std::map<boost::uint16_t, cygnal::Element> references; std 1139 cygnal/libamf/amf.cpp std::string name(reinterpret_cast<const char*>(tmpptr), length); std 1250 cygnal/libamf/amf.cpp std::string name(reinterpret_cast<const char *>(tmpptr), length); std 138 cygnal/libamf/amf.h static boost::shared_ptr<Buffer> encodeString(const std::string &str); std 147 cygnal/libamf/amf_msg.cpp std::string str1(reinterpret_cast<const char *>(tmpptr), length); std 165 cygnal/libamf/amf_msg.cpp std::string str2(reinterpret_cast<const char *>(tmpptr), length); std 230 cygnal/libamf/amf_msg.cpp } catch(std::exception& e) { std 258 cygnal/libamf/amf_msg.cpp std::vector<boost::shared_ptr<AMF_msg::amf_message_t> >::iterator it; std 325 cygnal/libamf/amf_msg.cpp std::vector<boost::shared_ptr<AMF_msg::amf_message_t> >::iterator it; std 66 cygnal/libamf/amf_msg.h std::string target; std 67 cygnal/libamf/amf_msg.h std::string response; std 89 cygnal/libamf/amf_msg.h static boost::shared_ptr<cygnal::Buffer> encodeMsgHeader(const std::string &target, std 90 cygnal/libamf/amf_msg.h const std::string &response, size_t size); std 106 cygnal/libamf/amf_msg.h boost::shared_ptr<cygnal::Buffer> encodeAMFPacket(const std::string &target, std 107 cygnal/libamf/amf_msg.h const std::string &response, size_t size); std 114 cygnal/libamf/amf_msg.h std::vector<boost::shared_ptr<amf_message_t> > _messages; std 39 cygnal/libamf/amfutf8.h typedef std::vector<char> utf8_t; std 40 cygnal/libamf/amfutf8.h typedef std::vector<char> longutf8_t; std 99 cygnal/libamf/buffer.cpp std::string std 105 cygnal/libamf/buffer.cpp std::string std 111 cygnal/libamf/buffer.cpp std::string std 203 cygnal/libamf/buffer.cpp std::copy(data, data + nbytes, _data.get()); std 229 cygnal/libamf/buffer.cpp std::copy(data, data + nbytes, _seekptr); std 566 cygnal/libamf/buffer.cpp boost::uint8_t *start = std::find(begin(), end(), c); std 574 cygnal/libamf/buffer.cpp std::copy(start + 1, end(), start); std 594 cygnal/libamf/buffer.cpp std::copy((_data.get() + start + 1), end(), (_data.get() + start)), std 618 cygnal/libamf/buffer.cpp std::copy((_data.get() + range + 1), end(), (_data.get() + start)), std 715 cygnal/libamf/buffer.cpp std::copy(_data.get(), _data.get() + used, newptr); std 738 cygnal/libamf/buffer.cpp << std::endl; std 740 cygnal/libamf/buffer.cpp << std::endl; std 742 cygnal/libamf/buffer.cpp os << "ERROR: Buffer size out of range!" << std::endl; std 69 cygnal/libamf/buffer.h Buffer(const std::string &str); std 92 cygnal/libamf/buffer.h Buffer &hex2mem(const std::string &str); std 105 cygnal/libamf/buffer.h std::string hexify(); std 106 cygnal/libamf/buffer.h std::string hexify(bool ascii); std 107 cygnal/libamf/buffer.h std::string hexify(Buffer &buf, bool ascii); std 167 cygnal/libamf/buffer.h Buffer &operator=(const std::string &str); std 236 cygnal/libamf/buffer.h Buffer &operator+=(const std::string &str); std 396 cygnal/libamf/buffer.h void dump() const { dump(std::cerr); } std 398 cygnal/libamf/buffer.h void dump(std::ostream& os) const; std 441 cygnal/libamf/buffer.h inline std::ostream& operator << (std::ostream& os, const Buffer& buf) std 434 cygnal/libamf/element.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = el.getProperties(); std 624 cygnal/libamf/element.cpp } catch (std::exception& e) { std 654 cygnal/libamf/element.cpp } catch (std::exception& e) { std 734 cygnal/libamf/element.cpp } catch (std::exception& e) { std 756 cygnal/libamf/element.cpp } catch (std::exception& e) { std 793 cygnal/libamf/element.cpp } catch (std::exception& e) { std 814 cygnal/libamf/element.cpp } catch (std::exception& e) { std 970 cygnal/libamf/element.cpp std::vector<boost::shared_ptr<Element> >::const_iterator ait; std 1119 cygnal/libamf/element.cpp } catch (std::exception& e) { std 1384 cygnal/libamf/element.cpp } catch (std::exception& e) { std 1419 cygnal/libamf/element.cpp std::copy(str.begin(), str.end(), _name); std 1457 cygnal/libamf/element.cpp std::copy(name, name+size, _name); std 1498 cygnal/libamf/element.cpp os << "data length is " << getDataSize() << std::endl; std 1503 cygnal/libamf/element.cpp os << to_number() << std::endl; std 1506 cygnal/libamf/element.cpp os << (to_bool() ? "true" : "false") << std::endl; std 1513 cygnal/libamf/element.cpp std::cerr << std::endl; std 1530 cygnal/libamf/element.cpp std::cerr << std::endl; std 1557 cygnal/libamf/element.cpp std::vector<boost::shared_ptr<Element> >::const_iterator ait; std 1558 cygnal/libamf/element.cpp os << "# of Properties in object: " << _properties.size() << std::endl; std 1576 cygnal/libamf/element.cpp std::vector<boost::shared_ptr<Element> >::iterator ait; std 114 cygnal/libamf/element.h Element(const std::string &name, double num); std 123 cygnal/libamf/element.h Element(const std::string &data); std 130 cygnal/libamf/element.h Element(const std::string &name, const std::string &data); std 142 cygnal/libamf/element.h Element(const std::string &name, bool data); std 149 cygnal/libamf/element.h Element(std::vector<double> &data); std 156 cygnal/libamf/element.h Element(std::vector<std::string> &data); std 163 cygnal/libamf/element.h Element(std::vector<Element > &data); std 173 cygnal/libamf/element.h Element(bool, double, double, const std::string &str); std 176 cygnal/libamf/element.h Element &init(bool, double, double, const std::string &str); std 201 cygnal/libamf/element.h Element &operator=(const std::string &str); std 233 cygnal/libamf/element.h Element &makeString(const std::string &data); std 243 cygnal/libamf/element.h Element &makeString(const std::string &name, const std::string &str); std 272 cygnal/libamf/element.h Element &makeNumber(const std::string &name, double num) ; std 275 cygnal/libamf/element.h Element &makeNumber(const std::string &name, boost::uint8_t *data); std 299 cygnal/libamf/element.h Element &makeBoolean(const std::string &name, bool data); std 311 cygnal/libamf/element.h Element &makeUndefined(const std::string &name); std 323 cygnal/libamf/element.h Element &makeNull(const std::string &name); std 346 cygnal/libamf/element.h Element &makeObject(const std::string &name); std 353 cygnal/libamf/element.h Element &makeObject(std::vector<boost::shared_ptr<cygnal::Element> > &data); std 362 cygnal/libamf/element.h Element &makeObject(const std::string &name, std::vector<boost::shared_ptr<cygnal::Element> > &data); std 377 cygnal/libamf/element.h Element &makeXMLObject(const std::string &name); std 386 cygnal/libamf/element.h Element &makeXMLObject(const std::string &name, const std::string &data); std 401 cygnal/libamf/element.h Element &makeECMAArray(const std::string &name); std 410 cygnal/libamf/element.h Element &makeECMAArray(std::vector<boost::shared_ptr<cygnal::Element> > &data); std 419 cygnal/libamf/element.h Element &makeECMAArray(const std::string &name, std::vector<boost::shared_ptr<cygnal::Element> > &data); std 435 cygnal/libamf/element.h Element &makeStrictArray(const std::string &name); std 444 cygnal/libamf/element.h Element &makeStrictArray(std::vector<boost::shared_ptr<cygnal::Element> > &data); std 453 cygnal/libamf/element.h Element &makeStrictArray(const std::string &name, std::vector<boost::shared_ptr<cygnal::Element> > &data); std 461 cygnal/libamf/element.h Element &makeTypedObject(const std::string &name); std 667 cygnal/libamf/element.h void setName(const std::string &name); std 691 cygnal/libamf/element.h boost::shared_ptr<Element> findProperty(const std::string &name); std 742 cygnal/libamf/element.h std::vector<boost::shared_ptr<Element> > getProperties() const std 750 cygnal/libamf/element.h void dump() const { dump(std::cerr); } std 752 cygnal/libamf/element.h void dump(std::ostream& os) const; std 782 cygnal/libamf/element.h std::vector<boost::shared_ptr<Element> > _properties; std 787 cygnal/libamf/element.h inline std::ostream& operator << (std::ostream& os, const Element& el) std 160 cygnal/libamf/flv.cpp std::string name(reinterpret_cast<const char *>(ptr), length); std 313 cygnal/libamf/flv.cpp std::vector<boost::shared_ptr<cygnal::Element> >::iterator ait; std 332 cygnal/libamf/flv.cpp std::vector<boost::shared_ptr<cygnal::Element> >::iterator ait; std 333 cygnal/libamf/flv.cpp std::cerr << "# of Properties in object: " << _properties.size() std 334 cygnal/libamf/flv.cpp << std::endl; std 348 cygnal/libamf/flv.cpp std::cerr << "No properties" << std::endl; std 226 cygnal/libamf/flv.h boost::shared_ptr<cygnal::Element> findProperty(const std::string &name); std 233 cygnal/libamf/flv.h void setProperties(std::vector<boost::shared_ptr<cygnal::Element> > array) std 261 cygnal/libamf/flv.h std::vector<boost::shared_ptr<cygnal::Element> > _properties; std 302 cygnal/libamf/lcshm.cpp std::auto_ptr< vector<string> > std 306 cygnal/libamf/lcshm.cpp std::auto_ptr< vector<string> > listeners ( new vector<string> ); std 472 cygnal/libamf/lcshm.cpp const std::string protocol="localhost"; std 599 cygnal/libamf/lcshm.cpp std::vector<cygnal::Element* >::iterator iter; std 648 cygnal/libamf/lcshm.cpp const std::string protocol="localhostf"; std 785 cygnal/libamf/lcshm.cpp using namespace std; std 63 cygnal/libamf/lcshm.h bool addListener(const std::string &name); std 71 cygnal/libamf/lcshm.h bool findListener(const std::string &name); std 79 cygnal/libamf/lcshm.h bool removeListener(const std::string &name); std 86 cygnal/libamf/lcshm.h std::auto_ptr< std::vector<std::string> > listListeners(); std 104 cygnal/libamf/lcshm.h std::string _name; std 129 cygnal/libamf/lcshm.h std::string connection_name; std 130 cygnal/libamf/lcshm.h std::string protocol; std 131 cygnal/libamf/lcshm.h std::string method_name; std 132 cygnal/libamf/lcshm.h std::vector<boost::shared_ptr<cygnal::Element> > data; // this can be any AMF data type std 137 cygnal/libamf/lcshm.h std::string connection_name; std 138 cygnal/libamf/lcshm.h std::string hostname; std 166 cygnal/libamf/lcshm.h bool connect(const std::string &name); std 194 cygnal/libamf/lcshm.h void send(const std::string& name, const std::string& dataname, std 195 cygnal/libamf/lcshm.h std::vector< cygnal::Element* >& data); std 206 cygnal/libamf/lcshm.h void recv(std::string &name, std::string &dataname, boost::shared_ptr<cygnal::Element> data); std 214 cygnal/libamf/lcshm.h std::vector<boost::shared_ptr<cygnal::Element> > parseBody(boost::uint8_t *data); std 237 cygnal/libamf/lcshm.h boost::uint8_t *formatHeader(const std::string &con, const std::string &host, bool domain); std 244 cygnal/libamf/lcshm.h void addConnectionName(std::string &name); std 251 cygnal/libamf/lcshm.h void addHostname(std::string &name); std 266 cygnal/libamf/lcshm.h std::vector<boost::shared_ptr<cygnal::Element> > getElements() { return _amfobjs; }; std 300 cygnal/libamf/lcshm.h std::vector<boost::shared_ptr<cygnal::Element> > _amfobjs; std 44 cygnal/libamf/protocol.h std::string _name; std 248 cygnal/libamf/sol.cpp std::ofstream ofs(filespec.c_str(), std::ios::binary); std 271 cygnal/libamf/sol.cpp std::fill_n(body.get(), size, 0); std 373 cygnal/libamf/sol.cpp std::ifstream ifs(filespec.c_str(), std::ios::binary); std 454 cygnal/libamf/sol.cpp catch (std::exception& e) { std 489 cygnal/libamf/sol.cpp using namespace std; std 71 cygnal/libamf/sol.h bool extractHeader(const std::vector<boost::uint8_t> &data); std 78 cygnal/libamf/sol.h bool extractHeader(const std::string &filespec); std 86 cygnal/libamf/sol.h bool formatHeader(const std::vector<boost::uint8_t> &data); std 93 cygnal/libamf/sol.h bool formatHeader(const std::string &name); std 102 cygnal/libamf/sol.h bool formatHeader(const std::string &name, int filesize); std 116 cygnal/libamf/sol.h bool writeFile(const std::string &filespec, const std::string &objname); std 123 cygnal/libamf/sol.h bool readFile(const std::string &filespec); std 128 cygnal/libamf/sol.h std::vector<boost::uint8_t> getHeader() { return _header; }; std 141 cygnal/libamf/sol.h std::vector<boost::shared_ptr<cygnal::Element> > &getElements() { return _amfobjs; } std 161 cygnal/libamf/sol.h void setFilespec(const std::string &filespec) { _filespec = filespec; }; std 167 cygnal/libamf/sol.h const std::string &getFilespec() const { return _filespec; }; std 174 cygnal/libamf/sol.h void setObjectName(const std::string &objname) { _objname = objname; }; std 180 cygnal/libamf/sol.h const std::string &getObjectName() const { return _objname; }; std 193 cygnal/libamf/sol.h std::vector<boost::uint8_t> _header; std 197 cygnal/libamf/sol.h std::vector<boost::uint8_t> _data; std 201 cygnal/libamf/sol.h std::string _objname; std 205 cygnal/libamf/sol.h std::string _filespec; std 214 cygnal/libamf/sol.h std::vector<boost::shared_ptr<Element> > _amfobjs; std 193 cygnal/libnet/cache.cpp std::stringstream text; std 214 cygnal/libnet/cache.cpp text << "Time since last access: " << std::fixed << time << " seconds ago." << endl; std 229 cygnal/libnet/cache.cpp map<std::string, boost::shared_ptr<DiskStream> >::const_iterator data; std 243 cygnal/libnet/cache.cpp text << " Time since last file access: " << std::fixed << time << " seconds ago." << endl; std 276 cygnal/libnet/cache.cpp map<std::string, boost::shared_ptr<DiskStream> >::const_iterator data; std 54 cygnal/libnet/cache.h void DSOEXPORT addPath(const std::string &name, const std::string &fullpath); std 55 cygnal/libnet/cache.h std::string &findPath(const std::string &name); std 56 cygnal/libnet/cache.h void removePath(const std::string &name); std 58 cygnal/libnet/cache.h void addResponse(const std::string &name, const std::string &response); std 59 cygnal/libnet/cache.h std::string &findResponse(const std::string &name); std 60 cygnal/libnet/cache.h void removeResponse(const std::string &name); std 62 cygnal/libnet/cache.h void addFile(const std::string &name, boost::shared_ptr<DiskStream > &file); std 63 cygnal/libnet/cache.h boost::shared_ptr<DiskStream> & findFile(const std::string &name); std 64 cygnal/libnet/cache.h void removeFile(const std::string &name); std 68 cygnal/libnet/cache.h void dump() const { dump(std::cerr); } std 70 cygnal/libnet/cache.h void dump(std::ostream& os) const; std 73 cygnal/libnet/cache.h std::string DSOEXPORT stats(bool xml) const; std 78 cygnal/libnet/cache.h std::map<std::string, std::string> _pathnames; std 81 cygnal/libnet/cache.h std::map<std::string, std::string> _responses; std 84 cygnal/libnet/cache.h std::map<std::string, boost::shared_ptr<DiskStream> > _files; std 108 cygnal/libnet/cache.h inline std::ostream& operator << (std::ostream& os, const Cache& cache) std 115 cygnal/libnet/cque.cpp std::copy(data, data + nbytes, buf->reference()); std 213 cygnal/libnet/cque.cpp que_t::iterator from = std::find(_que.begin(), _que.end(), start); std 265 cygnal/libnet/cque.cpp std::cerr << std::endl << "CQue \"" << _name << "\" has "<< _que.size() std 266 cygnal/libnet/cque.cpp << " buffers." << std::endl; std 39 cygnal/libnet/cque.h typedef std::deque<boost::shared_ptr<cygnal::Buffer> > que_t; std 49 cygnal/libnet/cque.h CQue(const std::string &str) { _name = str; }; std 83 cygnal/libnet/cque.h void setName(const std::string &str) { _name = str; } std 84 cygnal/libnet/cque.h const std::string &getName() { return _name; } std 87 cygnal/libnet/cque.h std::string _name; std 203 cygnal/libnet/diskstream.cpp std::copy(data, data + size, _dataptr); std 251 cygnal/libnet/diskstream.cpp std::copy(buf.begin(), buf.end(), _dataptr); std 990 cygnal/libnet/diskstream.cpp std::transform(name.begin(), name.end(), name.begin(), std 1103 cygnal/libnet/diskstream.cpp using namespace std; std 90 cygnal/libnet/diskstream.h DSOEXPORT DiskStream(const std::string &filespec); std 91 cygnal/libnet/diskstream.h DSOEXPORT DiskStream(const std::string &filespec, cygnal::Buffer &buf); std 92 cygnal/libnet/diskstream.h DSOEXPORT DiskStream(const std::string &filespec, boost::uint8_t *data, size_t size); std 93 cygnal/libnet/diskstream.h DSOEXPORT DiskStream(const std::string &filespec, int netfd); std 110 cygnal/libnet/diskstream.h DSOEXPORT bool open(const std::string &filespec); std 111 cygnal/libnet/diskstream.h DSOEXPORT bool open(const std::string &filespec, int netfd); std 112 cygnal/libnet/diskstream.h DSOEXPORT bool open(const std::string &filespec, int netfd, gnash::Statistics &statistics); std 136 cygnal/libnet/diskstream.h bool preview(const std::string &filespec, int frames); std 149 cygnal/libnet/diskstream.h bool thumbnail(const std::string &filespec, int quantity); std 173 cygnal/libnet/diskstream.h bool upload(const std::string &filespec); std 176 cygnal/libnet/diskstream.h bool multicast(const std::string &filespec); std 202 cygnal/libnet/diskstream.h DSOEXPORT bool writeToDisk(const std::string &filespec, boost::uint8_t *data, size_t size); std 203 cygnal/libnet/diskstream.h DSOEXPORT bool writeToDisk(const std::string &filespec, cygnal::Buffer &data); std 204 cygnal/libnet/diskstream.h DSOEXPORT bool writeToDisk(const std::string &filespec); std 252 cygnal/libnet/diskstream.h std::string &getFilespec() { return _filespec; } std 253 cygnal/libnet/diskstream.h void setFilespec(std::string filespec) { _filespec = filespec; } std 278 cygnal/libnet/diskstream.h void dump() const { dump(std::cerr); } std 280 cygnal/libnet/diskstream.h void dump(std::ostream& os) const; std 297 cygnal/libnet/diskstream.h std::string _filespec; std 337 cygnal/libnet/diskstream.h filetype_e determineFileType(const std::string &filespec); std 341 cygnal/libnet/diskstream.h bool getFileStats(const std::string &filespec); std 360 cygnal/libnet/diskstream.h inline std::ostream& operator << (std::ostream& os, const DiskStream& ds) std 157 cygnal/libnet/http.cpp std::transform(name.begin(), name.end(), name.begin(), std 159 cygnal/libnet/http.cpp std::transform(value.begin(), value.end(), value.begin(), std 642 cygnal/libnet/http.cpp std::string length = getField("content-length"); std 734 cygnal/libnet/http.cpp boost::shared_ptr<std::vector<std::string> > std 738 cygnal/libnet/http.cpp boost::shared_ptr<std::vector<std::string> > ptr(new std::vector<std::string>); std 1120 cygnal/libnet/http.cpp std::stringstream date; std 1288 cygnal/libnet/http.cpp boost::uint8_t *start = std::find(data, data+7, ' ') + 1; std 1289 cygnal/libnet/http.cpp boost::uint8_t *end = std::find(start + 2, data+PATH_MAX, ' '); std 1290 cygnal/libnet/http.cpp boost::uint8_t *params = std::find(start, end, '?'); std 1292 cygnal/libnet/http.cpp _params = std::string(params+1, end); std 1293 cygnal/libnet/http.cpp _filespec = std::string(start, params); std 1297 cygnal/libnet/http.cpp _filespec = std::string(start, end); std 1378 cygnal/libnet/http.cpp boost::uint8_t *start = std::find(data, data+size, '\r') + 2; std 1381 cygnal/libnet/http.cpp std::string bytes(data, start-2); std 1427 cygnal/libnet/http.cpp start = std::find(buf->reference(), buf->reference()+ret, '\r') + 2; std 1430 cygnal/libnet/http.cpp std::string bytes(buf->reference(), start-2); std 1562 cygnal/libnet/http.cpp std::map<string, string>::const_iterator it; std 123 cygnal/libnet/http.h std::string msg; std 139 cygnal/libnet/http.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(cygnal::Buffer &buf) { return parseEchoRequest(buf.reference(), buf.size()); }; std 140 cygnal/libnet/http.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(boost::uint8_t *buf, size_t size); std 151 cygnal/libnet/http.h std::string &getField(const std::string &name) { return _fields[name]; }; std 154 cygnal/libnet/http.h std::map<std::string, std::string> &getFields() { return _fields; }; std 157 cygnal/libnet/http.h boost::shared_ptr<std::vector<std::string> > getFieldItem(const std::string &name); std 160 cygnal/libnet/http.h boost::shared_ptr<http_response_t> parseStatus(const std::string &line); std 188 cygnal/libnet/http.h cygnal::Buffer &formatCommon(const std::string &data); std 194 cygnal/libnet/http.h cygnal::Buffer &formatRequest(const std::string &url, http_method_e req); std 196 cygnal/libnet/http.h cygnal::Buffer &formatEchoResponse(const std::string &num, cygnal::Element &el); std 197 cygnal/libnet/http.h cygnal::Buffer &formatEchoResponse(const std::string &num, cygnal::Buffer &data); std 198 cygnal/libnet/http.h cygnal::Buffer &formatEchoResponse(const std::string &num, boost::uint8_t *data, size_t size); std 200 cygnal/libnet/http.h cygnal::Buffer &formatMethod(const std::string &data) std 204 cygnal/libnet/http.h cygnal::Buffer &formatServer(const std::string &data); std 205 cygnal/libnet/http.h cygnal::Buffer &formatReferer(const std::string &data) std 207 cygnal/libnet/http.h cygnal::Buffer &formatConnection(const std::string &data) std 209 cygnal/libnet/http.h cygnal::Buffer &formatKeepAlive(const std::string &data) std 215 cygnal/libnet/http.h cygnal::Buffer &formatHost(const std::string &data) std 217 cygnal/libnet/http.h cygnal::Buffer &formatAgent(const std::string &data) std 219 cygnal/libnet/http.h cygnal::Buffer &formatAcceptRanges(const std::string &data) std 222 cygnal/libnet/http.h cygnal::Buffer &formatLastModified(const std::string &data) std 224 cygnal/libnet/http.h cygnal::Buffer &formatEtag(const std::string &data) std 226 cygnal/libnet/http.h cygnal::Buffer &formatLanguage(const std::string &data) std 228 cygnal/libnet/http.h cygnal::Buffer &formatCharset(const std::string &data) std 230 cygnal/libnet/http.h cygnal::Buffer &formatEncoding(const std::string &data) std 232 cygnal/libnet/http.h cygnal::Buffer &formatTE(const std::string &data) std 279 cygnal/libnet/http.h int sendMsg(std::stringstream &sstr) std 288 cygnal/libnet/http.h std::string &getFilespec() { return _filespec; } std 289 cygnal/libnet/http.h std::string &getParams() { return _params; } std 291 cygnal/libnet/http.h std::map<int, struct status_codes *> getStatusCodes() std 296 cygnal/libnet/http.h void setDocRoot(const std::string &path) { _docroot = path; }; std 297 cygnal/libnet/http.h std::string &getDocRoot() { return _docroot; }; std 325 cygnal/libnet/http.h std::string _filespec; std 326 cygnal/libnet/http.h std::string _params; std 328 cygnal/libnet/http.h std::map<int, struct status_codes *> _status_codes; std 330 cygnal/libnet/http.h std::map<std::string, std::string> _fields; std 340 cygnal/libnet/http.h std::string _docroot; std 98 cygnal/libnet/lirc.cpp std::cerr << "Character: " << button_str << std::endl; std 1271 cygnal/libnet/network.cpp boost::shared_ptr<std::vector<struct pollfd> > std 142 cygnal/libnet/network.h std::string filespec; std 181 cygnal/libnet/network.h bool connectSocket(const std::string &sock); std 193 cygnal/libnet/network.h bool createClient(const std::string &hostname); std 194 cygnal/libnet/network.h bool createClient(const std::string &hostname, short port); std 233 cygnal/libnet/network.h int writeNet(const std::string &data); std 244 cygnal/libnet/network.h boost::shared_ptr<std::vector<struct pollfd> > waitForNetData(int limit, struct pollfd *fds); std 246 cygnal/libnet/network.h fd_set waitForNetData(std::vector<int> &data); std 277 cygnal/libnet/network.h const std::string& getURL() const { return _url; } std 278 cygnal/libnet/network.h void setURL(const std::string& url) { _url = url; } std 280 cygnal/libnet/network.h const std::string& getProtocol() const { return _protocol; } std 281 cygnal/libnet/network.h void setProtocol(const std::string& proto) { _protocol = proto; } std 283 cygnal/libnet/network.h const std::string& getHost() const { return _host; } std 284 cygnal/libnet/network.h void setHost(const std::string& host) { _host = host; } std 286 cygnal/libnet/network.h const std::string& getPortStr() const { return _portstr; } std 287 cygnal/libnet/network.h void setPortStr(const std::string& port) { _portstr = port; } std 289 cygnal/libnet/network.h const std::string& getPath() const { return _path; } std 290 cygnal/libnet/network.h void setPath(const std::string& path) { _path = path; } std 303 cygnal/libnet/network.h void erasePollFD(std::vector<struct pollfd>::iterator &itt); std 319 cygnal/libnet/network.h bool initSSL(std::string &hostname); std 320 cygnal/libnet/network.h bool initSSL(std::string &hostname, std::string &password); std 321 cygnal/libnet/network.h bool initSSL(std::string &hostname, std::string &password, bool auth); std 322 cygnal/libnet/network.h bool initSSL(std::string &hostname, std::string &password, std 323 cygnal/libnet/network.h std::string &keyfile, std::string &calist, std 324 cygnal/libnet/network.h std::string &rootpath, bool auth); std 335 cygnal/libnet/network.h std::string _portstr; std 336 cygnal/libnet/network.h std::string _url; std 337 cygnal/libnet/network.h std::string _protocol; std 338 cygnal/libnet/network.h std::string _host; std 339 cygnal/libnet/network.h std::string _path; std 346 cygnal/libnet/network.h std::map<int, entry_t *> _handlers; std 347 cygnal/libnet/network.h std::vector<struct pollfd> _pollfds; std 62 cygnal/libnet/rtmp.cpp return std::strcmp(a.first, _match) == 0; std 207 cygnal/libnet/rtmp.cpp std::string name = (fmt % i).str(); std 247 cygnal/libnet/rtmp.cpp AMFProperties::iterator it = std::find_if(_properties.begin(), std 553 cygnal/libnet/rtmp.cpp << std::endl; std 1290 cygnal/libnet/rtmp.cpp if ((ret == static_cast<int>(std::string::npos)) || (ret == -1)) { std 1384 cygnal/libnet/rtmp.cpp << std::endl; std 146 cygnal/libnet/rtmp.h typedef std::map<const char*, cygnal::Element> AMFProperties; std 147 cygnal/libnet/rtmp.h typedef std::deque<CQue *> queues_t; std 338 cygnal/libnet/rtmp.h void addProperty(std::string &name, cygnal::Element &el); std 339 cygnal/libnet/rtmp.h cygnal::Element &getProperty(const std::string &name); std 450 cygnal/libnet/rtmp.h std::vector<size_t> _bodysize; std 451 cygnal/libnet/rtmp.h std::vector<content_types_e> _type; std 64 cygnal/libnet/rtmp_client.h DSOEXPORT bool connectToServer(const std::string &url); std 70 cygnal/libnet/rtmp_client.h DSOEXPORT boost::shared_ptr<cygnal::Buffer> encodeStreamOp(double id, rtmp_op_e op, bool flag, const std::string &name); std 71 cygnal/libnet/rtmp_client.h boost::shared_ptr<cygnal::Buffer> encodeStreamOp(double id, rtmp_op_e op, bool flag, const std::string &name, double pos); std 75 cygnal/libnet/rtmp_client.h std::string &getPath() { return _path; }; std 76 cygnal/libnet/rtmp_client.h void setPath(std::string &x) { _path = x; }; std 78 cygnal/libnet/rtmp_client.h DSOEXPORT boost::shared_ptr<cygnal::Buffer> encodeEchoRequest(const std::string &method, double id, cygnal::Element &el); std 80 cygnal/libnet/rtmp_client.h typedef std::deque<boost::shared_ptr<RTMPMsg> > msgque_t; std 85 cygnal/libnet/rtmp_client.h std::string _path; std 134 cygnal/libnet/rtmp_msg.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = el->getProperties(); std 141 cygnal/libnet/rtmp_msg.cpp std::string name = child->getName(); std 142 cygnal/libnet/rtmp_msg.cpp std::string value; std 208 cygnal/libnet/rtmp_msg.cpp using namespace std; std 97 cygnal/libnet/rtmp_msg.h std::vector<boost::shared_ptr<cygnal::Element> > getElements() { return _amfobjs; }; std 99 cygnal/libnet/rtmp_msg.h void setMethodName(const std::string &name) { _method = name; } ; std 100 cygnal/libnet/rtmp_msg.h std::string &getMethodName() { return _method; }; std 121 cygnal/libnet/rtmp_msg.h DSOEXPORT boost::shared_ptr<cygnal::Element> findProperty(const std::string &name); std 131 cygnal/libnet/rtmp_msg.h std::string _method; std 133 cygnal/libnet/rtmp_msg.h std::vector<boost::shared_ptr<cygnal::Element> > _amfobjs; std 98 cygnal/libnet/sshclient.cpp string user = std::getenv("USER"); std 61 cygnal/libnet/sshclient.h int sshRead(std::string &buf); std 66 cygnal/libnet/sshclient.h int sshWrite(std::string &buf); std 73 cygnal/libnet/sshclient.h bool sshConnect(int fd, std::string &hostname); std 76 cygnal/libnet/sshclient.h void setUser(std::string name) { _user = name; }; std 77 cygnal/libnet/sshclient.h std::string &getUser() { return _user; }; std 79 cygnal/libnet/sshclient.h void setPassword(std::string pw) { _password = pw; }; std 80 cygnal/libnet/sshclient.h std::string &getPassword() { return _password; }; std 82 cygnal/libnet/sshclient.h void setHostname(std::string name) { _hostname = name; }; std 83 cygnal/libnet/sshclient.h std::string &getHostname() { return _hostname; }; std 115 cygnal/libnet/sshclient.h std::string _hostname; std 116 cygnal/libnet/sshclient.h std::string _user; std 117 cygnal/libnet/sshclient.h std::string _password; std 60 cygnal/libnet/sshserver.h bool authPassword(std::string &user, std::string &passwd); std 61 cygnal/libnet/sshserver.h bool authPassword(ssh_session session, std::string &user, std::string &passwd); std 391 cygnal/libnet/sslclient.cpp std::string & std 415 cygnal/libnet/sslclient.cpp std::copy(password.begin(), password.end(), buf); std 64 cygnal/libnet/sslclient.h int sslRead(std::string &buf); std 69 cygnal/libnet/sslclient.h int sslWrite(std::string &buf); std 73 cygnal/libnet/sslclient.h bool sslSetupCTX(std::string &keyfile, std::string &cafile); std 80 cygnal/libnet/sslclient.h bool sslConnect(int fd, std::string &hostname, short port); std 82 cygnal/libnet/sslclient.h void setKeyfile(std::string filespec) { _keyfile = filespec; }; std 83 cygnal/libnet/sslclient.h std::string &getKeyfile() { return _keyfile; }; std 85 cygnal/libnet/sslclient.h void setCAlist(std::string filespec) { _calist = filespec; }; std 86 cygnal/libnet/sslclient.h std::string &getCAlist() { return _calist; }; std 88 cygnal/libnet/sslclient.h void setPassword(std::string pw); std 89 cygnal/libnet/sslclient.h std::string &getPassword(); std 91 cygnal/libnet/sslclient.h void setCert(std::string filespec) { _cert = filespec; }; std 92 cygnal/libnet/sslclient.h std::string &getCert() { return _cert; }; std 94 cygnal/libnet/sslclient.h void setRootPath(std::string filespec) { _rootpath = filespec; }; std 95 cygnal/libnet/sslclient.h std::string &getRootPath() { return _rootpath; }; std 97 cygnal/libnet/sslclient.h void setPem(std::string filespec) { _pem = filespec; }; std 98 cygnal/libnet/sslclient.h std::string &getPem() { return _pem; }; std 100 cygnal/libnet/sslclient.h void setHostname(std::string name) { _hostname = name; }; std 101 cygnal/libnet/sslclient.h std::string &getHostname() { return _hostname; }; std 108 cygnal/libnet/sslclient.h bool checkCert(std::string &hostname); std 116 cygnal/libnet/sslclient.h std::string _hostname; std 117 cygnal/libnet/sslclient.h std::string _calist; std 118 cygnal/libnet/sslclient.h std::string _keyfile; std 119 cygnal/libnet/sslclient.h std::string _cert; std 120 cygnal/libnet/sslclient.h std::string _pem; std 121 cygnal/libnet/sslclient.h std::string _rootpath; std 109 cygnal/libnet/statistics.cpp std::list<NetStats *>::iterator it; std 81 cygnal/libnet/statistics.h std::list<NetStats *> _netstats; std 83 cygnal/libnet/statistics.h std::vector<std::string> _filespec; std 36 cygnal/proc.cpp using namespace std; std 42 cygnal/proc.h bool setOutput (const std::string &output, bool outflag); std 43 cygnal/proc.h bool getOutput (const std::string &output); std 47 cygnal/proc.h bool startCGI (const std::string &filespec); std 48 cygnal/proc.h bool startCGI (const std::string &filespec, boost::uint16_t port); std 49 cygnal/proc.h bool startCGI (const std::string &filespec, bool output); std 50 cygnal/proc.h bool startCGI (const std::string &filespec, bool output, boost::uint16_t port); std 52 cygnal/proc.h void setDocroot(const std::string &path) { _docroot = path; } ; std 53 cygnal/proc.h std::string &getDocroot() { return _docroot; }; std 56 cygnal/proc.h bool connectCGI (const std::string &host, boost::uint16_t port); std 59 cygnal/proc.h int findCGI (const std::string &filespec); std 63 cygnal/proc.h bool stopCGI (const std::string &filespec); std 65 cygnal/proc.h std::map<std::string, bool> _output; std 66 cygnal/proc.h std::map<std::string, int> _pids; std 67 cygnal/proc.h std::map<std::string, int> _cons; std 68 cygnal/proc.h std::string _docroot; std 379 cygnal/rtmp_server.cpp int diff = std::memcmp(handshake1.begin() std 1178 cygnal/rtmp_server.cpp std::string std 1331 cygnal/rtmp_server.cpp std::vector<int>::iterator it; std 66 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodeResult(gnash::RTMPMsg::rtmp_status_e status, const std::string &filename); std 67 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodeResult(gnash::RTMPMsg::rtmp_status_e status, const std::string &filename, double &transid); std 69 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodeResult(gnash::RTMPMsg::rtmp_status_e status, const std::string &filename, double &transid, double &clientid); std 82 cygnal/rtmp_server.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(cygnal::Buffer &buf) { return parseEchoRequest(buf.reference(), buf.size()); }; std 83 cygnal/rtmp_server.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(boost::uint8_t *buf, size_t size); std 91 cygnal/rtmp_server.h bool sendFile(int fd, const std::string &filespec); std 97 cygnal/rtmp_server.h std::string createClientID(); std 106 cygnal/rtmp_server.h size_t sendToClient(std::vector<int> &fds, boost::uint8_t *data, std 108 cygnal/rtmp_server.h size_t sendToClient(std::vector<int> &fds,cygnal::Buffer &data); std 134 cygnal/rtmp_server.h std::string _docroot; std 135 cygnal/rtmp_server.h std::string _filespec; std 137 cygnal/rtmp_server.h std::map<boost::uint16_t, cygnal::Element> _references; std 139 cygnal/rtmp_server.h std::array<double> _clientids; std 141 cygnal/rtmp_server.h boost::array<std::string, 1000> _clientids; std 43 cygnal/serverSO.cpp using namespace std; std 44 cygnal/serverSO.h void dump() const { dump(std::cerr); } std 47 cygnal/serverSO.h void dump(std::ostream& os) const; std 52 cygnal/serverSO.h inline std::ostream& operator << (std::ostream& os, const ServerSO &so) std 50 cygnal/testsuite/cygnal.all/test_crc.cpp using namespace std; std 49 cygnal/testsuite/libamf.all/test_amfmsg.cpp using namespace std; std 45 cygnal/testsuite/libamf.all/test_buffer.cpp using namespace std; std 332 cygnal/testsuite/libamf.all/test_buffer.cpp Network::byte_t *fptr = std::find(buf1.begin(), buf1.end(), 'c'); std 343 cygnal/testsuite/libamf.all/test_buffer.cpp fptr = std::search(buf1.begin(), buf1.end(), sub, sub+3); std 47 cygnal/testsuite/libamf.all/test_el.cpp using namespace std; std 122 cygnal/testsuite/libamf.all/test_el.cpp std::vector<boost::shared_ptr<amf::Element> > data1; std 47 cygnal/testsuite/libamf.all/test_flv.cpp using namespace std; std 67 cygnal/testsuite/libamf.all/test_lc.cpp using namespace std; std 252 cygnal/testsuite/libamf.all/test_lc.cpp const std::string localS="localhost"; std 49 cygnal/testsuite/libamf.all/test_sol.cpp using namespace std; std 117 cygnal/testsuite/libnet.all/generate_amfbins.cpp std::vector<boost::shared_ptr<amf::Element> > data1; std 139 cygnal/testsuite/libnet.all/test_cache.cpp std::string resp1 = "HTTP/1.1\r\n404 Object Not Found\r\nServer: Microsoft-IIS/4.0\r\n\r\nDate: Sat, 08 Dec 2007 20:32:20 GMT\r\nConnection: close\r\nContent-Length: 461\r\nContent-Type: text/html"; std 140 cygnal/testsuite/libnet.all/test_cache.cpp std::string resp2 = "HTTP/1.1\r\n404 Object Not Found\r\nServer: Microsoft-IIS/4.0\r\n\r\nDate: Sat, 08 Dec 2007 20:32:20 GMT\r\nConnection: close\r\nContent-Length: 461\r\nContent-Type: text/html"; std 141 cygnal/testsuite/libnet.all/test_cache.cpp std::string resp3 = "HTTP/1.1\r\n404 Object Not Found\r\nServer: Microsoft-IIS/4.0\r\n\r\nDate: Sat, 08 Dec 2007 20:32:20 GMT\r\nConnection: close\r\nContent-Length: 461\r\nContent-Type: text/html"; std 142 cygnal/testsuite/libnet.all/test_cache.cpp std::string resp4 = "HTTP/1.1\r\n404 Object Not Found\r\nServer: Microsoft-IIS/4.0\r\n\r\nDate: Sat, 08 Dec 2007 20:32:20 GMT\r\nConnection: close\r\nContent-Length: 461\r\nContent-Type: text/html"; std 226 cygnal/testsuite/libnet.all/test_cache.cpp std::string resp1 = "HTTP/1.1\r\n404 Object Not Found\r\nServer: Microsoft-IIS/4.0\r\n\r\nDate: Sat, 08 Dec 2007 20:32:20 GMT\r\nConnection: close\r\nContent-Length: 461\r\nContent-Type: text/html"; std 299 cygnal/testsuite/libnet.all/test_cache.cpp std::string resp1 = "HTTP/1.1\r\n404 Object Not Found\r\nServer: Microsoft-IIS/4.0\r\n\r\nDate: Sat, 08 Dec 2007 20:32:20 GMT\r\nConnection: close\r\nContent-Length: 461\r\nContent-Type: text/html"; std 48 cygnal/testsuite/libnet.all/test_diskstream.cpp using namespace std; std 56 cygnal/testsuite/libnet.all/test_http.cpp using namespace std; std 481 cygnal/testsuite/libnet.all/test_http.cpp std::vector<std::string> language = http.getLanguage(); std 501 cygnal/testsuite/libnet.all/test_http.cpp std::vector<std::string> charsets = http.getCharset(); std 523 cygnal/testsuite/libnet.all/test_http.cpp std::vector<std::string> connections = http.getConnection(); std 533 cygnal/testsuite/libnet.all/test_http.cpp std::vector<std::string> encoding = http.getEncoding(); std 545 cygnal/testsuite/libnet.all/test_http.cpp std::vector<std::string> te = http.getTE(); std 646 cygnal/testsuite/libnet.all/test_http.cpp boost::shared_ptr<std::vector<std::string> > item2 = http.getFieldItem("accept"); std 657 cygnal/testsuite/libnet.all/test_http.cpp boost::shared_ptr<std::vector<std::string> > item3 = http.getFieldItem("connection"); std 884 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props8 = headers8[3]->getProperties(); std 1256 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props26 = headers26[3]->getProperties(); std 1257 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props26a = props26[2]->getProperties(); std 1289 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props27 = headers27[3]->getProperties(); std 1323 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props28 = headers28[3]->getProperties(); std 1411 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props31 = headers31[3]->getProperties(); std 1445 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props40 = headers40[3]->getProperties(); std 1530 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props43 = headers43[3]->getProperties(); std 1531 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props43a = props43[0]->getProperties(); std 1532 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props43b = props43[1]->getProperties(); std 1556 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props43 = headers43[3]->getProperties(); std 1604 cygnal/testsuite/libnet.all/test_http.cpp std::vector<boost::shared_ptr<amf::Element> > props45 = headers45[3]->getProperties(); std 52 cygnal/testsuite/libnet.all/test_rtmp.cpp using namespace std; std 632 cygnal/testsuite/libnet.all/test_rtmp.cpp std::vector<boost::shared_ptr<amf::Element> > hell = msg1->getElements(); std 633 cygnal/testsuite/libnet.all/test_rtmp.cpp std::vector<boost::shared_ptr<amf::Element> > props = hell[0]->getProperties(); std 661 cygnal/testsuite/libnet.all/test_rtmp.cpp std::vector<boost::shared_ptr<amf::Element> > hell = msg2->getElements(); std 662 cygnal/testsuite/libnet.all/test_rtmp.cpp std::vector<boost::shared_ptr<amf::Element> > props = hell[0]->getProperties(); std 38 extensions/dbus/dbus_ext.cpp using namespace std; std 52 extensions/dbus/dbus_ext.cpp std::string _name; std 97 extensions/dbus/dbus_ext.cpp const std::string& text = fn.arg(0).to_string(); std 33 extensions/dejagnu/dejagnu.cpp using namespace std; std 37 extensions/dejagnu/dejagnu.h std::auto_ptr<as_object> init_dejagnu_instance(); std 42 extensions/fileio/fileio.cpp using namespace std; std 89 extensions/fileio/fileio.cpp std::string &fgets(std::string &str); std 105 extensions/fileio/fileio.cpp std::string _filespec; std 146 extensions/fileio/fileio.cpp std::stringstream ss; fn.dump_args(ss); std 289 extensions/fileio/fileio.cpp FileIO::fgets(std::string &str) std 350 extensions/fileio/fileio.cpp FileIO::unlink(const std::string &filespec) std 366 extensions/fileio/fileio.cpp std::stringstream ss; fn.dump_args(ss); std 575 extensions/fileio/fileio.cpp const std::string& dir = fn.arg(0).to_string(); std 43 extensions/gtk2/gtkext.cpp using namespace std; std 338 extensions/gtk2/gtkext.cpp std::auto_ptr<as_object> std 341 extensions/gtk2/gtkext.cpp return std::auto_ptr<as_object>(new GtkExt()); std 71 extensions/gtk2/gtkext.h std::auto_ptr<as_object> init_gtkext_instance(); std 39 extensions/lirc/lirc_ext.cpp using namespace std; std 93 extensions/lirc/lirc_ext.cpp const std::string& text = fn.arg(0).to_string(); std 71 extensions/mysql/mysql_db.cpp typedef std::vector< std::vector<const char *> > query_t; std 271 extensions/mysql/mysql_db.cpp std::vector<const char *> row_vec; std 304 extensions/mysql/mysql_db.cpp std::string host = fn.arg(0).to_string(); std 305 extensions/mysql/mysql_db.cpp std::string db = fn.arg(1).to_string(); std 306 extensions/mysql/mysql_db.cpp std::string user = fn.arg(2).to_string(); std 307 extensions/mysql/mysql_db.cpp std::string passwd = fn.arg(3).to_string(); std 321 extensions/mysql/mysql_db.cpp std::string sql = fn.arg(0).to_string(); std 327 extensions/mysql/mysql_db.cpp std::vector<const char *> row; std 388 extensions/mysql/mysql_db.cpp std::string sql = fn.arg(0).to_string(); std 78 gui/Player.cpp _gui.error(boost::any_cast<std::string>(e.arg())); std 82 gui/Player.cpp return _gui.yesno(boost::any_cast<std::string>(e.arg())); std 112 gui/Player.cpp _gui.setClipboard(boost::any_cast<std::string>(e.arg())); std 122 gui/Player.cpp typedef std::pair<int, int> Dimensions; std 167 gui/Player.cpp return std::string(_gui.isPlugin() ? "PlugIn" : "StandAlone"); std 333 gui/Player.cpp const std::string& path = vurl.path(); std 335 gui/Player.cpp std::string dir = path.substr(0, lastSlash+1); std 342 gui/Player.cpp std::auto_ptr<IOChannel> in ( std 349 gui/Player.cpp std::string path = url.path(); std 367 gui/Player.cpp std::cerr << er.what() << std::endl; std 423 gui/Player.cpp std::auto_ptr<NamingPolicy> np(new IncrementalRename(_baseurl)); std 576 gui/Player.cpp std::string access = it->second; std 578 gui/Player.cpp const std::string& str = it->second; std 599 gui/Player.cpp const std::string& str = it->second; std 618 gui/Player.cpp std::istringstream is(_screenshots); std 619 gui/Player.cpp std::string arg; std 623 gui/Player.cpp while (std::getline(is, arg, ',')) { std 635 gui/Player.cpp std::string::size_type p = url.path().rfind('/'); std 636 gui/Player.cpp const std::string& name = (p == std::string::npos) ? url.path() : std 642 gui/Player.cpp std::auto_ptr<ScreenShotter> ss(new ScreenShotter(_screenshotFile, _screenshotQuality)); std 688 gui/Player.cpp std::stringstream request; std 689 gui/Player.cpp std::vector<as_value> fnargs; std 694 gui/Player.cpp std::string requestString = request.str(); std 792 gui/Player.cpp std::auto_ptr<Gui> std 839 gui/Player.cpp return std::auto_ptr<Gui>(new NullGui(_doLoop, *_runResources)); std 75 gui/Player.h const std::string& infile, const std::string& url = ""); std 124 gui/Player.h void setBaseUrl(const std::string& baseurl) { std 134 gui/Player.h void setParam(const std::string& name, const std::string& value) { std 146 gui/Player.h void setMedia(const std::string& media) { std 166 gui/Player.h void setAudioDumpfile(const std::string& filespec) { std 173 gui/Player.h void setRenderer(const std::string& x) { _renderer = x; } std 178 gui/Player.h void setHWAccel(const std::string& x) { _hwaccel = x; } std 186 gui/Player.h void setScreenShots(const std::string& screenshots) { std 193 gui/Player.h void setScreenShotFile(const std::string& file) { std 209 gui/Player.h std::string _hwaccel; std 214 gui/Player.h std::string _renderer; std 234 gui/Player.h void notify(const std::string& event, const std::string& arg); std 243 gui/Player.h std::auto_ptr<CallbacksHandler> _callbacksHandler; std 274 gui/Player.h std::auto_ptr<Gui> getGui(); std 276 gui/Player.h void setFlashVars(const std::string& varstr); std 278 gui/Player.h typedef std::map<std::string, std::string, StringNoCaseLessThan> Params; std 296 gui/Player.h std::string _baseurl; std 321 gui/Player.h std::auto_ptr<RunResources> _runResources; std 324 gui/Player.h std::auto_ptr<Gui> _gui; std 326 gui/Player.h std::string _url; std 328 gui/Player.h std::string _infile; std 357 gui/Player.h std::string _audioDump; std 362 gui/Player.h std::string _screenshots; std 367 gui/Player.h std::string _screenshotFile; std 377 gui/Player.h std::string _media; std 52 gui/ScreenShotter.cpp const std::string::size_type pos = filename.rfind(ext); std 53 gui/ScreenShotter.cpp if (pos != std::string::npos && std 54 gui/ScreenShotter.cpp pos + std::strlen(ext) == filename.size()) { std 90 gui/ScreenShotter.cpp std::string outfile(_fileName); std 93 gui/ScreenShotter.cpp FILE* f = std::fopen(outfile.c_str(), "wb"); std 107 gui/ScreenShotter.cpp std::sort(_frames.begin(), _frames.end()); std 42 gui/ScreenShotter.h typedef std::vector<size_t> FrameList; std 45 gui/ScreenShotter.h ScreenShotter(const std::string& fileName, int quality = 100); std 48 gui/ScreenShotter.h ScreenShotter(const std::string& fileName, FileType f, int quality = 100); std 120 gui/ScreenShotter.h if (_immediate || std::binary_search(_frames.begin(), _frames.end(), std 130 gui/ScreenShotter.h saveImage(r, boost::lexical_cast<std::string>(frameAdvance)); std 142 gui/ScreenShotter.h void saveImage(const Renderer& r, const std::string& filename) const; std 148 gui/ScreenShotter.h const std::string _fileName; std 159 gui/ScreenShotter.h std::set<int> _done; std 63 gui/aos4/aos4.cpp using namespace std; std 84 gui/aos4/aos4.cpp if (TimerInit() == FALSE) throw std::runtime_error("cannot initialize timer device"); std 306 gui/aos4/aos4.cpp std::string tmp; std 60 gui/aos4/aos4_agg_glue.cpp using namespace std; std 58 gui/aos4/aos4_agg_glue.h std::vector< geometry::Range2d<int> > _drawbounds; std 60 gui/aos4/aos4_cairo_glue.cpp using namespace std; std 60 gui/aos4/aos4_cairo_glue.h std::vector< geometry::Range2d<int> > _drawbounds; std 95 gui/aos4/aos4sup.h std::vector< geometry::Range2d<int> > _drawbounds; std 35 gui/aos4/gui_aos4.cpp std::auto_ptr<Gui> createAOS4Gui(unsigned long windowid, float scale, bool do_loop, RunResources& r) std 37 gui/aos4/gui_aos4.cpp return std::auto_ptr<Gui>(new AOS4Gui(windowid, scale, do_loop, r)); std 40 gui/aos4/gui_aos4.cpp std::auto_ptr<Gui> createAOS4Gui(unsigned long , float, bool, RunResourcesfloat , bool , unsigned int ) std 43 gui/aqua/aqua.cpp using namespace std; std 24 gui/aqua/aqua_ogl_glue.cpp using namespace std; std 41 gui/aqua/aquasup.h std::vector< geometry::Range2d<int> > _drawbounds; std 35 gui/aqua/gui_aqua.cpp std::auto_ptr<Gui> createAQUAGui(unsigned long windowid, float scale, bool do_loop, RunResources& r) std 37 gui/aqua/gui_aqua.cpp return std::auto_ptr<Gui>(new AquaGui(windowid, scale, do_loop, r)); std 40 gui/aqua/gui_aqua.cpp std::auto_ptr<Gui> createAQUAGui(unsigned long , float, bool, RunResourcesfloat , bool , unsigned int ) std 101 gui/dump/dump.cpp std::cerr << "# WARNING: Gnash was told to loop the movie\n"; std 104 gui/dump/dump.cpp std::cerr << "# WARNING: Ignoring request to display in X11 window\n"; std 110 gui/dump/dump.cpp std::cout << "FRAMECOUNT=" << _framecount << "" << std::endl; std 130 gui/dump/dump.cpp std::cout << std 132 gui/dump/dump.cpp std::endl; std 135 gui/dump/dump.cpp std::vector<std::string> file_fps; std 146 gui/dump/dump.cpp std::cout << std 148 gui/dump/dump.cpp std::endl; std 230 gui/dump/dump.cpp std::cout << "TIME=" << total_time << std::endl; std 231 gui/dump/dump.cpp std::cout << "FPS_ACTUAL=" << _fileOutputFPS << std::endl; std 248 gui/dump/dump.cpp std::cout << "INTERVAL=" << interval << std::endl; std 304 gui/dump/dump.cpp unsigned int n = std::min(toFetch, 1024u); std 318 gui/dump/dump.cpp std::cerr << "No video dump requested.\n"; std 326 gui/dump/dump.cpp std::cerr << "# FATAL: Unable to write file '" << _fileOutput << "'" << std::endl; std 333 gui/dump/dump.cpp std::cout << std 334 gui/dump/dump.cpp "# Gnash created a raw dump file with the following properties:" << std::endl << std 335 gui/dump/dump.cpp "COLORSPACE=" << _pixelformat << std::endl << std 337 gui/dump/dump.cpp std::endl; std 354 gui/dump/dump.cpp std::cout << "WIDTH=" << _width << std::endl << std 355 gui/dump/dump.cpp "HEIGHT=" << _height << std::endl; std 367 gui/dump/dump.cpp catch (std::bad_alloc &e) std 94 gui/dump/dump.h std::string _pixelformat; /* colorspace name (eg, "RGB24") */ std 96 gui/dump/dump.h std::string _fileOutput; /* path to video output file */ std 100 gui/dump/dump.h std::ofstream _fileStream; /* stream for output file */ std 35 gui/dump/gui_dump.cpp std::auto_ptr<Gui> createDumpGui(unsigned long windowid, float scale, bool do_loop, RunResources& r) std 37 gui/dump/gui_dump.cpp return std::auto_ptr<Gui>(new DumpGui(windowid, scale, do_loop, r)); std 40 gui/dump/gui_dump.cpp std::auto_ptr<Gui> createDumpGui(unsigned long , float, bool, RunResourcesfloat , bool , unsigned int ) std 421 gui/fb/EventDevice.cpp std::vector<boost::shared_ptr<InputDevice> > std 429 gui/fb/EventDevice.cpp std::vector<boost::shared_ptr<InputDevice> > devices; std 70 gui/fb/InputDevice.cpp return init(type, std::string(), DEFAULT_BUFFER_SIZE); std 78 gui/fb/InputDevice.cpp return init(type, std::string(), size); std 150 gui/fb/InputDevice.cpp std::cerr << "Device type is: " << debug[_type] << std::endl; std 151 gui/fb/InputDevice.cpp std::cerr << "\tfilespec is: " << _filespec std 152 gui/fb/InputDevice.cpp << ", fd #" << _fd << std::endl; std 153 gui/fb/InputDevice.cpp std::cerr << "\tX is: " << _x << ", Y is: " << _y << std::endl; std 158 gui/fb/InputDevice.cpp std::vector<boost::shared_ptr<InputDevice> > std 163 gui/fb/InputDevice.cpp std::vector<boost::shared_ptr<InputDevice> > devices; std 165 gui/fb/InputDevice.cpp std::vector<boost::shared_ptr<InputDevice> > id; std 166 gui/fb/InputDevice.cpp std::vector<boost::shared_ptr<InputDevice> >::iterator it; std 72 gui/fb/InputDevice.h bool init(devicetype_e type, const std::string &filespec); std 73 gui/fb/InputDevice.h bool init(devicetype_e type, const std::string &filespec, size_t size); std 74 gui/fb/InputDevice.h virtual bool init(const std::string &filespec, size_t size) = 0; std 77 gui/fb/InputDevice.h static std::vector<boost::shared_ptr<InputDevice> > scanForDevices(Gui *gui); std 88 gui/fb/InputDevice.h std::string _filespec; std 107 gui/fb/InputDevice.h virtual bool init(const std::string &filespec, size_t size); std 110 gui/fb/InputDevice.h static std::vector<boost::shared_ptr<InputDevice> > scanForDevices(Gui *gui); std 123 gui/fb/InputDevice.h virtual bool init(const std::string &filespec, size_t size); std 128 gui/fb/InputDevice.h static std::vector<boost::shared_ptr<InputDevice> > scanForDevices(Gui *gui); std 141 gui/fb/InputDevice.h virtual bool init(const std::string &filespec, size_t size); std 147 gui/fb/InputDevice.h static std::vector<boost::shared_ptr<InputDevice> > scanForDevices(Gui *gui); std 47 gui/fb/MouseDevice.cpp std::vector<boost::shared_ptr<InputDevice> > std 54 gui/fb/MouseDevice.cpp std::vector<boost::shared_ptr<InputDevice> > devices; std 182 gui/fb/TouchDevice.cpp char* settings = std::getenv("TSCALIB"); std 266 gui/fb/TouchDevice.cpp std::vector<boost::shared_ptr<InputDevice> > std 273 gui/fb/TouchDevice.cpp std::vector<boost::shared_ptr<InputDevice> > devices; std 740 gui/fb/fb.cpp std::vector<boost::shared_ptr<InputDevice> >::iterator it; std 818 gui/fb/fb.cpp std::string str = FAKEFB; std 101 gui/fb/fbsup.h std::vector< geometry::Range2d<int> > _drawbounds; std 111 gui/fb/fbsup.h std::vector<boost::shared_ptr<InputDevice> > _inputs; std 35 gui/fb/gui_fb.cpp std::auto_ptr<Gui> createFBGui(unsigned long windowid, float scale, bool do_loop, RunResources& r) std 37 gui/fb/gui_fb.cpp return std::auto_ptr<Gui>(new FBGui(windowid, scale, do_loop, r)); std 40 gui/fb/gui_fb.cpp std::auto_ptr<Gui> createFBGui(unsigned long , float, bool, RunResourcesfloat , bool , unsigned int ) std 45 gui/fltk/fltk.cpp using namespace std; std 31 gui/fltk/fltk_glue_agg.cpp using namespace std; std 75 gui/fltk/fltksup.h std::vector< geometry::Range2d<int> > _drawbounds_vec; std 35 gui/fltk/gui_fltk.cpp std::auto_ptr<Gui> createFLTKGui(unsigned long windowid, float scale, bool do_loop, RunResources& r) std 37 gui/fltk/gui_fltk.cpp return std::auto_ptr<Gui>(new FltkGui(windowid, scale, do_loop, r)); std 40 gui/fltk/gui_fltk.cpp std::auto_ptr<Gui> createFLTKGui(unsigned long , float, bool, RunResourcesfloat , bool , unsigned int ) std 55 gui/gnash.cpp std::vector<std::string> infiles; std 56 gui/gnash.cpp std::string url; std 87 gui/gnash.cpp std::ios::sync_with_stdio(false); std 91 gui/gnash.cpp std::setlocale (LC_ALL, ""); std 115 gui/gnash.cpp std::cerr << boost::format(_("Error parsing options: %s\n")) std 123 gui/gnash.cpp version_and_copyright(std::cout); std 124 gui/gnash.cpp usage(std::cout, opts); std 129 gui/gnash.cpp version_and_copyright(std::cout); std 130 gui/gnash.cpp build_options(std::cout); std 145 gui/gnash.cpp std::cerr << "Using rcfile\n"; std 156 gui/gnash.cpp std::cerr << _("Error: no input file was specified. Exiting.\n"); std 157 gui/gnash.cpp usage(std::cerr, opts); std 166 gui/gnash.cpp std::cerr << "Error: " << ex.what() << "\n"; std 177 gui/gnash.cpp for (std::vector<std::string>::const_iterator i = params.begin(), std 179 gui/gnash.cpp const std::string& param = *i; std 181 gui/gnash.cpp if (eq == std::string::npos) { std 185 gui/gnash.cpp const std::string name = param.substr(0, eq); std 186 gui/gnash.cpp const std::string value = param.substr(eq + 1); std 195 gui/gnash.cpp hostfd = std::strtol(fds.substr(0, fds.find(":")).c_str(), NULL, 0); std 196 gui/gnash.cpp std::string csub = fds.substr(fds.find(":")+1, fds.size()); std 202 gui/gnash.cpp std::cerr << boost::format(_("Invalid host communication " std 204 gui/gnash.cpp std::exit(EXIT_FAILURE); std 209 gui/gnash.cpp std::cerr << boost::format(_("Invalid control communication " std 211 gui/gnash.cpp std::exit(EXIT_FAILURE); std 303 gui/gnash.cpp std::vector<std::string> handlers; std 306 gui/gnash.cpp std::vector<std::string> renderers; std 361 gui/gnash.cpp boost::bind(std::logical_not<bool>(), _1))), std 402 gui/gnash.cpp ("param,P", po::value<std::vector<std::string> >() std 439 gui/gnash.cpp ("input-file", po::value<std::vector<std::string> >(&infiles), std 496 gui/gnash.cpp os << std::endl; std 186 gui/gtk/gtk.cpp std::string hwaccel = _runResources.getHWAccelBackend(); std 190 gui/gtk/gtk.cpp std::string renderer = _runResources.getRenderBackend(); std 525 gui/gtk/gtk.cpp const std::pair<int, int> res = screenResolution(); std 536 gui/gtk/gtk.cpp std::pair<int, int> std 539 gui/gtk/gtk.cpp return std::make_pair(gdk_screen_width(), gdk_screen_height()); std 824 gui/gtk/gtk.cpp std::ostringstream os; std 1062 gui/gtk/gtk.cpp std::string tmp; std 1680 gui/gtk/gtk.cpp std::auto_ptr<movie_root::InfoTree> infoptr = getMovieInfo(); std 1783 gui/gtk/gtk.cpp const std::string license = std 1799 gui/gtk/gtk.cpp std::string comments = std 1820 gui/gtk/gtk.cpp std::string version = VERSION; std 2143 gui/gtk/gtk.cpp if (std::strncmp(ext.c_str(), extlist[i], ext.size()) == 0) { std 58 gui/gtk/gtk_canvas.cpp std::auto_ptr<gnash::GtkGlue> glue; std 153 gui/gtk/gtk_glue_agg.cpp size_t width = std::min(_offscreenbuf->width, maxx - minx); std 154 gui/gtk/gtk_glue_agg.cpp size_t height = std::min(_offscreenbuf->height, maxy - miny); std 191 gui/gtk/gtk_glue_agg_vaapi.cpp std::vector<VaapiImageFormat> formats = gvactx->getSubpictureFormats(); std 304 gui/gtk/gtk_glue_agg_vaapi.cpp std::auto_ptr<VaapiContextData> contextData; std 74 gui/gtk/gtk_glue_agg_vaapi.h std::auto_ptr<VaapiSurface> _vaapi_surface; std 28 gui/gtk/gtk_glue_gtkglext.cpp using namespace std; std 78 gui/gtk/gtksup.h virtual std::pair<int, int> screenResolution() const; std 81 gui/gtk/gtksup.h virtual void setClipboard(const std::string& copy); std 122 gui/gtk/gtksup.h virtual void error(const std::string& msg); std 124 gui/gtk/gtksup.h bool checkX11Extension(const std::string& ext); std 157 gui/gtk/gtksup.h GtkTreeModel* makeTreeModel(std::auto_ptr<movie_root::InfoTree> tree); std 36 gui/gtk/gui_gtk.cpp std::auto_ptr<Gui> createGTKGui(unsigned long windowid, float scale, bool do_loop, RunResources& r) std 38 gui/gtk/gui_gtk.cpp return std::auto_ptr<Gui>(new GtkGui(windowid, scale, do_loop, r)); std 41 gui/gtk/gui_gtk.cpp std::auto_ptr<Gui> createGTKGui(unsigned long , float, bool, RunResourcesfloat , bool , unsigned int ) std 188 gui/gui.cpp std::cerr << "Total frame advances/drops: " std 189 gui/gui.cpp << fps_counter_total << "/" << frames_dropped << std::endl; std 618 gui/gui.cpp const size_t ni = std::min<size_t>(_interval + 2, 1000u); std 625 gui/gui.cpp const size_t ni = std::max<size_t>(_interval - 2, 10u); std 769 gui/gui.cpp std::cout << std::string(tr.depth(i) * 2, ' ') << i->first << ": " << std 770 gui/gui.cpp i->second << std::endl; std 776 gui/gui.cpp std::cout << "Calculated changed ranges: " << changed_ranges << "\n"; std 824 gui/gui.cpp const std::vector<point> box = boost::assign::list_of std 1046 gui/gui.cpp std::string::size_type p = url.path().rfind('/'); std 1047 gui/gui.cpp const std::string& name = (p == std::string::npos) ? url.path() : std 1049 gui/gui.cpp const std::string& filename = "screenshot-" + name + "-%f"; std 1095 gui/gui.cpp std::auto_ptr<movie_root::InfoTree> std 1098 gui/gui.cpp std::auto_ptr<movie_root::InfoTree> tr; std 1116 gui/gui.cpp std::ostringstream os; std 1122 gui/gui.cpp topIter = tr->insert(topIter, std::make_pair("VM version", os.str())); std 1129 gui/gui.cpp topIter = tr->insert(topIter, std::make_pair("Stage properties", std 1140 gui/gui.cpp topIter = tr->insert(topIter, std::make_pair("Mouse Entities", "")); std 1145 gui/gui.cpp std::stringstream ss; std 1151 gui/gui.cpp std::make_pair("Active entity under mouse pointer", ss.str())); std 1156 gui/gui.cpp std::stringstream ss; std 1161 gui/gui.cpp std::make_pair("Topmost entity under mouse pointer", ss.str())); std 1166 gui/gui.cpp std::stringstream ss; std 1170 gui/gui.cpp std::make_pair("Dragging character: ", ss.str())); std 1176 gui/gui.cpp topIter = tr->insert(topIter, std::make_pair("GC Statistics", "")); std 1180 gui/gui.cpp const std::string lbl = "GC managed "; std 1182 gui/gui.cpp const std::string& typ = i->first; std 1183 gui/gui.cpp std::ostringstream ss; std 1186 gui/gui.cpp std::make_pair(lbl + typ, ss.str())); std 1233 gui/gui.cpp std::cerr << "Time glitch detected, need to restart FPS counters, sorry..." << std::endl; std 1247 gui/gui.cpp fps_rate_min = std::min<float>(fps_rate_min, rate); std 1248 gui/gui.cpp fps_rate_max = std::max<float>(fps_rate_max, rate); std 1254 gui/gui.cpp std::cerr << boost::format("Effective frame rate: %0.2f fps " std 1260 gui/gui.cpp frames_dropped << std::endl; std 1336 gui/gui.cpp std::map<int, boost::function<void ()> >::iterator it = _fd_callbacks.find(fd); std 128 gui/gui.h void setScreenShotter(std::auto_ptr<ScreenShotter> ss); std 195 gui/gui.h virtual void setClipboard(const std::string& copy); std 201 gui/gui.h virtual std::pair<int, int> screenResolution() const { std 202 gui/gui.h return std::make_pair(0, 0); std 212 gui/gui.h virtual std::string getScreenColor() const { std 399 gui/gui.h std::auto_ptr<movie_root::InfoTree> getMovieInfo() const; std 402 gui/gui.h typedef std::map<std::string, std::string> VariableMap; std 414 gui/gui.h void setAudioDump(const std::string& fname) { std 425 gui/gui.h virtual void error(const std::string& /*msg*/) {} std 437 gui/gui.h virtual bool yesno(const std::string& question); std 473 gui/gui.h std::exit(EXIT_SUCCESS); std 533 gui/gui.h std::string _audioDump; std 548 gui/gui.h std::map<int /* fd */, boost::function<void ()> > _fd_callbacks; std 625 gui/gui.h std::auto_ptr<Gui> createGTKGui(unsigned long xid, float scale, bool loop, RunResources& r); std 626 gui/gui.h std::auto_ptr<Gui> createKDEGui(unsigned long xid, float scale, bool loop, RunResources& r); std 627 gui/gui.h std::auto_ptr<Gui> createKDE4Gui(unsigned long xid, float scale, bool loop, RunResources& r); std 628 gui/gui.h std::auto_ptr<Gui> createSDLGui(unsigned long xid, float scale, bool loop, RunResources& r); std 629 gui/gui.h std::auto_ptr<Gui> createFLTKGui(unsigned long xid, float scale, bool loop, RunResources& r); std 630 gui/gui.h std::auto_ptr<Gui> createFBGui(unsigned long xid, float scale, bool loop, RunResources& r); std 631 gui/gui.h std::auto_ptr<Gui> createAQUAGui(unsigned long xid, float scale, bool loop, RunResources& r); std 632 gui/gui.h std::auto_ptr<Gui> createRISCOSGui(unsigned long xid, float scale, bool loop, RunResources& r); std 633 gui/gui.h std::auto_ptr<Gui> createAOS4Gui(unsigned long xid, float scale, bool loop, RunResources& r); std 634 gui/gui.h std::auto_ptr<Gui> createHaikuGui(unsigned long xid, float scale, bool loop, RunResources& r); std 635 gui/gui.h std::auto_ptr<Gui> createDumpGui(unsigned long xid, float scale, bool loop, RunResources& r); std 35 gui/haiku/gui_haiku.cpp std::auto_ptr<Gui> createHaikuGui(unsigned long windowid, float scale, bool do_loop, RunResources& r) std 37 gui/haiku/gui_haiku.cpp return std::auto_ptr<Gui>(new HaikuGui(windowid, scale, do_loop, r)); std 40 gui/haiku/gui_haiku.cpp std::auto_ptr<Gui> createHaikuGui(unsigned long , float, bool, RunResourcesfloat , bool , unsigned int ) std 38 gui/haiku/haiku.cpp using namespace std; std 383 gui/haiku/haiku.cpp std::cout << std 384 gui/haiku/haiku.cpp _("# FATAL: No filename given with -D argument.") << std::endl; std 574 gui/haiku/haiku.cpp std::cerr << width << " " << height << std::endl; std 40 gui/haiku/haiku_agg_glue.cpp using namespace std; std 247 gui/haiku/haiku_agg_glue.cpp HaikuAggGlue::init(int /*argc*/, char*** /*argv*/, BWindow **win, std::string sharefilename) std 54 gui/haiku/haiku_agg_glue.h bool init(int argc, char **argv[], BWindow **win, std::string sharefilename); std 74 gui/haiku/haiku_agg_glue.h std::vector< geometry::Range2d<int> > _drawbounds; std 80 gui/haiku/haiku_agg_glue.h std::string _sharefilename; std 53 gui/haiku/haikusup.h std::string _sharefilename; std 73 gui/haiku/haikusup.h virtual void error(const std::string &msg); std 74 gui/haiku/haikusup.h virtual bool yesno(const std::string &question); std 35 gui/kde/GuiKde4.cpp std::auto_ptr<Gui> createKDE4Gui(unsigned long windowid, float scale, bool do_loop, RunResources& r) std 37 gui/kde/GuiKde4.cpp return std::auto_ptr<Gui>(new Kde4Gui(windowid, scale, do_loop, r)); std 40 gui/kde/GuiKde4.cpp std::auto_ptr<Gui> createKDE4Gui(unsigned long , float, bool, RunResourcesfloat , bool , unsigned int ) std 59 gui/kde/Kde4GlueAgg.h std::auto_ptr<QImage> _image; std 60 gui/kde/Kde4GlueAgg.h std::auto_ptr<QPainter> _painter; std 61 gui/kde/Kde4GlueCairo.h std::auto_ptr<QImage> _image; std 62 gui/kde/Kde4GlueCairo.h std::auto_ptr<QPainter> _painter; std 104 gui/kde/Kde4Gui.cpp std::string renderer = _runResources.getRenderBackend(); std 468 gui/kde/Kde4Gui.cpp std::auto_ptr<movie_root::InfoTree> infoptr = getMovieInfo(); std 639 gui/kde/Kde4Gui.cpp std::auto_ptr<QMenuBar> mainMenu(new QMenuBar); std 135 gui/kde/Kde4Gui.h typedef std::vector<geometry::Range2d<int> > DrawBounds; std 136 gui/kde/Kde4Gui.h typedef std::map<int, gnash::key::code> KeyMap; std 159 gui/kde/Kde4Gui.h std::auto_ptr<QApplication> _application; std 171 gui/kde/Kde4Gui.h std::auto_ptr<Kde4Glue> _glue; std 174 gui/kde/Kde4Gui.h std::auto_ptr<QMainWindow> _window; std 35 gui/kde/gui_kde.cpp std::auto_ptr<Gui> createKDEGui(unsigned long windowid, float scale, bool do_loop, RunResources& r) std 37 gui/kde/gui_kde.cpp return std::auto_ptr<Gui>(new KdeGui(windowid, scale, do_loop, r)); std 40 gui/kde/gui_kde.cpp std::auto_ptr<Gui> createKDEGui(unsigned long , float, bool, RunResourcesfloat , bool , unsigned int ) std 49 gui/kde/kde.cpp using namespace std; std 58 gui/kde/kde_glue_agg.h std::vector< geometry::Range2d<int> > _drawbounds; std 59 gui/kde/kde_glue_agg.h std::auto_ptr<QImage> _qimage; std 23 gui/kde/kde_glue_opengl.cpp using namespace std; std 105 gui/kde/kdesup.h std::auto_ptr<QApplication> _qapp; std 106 gui/kde/kdesup.h std::auto_ptr<qwidget> _qwidget; std 65 gui/pythonmod/gnash-view.cpp std::auto_ptr<gnash::RunResources> run_info; std 69 gui/pythonmod/gnash-view.cpp std::auto_ptr<gnash::movie_root> stage; std 70 gui/pythonmod/gnash-view.cpp std::auto_ptr<gnash::SystemClock> system_clock; std 71 gui/pythonmod/gnash-view.cpp std::auto_ptr<gnash::InterruptableVirtualClock> virtual_clock; std 228 gui/pythonmod/gnash-view.cpp std::string nullstr; std 426 gui/pythonmod/gnash-view.cpp std::auto_ptr<gnash::NamingPolicy> np(new gnash::IncrementalRename(url)); std 434 gui/pythonmod/gnash-view.cpp const std::string& str_path(url.path()); std 437 gui/pythonmod/gnash-view.cpp std::string dir = str_path.substr(0, lastSlash + 1); std 466 gui/pythonmod/gnash-view.cpp std::map<std::string, std::string> variables; std 35 gui/riscos/gui_riscos.cpp std::auto_ptr<Gui> createRISCOSGui(unsigned long windowid, float scale, bool do_loop, RunResources& r) std 37 gui/riscos/gui_riscos.cpp return std::auto_ptr<Gui>(new RiscosGui(windowid, scale, do_loop, r)); std 40 gui/riscos/gui_riscos.cpp std::auto_ptr<Gui> createRISCOSGui(unsigned long , float, bool, RunResourcesfloat , bool , unsigned int ) std 35 gui/sdl/gui_sdl.cpp std::auto_ptr<Gui> createSDLGui(unsigned long windowid, float scale, bool do_loop, RunResources& r) std 37 gui/sdl/gui_sdl.cpp return std::auto_ptr<Gui>(new SDLGui(windowid, scale, do_loop, r)); std 40 gui/sdl/gui_sdl.cpp std::auto_ptr<Gui> createSDLGui(unsigned long , float, bool, RunResourcesfloat , bool , unsigned int ) std 32 gui/sdl/sdl.cpp using namespace std; std 28 gui/sdl/sdl_agg_glue.cpp using namespace std; std 48 gui/sdl/sdl_agg_glue.h std::vector< geometry::Range2d<int> > _drawbounds; std 23 gui/sdl/sdl_cairo_glue.cpp using namespace std; std 28 gui/sdl/sdl_ogl_glue.cpp using namespace std; std 75 libbase/AMF.cpp std::copy(pos, pos + 8, reinterpret_cast<char*>(&d)); std 86 libbase/AMF.cpp std::string std 100 libbase/AMF.cpp const std::string str(reinterpret_cast<const char*>(pos), si); std 108 libbase/AMF.cpp std::string std 121 libbase/AMF.cpp const std::string str(reinterpret_cast<const char*>(pos), si); std 206 libbase/AMF.cpp std::reverse(x, x + size); std 73 libbase/AMF.h AMFException(const std::string& msg) std 103 libbase/AMF.h DSOEXPORT std::string readString(const boost::uint8_t*& pos, std 112 libbase/AMF.h DSOEXPORT std::string readLongString(const boost::uint8_t*& pos, std 144 libbase/AMF.h DSOEXPORT void write(SimpleBuffer& buf, const std::string& str); std 151 libbase/AMF.h return write(buf, std::string(str)); std 177 libbase/AMF.h DSOEXPORT void writePlainString(SimpleBuffer& buf, const std::string& str, std 191 libbase/AMF.h writeProperty(SimpleBuffer& buf, const std::string& name, const T& t) std 48 libbase/GC.cpp char* gcgap = std::getenv("GNASH_GC_TRIGGER_THRESHOLD"); std 50 libbase/GC.cpp const size_t gap = std::strtoul(gcgap, NULL, 0); std 260 libbase/GC.h typedef std::map<std::string, unsigned int> CollectablesCount; std 268 libbase/GC.h typedef std::list<const GcResource*> ResList; std 101 libbase/GnashAlgorithm.h std::for_each(begin, end, boost::bind(op, boost::bind(S(), _1))); std 30 libbase/GnashException.h class DSOEXPORT GnashException: public std::runtime_error std 35 libbase/GnashException.h GnashException(const std::string& s) std 37 libbase/GnashException.h std::runtime_error(s) std 42 libbase/GnashException.h std::runtime_error("Generic error") std 54 libbase/GnashException.h MediaException(const std::string& s) std 74 libbase/GnashException.h SoundException(const std::string& s) std 94 libbase/GnashException.h ParserException(const std::string& s) std 114 libbase/GnashException.h ActionException(const std::string& s) std 140 libbase/GnashException.h ActionLimitException(const std::string& s) std 165 libbase/GnashException.h ActionTypeError(const std::string& s) std 186 libbase/GnashException.h ActionParserException(const std::string& s) std 207 libbase/GnashException.h ActionScriptException(const std::string& s) std 55 libbase/GnashFactory.h template<typename T, typename Init = void, typename Key = std::string> std 76 libbase/GnashFactory.h typedef std::map<std::string, CreateHandler> Handlers; std 89 libbase/GnashFactory.h typename std::iterator_traits<Iterator>::iterator_category, std 90 libbase/GnashFactory.h std::output_iterator_tag> >::type* dummy = 0) { std 93 libbase/GnashFactory.h std::transform(_handlers.begin(), _handlers.end(), i, std 38 libbase/GnashFileUtilities.cpp std::string::size_type pos = filename.rfind("/"); std 39 libbase/GnashFileUtilities.cpp if (pos == std::string::npos) { std 42 libbase/GnashFileUtilities.cpp const std::string& target = filename.substr(0, pos); std 47 libbase/GnashFileUtilities.cpp std::string newdir; std 56 libbase/GnashFileUtilities.cpp if (newdir.find("..") != std::string::npos) { std 55 libbase/GnashFileUtilities.h inline int mkdirUserPermissions(const std::string& dirname) std 79 libbase/GnashFileUtilities.h DSOEXPORT bool mkdirRecursive(const std::string& filename); std 69 libbase/GnashImage.cpp const size_t max = std::numeric_limits<boost::int32_t>::max(); std 71 libbase/GnashImage.cpp throw std::bad_alloc(); std 79 libbase/GnashImage.cpp std::copy(data, data + size(), _data.get()); std 89 libbase/GnashImage.cpp std::copy(from.begin(), from.begin() + size(), begin()); std 141 libbase/GnashImage.cpp *p = std::min(*p, *alphaData); std 143 libbase/GnashImage.cpp *p = std::min(*p, *alphaData); std 145 libbase/GnashImage.cpp *p = std::min(*p, *alphaData); std 167 libbase/GnashImage.cpp std::auto_ptr<Output> outChannel; std 197 libbase/GnashImage.cpp std::auto_ptr<GnashImage> std 200 libbase/GnashImage.cpp std::auto_ptr<GnashImage> im; std 201 libbase/GnashImage.cpp std::auto_ptr<Input> inChannel; std 239 libbase/GnashImage.cpp catch (std::bad_alloc& e) { std 265 libbase/GnashImage.cpp std::auto_ptr<ImageRGBA> std 269 libbase/GnashImage.cpp std::auto_ptr<ImageRGBA> im; std 272 libbase/GnashImage.cpp std::auto_ptr<JpegInput> j_in( std 311 libbase/GnashImage.cpp *p = std::min(*p, alpha); std 313 libbase/GnashImage.cpp *p = std::min(*p, alpha); std 315 libbase/GnashImage.cpp *p = std::min(*p, alpha); std 71 libbase/GnashImage.h std::abort(); std 311 libbase/GnashImage.h DSOEXPORT static std::auto_ptr<ImageRGBA> readSWFJpeg3( std 321 libbase/GnashImage.h DSOEXPORT static std::auto_ptr<GnashImage> readImageData( std 192 libbase/GnashImageGif.cpp std::fill_n(_gifData[i].get(), screenWidth, std 297 libbase/GnashImageGif.cpp std::auto_ptr<Input> std 300 libbase/GnashImageGif.cpp std::auto_ptr<Input> ret(new GifInput(in)); std 42 libbase/GnashImageGif.h std::auto_ptr<Input> createGifInput(boost::shared_ptr<IOChannel> in); std 132 libbase/GnashImageJpeg.cpp if (std::equal(src->m_buffer, src->m_buffer + 4, wrong)) { std 133 libbase/GnashImageJpeg.cpp std::swap(src->m_buffer[1], src->m_buffer[3]); std 261 libbase/GnashImageJpeg.cpp std::stringstream ss; std 288 libbase/GnashImageJpeg.cpp std::stringstream ss; std 306 libbase/GnashImageJpeg.cpp std::stringstream ss; std 336 libbase/GnashImageJpeg.cpp std::stringstream ss; std 344 libbase/GnashImageJpeg.cpp std::stringstream ss; std 362 libbase/GnashImageJpeg.cpp std::stringstream ss; std 439 libbase/GnashImageJpeg.cpp std::longjmp(_jmpBuf, 1); std 445 libbase/GnashImageJpeg.cpp std::auto_ptr<GnashImage> std 451 libbase/GnashImageJpeg.cpp std::auto_ptr<GnashImage> im( std 623 libbase/GnashImageJpeg.cpp std::auto_ptr<Output> std 627 libbase/GnashImageJpeg.cpp std::auto_ptr<Output> outChannel(new JpegOutput(o, width, height, quality)); std 55 libbase/GnashImageJpeg.h std::jmp_buf _jmpBuf; std 120 libbase/GnashImageJpeg.h static std::auto_ptr<Input> create(boost::shared_ptr<IOChannel> in) std 122 libbase/GnashImageJpeg.h std::auto_ptr<Input> ret(new JpegInput(in)); std 135 libbase/GnashImageJpeg.h DSOEXPORT static std::auto_ptr<GnashImage> readSWFJpeg2WithTables( std 144 libbase/GnashImageJpeg.h static std::auto_ptr<JpegInput> createSWFJpeg2HeaderOnly( std 147 libbase/GnashImageJpeg.h std::auto_ptr<JpegInput> ret (new JpegInput(in)); std 199 libbase/GnashImageJpeg.h static std::auto_ptr<Output> create(boost::shared_ptr<IOChannel> out, std 50 libbase/GnashImagePng.cpp std::ostringstream ss; std 212 libbase/GnashImagePng.cpp std::copy(_rowPtrs[_currentRow], _rowPtrs[_currentRow] + size, imageData); std 405 libbase/GnashImagePng.cpp std::auto_ptr<Input> std 408 libbase/GnashImagePng.cpp std::auto_ptr<Input> ret(new PngInput(in)); std 413 libbase/GnashImagePng.cpp std::auto_ptr<Output> std 417 libbase/GnashImagePng.cpp std::auto_ptr<Output> outChannel(new PngOutput(o, width, height, quality)); std 42 libbase/GnashImagePng.h std::auto_ptr<Input> createPngInput(boost::shared_ptr<IOChannel> in); std 44 libbase/GnashImagePng.h std::auto_ptr<Output> createPngOutput(boost::shared_ptr<IOChannel> out, std 54 libbase/GnashNumeric.h using namespace std; std 70 libbase/GnashNumeric.h return std::max<T>(min, std::min<T>(i, max)); std 107 libbase/GnashNumeric.h std::numeric_limits<boost::uint32_t>::max() + 1.0; std 109 libbase/GnashNumeric.h std::numeric_limits<boost::int32_t>::max() / factor; std 111 libbase/GnashNumeric.h std::numeric_limits<boost::int32_t>::min() / factor; std 120 libbase/GnashNumeric.h std::fmod(a * factor, upperUnsignedLimit)) std 123 libbase/GnashNumeric.h std::fmod(-a * factor, upperUnsignedLimit)); std 33 libbase/GnashVaapiTexture.h std::auto_ptr<VaapiSurfaceGLX> _surface; std 89 libbase/IOChannel.cpp std::streamsize std 37 libbase/IOChannel.h IOException(const std::string& s) : GnashException(s) {} std 74 libbase/IOChannel.h virtual std::streamsize read(void* dst, std::streamsize num)=0; std 87 libbase/IOChannel.h virtual std::streamsize readNonBlocking(void* dst, std::streamsize num) std 96 libbase/IOChannel.h virtual std::streamsize write(const void* src, std::streamsize num); std 126 libbase/IOChannel.h virtual std::streampos tell() const = 0; std 135 libbase/IOChannel.h virtual bool seek(std::streampos p) = 0; std 56 libbase/ImageIterators.h std::copy(other._it, other._it + 4, _it); std 61 libbase/ImageIterators.h std::copy(other._it, other._it + 3, _it); std 67 libbase/ImageIterators.h std::copy(other._it, other._it + 3, _it); std 125 libbase/ImageIterators.h std::random_access_iterator_tag> std 128 libbase/ImageIterators.h typedef std::ptrdiff_t difference_type; std 35 libbase/NamingPolicy.cpp std::string urlToDirectory(const std::string& path); std 39 libbase/NamingPolicy.cpp std::string std 42 libbase/NamingPolicy.cpp std::string path = url.path().substr(1); std 47 libbase/NamingPolicy.cpp const std::string& dir = urlToDirectory(url.hostname() + "/"); std 49 libbase/NamingPolicy.cpp if (dir.empty()) return std::string(); std 62 libbase/NamingPolicy.cpp std::string std 66 libbase/NamingPolicy.cpp const std::string& path = url.path(); std 72 libbase/NamingPolicy.cpp std::string::size_type dot = path.rfind('.'); std 73 libbase/NamingPolicy.cpp if (dot == 1) dot = std::string::npos; std 77 libbase/NamingPolicy.cpp std::string pre = path.substr(1, dot - 1); std 82 libbase/NamingPolicy.cpp const std::string& suffix = (dot == std::string::npos) ? "" : std 86 libbase/NamingPolicy.cpp const std::string& hostname = _baseURL.hostname().empty() ? "localhost" : std 89 libbase/NamingPolicy.cpp const std::string& dir = urlToDirectory(hostname + "/"); std 90 libbase/NamingPolicy.cpp if (dir.empty()) return std::string(); std 92 libbase/NamingPolicy.cpp std::ostringstream s(dir + pre + suffix); std 96 libbase/NamingPolicy.cpp const size_t m = std::numeric_limits<size_t>::max(); std 107 libbase/NamingPolicy.cpp return std::string(); std 121 libbase/NamingPolicy.cpp std::string std 126 libbase/NamingPolicy.cpp const std::string& dir = rcfile.getMediaDir() + "/" + path; std 132 libbase/NamingPolicy.cpp return std::string(); std 36 libbase/NamingPolicy.h virtual std::string operator()(const URL&) const std 38 libbase/NamingPolicy.h return std::string(); std 48 libbase/NamingPolicy.h virtual std::string operator()(const URL&) const; std 57 libbase/NamingPolicy.h virtual std::string operator()(const URL& url) const; std 42 libbase/NetworkAdapter.h typedef std::map<std::string, std::string, StringNoCaseLessThan> std 50 libbase/NetworkAdapter.h DSOEXPORT static std::auto_ptr<IOChannel> makeStream( std 51 libbase/NetworkAdapter.h const std::string& url, const std::string& cachefile); std 61 libbase/NetworkAdapter.h DSOEXPORT static std::auto_ptr<IOChannel> makeStream( std 62 libbase/NetworkAdapter.h const std::string& url, const std::string& postdata, std 63 libbase/NetworkAdapter.h const std::string& cachefile); std 74 libbase/NetworkAdapter.h DSOEXPORT static std::auto_ptr<IOChannel> makeStream(const std::string& url, std 75 libbase/NetworkAdapter.h const std::string& postdata, const RequestHeaders& headers, std 76 libbase/NetworkAdapter.h const std::string& cachefile); std 79 libbase/NetworkAdapter.h typedef std::set<std::string, StringNoCaseLessThan> ReservedNames; std 86 libbase/NetworkAdapter.h DSOEXPORT static bool isHeaderAllowed(const std::string& headerName) std 120 libbase/Point2d.h return (boost::int32_t)( std::sqrt( static_cast<double>(squareDistance(p)) ) ); std 135 libbase/Point2d.h inline std::ostream& std 136 libbase/Point2d.h operator<< (std::ostream& os, const Point2d& p) std 79 libbase/RTMP.cpp return std::rand() % 256; std 117 libbase/RTMP.cpp std::vector<boost::uint8_t> _sendBuf; std 118 libbase/RTMP.cpp std::vector<boost::uint8_t> _recvBuf; std 206 libbase/RTMP.cpp const std::string& hostname = url.hostname(); std 207 libbase/RTMP.cpp const std::string& p = url.port(); std 366 libbase/RTMP.cpp const std::streamsize bytesRead = _socket.read(buffer, n); std 576 libbase/RTMP.cpp const int nChunk = std::min<int>(nToRead, _inChunkSize); std 732 libbase/RTMP.cpp std::string hx = hexify(header, payloadEnd(packet) - header, false); std 781 libbase/RTMP.cpp const std::string& s = amf::readString(pos, end); std 829 libbase/RTMP.cpp std::memcpy(ourSig, &uptime, 4); std 830 libbase/RTMP.cpp std::fill_n(ourSig + 4, 4, 0); std 833 libbase/RTMP.cpp std::generate(ourSig + 8, ourSig + sigSize, RandomByte()); std 864 libbase/RTMP.cpp std::streamsize sent = _socket.write(&_sendBuf.front(), sigSize + 1); std 886 libbase/RTMP.cpp std::streamsize read = _socket.read(&_recvBuf.front(), sigSize + 1); std 905 libbase/RTMP.cpp std::memcpy(&suptime, serverSig, 4); std 919 libbase/RTMP.cpp std::streamsize sent = _socket.write(&_recvBuf.front() + 1, sigSize); std 938 libbase/RTMP.cpp std::streamsize got = _socket.read(&_recvBuf.front(), sigSize); std 947 libbase/RTMP.cpp const bool match = std::equal(serverSig, serverSig + sigSize, ourSig); std 1194 libbase/RTMP.cpp return std::clock() * 100 / CLOCKS_PER_SEC; std 1200 libbase/RTMP.cpp std::ostream& std 1237 libbase/RTMP.cpp std::ostream& std 504 libbase/RTMP.h typedef std::map<size_t, RTMPPacket> ChannelSet; std 514 libbase/RTMP.h std::deque<boost::shared_ptr<SimpleBuffer> > _messageQueue; std 515 libbase/RTMP.h std::deque<boost::shared_ptr<SimpleBuffer> > _flvQueue; std 547 libbase/RTMP.h std::ostream& operator<<(std::ostream& o, PacketType p); std 550 libbase/RTMP.h std::ostream& operator<<(std::ostream& o, ControlType t); std 101 libbase/Range2d.h friend std::ostream& operator<< (std::ostream& os, const Range2d<U>& rect); std 210 libbase/Range2d.h _xmin = std::numeric_limits<T>::max(); std 211 libbase/Range2d.h _xmax = std::numeric_limits<T>::min(); std 218 libbase/Range2d.h return _xmax == std::numeric_limits<T>::max() std 219 libbase/Range2d.h && _xmin == std::numeric_limits<T>::min(); std 242 libbase/Range2d.h _xmin = std::numeric_limits<T>::min(); std 243 libbase/Range2d.h _xmax = std::numeric_limits<T>::max(); std 322 libbase/Range2d.h _xmin = std::min(_xmin, x); std 323 libbase/Range2d.h _ymin = std::min(_ymin, y); std 324 libbase/Range2d.h _xmax = std::max(_xmax, x); std 325 libbase/Range2d.h _ymax = std::max(_ymax, y); std 689 libbase/Range2d.h _xmin = std::min(_xmin, r._xmin); std 690 libbase/Range2d.h _xmax = std::max(_xmax, r._xmax); std 691 libbase/Range2d.h _ymin = std::min(_ymin, r._ymin); std 692 libbase/Range2d.h _ymax = std::max(_ymax, r._ymax); std 699 libbase/Range2d.h template <typename T> inline std::ostream& std 700 libbase/Range2d.h operator<< (std::ostream& os, const Range2d<T>& rect) std 775 libbase/Range2d.h std::max(r1._xmin, r2._xmin), // xmin std 776 libbase/Range2d.h std::max(r1._ymin, r2._ymin), // ymin std 777 libbase/Range2d.h std::min(r1._xmax, r2._xmax), // xmax std 778 libbase/Range2d.h std::min(r1._ymax, r2._ymax) // ymax std 790 libbase/Range2d.h return static_cast<int>(std::floor(min)); std 800 libbase/Range2d.h return static_cast<unsigned int>(std::floor(min)); std 810 libbase/Range2d.h return static_cast<int>(std::ceil(max)); std 820 libbase/Range2d.h return static_cast<unsigned int>(std::ceil(static_cast<float>(max))); std 33 libbase/SWFCtype.cpp typedef std::map<boost::uint16_t, boost::uint16_t> CharMap; std 29 libbase/SWFCtype.h class SWFCtype : public std::ctype<wchar_t> std 32 libbase/SWFCtype.h SWFCtype(size_t refs = 0) : std::ctype<wchar_t>(refs) {} std 33 libbase/SWFCtype.h typedef std::ctype<wchar_t>::char_type char_type; std 68 libbase/SharedMem.cpp log_error("Error detaching shared memory: %s", std::strerror(err)); std 76 libbase/SharedMem.cpp std::strerror(err)); std 126 libbase/SharedMem.cpp boost::io::group(std::hex, std::showbase, _shmkey)); std 191 libbase/SharedMem.cpp std::strerror(errno)); std 74 libbase/SimpleBuffer.h std::copy(b.data(), b.data()+b.size(), _data.get()); std 120 libbase/SimpleBuffer.h _capacity = std::max(newCapacity, _capacity*2); std 129 libbase/SimpleBuffer.h if ( _size ) std::copy(tmp.get(), tmp.get()+_size, _data.get()); std 150 libbase/SimpleBuffer.h std::copy(newData, newData+size, _data.get()+curSize); std 140 libbase/Socket.cpp std::memset(&addr, 0, sizeof(addr)); std 158 libbase/Socket.cpp log_debug("Socket creation failed: %s", std::strerror(err)); std 175 libbase/Socket.cpp log_error("Failed to connect socket: %s", std::strerror(err)); std 241 libbase/Socket.cpp log_error("Socket receive error %s", std::strerror(err)); std 261 libbase/Socket.cpp std::streamsize std 276 libbase/Socket.cpp std::streamsize std 292 libbase/Socket.cpp const size_t canRead = std::min<size_t>(_size, num); std 297 libbase/Socket.cpp const int thisRead = std::min<size_t>(canRead, cacheSize - _pos); std 299 libbase/Socket.cpp std::copy(_cache + _pos, _cache + _pos + thisRead, ptr); std 305 libbase/Socket.cpp std::copy(_cache, _cache + toRead, ptr + thisRead); std 314 libbase/Socket.cpp std::streamsize std 330 libbase/Socket.cpp SignalSetter() : _h(std::signal(SIGPIPE, SIG_IGN)) {} std 331 libbase/Socket.cpp ~SignalSetter() { std::signal(SIGPIPE, _h); } std 344 libbase/Socket.cpp log_error("Socket send error %s", std::strerror(err)); std 356 libbase/Socket.cpp std::streampos std 360 libbase/Socket.cpp return static_cast<std::streamsize>(-1); std 59 libbase/Socket.h bool connect(const std::string& hostname, boost::uint16_t port); std 85 libbase/Socket.h virtual std::streamsize read(void* dst, std::streamsize num); std 88 libbase/Socket.h virtual std::streamsize readNonBlocking(void* dst, std::streamsize num); std 96 libbase/Socket.h virtual std::streamsize write(const void* src, std::streamsize num); std 101 libbase/Socket.h virtual std::streampos tell() const; std 106 libbase/Socket.h virtual bool seek(std::streampos p); std 35 libbase/Stats.h typedef std::map<string_table::key, unsigned long int> Stat; std 46 libbase/Stats.h KeyLookup(const std::string& label, const string_table& st, int dumpTrigger=0, std 69 libbase/Stats.h typedef std::map<unsigned long int, string_table::key> Sorted; std 73 libbase/Stats.h std::cerr << _label << " lookups: " << std::endl; std 76 libbase/Stats.h std::cerr std 77 libbase/Stats.h << std::setw(10) std 82 libbase/Stats.h << std::endl; std 93 libbase/Stats.h std::string _label; std 54 libbase/StreamProvider.cpp std::auto_ptr<IOChannel> std 58 libbase/StreamProvider.cpp std::auto_ptr<IOChannel> stream; std 62 libbase/StreamProvider.cpp std::string path = url.path(); std 80 libbase/StreamProvider.cpp FILE *newin = std::fopen(path.c_str(), "rb"); std 100 libbase/StreamProvider.cpp std::auto_ptr<IOChannel> std 119 libbase/StreamProvider.cpp return std::auto_ptr<IOChannel>(); std 123 libbase/StreamProvider.cpp std::auto_ptr<IOChannel> std 128 libbase/StreamProvider.cpp std::auto_ptr<IOChannel> stream; std 135 libbase/StreamProvider.cpp std::string path = url.path(); std 144 libbase/StreamProvider.cpp FILE *newin = std::fopen(path.c_str(), "rb"); std 60 libbase/StreamProvider.h std::auto_ptr<NamingPolicy> np = std 61 libbase/StreamProvider.h std::auto_ptr<NamingPolicy>(new NamingPolicy)); std 69 libbase/StreamProvider.h virtual std::auto_ptr<IOChannel> getStream(const URL& url, std 81 libbase/StreamProvider.h virtual std::auto_ptr<IOChannel> getStream(const URL& url, std 82 libbase/StreamProvider.h const std::string& postdata, bool namedCacheFile = false) const; std 84 libbase/StreamProvider.h virtual std::auto_ptr<IOChannel> getStream(const URL& url, std 85 libbase/StreamProvider.h const std::string& postdata, std 93 libbase/StreamProvider.h void setNamingPolicy(std::auto_ptr<NamingPolicy> np) { std 124 libbase/StreamProvider.h std::auto_ptr<NamingPolicy> _namingPolicy; std 34 libbase/StringPredicates.h bool operator() (const std::string& a, const std::string& b) const std 36 libbase/StringPredicates.h return std::lexicographical_compare(a.begin(), a.end(), std 45 libbase/StringPredicates.h nocase_less(const std::locale& locale = std::locale()) std 51 libbase/StringPredicates.h return std::toupper<char>(a, _locale) < std 52 libbase/StringPredicates.h std::toupper<char>(b, _locale); std 55 libbase/StringPredicates.h const std::locale& _locale; std 66 libbase/StringPredicates.h bool operator() (const std::string& a, const std::string& b) const std 63 libbase/URL.cpp std::vector<std::string> components; std 65 libbase/URL.cpp std::string::iterator prev=path.begin(); std 66 libbase/URL.cpp for (std::string::iterator curr = prev + 1; std 70 libbase/URL.cpp std::string comp = std::string(prev+1, curr); std 81 libbase/URL.cpp components.push_back(std::string(prev+1, path.end())); std 84 libbase/URL.cpp for (std::vector<std::string>::const_iterator i=components.begin(), std 96 libbase/URL.cpp std::string::size_type pos = in.find("://"); std 97 libbase/URL.cpp if ( pos != std::string::npos ) { std 104 libbase/URL.cpp std::cerr << "protocol-only url!" << std::endl; std 109 libbase/URL.cpp std::string::size_type pos1 = in.find('/', pos); std 110 libbase/URL.cpp if ( pos1 == std::string::npos ) { std 147 libbase/URL.cpp || absolute_url.find("://") != std::string::npos std 149 libbase/URL.cpp || ( absolute_url.size() > 2 && absolute_url.find(':',2) != std::string::npos ) //for aos4 std 173 libbase/URL.cpp std::stringstream err; std 174 libbase/URL.cpp err << "getcwd failed: " << std::strerror(errno); std 178 libbase/URL.cpp std::string currentDir(buf.get()); std 201 libbase/URL.cpp if ( relative_url.find("://") != std::string::npos ) { std 215 libbase/URL.cpp std::string in = relative_url; std 220 libbase/URL.cpp std::string::size_type pos; std 232 libbase/URL.cpp std::string basedir = baseurl._path.substr(0, std 250 libbase/URL.cpp std::string::size_type lpos = basedir.size()-1; std 253 libbase/URL.cpp std::string::size_type pos = basedir.rfind('/', lpos-1); std 255 libbase/URL.cpp if ( pos == std::string::npos ) lpos = 1; std 274 libbase/URL.cpp std::string std 277 libbase/URL.cpp std::string ret = _proto + "://" + _host; std 301 libbase/URL.cpp std::string::size_type hashpos = _path.find('#'); std 302 libbase/URL.cpp if ( hashpos != std::string::npos ) { std 314 libbase/URL.cpp std::string::size_type hashpos = _host.find(':'); std 315 libbase/URL.cpp if ( hashpos != std::string::npos ) { std 328 libbase/URL.cpp std::string::size_type qmpos = _path.find("?"); std 329 libbase/URL.cpp if (qmpos == std::string::npos) { std 348 libbase/URL.cpp std::string qstring=query_string;; std 358 libbase/URL.cpp const std::string& nameval = *tit; std 360 libbase/URL.cpp std::string name; std 361 libbase/URL.cpp std::string value; std 364 libbase/URL.cpp if ( eq == std::string::npos ) { std 382 libbase/URL.cpp const std::string escapees = " \"#$%&+,/:;<=>?@[\\]^`{|}~_.!-(')"; std 383 libbase/URL.cpp const std::string hexdigits = "0123456789ABCDEF"; std 388 libbase/URL.cpp if (c < 32 || c > 126 || escapees.find((char)c) != std::string::npos) { std 398 libbase/URL.cpp std::string std 401 libbase/URL.cpp std::string escapestring(str); std 413 libbase/URL.cpp std::isxdigit(input[i+1]) && std::isxdigit(input[i+2])) { std 414 libbase/URL.cpp input[i+1] = std::toupper(input[i+1]); std 415 libbase/URL.cpp input[i+2] = std::toupper(input[i+2]); std 416 libbase/URL.cpp if (std::isdigit(input[i+1])) { std 422 libbase/URL.cpp if (std::isdigit(input[i+2])) { std 435 libbase/URL.cpp std::ostream& std 39 libbase/URL.h friend std::ostream& operator<< (std::ostream&o, const URL& u); std 48 libbase/URL.h URL(const std::string& absolute_url); std 55 libbase/URL.h URL(const std::string& relative_url, const URL& baseurl); std 58 libbase/URL.h const std::string& protocol() const { return _proto; } std 64 libbase/URL.h const std::string& hostname() const { return _host; } std 71 libbase/URL.h const std::string& port() const { return _port; } std 76 libbase/URL.h const std::string& path() const { return _path; } std 82 libbase/URL.h const std::string& anchor() const { return _anchor; } std 88 libbase/URL.h const std::string& querystring() const { return _querystring; } std 92 libbase/URL.h void set_querystring(const std::string& value) { _querystring = value; } std 97 libbase/URL.h std::string str() const; std 113 libbase/URL.h static void parse_querystring(const std::string& query_string, std 114 libbase/URL.h std::map<std::string, std::string>& target_map); std 133 libbase/URL.h static void encode(std::string& str); std 144 libbase/URL.h static std::string encode(const std::string& str); std 158 libbase/URL.h static void decode(std::string& str); std 161 libbase/URL.h void init_absolute(const std::string& absurl); std 163 libbase/URL.h void init_relative(const std::string& relurl, const URL& baseurl); std 180 libbase/URL.h void normalize_path(std::string& path); std 182 libbase/URL.h std::string _proto; std 183 libbase/URL.h std::string _host; std 184 libbase/URL.h std::string _port; std 185 libbase/URL.h std::string _path; std 186 libbase/URL.h std::string _anchor; std 187 libbase/URL.h std::string _querystring; std 190 libbase/URL.h DSOEXPORT std::ostream& operator<< (std::ostream&o, const URL& u); std 67 libbase/URLAccessManager.cpp typedef std::map<std::string, AccessPolicy> AccessPolicyCache; std 84 libbase/URLAccessManager.cpp const std::vector<std::string>& whitelist = rcfile.getWhiteList(); std 87 libbase/URLAccessManager.cpp std::vector<std::string>::const_iterator it = std 88 libbase/URLAccessManager.cpp std::find(whitelist.begin(), whitelist.end(), host); std 103 libbase/URLAccessManager.cpp const std::vector<std::string>& blacklist = rcfile.getBlackList(); std 106 libbase/URLAccessManager.cpp std::vector<std::string>::const_iterator it = std 107 libbase/URLAccessManager.cpp std::find(blacklist.begin(), blacklist.end(), host); std 161 libbase/URLAccessManager.cpp const std::string& dir = *i; std 212 libbase/URLAccessManager.cpp log_error(_("gethostname failed: %s"), std::strerror(errno)); std 222 libbase/URLAccessManager.cpp std::string hostname(name); // the hostname std 223 libbase/URLAccessManager.cpp std::string domainname; // the domainname std 227 libbase/URLAccessManager.cpp std::string::size_type dotloc = hostname.find('.', 0); std 228 libbase/URLAccessManager.cpp if ( dotloc != std::string::npos ) { std 276 libbase/URLAccessManager.cpp std::string host = url.hostname(); std 52 libbase/URLAccessManager.h bool allowXMLSocket(const std::string& str, short port); std 58 libbase/accumulator.h virtual std::string name() const { return std::string(); } std 74 libbase/accumulator.h const std::vector<std::string>& new_tokens, std 37 libbase/arg_parser.cpp if( options[i].name && !std::strncmp( options[i].name, &opt[2], len ) ) std 39 libbase/arg_parser.cpp if( std::strlen( options[i].name ) == len ) // Exact match found std 143 libbase/arg_parser.cpp std::vector< std::string > non_options; // skipped non-options std 64 libbase/arg_parser.h class ArgParserException : public std::exception std 67 libbase/arg_parser.h ArgParserException(const std::string& s) std 78 libbase/arg_parser.h std::string _msg; std 85 libbase/arg_parser.h std::string argument; std 89 libbase/arg_parser.h std::string _error; std 90 libbase/arg_parser.h std::vector< Record > data; std 105 libbase/arg_parser.h const std::string & error() const throw() { return _error; } std 118 libbase/arg_parser.h std::string argument(const int i) const throw(ArgParserException) std 130 libbase/arg_parser.h std::istringstream in(data[i].argument); std 44 libbase/curl_adapter.cpp std::auto_ptr<IOChannel> std 50 libbase/curl_adapter.cpp return std::auto_ptr<IOChannel>(); std 53 libbase/curl_adapter.cpp std::auto_ptr<IOChannel> std 61 libbase/curl_adapter.cpp std::auto_ptr<IOChannel> std 391 libbase/curl_adapter.cpp std::cerr << "unlockSharedHandle: unknown shared data " << std 392 libbase/curl_adapter.cpp data << std::endl; std 410 libbase/curl_adapter.cpp typedef std::map<std::string, std::string> PostData; std 433 libbase/curl_adapter.cpp virtual std::streamsize read(void *dst, std::streamsize bytes); std 436 libbase/curl_adapter.cpp virtual std::streamsize readNonBlocking(void *dst, std::streamsize bytes); std 447 libbase/curl_adapter.cpp virtual std::streampos tell() const; std 479 libbase/curl_adapter.cpp std::string _url; std 498 libbase/curl_adapter.cpp std::string _postdata; std 501 libbase/curl_adapter.cpp std::streampos _cached; std 521 libbase/curl_adapter.cpp std::streamsize cache(void *from, std::streamsize sz); std 552 libbase/curl_adapter.cpp std::streamsize std 556 libbase/curl_adapter.cpp long curr_pos = std::ftell(_cache); std 559 libbase/curl_adapter.cpp std::fseek(_cache, 0, SEEK_END); std 561 libbase/curl_adapter.cpp std::streamsize wrote = std::fwrite(from, 1, size, _cache); std 565 libbase/curl_adapter.cpp size % wrote % std::strerror(errno); std 570 libbase/curl_adapter.cpp _cached = std::ftell(_cache); std 573 libbase/curl_adapter.cpp std::fseek(_cache, curr_pos, SEEK_SET); std 813 libbase/curl_adapter.cpp _cache = std::fopen(cachefile.c_str(), "w+b"); std 818 libbase/curl_adapter.cpp _cache = std::tmpfile(); std 821 libbase/curl_adapter.cpp _cache = std::tmpfile(); std 1014 libbase/curl_adapter.cpp std::ostringstream os; std 1064 libbase/curl_adapter.cpp std::fclose(_cache); std 1069 libbase/curl_adapter.cpp std::streamsize std 1085 libbase/curl_adapter.cpp return std::fread(dst, 1, bytes, _cache); std 1090 libbase/curl_adapter.cpp std::streamsize std 1107 libbase/curl_adapter.cpp std::streamsize actuallyRead = std::fread(dst, 1, bytes, _cache); std 1132 libbase/curl_adapter.cpp std::streampos std 1135 libbase/curl_adapter.cpp std::streampos ret = std::ftell(_cache); std 1151 libbase/curl_adapter.cpp std::ostringstream os; std 1173 libbase/curl_adapter.cpp if (std::fseek(_cache, pos, SEEK_SET) == -1) { std 1204 libbase/curl_adapter.cpp if (std::fseek(_cache, 0, SEEK_END) == -1) { std 1218 libbase/curl_adapter.cpp assert(size <= std::numeric_limits<size_t>::max()); std 1234 libbase/curl_adapter.cpp const char* cookiesIn = std::getenv("GNASH_COOKIES_IN"); std 1295 libbase/curl_adapter.cpp const char* cookiesOut = std::getenv("GNASH_COOKIES_OUT"); std 1341 libbase/curl_adapter.cpp std::auto_ptr<IOChannel> std 1348 libbase/curl_adapter.cpp std::auto_ptr<IOChannel> stream; std 1353 libbase/curl_adapter.cpp catch (const std::exception& ex) { std 1359 libbase/curl_adapter.cpp std::auto_ptr<IOChannel> std 1367 libbase/curl_adapter.cpp std::auto_ptr<IOChannel> stream; std 1372 libbase/curl_adapter.cpp catch (const std::exception& ex) { std 1378 libbase/curl_adapter.cpp std::auto_ptr<IOChannel> std 1383 libbase/curl_adapter.cpp std::auto_ptr<IOChannel> stream; std 1388 libbase/curl_adapter.cpp catch (const std::exception& ex) { std 53 libbase/extension.cpp # define NAMLEN(dirent) std::strlen((dirent)->d_name) std 77 libbase/extension.cpp char *env = std::getenv("GNASH_PLUGINS"); std 131 libbase/extension.cpp std::vector<std::string>::iterator it; std 133 libbase/extension.cpp const std::string& mod = *it; std 145 libbase/extension.cpp std::string symbol(module); std 215 libbase/extension.cpp const std::string& dir = *i; std 230 libbase/extension.cpp std::string name(entry->d_name); std 237 libbase/extension.cpp const std::string::size_type pos = name.find_last_of('.'); std 239 libbase/extension.cpp if (pos == std::string::npos) continue; std 241 libbase/extension.cpp const std::string suffix = name.substr(pos); std 265 libbase/extension.cpp std::cerr << _modules.size() << " plugin(s) for Gnash installed" << std::endl; std 266 libbase/extension.cpp std::vector<std::string>::iterator it; std 268 libbase/extension.cpp std::cerr << "Module name is: \"" << *(it) << "\"" << std::endl; std 42 libbase/extension.h Extension(const std::string& dir); std 52 libbase/extension.h bool scanDir(const std::string& dir); std 67 libbase/extension.h bool scanAndLoad(const std::string& dir, as_object &where); std 70 libbase/extension.h bool initModuleWithFunc(const std::string& module, const std::string& func, as_object &obj); std 80 libbase/extension.h bool initModule(const std::string& module, as_object &obj); std 83 libbase/extension.h std::vector<std::string> _modules; std 86 libbase/extension.h std::map<std::string, SharedLib *> _plugins; std 89 libbase/extension.h std::string _pluginsdir; std 45 libbase/log.cpp std::string std 49 libbase/log.cpp const std::vector<unsigned char> bytes(p, p + length); std 51 libbase/log.cpp std::ostringstream ss; std 54 libbase/log.cpp if (!ascii) ss << std::hex << std::setfill('0'); std 56 libbase/log.cpp for (std::vector<unsigned char>::const_iterator i = bytes.begin(), std 60 libbase/log.cpp if (std::isprint(*i) || *i == 0xd) { std 67 libbase/log.cpp ss << std::setw(2) << static_cast<int>(*i) << " "; std 75 libbase/log.cpp std::ostream& std 84 libbase/log.cpp std::time(&t); std 85 libbase/log.cpp std::strftime(buf, sizeof buf, fmt, std::localtime(&t)); std 87 libbase/log.cpp static std::map<int, int> threadMap; std 282 libbase/log.cpp _outstream.open(filespec.c_str(), std::ios::app|std::ios::out); // ios::out std 93 libbase/log.h void log(const std::string& label, const std::string& msg); std 100 libbase/log.h void log(const std::string& msg); std 120 libbase/log.h void setLogFilename(const std::string& fname); std 186 libbase/log.h bool openLog(const std::string& filespec); std 207 libbase/log.h std::ofstream _outstream; std 229 libbase/log.h std::string _filespec; std 231 libbase/log.h std::string _logFilename; std 329 libbase/log.h DSOEXPORT std::string hexify(const unsigned char *bytes, size_t length, std 38 libbase/memory.cpp using namespace std; std 71 libbase/noseek_fd_adapter.cpp virtual std::streamsize read(void *dst, std::streamsize bytes); std 80 libbase/noseek_fd_adapter.cpp virtual std::streampos tell() const; std 93 libbase/noseek_fd_adapter.cpp static const std::streamsize chunkSize = 512; std 121 libbase/noseek_fd_adapter.cpp std::streamsize cache(void *from, std::streamsize sz); std 128 libbase/noseek_fd_adapter.cpp const std::streamsize NoSeekFile::chunkSize; std 143 libbase/noseek_fd_adapter.cpp std::fclose(_cache); std 146 libbase/noseek_fd_adapter.cpp std::streamsize std 151 libbase/noseek_fd_adapter.cpp std::cerr << boost::format("cache(%p, %d) called") % from % sz << std::endl; std 154 libbase/noseek_fd_adapter.cpp std::streampos curr_pos = std::ftell(_cache); std 157 libbase/noseek_fd_adapter.cpp std::cerr << boost::format(" current position: %ld)") % curr_pos << std::endl; std 161 libbase/noseek_fd_adapter.cpp std::fseek(_cache, 0, SEEK_END); std 164 libbase/noseek_fd_adapter.cpp std::cerr << boost::format(" after SEEK_END, position: %ld") % std 165 libbase/noseek_fd_adapter.cpp std::ftell(_cache) << std::endl; std 168 libbase/noseek_fd_adapter.cpp std::streamsize wrote = std::fwrite(from, 1, sz, _cache); std 170 libbase/noseek_fd_adapter.cpp std::cerr << boost::format(" write %d bytes") % wrote; std 175 libbase/noseek_fd_adapter.cpp % sz % wrote % std::strerror(errno); std 177 libbase/noseek_fd_adapter.cpp std::cerr << err << std::endl; std 184 libbase/noseek_fd_adapter.cpp std::cerr << boost::format(" after write, position: %ld") % std 185 libbase/noseek_fd_adapter.cpp std::ftell(_cache) << std::endl; std 189 libbase/noseek_fd_adapter.cpp std::fseek(_cache, curr_pos, SEEK_SET); std 192 libbase/noseek_fd_adapter.cpp std::cerr << boost::format(" after seek-back, position: %ld") % std 193 libbase/noseek_fd_adapter.cpp std::ftell(_cache) << std::endl; std 196 libbase/noseek_fd_adapter.cpp std::clearerr(_cache); std 206 libbase/noseek_fd_adapter.cpp std::cerr << boost::format(" fill_cache(%d) called") % size << std::endl; std 216 libbase/noseek_fd_adapter.cpp bytesNeeded = std::min<size_t>(bytesNeeded, chunkSize); std 217 libbase/noseek_fd_adapter.cpp std::cerr << boost::format(" bytes needed = %d") % bytesNeeded << std 218 libbase/noseek_fd_adapter.cpp std::endl; std 221 libbase/noseek_fd_adapter.cpp std::streamsize bytesRead = ::read(_fd, _buf, chunkSize); std 223 libbase/noseek_fd_adapter.cpp std::cerr << boost::format(_("Error reading %d bytes from " std 224 libbase/noseek_fd_adapter.cpp "input stream")) % chunkSize << std::endl; std 233 libbase/noseek_fd_adapter.cpp std::cerr << "EOF reached" << std::endl; std 246 libbase/noseek_fd_adapter.cpp std::cerr << "_cache.tell = " << tell() << std::endl; std 253 libbase/noseek_fd_adapter.cpp _cache = std::fopen(_cachefilename, "w+b"); std 256 libbase/noseek_fd_adapter.cpp std::string(_cachefilename)); std 268 libbase/noseek_fd_adapter.cpp std::streamsize std 272 libbase/noseek_fd_adapter.cpp std::cerr << boost::format("read_cache(%d) called") % bytes << std::endl; std 277 libbase/noseek_fd_adapter.cpp std::cerr << "read_cache: at eof!" << std::endl; std 288 libbase/noseek_fd_adapter.cpp std::streamsize ret = std::fread(dst, 1, bytes, _cache); std 291 libbase/noseek_fd_adapter.cpp if (std::ferror(_cache)) { std 292 libbase/noseek_fd_adapter.cpp std::cerr << "an error occurred while reading from cache" << std 293 libbase/noseek_fd_adapter.cpp std::endl; std 296 libbase/noseek_fd_adapter.cpp if (std::feof(_cache)) { std 297 libbase/noseek_fd_adapter.cpp std::cerr << "EOF reached while reading from cache" << std::endl; std 303 libbase/noseek_fd_adapter.cpp std::cerr << boost::format("fread from _cache returned %d") % ret << std 304 libbase/noseek_fd_adapter.cpp std::endl; std 314 libbase/noseek_fd_adapter.cpp bool ret = (!_running && std::feof(_cache)); std 317 libbase/noseek_fd_adapter.cpp std::cerr << boost::format("eof() returning %d") % ret << std::endl; std 323 libbase/noseek_fd_adapter.cpp std::streampos std 326 libbase/noseek_fd_adapter.cpp std::streampos ret = std::ftell(_cache); std 329 libbase/noseek_fd_adapter.cpp std::cerr << boost::format("tell() returning %ld") % ret << std::endl; std 341 libbase/noseek_fd_adapter.cpp std::cerr << boost::format("Warning: seek backward requested " std 342 libbase/noseek_fd_adapter.cpp "(%ld from %ld)") % pos % tell() << std::endl; std 348 libbase/noseek_fd_adapter.cpp if (std::fseek(_cache, pos, SEEK_SET) == -1) { std 349 libbase/noseek_fd_adapter.cpp std::cerr << "Warning: fseek failed" << std::endl; std 368 libbase/noseek_fd_adapter.cpp std::cerr << boost::format("making NoSeekFile stream for fd %d") % fd << std::endl; std 376 libbase/noseek_fd_adapter.cpp catch (const std::exception& ex) { std 377 libbase/noseek_fd_adapter.cpp std::cerr << boost::format("NoSeekFile stream: %s") % ex.what() << std::endl; std 152 libbase/rc.cpp std::string loadfile = SYSCONFDIR; std 174 libbase/rc.cpp home = std::getenv("HOME"); std 188 libbase/rc.cpp char *gnashrc = std::getenv("GNASHRC"); std 190 libbase/rc.cpp std::string paths(gnashrc); std 193 libbase/rc.cpp std::list<std::string> l; std 200 libbase/rc.cpp for (std::list<std::string>::const_iterator i = l.begin(), e = l.end(); i != e; ++i) { std 265 libbase/rc.cpp std::istringstream in(value); std 292 libbase/rc.cpp const char *home = std::getenv("HOME"); std 314 libbase/rc.cpp std::string::size_type firstslash = std 316 libbase/rc.cpp std::string user; std 317 libbase/rc.cpp if (firstslash != std::string::npos) { std 355 libbase/rc.cpp std::string action; std 356 libbase/rc.cpp std::string variable; std 357 libbase/rc.cpp std::string value; std 358 libbase/rc.cpp std::ifstream in; std 359 libbase/rc.cpp std::string line; std 387 libbase/rc.cpp while (std::getline(in, line)) { std 396 libbase/rc.cpp std::istringstream ss(line); std 418 libbase/rc.cpp if (!std::getline (ss, value)) { std 658 libbase/rc.cpp std::string writefile; std 664 libbase/rc.cpp char *gnashrc = std::getenv("GNASHRC"); std 666 libbase/rc.cpp std::string filelist(gnashrc); std 670 libbase/rc.cpp std::string::size_type pos = filelist.find_last_of(':'); std 672 libbase/rc.cpp if (pos == std::string::npos) { std 693 libbase/rc.cpp home = std::getenv("HOME"); std 723 libbase/rc.cpp std::ofstream out; std 732 libbase/rc.cpp const std::string cmd = "set "; std 736 libbase/rc.cpp out << std::boolalpha << std::showbase << std 765 libbase/rc.cpp cmd << "LCShmkey " << std::hex << (boost::uint32_t) _lcshmkey << endl << std 54 libbase/rc.h bool parseFile(const std::string& filespec); std 62 libbase/rc.h bool updateFile(const std::string& filespec); std 115 libbase/rc.h void setDebugLog(const std::string &x) { _log = x; } std 116 libbase/rc.h const std::string& getDebugLog() const { return _log; } std 118 libbase/rc.h void setDocumentRoot(const std::string &x) { _wwwroot = x; } std 119 libbase/rc.h std::string getDocumentRoot() { return _wwwroot; } std 144 libbase/rc.h typedef std::vector<std::string> PathList; std 154 libbase/rc.h void setWhitelist (const std::vector<std::string>& list) { _whitelist = list; } std 164 libbase/rc.h void setBlacklist (const std::vector<std::string>& list) { std 176 libbase/rc.h void addLocalSandboxPath(const std::string& dir) std 191 libbase/rc.h const std::string& getFlashVersionString() const { std 195 libbase/rc.h void setFlashVersionString(const std::string& value) { std 199 libbase/rc.h const std::string& getFlashSystemOS() const { std 203 libbase/rc.h void setFlashSystemOS(const std::string& value) { std 207 libbase/rc.h const std::string& getFlashSystemManufacturer() const { std 211 libbase/rc.h void setFlashSystemManufacturer(const std::string& value) { std 215 libbase/rc.h const std::string& getGstAudioSink() const { return _gstaudiosink; } std 217 libbase/rc.h void setGstAudioSink(const std::string& value) { _gstaudiosink = value; } std 234 libbase/rc.h const std::string &getURLOpenerFormat() const std 239 libbase/rc.h void setURLOpenerFormat(const std::string& value) std 245 libbase/rc.h const std::string &getHWAccel() const { return _hwaccel; } std 248 libbase/rc.h void setHWAccel(const std::string &x) { _hwaccel = x; } std 251 libbase/rc.h const std::string& getRenderer() const { return _renderer; } std 254 libbase/rc.h void setRenderer(const std::string& x) { _renderer = x; } std 257 libbase/rc.h const std::string& getMediaHandler() const { return _mediahandler; } std 260 libbase/rc.h void setMediaHandler(const std::string& x) { _mediahandler = x; } std 263 libbase/rc.h const std::string &getSOLSafeDir() const { return _solsandbox; } std 266 libbase/rc.h void setSOLSafeDir(const std::string &x) { _solsandbox = x; } std 301 libbase/rc.h void setMediaDir(const std::string& value) { _mediaCacheDir = value; } std 303 libbase/rc.h const std::string& getMediaDir() const { return _mediaCacheDir; } std 314 libbase/rc.h const std::string& getRootCert() const { std 318 libbase/rc.h void setRootCert(const std::string& value) { std 323 libbase/rc.h const std::string& getCertFile() const { std 327 libbase/rc.h void setCertFile(const std::string& value) { std 332 libbase/rc.h const std::string& getCertDir() const { std 336 libbase/rc.h void setCertDir(const std::string& value) { std 349 libbase/rc.h void writeList(const PathList& list, std::ostream& o); std 361 libbase/rc.h static void expandPath(std::string& path); std 372 libbase/rc.h static bool extractSetting(bool &var, const std::string& pattern, std 373 libbase/rc.h const std::string &variable, const std::string &value); std 385 libbase/rc.h static bool extractNumber(T& num, const std::string& pattern, std 386 libbase/rc.h const std::string &variable, const std::string &value) std 392 libbase/rc.h std::istringstream in(value); std 411 libbase/rc.h static bool extractDouble(double &out, const std::string& pattern, std 412 libbase/rc.h const std::string &variable, const std::string &value); std 421 libbase/rc.h void parseList(std::vector<std::string>& list, const std::string &action, std 422 libbase/rc.h const std::string &items); std 447 libbase/rc.h std::string _urlOpenerFormat; std 450 libbase/rc.h std::string _flashVersionString; std 453 libbase/rc.h std::string _gstaudiosink; std 458 libbase/rc.h std::string _flashSystemOS; std 463 libbase/rc.h std::string _flashSystemManufacturer; std 496 libbase/rc.h std::string _log; std 502 libbase/rc.h std::string _wwwroot; std 531 libbase/rc.h std::string _solsandbox; std 558 libbase/rc.h std::string _mediaCacheDir; std 572 libbase/rc.h std::string _certfile; std 576 libbase/rc.h std::string _certdir; std 580 libbase/rc.h std::string _rootcert; std 589 libbase/rc.h std::string _hwaccel; std 594 libbase/rc.h std::string _renderer; std 598 libbase/rc.h std::string _mediahandler; std 83 libbase/sharedlib.cpp std::string pluginsdir; std 84 libbase/sharedlib.cpp char *env = std::getenv (envvar.c_str()); std 58 libbase/sharedlib.h SharedLib(const std::string& filespec); std 59 libbase/sharedlib.h DSOEXPORT SharedLib(const std::string& filespec, const std::string& envvar); std 63 libbase/sharedlib.h bool openLib(const std::string &filespec); std 66 libbase/sharedlib.h entrypoint *getDllSymbol (const std::string& symbol); std 67 libbase/sharedlib.h DSOEXPORT initentry *getInitEntry (const std::string& symbol); std 74 libbase/sharedlib.h std::string _filespec; std 83 libbase/snappingrange.h typedef std::vector<RangeType> RangeList; std 86 libbase/snappingrange.h template<typename U> friend std::ostream& operator<<(std::ostream& os, std 275 libbase/snappingrange.h std::for_each(rl.begin(), rl.end(), AddTo(*this)); std 283 libbase/snappingrange.h std::for_each(_ranges.begin(), _ranges.end(), GrowBy(amount)); std 292 libbase/snappingrange.h std::for_each(_ranges.begin(), _ranges.end(), Scale(factor)); std 355 libbase/snappingrange.h return std::find_if(_ranges.begin(), _ranges.end(), IntersectsRange(r)) std 363 libbase/snappingrange.h return std::find_if(_ranges.begin(), _ranges.end(), ContainsPoint(x, y)) std 375 libbase/snappingrange.h return std::find_if(_ranges.begin(), _ranges.end(), ContainsRange(r)) std 437 libbase/snappingrange.h std::vector<SnappingRanges2d<T> > list; std 613 libbase/snappingrange.h std::ostream& std 614 libbase/snappingrange.h operator<< (std::ostream& os, const SnappingRanges2d<T>& r) std 623 libbase/snappingrange.h std::copy(ranges.begin(), ranges.end(), std 624 libbase/snappingrange.h std::ostream_iterator<typename R::value_type>(os, ",")); std 37 libbase/string_table.cpp const std::string string_table::_empty; std 76 libbase/string_table.cpp for (std::size_t i = 0; i < size; ++i) { std 87 libbase/string_table.cpp for (std::size_t i = 0; i < size; ++i) { std 89 libbase/string_table.cpp const std::string& t = boost::to_lower_copy(s.value); std 95 libbase/string_table.cpp std::cerr << "string_table group insert end -- size is " << _table.size() << " _caseTable size is " << _caseTable.size() << std::endl; std 109 libbase/string_table.cpp if ( ! (ts % tscp) ) { std::cerr << "string_table size grew to " << ts << std::endl; } std 112 libbase/string_table.cpp const std::string lower = boost::to_lower_copy(to_insert); std 127 libbase/string_table.cpp if ( ! (ts % tscp) ) { std::cerr << "string_table size grew to " << ts << std::endl; } std 167 libbase/string_table.cpp std::map<key, key>::const_iterator i = _caseTable.find(a); std 48 libbase/string_table.h svt(const std::string& val, std::size_t i) std 54 libbase/string_table.h std::string value; std 55 libbase/string_table.h std::size_t id; std 83 libbase/string_table.h typedef std::size_t key; std 95 libbase/string_table.h key find(const std::string& to_find, bool insert_unfound = true); std 102 libbase/string_table.h const std::string& value(key to_find) const std 114 libbase/string_table.h key insert(const std::string& to_insert); std 122 libbase/string_table.h void insert_group(const svt* pList, std::size_t size); std 128 libbase/string_table.h key already_locked_insert(const std::string& to_insert); std 146 libbase/string_table.h void setHighestKnownLowercase(std::size_t k); std 151 libbase/string_table.h static const std::string _empty; std 153 libbase/string_table.h std::size_t _highestKey; std 155 libbase/string_table.h std::map<key, key> _caseTable; std 75 libbase/tu_file.cpp std::streamsize read(void* dst, std::streamsize num); std 82 libbase/tu_file.cpp std::streamsize write(const void* src, std::streamsize num); std 89 libbase/tu_file.cpp std::streampos tell() const; std 155 libbase/tu_file.cpp std::streamsize std 159 libbase/tu_file.cpp return std::fread(dst, 1, bytes, _data); std 163 libbase/tu_file.cpp std::streamsize std 167 libbase/tu_file.cpp return std::fwrite(src, 1, bytes, _data); std 174 libbase/tu_file.cpp if (pos > static_cast<std::streampos>(size())) return false; std 176 libbase/tu_file.cpp std::clearerr(_data); // make sure EOF flag is cleared. std 177 libbase/tu_file.cpp const int result = std::fseek(_data, pos, SEEK_SET); std 181 libbase/tu_file.cpp assert (pos < std::numeric_limits<long>::max()); std 182 libbase/tu_file.cpp assert (std::ftell(_data) == pos); std 190 libbase/tu_file.cpp const int err = std::fseek(_data, 0, SEEK_END); std 198 libbase/tu_file.cpp std::streampos std 201 libbase/tu_file.cpp std::streampos ret = std::ftell(_data); std 211 libbase/tu_file.cpp return std::feof(_data); std 218 libbase/tu_file.cpp return std::ferror(_data); std 240 libbase/tu_file.cpp std::fclose(_data); std 243 libbase/tu_file.cpp std::auto_ptr<IOChannel> std 246 libbase/tu_file.cpp std::auto_ptr<IOChannel> ret(new tu_file(fp, close)); std 22 libbase/tu_file.h DSOEXPORT std::auto_ptr<IOChannel> makeFileChannel(FILE* fp, bool close); std 35 libbase/utf8.cpp const boost::uint32_t invalid = std::numeric_limits<boost::uint32_t>::max(); std 38 libbase/utf8.cpp std::wstring std 42 libbase/utf8.cpp std::wstring wstr; std 44 libbase/utf8.cpp std::string::const_iterator it = str.begin(), e = str.end(); std 66 libbase/utf8.cpp std::string std 70 libbase/utf8.cpp std::string str; std 72 libbase/utf8.cpp std::wstring::const_iterator it = wstr.begin(); std 83 libbase/utf8.cpp std::string std 86 libbase/utf8.cpp std::string text; std 164 libbase/utf8.cpp std::string std 168 libbase/utf8.cpp std::string text; std 286 libbase/utf8.cpp std::string::const_iterator it = str.begin(); std 287 libbase/utf8.cpp const std::string::const_iterator e = str.end(); std 361 libbase/utf8.cpp length = std::mbstowcs(NULL, str.c_str(), 0); std 69 libbase/utf8.h DSOEXPORT std::wstring decodeCanonicalString(const std::string& str, int version); std 82 libbase/utf8.h DSOEXPORT std::string encodeCanonicalString(const std::wstring& wstr, int version); std 90 libbase/utf8.h DSOEXPORT boost::uint32_t decodeNextUnicodeCharacter(std::string::const_iterator& it, std 91 libbase/utf8.h const std::string::const_iterator& e); std 95 libbase/utf8.h DSOEXPORT std::string encodeUnicodeCharacter(boost::uint32_t ucs_character); std 101 libbase/utf8.h DSOEXPORT std::string encodeLatin1Character(boost::uint32_t ucsCharacter); std 159 libbase/utf8.h EncodingGuess guessEncoding(const std::string& s, int& length, std 160 libbase/utf8.h std::vector<int>& offsets); std 62 libbase/utility.h namespace std std 64 libbase/utility.h typedef std::basic_string<wchar_t> wstring; std 69 libbase/utility.h namespace std { std 70 libbase/utility.h class wstring : public std::basic_string<char> std 74 libbase/utility.h : std::basic_string<char>(t) std 81 libbase/utility.h : std::basic_string<char>(that.c_str()) std 84 libbase/utility.h wstring(const std::basic_string<char> &that) std 85 libbase/utility.h : std::basic_string<char>(that) std 97 libbase/utility.h std::string typeName(const T& inst) std 99 libbase/utility.h std::string typeName = typeid(inst).name(); std 108 libbase/utility.h std::free(typeNameUnmangled); std 28 libbase/zlib_adapter.cpp std::auto_ptr<IOChannel> make_inflater(std::auto_ptr<IOChannel> /*in*/) { std 29 libbase/zlib_adapter.cpp std::abort(); std 57 libbase/zlib_adapter.cpp virtual std::streamsize read(void* dst, std::streamsize bytes) { std 66 libbase/zlib_adapter.cpp virtual std::streampos tell() const { std 84 libbase/zlib_adapter.cpp std::auto_ptr<IOChannel> m_in; std 87 libbase/zlib_adapter.cpp std::streampos m_initial_stream_pos; std 94 libbase/zlib_adapter.cpp std::streampos m_logical_stream_pos; std 109 libbase/zlib_adapter.cpp std::streamsize inflate_from_stream(void* dst, std::streamsize bytes); std 155 libbase/zlib_adapter.cpp std::stringstream ss; std 164 libbase/zlib_adapter.cpp std::streamsize std 195 libbase/zlib_adapter.cpp std::ostringstream ss; std 201 libbase/zlib_adapter.cpp std::ostringstream ss; std 207 libbase/zlib_adapter.cpp std::ostringstream ss; std 214 libbase/zlib_adapter.cpp std::ostringstream ss; std 247 libbase/zlib_adapter.cpp const std::streamsize bytes_read = inflate_from_stream(temp, ZBUF_SIZE); std 274 libbase/zlib_adapter.cpp std::streamsize to_read = pos - m_logical_stream_pos; std 277 libbase/zlib_adapter.cpp std::streamsize readNow = std::min<std::streamsize>(to_read, ZBUF_SIZE); std 280 libbase/zlib_adapter.cpp std::streamsize bytes_read = inflate_from_stream(temp, readNow); std 312 libbase/zlib_adapter.cpp std::auto_ptr<IOChannel> make_inflater(std::auto_ptr<IOChannel> in) std 315 libbase/zlib_adapter.cpp return std::auto_ptr<IOChannel>(new InflaterIOChannel(in)); std 32 libbase/zlib_adapter.h DSOEXPORT std::auto_ptr<IOChannel> std 33 libbase/zlib_adapter.h make_inflater(std::auto_ptr<IOChannel> in); std 91 libcore/AMFConverter.cpp const std::string& name = _st.value(key); std 172 libcore/AMFConverter.cpp std::ostringstream s; std 175 libcore/AMFConverter.cpp const std::string& xmlstr = s.str(); std 494 libcore/AMFConverter.cpp const std::string name(reinterpret_cast<const char*>(_pos), strlen); std 524 libcore/AMFConverter.cpp std::string keyString; std 59 libcore/AMFConverter.h typedef std::map<as_object*, size_t> OffsetTable; std 75 libcore/AMFConverter.h bool writeString(const std::string& str); std 92 libcore/AMFConverter.h bool writePropertyName(const std::string& name); std 172 libcore/AMFConverter.h std::vector<as_object*> _objectRefs; std 66 libcore/BitmapMovie.h virtual const std::string& url() const { std 380 libcore/Button.cpp std::sort(actChars.begin(), actChars.end(), charDepthLessThen); std 410 libcore/Button.cpp std::sort(actChars.begin(), actChars.end(), charDepthLessThen); std 575 libcore/Button.cpp std::auto_ptr<ExecutableCode> code (get_event_handler(event)); std 591 libcore/Button.cpp std::remove_copy_if(_stateCharacters.begin(), _stateCharacters.end(), std 592 libcore/Button.cpp std::back_inserter(list), std 605 libcore/Button.cpp std::remove_copy_if(_stateCharacters.begin(), _stateCharacters.end(), std 606 libcore/Button.cpp std::back_inserter(list), std 643 libcore/Button.cpp ss << std::endl; std 655 libcore/Button.cpp std::stringstream ss; std 656 libcore/Button.cpp ss << "at set_current_state enter: " << std::endl; std 731 libcore/Button.cpp ss << "at set_current_state end: " << std::endl; std 752 libcore/Button.cpp std::for_each(actChars.begin(), actChars.end(), std 763 libcore/Button.cpp typedef std::vector<const DisplayObject*> Chars; std 781 libcore/Button.cpp typedef std::vector<const DisplayObject*> Chars; std 862 libcore/Button.cpp std::for_each(_hitCharacters.begin(), _hitCharacters.end(), std 863 libcore/Button.cpp std::mem_fun(&DisplayObject::setReachable)); std 959 libcore/Button.cpp std::ostringstream os; std 963 libcore/Button.cpp std::sort(actChars.begin(), actChars.end(), charDepthLessThen); std 968 libcore/Button.cpp std::make_pair(_("Button state"), os.str())); std 971 libcore/Button.cpp os << std::boolalpha << isEnabled(); std 972 libcore/Button.cpp localIter = tr.append_child(selfIt, std::make_pair(_("Enabled"), os.str())); std 974 libcore/Button.cpp std::for_each(actChars.begin(), actChars.end(), std 991 libcore/Button.cpp default: std::abort(); std 49 libcore/Button.h typedef std::vector<DisplayObject*> DisplayObjects; std 50 libcore/Button.h typedef std::vector<const DisplayObject*> ConstDisplayObjects; std 53 libcore/Button.h typedef std::set<int> ActiveRecords; std 45 libcore/CharacterProxy.cpp std::string std 35 libcore/CharacterProxy.h DisplayObject* findDisplayObjectByTarget(const std::string& target, std 110 libcore/CharacterProxy.h std::string getTarget() const; std 149 libcore/CharacterProxy.h mutable std::string _tgt; std 179 libcore/ClassHierarchy.cpp std::for_each(classes.begin(), classes.end(), boost::bind(nf, this, _1)); std 46 libcore/ClassHierarchy.h std::string file_name; std 56 libcore/ClassHierarchy.h std::string init_name; std 102 libcore/ClassHierarchy.h typedef std::vector<NativeClass> NativeClasses; std 62 libcore/DisplayList.cpp struct DepthEquals : std::binary_function<const DisplayObject*, int, bool> std 70 libcore/DisplayList.cpp struct DepthLessThan : std::binary_function<const DisplayObject*, int, bool> std 78 libcore/DisplayList.cpp struct DepthGreaterThan : std::binary_function<const DisplayObject*, int, bool> std 168 libcore/DisplayList.cpp std::find_if(_charsByDepth.begin(), e, NameEquals(st, uri, caseless)); std 184 libcore/DisplayList.cpp std::find_if( _charsByDepth.begin(), _charsByDepth.end(), std 185 libcore/DisplayList.cpp boost::bind(std::not2(DepthLessThan()), _1, depth)); std 221 libcore/DisplayList.cpp std::find_if(_charsByDepth.begin(), _charsByDepth.end(), std 222 libcore/DisplayList.cpp boost::bind(std::not2(DepthLessThan()), _1, depth)); std 245 libcore/DisplayList.cpp std::find_if(_charsByDepth.begin(), _charsByDepth.end(), std 246 libcore/DisplayList.cpp boost::bind(std::not2(DepthLessThan()), _1, depth)); std 346 libcore/DisplayList.cpp std::find_if( _charsByDepth.begin(), _charsByDepth.end(), std 397 libcore/DisplayList.cpp std::find(_charsByDepth.begin(), _charsByDepth.end(), ch1); std 401 libcore/DisplayList.cpp std::find_if(_charsByDepth.begin(), _charsByDepth.end(), std 402 libcore/DisplayList.cpp boost::bind(std::not2(DepthLessThan()), _1, newdepth)); std 423 libcore/DisplayList.cpp std::iter_swap(it1, it2); std 460 libcore/DisplayList.cpp std::find_if(_charsByDepth.begin(), _charsByDepth.end(), std 461 libcore/DisplayList.cpp boost::bind(std::not2(DepthLessThan()), _1, index)); std 548 libcore/DisplayList.cpp std::stack<int> clipDepthStack; std 650 libcore/DisplayList.cpp std::stack<int> clipDepthStack; // same method used in display() std 651 libcore/DisplayList.cpp std::stack<InvalidatedRanges> rangesStack; std 847 libcore/DisplayList.cpp std::find_if(_charsByDepth.begin(), _charsByDepth.end(), std 848 libcore/DisplayList.cpp boost::bind(std::not2(DepthLessThan()), _1, depthNew)); std 866 libcore/DisplayList.cpp std::find(_charsByDepth.begin(), _charsByDepth.end(), ch); std 876 libcore/DisplayList.cpp std::abort(); std 901 libcore/DisplayList.cpp std::find_if(_charsByDepth.begin(), _charsByDepth.end(), std 902 libcore/DisplayList.cpp boost::bind(std::not2(DepthLessThan()), _1, newDepth)); std 936 libcore/DisplayList.cpp return std::find_if(c.begin(), c.end(), boost::bind(std::not2(DepthLessThan()), _1, depth)); std 945 libcore/DisplayList.cpp return std::find_if(c.begin(), c.end(), std 946 libcore/DisplayList.cpp boost::bind(std::not2(DepthLessThan()), _1, depth)); std 952 libcore/DisplayList.cpp return std::find_if(c.begin(), c.end(), std 960 libcore/DisplayList.cpp std::ostream& std 981 libcore/DisplayList.cpp % boost::io::group(std::boolalpha, dobj->isDestroyed()) std 982 libcore/DisplayList.cpp % boost::io::group(std::boolalpha, dobj->unloaded()); std 984 libcore/DisplayList.cpp os << fmt.str() << std::endl; std 64 libcore/DisplayList.h typedef std::list<DisplayObject*> container_type; std 74 libcore/DisplayList.h friend std::ostream& operator<< (std::ostream&, const DisplayList&); std 306 libcore/DisplayList.h std::set<int> depths; std 315 libcore/DisplayList.h std::abort(); std 320 libcore/DisplayList.h assert(std::adjacent_find(_charsByDepth.begin(), _charsByDepth.end(), std 386 libcore/DisplayList.h std::ostream& operator<< (std::ostream&, const DisplayList&); std 58 libcore/DisplayObject.cpp typedef std::map<DisplayObject::BlendMode, std::string> BlendModeMap; std 65 libcore/DisplayObject.cpp typedef std::pair<Getter, Setter> GetterSetter; std 137 libcore/DisplayObject.cpp std::ostringstream ss; std 271 libcore/DisplayObject.cpp std::ostringstream blendMode; std 307 libcore/DisplayObject.cpp const std::string& mode = bm.to_string(); std 310 libcore/DisplayObject.cpp BlendModeMap::const_iterator it = std::find_if(bmm.begin(), bmm.end(), std 440 libcore/DisplayObject.cpp std::auto_ptr<ExecutableCode> std 443 libcore/DisplayObject.cpp std::auto_ptr<ExecutableCode> handler; std 484 libcore/DisplayObject.cpp std::auto_ptr<ExecutableCode> event(new QueuedEvent(this, id)); std 516 libcore/DisplayObject.cpp xscale = -std::abs(xscale); std 518 libcore/DisplayObject.cpp else xscale = std::abs(xscale); std 543 libcore/DisplayObject.cpp rot = std::fmod(rot, 360.0); std 558 libcore/DisplayObject.cpp m.set_x_scale(std::abs(scaleX() / 100.0)); std 577 libcore/DisplayObject.cpp if (scale_percent * _yscale < 0.0) yscale = -std::abs(yscale); std 578 libcore/DisplayObject.cpp else yscale = std::abs(yscale); std 591 libcore/DisplayObject.cpp std::string std 598 libcore/DisplayObject.cpp typedef std::vector<std::string> Path; std 624 libcore/DisplayObject.cpp std::stringstream ss; std 630 libcore/DisplayObject.cpp std::string target; std 632 libcore/DisplayObject.cpp std::stringstream ss; std 645 libcore/DisplayObject.cpp std::string std 653 libcore/DisplayObject.cpp typedef std::vector<std::string> Path; std 666 libcore/DisplayObject.cpp std::stringstream ss; std 689 libcore/DisplayObject.cpp std::string target; std 826 libcore/DisplayObject.cpp const std::string yes = _("yes"); std 827 libcore/DisplayObject.cpp const std::string no = _("no"); std 829 libcore/DisplayObject.cpp it = tr.append_child(it, std::make_pair(getTarget(), typeName(*this))); std 831 libcore/DisplayObject.cpp std::ostringstream os; std 833 libcore/DisplayObject.cpp tr.append_child(it, std::make_pair(_("Depth"), os.str())); std 839 libcore/DisplayObject.cpp tr.append_child(it, std::make_pair(_("Ratio"), os.str())); std 849 libcore/DisplayObject.cpp tr.append_child(it, std::make_pair(_("Clipping depth"), os.str())); std 854 libcore/DisplayObject.cpp tr.append_child(it, std::make_pair(_("Dimensions"), os.str())); std 856 libcore/DisplayObject.cpp tr.append_child(it, std::make_pair(_("Dynamic"), isDynamic() ? yes : no)); std 857 libcore/DisplayObject.cpp tr.append_child(it, std::make_pair(_("Mask"), isMaskLayer() ? yes : no)); std 858 libcore/DisplayObject.cpp tr.append_child(it, std::make_pair(_("Destroyed"), std 860 libcore/DisplayObject.cpp tr.append_child(it, std::make_pair(_("Unloaded"), unloaded() ? yes : no)); std 864 libcore/DisplayObject.cpp tr.append_child(it, std::make_pair(_("Blend mode"), os.str())); std 867 libcore/DisplayObject.cpp tr.append_child(it, std::make_pair(_("Invalidated"), std 869 libcore/DisplayObject.cpp tr.append_child(it, std::make_pair(_("Child invalidated"), std 935 libcore/DisplayObject.cpp const std::string& propname = uri.toString(st); std 1048 libcore/DisplayObject.cpp const std::string& q = val.to_string(); std 1291 libcore/DisplayObject.cpp if (newAlpha > std::numeric_limits<boost::int16_t>::max() || std 1292 libcore/DisplayObject.cpp newAlpha < std::numeric_limits<boost::int16_t>::min()) { std 1293 libcore/DisplayObject.cpp cx.aa = std::numeric_limits<boost::int16_t>::min(); std 1375 libcore/DisplayObject.cpp const std::string& name = o.get_name().toString(st); std 1449 libcore/DisplayObject.cpp std::min(mc->get_loaded_frames(), mc->get_current_frame() + 1); std 1480 libcore/DisplayObject.cpp typedef std::map<ObjectURI, GetterSetter, ObjectURI::CaseLessThan> std 1638 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uX, GetterSetter(&getX, &setX))); std 1639 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uY, GetterSetter(&getY, &setY))); std 1640 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uXSCALE, std 1642 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uYSCALE, std 1644 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uROTATION, std 1646 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uHIGHQUALITY, std 1648 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uQUALITY, std 1650 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uALPHA, std 1652 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uWIDTH, std 1654 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uHEIGHT, std 1656 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uNAME, std 1658 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uVISIBLE, std 1660 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uSOUNDBUFTIME, std 1662 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uFOCUSRECT, std 1664 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uDROPTARGET, std 1666 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uCURRENTFRAME, std 1668 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uFRAMESLOADED, std 1670 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uTOTALFRAMES, std 1672 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uURL, GetterSetter(&getURL, n))); std 1673 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uTARGET, GetterSetter(&getTarget, n))); std 1674 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uXMOUSE, GetterSetter(&getMouseX, n))); std 1675 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uYMOUSE, GetterSetter(&getMouseY, n))); std 1676 libcore/DisplayObject.cpp ret.insert(std::make_pair(NSV::PROP_uPARENT, GetterSetter(&getParent, n))); std 1682 libcore/DisplayObject.cpp std::ostream& std 441 libcore/DisplayObject.h std::auto_ptr<ExecutableCode> get_event_handler(const event_id& id) const; std 474 libcore/DisplayObject.h virtual StaticText* getStaticText(std::vector<const SWF::TextRecord*>&, std 831 libcore/DisplayObject.h std::string getTargetPath() const; std 839 libcore/DisplayObject.h const std::string& getOrigTarget() const std 848 libcore/DisplayObject.h std::string DSOEXPORT getTarget() const; std 909 libcore/DisplayObject.h typedef std::vector<const action_buffer*> BufferList; std 910 libcore/DisplayObject.h typedef std::map<event_id, BufferList> Events; std 1076 libcore/DisplayObject.h std::string _origTarget; std 1166 libcore/DisplayObject.h std::ostream& std 1167 libcore/DisplayObject.h operator<<(std::ostream& o, DisplayObject::BlendMode bm); std 72 libcore/DisplayObjectContainer.cpp std::ostringstream os; std 75 libcore/DisplayObjectContainer.cpp std::make_pair(_("Children"), os.str())); std 62 libcore/ExternalInterface.cpp std::vector<ObjectURI>& _uris; std 68 libcore/ExternalInterface.cpp std::string std 77 libcore/ExternalInterface.cpp std::stringstream ss; std 85 libcore/ExternalInterface.cpp typedef std::vector<ObjectURI> URIs; std 92 libcore/ExternalInterface.cpp const std::string& id = i->toString(st); std 105 libcore/ExternalInterface.cpp std::string std 110 libcore/ExternalInterface.cpp std::stringstream ss; std 161 libcore/ExternalInterface.cpp return parseInvoke(std::string(buffer.get(), ret)); std 186 libcore/ExternalInterface.cpp std::string::size_type start = 0; std 187 libcore/ExternalInterface.cpp std::string::size_type end; std 188 libcore/ExternalInterface.cpp std::string tag; std 192 libcore/ExternalInterface.cpp if (end != std::string::npos) { std 231 libcore/ExternalInterface.cpp std::string::size_type start = 0; std 232 libcore/ExternalInterface.cpp std::string::size_type end; std 233 libcore/ExternalInterface.cpp std::string tag; std 238 libcore/ExternalInterface.cpp if (end != std::string::npos) { std 253 libcore/ExternalInterface.cpp std::string str = xml.substr(start, end-start); std 259 libcore/ExternalInterface.cpp std::string str = xml.substr(start, end-start); std 268 libcore/ExternalInterface.cpp std::vector<as_value> std 273 libcore/ExternalInterface.cpp std::vector<as_value> args; std 274 libcore/ExternalInterface.cpp std::string::size_type start = 0; std 275 libcore/ExternalInterface.cpp std::string::size_type end; std 277 libcore/ExternalInterface.cpp std::string name; std 278 libcore/ExternalInterface.cpp std::string data = xml; std 279 libcore/ExternalInterface.cpp std::string tag = "<arguments>"; std 281 libcore/ExternalInterface.cpp if (start != std::string::npos) { std 288 libcore/ExternalInterface.cpp std::string sub = data.substr(0, end); std 300 libcore/ExternalInterface.cpp std::string std 304 libcore/ExternalInterface.cpp std::stringstream ss; std 305 libcore/ExternalInterface.cpp std::vector<as_value>::const_iterator it; std 319 libcore/ExternalInterface.cpp ss << std::endl; std 334 libcore/ExternalInterface.cpp std::string std 337 libcore/ExternalInterface.cpp std::string empty; std 350 libcore/ExternalInterface.cpp std::string buf(bytes, '\0'); std 46 libcore/ExternalInterface.h std::string name; std 47 libcore/ExternalInterface.h std::string type; std 48 libcore/ExternalInterface.h std::vector<as_value> args; std 52 libcore/ExternalInterface.h static std::string toXML(const as_value &obj) { std 57 libcore/ExternalInterface.h static as_value parseXML(const std::string &xml); std 58 libcore/ExternalInterface.h static std::vector<as_value> parseArguments(const std::string &xml); std 61 libcore/ExternalInterface.h static boost::shared_ptr<invoke_t> parseInvoke(const std::string &str); std 67 libcore/ExternalInterface.h DSOEXPORT static std::string makeInvoke (const std::string &method, std 68 libcore/ExternalInterface.h const std::vector<as_value> &args); std 70 libcore/ExternalInterface.h static std::string makeString (const std::string &str) { std 74 libcore/ExternalInterface.h DSOEXPORT static size_t writeBrowser(int fd, const std::string &xml); std 75 libcore/ExternalInterface.h DSOEXPORT static std::string readBrowser(int fd); std 79 libcore/ExternalInterface.h DSOEXPORT std::string _toXML(const as_value &obj); std 80 libcore/ExternalInterface.h DSOEXPORT std::string _objectToXML(as_object* obj); std 81 libcore/ExternalInterface.h DSOEXPORT std::string _arrayToXML(as_object *obj); std 83 libcore/ExternalInterface.h std::set<as_object*> _visited; std 150 libcore/FillStyle.cpp std::abort(); std 227 libcore/FillStyle.cpp std::ostream& std 176 libcore/FillStyle.h typedef std::vector<GradientRecord> GradientRecords; std 305 libcore/FillStyle.h DSOEXPORT std::ostream& operator<<(std::ostream& os, std 133 libcore/Filters.h ColorMatrixFilter(std::vector<float> a_matrix) : std 138 libcore/Filters.h std::vector<float> m_matrix; // The color SWFMatrix std 165 libcore/Filters.h const std::vector<float>& _matrix, float divisor, float bias, std 183 libcore/Filters.h std::vector<float> _matrix; // The convolution matrix std 287 libcore/Filters.h std::vector<boost::uint32_t> colors, std 288 libcore/Filters.h std::vector<boost::uint8_t> alphas, std 289 libcore/Filters.h std::vector<boost::uint8_t> ratios, std 300 libcore/Filters.h std::vector<boost::uint32_t> m_colors; // Colors of the gradients. std 301 libcore/Filters.h std::vector<boost::uint8_t> m_alphas; // Alphas of the gradients. std 302 libcore/Filters.h std::vector<boost::uint8_t> m_ratios; // Ratios of the gradients. std 334 libcore/Filters.h std::vector<boost::uint32_t> colors, std 335 libcore/Filters.h std::vector<boost::uint8_t> alphas, std 336 libcore/Filters.h std::vector<boost::uint8_t> ratios, std 346 libcore/Filters.h std::vector<boost::uint32_t> m_colors; // Colors of the gradients. std 347 libcore/Filters.h std::vector<boost::uint8_t> m_alphas; // Alphas of the gradients. std 348 libcore/Filters.h std::vector<boost::uint8_t> m_ratios; // Ratios of the gradients. std 194 libcore/Font.cpp CodeTable::const_iterator it = std::find_if(ctable.begin(), ctable.end(), std 296 libcore/Font.cpp std::auto_ptr<SWF::ShapeRecord> sh = ft->getGlyph(code, advance); std 95 libcore/Font.h typedef std::map<boost::uint16_t, int> CodeTable; std 97 libcore/Font.h Font(std::auto_ptr<SWF::DefineFontTag> ft); std 109 libcore/Font.h Font(const std::string& name, bool bold = false, bool italic = false); std 125 libcore/Font.h bool matches(const std::string& name, bool bold, bool italic) const; std 143 libcore/Font.h const std::string& name() const { return _name; } std 223 libcore/Font.h std::string displayName; std 224 libcore/Font.h std::string copyrightName; std 236 libcore/Font.h GlyphInfo(std::auto_ptr<SWF::ShapeRecord> glyph, float advance); std 245 libcore/Font.h typedef std::vector<GlyphInfo> GlyphInfoRecords; std 257 libcore/Font.h void setName(const std::string& name); std 267 libcore/Font.h void setCodeTable(std::auto_ptr<CodeTable> table); std 296 libcore/Font.h std::string _name; std 297 libcore/Font.h std::string _displayName; std 298 libcore/Font.h std::string _copyrightName; std 322 libcore/Font.h typedef std::map<kerning_pair, float> kernings_table; std 325 libcore/Font.h mutable std::auto_ptr<FreetypeGlyphsProvider> _ftProvider; std 372 libcore/FreetypeGlyphsProvider.cpp std::auto_ptr<FreetypeGlyphsProvider> std 376 libcore/FreetypeGlyphsProvider.cpp std::auto_ptr<FreetypeGlyphsProvider> ret; std 390 libcore/FreetypeGlyphsProvider.cpp std::auto_ptr<FreetypeGlyphsProvider> std 394 libcore/FreetypeGlyphsProvider.cpp return std::auto_ptr<FreetypeGlyphsProvider>(NULL); std 409 libcore/FreetypeGlyphsProvider.cpp return std::abs(_face->descender); std 431 libcore/FreetypeGlyphsProvider.cpp std::string filename; std 480 libcore/FreetypeGlyphsProvider.cpp std::auto_ptr<SWF::ShapeRecord> std 483 libcore/FreetypeGlyphsProvider.cpp std::auto_ptr<SWF::ShapeRecord> glyph; std 548 libcore/FreetypeGlyphsProvider.cpp std::auto_ptr<SWF::ShapeRecord> std 76 libcore/FreetypeGlyphsProvider.h static std::auto_ptr<FreetypeGlyphsProvider> createFace( std 77 libcore/FreetypeGlyphsProvider.h const std::string& name, bool bold, bool italic); std 104 libcore/FreetypeGlyphsProvider.h std::auto_ptr<SWF::ShapeRecord> getGlyph(boost::uint16_t code, std 126 libcore/FreetypeGlyphsProvider.h FreetypeGlyphsProvider(const std::string& fontname, bool bold, bool italic); std 155 libcore/FreetypeGlyphsProvider.h bool getFontFilename(const std::string& name, bool bold, bool italic, std 156 libcore/FreetypeGlyphsProvider.h std::string& filename); std 154 libcore/Function.cpp std::for_each(_scopeStack.begin(), _scopeStack.end(), std 155 libcore/Function.cpp std::mem_fun(&as_object::setReachable)); std 67 libcore/Function.h typedef std::vector<as_object*> ScopeStack; std 137 libcore/Function.h std::vector<Argument> _args; std 78 libcore/Geometry.cpp float sqrt_rad = std::sqrt(rad); std 197 libcore/Geometry.cpp thickness *= std::max(xScale, yScale); std 126 libcore/Geometry.h return std::sqrt(square); std 184 libcore/Geometry.h std::vector<Edge> m_edges; std 462 libcore/Geometry.h std::vector<Edge>::iterator it = m_edges.begin(), ie = m_edges.end(); std 573 libcore/Geometry.h bool pointTest(const std::vector<Path>& paths, std 574 libcore/Geometry.h const std::vector<LineStyle>& lineStyles, boost::int32_t x, std 28 libcore/HostInterface.cpp std::ostream& std 34 libcore/HostInterface.cpp std::ostream& std 40 libcore/HostInterface.cpp std::ostream& std 44 libcore/HostInterface.cpp Wrapper(std::ostream& os) : _os(os << "<") {} std 46 libcore/HostInterface.cpp std::ostream& _os; std 67 libcore/HostInterface.h explicit CustomMessage(const std::string& s, std 73 libcore/HostInterface.h const std::string& name() const { return _name; } std 76 libcore/HostInterface.h std::string _name; std 200 libcore/HostInterface.h virtual void notify(const std::string& cmd, const std::string& arg) = 0; std 232 libcore/HostInterface.h std::ostream& operator<<(std::ostream& os, const HostMessage& m); std 233 libcore/HostInterface.h std::ostream& operator<<(std::ostream& os, const CustomMessage& m); std 236 libcore/HostInterface.h std::ostream& operator<<(std::ostream& os, HostMessage::KnownEvent e); std 79 libcore/InteractiveObject.h virtual StaticText* getStaticText(std::vector<const SWF::TextRecord*>&, std 48 libcore/LoadVariablesThread.cpp std::string toparse; std 62 libcore/LoadVariablesThread.cpp std::string chunk(buf.get(), bytesRead); std 79 libcore/LoadVariablesThread.cpp std::string chunk(ptr, dataSize); std 89 libcore/LoadVariablesThread.cpp if ( lastamp != std::string::npos ) std 91 libcore/LoadVariablesThread.cpp std::string parseable = toparse.substr(0, lastamp); std 54 libcore/LoadVariablesThread.h typedef std::map<std::string, std::string> ValuesMap; std 78 libcore/LoadVariablesThread.h const std::string& postdata); std 185 libcore/LoadVariablesThread.h size_t parse(const std::string& str) std 201 libcore/LoadVariablesThread.h std::auto_ptr<IOChannel> _stream; std 203 libcore/LoadVariablesThread.h std::auto_ptr<boost::thread> _thread; std 73 libcore/Movie.h virtual const std::string& url() const = 0; std 89 libcore/Movie.h virtual SWF::DefinitionTag* exportedCharacter(const std::string& /*s*/) { std 217 libcore/MovieClip.cpp typedef std::vector<DisplayObject*> Candidates; std 446 libcore/MovieClip.cpp typedef std::vector<const DisplayObject*> Candidates; std 548 libcore/MovieClip.cpp std::string fspecStr = frame_spec.to_string(); std 703 libcore/MovieClip.cpp std::auto_ptr<ExecutableCode> code (get_event_handler(id)); std 914 libcore/MovieClip.cpp std::auto_ptr<ExecutableCode> code(new GlobalCode(a, this)); std 1530 libcore/MovieClip.cpp TextFields::iterator lastValid = std::remove_if(v.begin(), v.end(), std 1708 libcore/MovieClip.cpp std::auto_ptr<ExecutableCode> code(new ConstructEvent(this)); std 1800 libcore/MovieClip.cpp std::string postdata; std 1820 libcore/MovieClip.cpp std::string qs = url.querystring(); std 1870 libcore/MovieClip.cpp const std::string& name = it->first; std 1871 libcore/MovieClip.cpp const std::string& val = it->second; std 1961 libcore/MovieClip.cpp std::for_each(tfs.begin(), tfs.end(), std 89 libcore/MovieClip.h typedef std::vector<TextField*> TextFields; std 92 libcore/MovieClip.h typedef std::map<ObjectURI, TextFields, ObjectURI::LessThan> std 95 libcore/MovieClip.h typedef std::map<std::string, std::string> MovieVariables; std 97 libcore/MovieClip.h typedef std::list<const action_buffer*> ActionList; std 226 libcore/MovieClip.h void setDropTarget(const std::string& tgt) { std 230 libcore/MovieClip.h const std::string& getDropTarget() const { std 265 libcore/MovieClip.h bool goto_labeled_frame(const std::string& label); std 439 libcore/MovieClip.h void loadVariables(const std::string& urlstr, std 493 libcore/MovieClip.h MovieClip* duplicateMovieClip(const std::string& newname, std 743 libcore/MovieClip.h std::auto_ptr<TextFieldIndex> _text_variables; std 745 libcore/MovieClip.h std::string _droptarget; std 117 libcore/MovieFactory.cpp const std::string& cache_label = real_url ? URL(real_url).str() : url.str(); std 180 libcore/MovieFactory.cpp if (std::equal(buf, buf + 3, "\xff\xd8\xff")) { std 187 libcore/MovieFactory.cpp if (std::equal(buf, buf + 3, "\x89PN")) { std 193 libcore/MovieFactory.cpp if (std::equal(buf, buf + 3, "GIF")) { std 199 libcore/MovieFactory.cpp if (std::equal(buf, buf + 3, "FWS") || std::equal(buf, buf + 3, "CWS")) { std 205 libcore/MovieFactory.cpp if (std::equal(buf, buf + 3, "FLV")) { std 210 libcore/MovieFactory.cpp if (std::equal(buf, buf + 2, "MZ")) { std 228 libcore/MovieFactory.cpp in.seek(in.tell() - static_cast<std::streamoff>(3)); std 245 libcore/MovieFactory.cpp const std::string& absURL = URL(url).str(); std 270 libcore/MovieFactory.cpp std::auto_ptr<image::GnashImage> im( std 298 libcore/MovieFactory.cpp std::auto_ptr<IOChannel> in; std 319 libcore/MovieFactory.cpp const std::string& movie_url = reset_url ? reset_url : url.str(); std 87 libcore/MovieFactory.h const std::string* postdata = 0); std 114 libcore/MovieFactory.h std::auto_ptr<IOChannel> in, const std::string& url, std 48 libcore/MovieLibrary.h typedef std::map<std::string, LibraryItem> LibraryContainer; std 67 libcore/MovieLibrary.h bool get(const std::string& key, std 79 libcore/MovieLibrary.h void add(const std::string& key, movie_definition* mov) std 122 libcore/MovieLibrary.h _map.erase(std::min_element(_map.begin(), _map.end(), std 132 libcore/MovieLoader.cpp const std::string* postdata = usePost ? &(r.getPostData()) : 0; std 227 libcore/MovieLoader.cpp const std::string& target = r.getTarget(); std 322 libcore/MovieLoader.cpp std::auto_ptr<ExecutableCode> code( std 428 libcore/MovieLoader.cpp const std::string& qs = url.querystring(); std 429 libcore/MovieLoader.cpp std::string varsToSend(qs.empty() ? "?" : "&"); std 436 libcore/MovieLoader.cpp const std::string* postdata = (method == MovieClip::METHOD_POST) ? &data std 493 libcore/MovieLoader.cpp std::for_each(_requests.begin(), _requests.end(), std 75 libcore/MovieLoader.h void loadMovie(const std::string& url, const std::string& target, std 76 libcore/MovieLoader.h const std::string& data, MovieClip::VariablesMethod method, std 95 libcore/MovieLoader.h Request(const URL& u, const std::string& t, std 96 libcore/MovieLoader.h const std::string* postdata, as_object* handler) std 112 libcore/MovieLoader.h const std::string& getTarget() const { return _target; } std 114 libcore/MovieLoader.h const std::string& getPostData() const { return _postData; } std 170 libcore/MovieLoader.h std::string _target; std 173 libcore/MovieLoader.h std::string _postData; std 208 libcore/MovieLoader.h std::auto_ptr<boost::thread> _thread; std 81 libcore/ObjectURI.h const std::string& toString(string_table& st) const { std 169 libcore/ObjectURI.h std::string operator()(const ObjectURI& uri) const { std 174 libcore/ObjectURI.h std::string debug(const ObjectURI& uri) const { std 175 libcore/ObjectURI.h std::stringstream ss; std 143 libcore/PropFlags.h inline std::ostream& std 144 libcore/PropFlags.h operator<<(std::ostream& os, const PropFlags& fl) std 153 libcore/PropertyList.cpp std::pair<bool,bool> std 159 libcore/PropertyList.cpp return std::make_pair(false, false); std 164 libcore/PropertyList.cpp return std::make_pair(true, false); std 168 libcore/PropertyList.cpp return std::make_pair(true, true); std 87 libcore/PropertyList.h typedef std::set<ObjectURI, ObjectURI::LessThan> PropertyTracker; std 212 libcore/PropertyList.h std::pair<bool,bool> delProperty(const ObjectURI& uri); std 299 libcore/PropertyList.h std::for_each(_props.begin(), _props.end(), std 27 libcore/RGBA.cpp std::string std 30 libcore/RGBA.cpp std::stringstream ss; std 47 libcore/RGBA.cpp std::stringstream ss(color); std 50 libcore/RGBA.cpp if (!(ss >> std::hex >> hexnumber)) { std 61 libcore/RGBA.cpp std::ostream& std 114 libcore/RGBA.h std::string toShortString() const; std 116 libcore/RGBA.h friend std::ostream& operator<< (std::ostream& os, const rgba& r); std 133 libcore/RGBA.h std::ostream& operator<< (std::ostream& os, const rgba& r); std 140 libcore/RGBA.h rgba colorFromHexString(const std::string& color); std 124 libcore/RunResources.h void setRenderBackend(const std::string& x) { _renderer_backend = x; } std 125 libcore/RunResources.h std::string& getRenderBackend() { return _renderer_backend; } std 130 libcore/RunResources.h std::string& getHWAccelBackend() { return _hwaccel_backend; } std 131 libcore/RunResources.h void setHWAccelBackend(const std::string& x) { _hwaccel_backend = x; } std 150 libcore/RunResources.h std::string _hwaccel_backend; std 155 libcore/RunResources.h std::string _renderer_backend; std 79 libcore/SWFCxForm.cpp std::ostream& std 86 libcore/SWFCxForm.cpp << std::endl std 87 libcore/SWFCxForm.cpp << "| r: * " << std::setw(fieldWidth) << cx.ra std 88 libcore/SWFCxForm.cpp << " + " << std::setw(fieldWidth) << cx.rb << " |" std 89 libcore/SWFCxForm.cpp << std::endl std 90 libcore/SWFCxForm.cpp << "| g: * " << std::setw(fieldWidth) << cx.ga std 91 libcore/SWFCxForm.cpp << " + " << std::setw(fieldWidth) << cx.gb << " |" std 92 libcore/SWFCxForm.cpp << std::endl std 93 libcore/SWFCxForm.cpp << "| b: * " << std::setw(fieldWidth) << cx.ba std 94 libcore/SWFCxForm.cpp << " + " << std::setw(fieldWidth) << cx.bb << " |" std 95 libcore/SWFCxForm.cpp << std::endl std 96 libcore/SWFCxForm.cpp << "| a: * " << std::setw(fieldWidth) << cx.aa std 97 libcore/SWFCxForm.cpp << " + " << std::setw(fieldWidth) << cx.ab << " |"; std 107 libcore/SWFCxForm.h std::ostream& operator<<(std::ostream& os, const SWFCxForm& cx); std 52 libcore/SWFMatrix.cpp return std::atan2(b, a); std 60 libcore/SWFMatrix.cpp return std::atan2(-c, d); std 180 libcore/SWFMatrix.cpp const double cos_angle = std::cos(angle); std 181 libcore/SWFMatrix.cpp const double sin_angle = std::sin(angle); std 192 libcore/SWFMatrix.cpp _a = toFixed16(xscale * std::cos(rot_x)); std 193 libcore/SWFMatrix.cpp _b = toFixed16(xscale * std::sin(rot_x)); std 201 libcore/SWFMatrix.cpp _c = -toFixed16(yscale * std::sin(rot_y)); std 202 libcore/SWFMatrix.cpp _d = toFixed16(yscale * std::cos(rot_y)); std 221 libcore/SWFMatrix.cpp _a = toFixed16(scale_x * std::cos(rotation)); std 222 libcore/SWFMatrix.cpp _b = toFixed16(scale_x * std::sin(rotation)); std 223 libcore/SWFMatrix.cpp _c = -toFixed16(scale_y * std::sin(rot_y - rot_x + rotation)); std 224 libcore/SWFMatrix.cpp _d = toFixed16(scale_y * std::cos(rot_y - rot_x + rotation)); std 293 libcore/SWFMatrix.cpp const double a2 = std::pow(static_cast<double>(a()), 2); std 294 libcore/SWFMatrix.cpp const double b2 = std::pow(static_cast<double>(b()), 2); std 295 libcore/SWFMatrix.cpp return std::sqrt(a2 + b2) / 65536.0; std 301 libcore/SWFMatrix.cpp const double d2 = std::pow(static_cast<double>(d()), 2); std 302 libcore/SWFMatrix.cpp const double c2 = std::pow(static_cast<double>(c()), 2); std 303 libcore/SWFMatrix.cpp return std::sqrt(d2 + c2) / 65536.0; std 326 libcore/SWFMatrix.cpp std::ostream& std 332 libcore/SWFMatrix.cpp o << std::endl << "|" std 333 libcore/SWFMatrix.cpp << std::setw(fieldWidth) << std::fixed << std::setprecision(4) std 335 libcore/SWFMatrix.cpp << std::setw(fieldWidth) << std::fixed << std::setprecision(4) std 337 libcore/SWFMatrix.cpp << std::setw(fieldWidth) << std::fixed << std::setprecision(4) std 339 libcore/SWFMatrix.cpp << std::endl << "|" std 340 libcore/SWFMatrix.cpp << std::setw(fieldWidth) << std::fixed << std::setprecision(4) std 342 libcore/SWFMatrix.cpp << std::setw(fieldWidth) << std::fixed << std::setprecision(4) std 344 libcore/SWFMatrix.cpp << std::setw(fieldWidth) << std::fixed << std::setprecision(4) std 241 libcore/SWFMatrix.h std::ostream& operator<<(std::ostream& o, const SWFMatrix& m); std 72 libcore/SWFMovie.cpp size_t nextframe = std::min<size_t>(get_current_frame() + 2, std 100 libcore/SWFMovie.cpp _characters.insert(std::make_pair(id, false)); std 53 libcore/SWFMovie.h typedef std::map<boost::uint16_t, bool> Characters; std 89 libcore/SWFMovie.h const std::string& url() const { std 108 libcore/SWFMovie.h virtual SWF::DefinitionTag* exportedCharacter(const std::string& symbol); std 70 libcore/SWFRect.cpp _xMin = std::min(_xMin, r.get_x_min()); std 71 libcore/SWFRect.cpp _yMin = std::min(_yMin, r.get_y_min()); std 72 libcore/SWFRect.cpp _xMax = std::max(_xMax, r.get_x_max()); std 73 libcore/SWFRect.cpp _yMax = std::max(_yMax, r.get_y_max()); std 131 libcore/SWFRect.cpp std::string std 134 libcore/SWFRect.cpp std::stringstream ss; std 53 libcore/SWFRect.h friend std::ostream& operator<< (std::ostream& os, const SWFRect& SWFRect); std 198 libcore/SWFRect.h _xMin = std::min(_xMin, x - radius); std 199 libcore/SWFRect.h _yMin = std::min(_yMin, y - radius); std 200 libcore/SWFRect.h _xMax = std::max(_xMax, x + radius); std 201 libcore/SWFRect.h _yMax = std::max(_yMax, y + radius); std 241 libcore/SWFRect.h std::string toString() const; std 248 libcore/SWFRect.h _xMin = std::min(_xMin, x); std 249 libcore/SWFRect.h _yMin = std::min(_yMin, y); std 250 libcore/SWFRect.h _xMax = std::max(_xMax, x); std 251 libcore/SWFRect.h _yMax = std::max(_yMax, y); std 261 libcore/SWFRect.h inline std::ostream& std 262 libcore/SWFRect.h operator<<(std::ostream& os, const SWFRect& r) std 61 libcore/SWFStream.cpp std::stringstream ss; std 441 libcore/SWFStream.cpp std::string::size_type last = to.find_last_not_of('\0'); std 442 libcore/SWFStream.cpp if ( last == std::string::npos ) to.clear(); std 550 libcore/SWFStream.cpp if (tagEnd > static_cast<unsigned int>(std::numeric_limits<signed int>::max())) std 552 libcore/SWFStream.cpp std::stringstream ss; std 579 libcore/SWFStream.cpp _tagBoundsStack.push_back(std::make_pair(tagStart, tagEnd)); std 595 libcore/SWFStream.cpp std::streampos endPos = _tagBoundsStack.back().second; std 271 libcore/SWFStream.h void read_string(std::string& to); std 284 libcore/SWFStream.h void read_string_with_length(std::string& to); std 299 libcore/SWFStream.h void read_string_with_length(unsigned len, std::string& to); std 396 libcore/SWFStream.h std::stringstream ss; std 427 libcore/SWFStream.h typedef std::pair<unsigned long,unsigned long> TagBoundaries; std 429 libcore/SWFStream.h std::vector<TagBoundaries> _tagBoundsStack; std 68 libcore/StaticText.h virtual StaticText* getStaticText(std::vector<const SWF::TextRecord*>& to, std 266 libcore/TextField.cpp const std::vector<point> line = boost::assign::list_of std 311 libcore/TextField.cpp const std::vector<point> coords = boost::assign::list_of std 398 libcore/TextField.cpp std::string::const_iterator rit = restrict.begin(); std 399 libcore/TextField.cpp std::string::const_iterator re = restrict.end(); std 400 libcore/TextField.cpp std::set<wchar_t>::const_iterator locate; std 484 libcore/TextField.cpp const std::wstring& wstr = utf8::decodeCanonicalString(replace, version); std 498 libcore/TextField.cpp _selection = std::make_pair(start + replaceLength, start + replaceLength); std 505 libcore/TextField.cpp _selection = std::make_pair(0, 0); std 512 libcore/TextField.cpp else start = std::min<size_t>(start, textLength); std 515 libcore/TextField.cpp else end = std::min<size_t>(end, textLength); std 521 libcore/TextField.cpp if (start > end) std::swap(start, end); std 523 libcore/TextField.cpp _selection = std::make_pair(start, end); std 564 libcore/TextField.cpp std::wstring s = _text; std 578 libcore/TextField.cpp m_cursor = std::min<size_t>(m_cursor, _text.size()); std 794 libcore/TextField.cpp const std::wstring& wstr = utf8::decodeCanonicalString(str, version); std 808 libcore/TextField.cpp _selection.first = std::min(_selection.first, _text.size()); std 809 libcore/TextField.cpp _selection.second = std::min(_selection.second, _text.size()); std 851 libcore/TextField.cpp std::string std 867 libcore/TextField.cpp std::string std 974 libcore/TextField.cpp std::vector<int> tabStops = _tabStops; std 976 libcore/TextField.cpp std::sort(_tabStops.begin(), _tabStops.end()); std 1073 libcore/TextField.cpp std::max(0, leftMargin + indent + blockIndent)); std 1126 libcore/TextField.cpp std::wstring::const_iterator it = _text.begin(); std 1127 libcore/TextField.cpp const std::wstring::const_iterator e = _text.end(); std 1233 libcore/TextField.cpp x = std::max(0, getLeftMargin() + getIndent() + getBlockIndent()) + std 1385 libcore/TextField.cpp std::wstring discard; std 1386 libcore/TextField.cpp std::map<std::string,std::string> attributes; std 1396 libcore/TextField.cpp std::string s(discard.begin(), discard.end()); std 1398 libcore/TextField.cpp std::map<std::string,std::string>::const_iterator attloc; std 1444 libcore/TextField.cpp std::string hexval(attloc->second); std 1479 libcore/TextField.cpp std::string firstchar = attloc->second.substr(0,1); std 1483 libcore/TextField.cpp (pixelsToTwips(std::strtol( std 1489 libcore/TextField.cpp _fontHeight += pixelsToTwips(std::strtol( std 1494 libcore/TextField.cpp (pixelsToTwips(std::strtol( std 1500 libcore/TextField.cpp _fontHeight -= pixelsToTwips(std::strtol( std 1504 libcore/TextField.cpp newrec.setTextHeight(pixelsToTwips(std::strtol( std 1508 libcore/TextField.cpp _fontHeight = pixelsToTwips(std::strtol( std 1569 libcore/TextField.cpp std::vector<int> originaltabstops = getTabStops(); std 1573 libcore/TextField.cpp setBlockIndent(pixelsToTwips(std::strtol( std 1575 libcore/TextField.cpp if (newrec.xOffset() == std::max(0, originalleftmargin + std 1578 libcore/TextField.cpp x = std::max(0, getLeftMargin() + std 1587 libcore/TextField.cpp setIndent(pixelsToTwips(std::strtol( std 1589 libcore/TextField.cpp if (newrec.xOffset() == std::max(0, originalleftmargin + std 1592 libcore/TextField.cpp x = std::max(0, getLeftMargin() + std 1601 libcore/TextField.cpp setLeading(pixelsToTwips(std::strtol( std 1607 libcore/TextField.cpp setLeftMargin(pixelsToTwips(std::strtol( std 1609 libcore/TextField.cpp if (newrec.xOffset() == std::max(0, originalleftmargin + std 1612 libcore/TextField.cpp x = std::max(0, getLeftMargin() + std 1621 libcore/TextField.cpp setRightMargin(pixelsToTwips(std::strtol( std 1802 libcore/TextField.cpp x = std::max(0, getLeftMargin() + getBlockIndent()) + PADDING_TWIPS; std 1922 libcore/TextField.cpp std::string parsedName = variableName; std 1923 libcore/TextField.cpp std::string path, var; std 2045 libcore/TextField.cpp tag.push_back(std::toupper(*it)); std 2070 libcore/TextField.cpp std::string attname; std 2071 libcore/TextField.cpp std::string attvalue; std 2089 libcore/TextField.cpp attname.push_back(std::toupper(*it)); std 2113 libcore/TextField.cpp attvalue.push_back(std::toupper(*it)); std 2127 libcore/TextField.cpp attributes.insert(std::make_pair(attname, attvalue)); std 2272 libcore/TextField.cpp std::for_each(_displayRecords.begin(), _displayRecords.end(), std 50 libcore/TextField.h typedef std::vector<size_t> LineStarts; std 130 libcore/TextField.h const std::string& getVariableName() const std 141 libcore/TextField.h void set_variable_name(const std::string& newname); std 149 libcore/TextField.h void updateText(const std::string& s); std 152 libcore/TextField.h std::string get_text_value() const; std 155 libcore/TextField.h std::string get_htmltext_value() const; std 168 libcore/TextField.h const std::pair<size_t, size_t>& getSelection() const { std 175 libcore/TextField.h void replaceSelection(const std::string& replace); std 349 libcore/TextField.h static TypeValue parseTypeValue(const std::string& val); std 499 libcore/TextField.h const std::vector<int>& getTabStops() const std 509 libcore/TextField.h const std::string& getRestrict() const std 540 libcore/TextField.h void setTabStops(const std::vector<int>& tabStops); std 542 libcore/TextField.h void setURL(std::string url); std 543 libcore/TextField.h void setTarget(std::string target); std 544 libcore/TextField.h void setRestrict(const std::string& restrict); std 581 libcore/TextField.h void setTextValue(const std::wstring& wstr); std 593 libcore/TextField.h void updateText(const std::wstring& s); std 595 libcore/TextField.h void updateHtmlText(const std::wstring& s); std 631 libcore/TextField.h void handleChar(std::wstring::const_iterator& it, std 632 libcore/TextField.h const std::wstring::const_iterator& e, boost::int32_t& x, std 647 libcore/TextField.h bool parseHTML(std::wstring& tag, std 648 libcore/TextField.h std::map<std::string, std::string>& attributes, std 649 libcore/TextField.h std::wstring::const_iterator& it, std 650 libcore/TextField.h const std::wstring::const_iterator& e, std 678 libcore/TextField.h typedef std::pair<as_object*, ObjectURI> VariableRef; std 684 libcore/TextField.h VariableRef parseTextVariableRef(const std::string& variableName) const; std 703 libcore/TextField.h std::wstring _text; std 707 libcore/TextField.h std::wstring _htmlText; std 712 libcore/TextField.h typedef std::vector<SWF::TextRecord> TextRecords; std 715 libcore/TextField.h std::vector<size_t> _recordStarts; std 719 libcore/TextField.h std::string _url; std 720 libcore/TextField.h std::string _target; std 721 libcore/TextField.h std::string _restrict; std 722 libcore/TextField.h std::set<wchar_t> _restrictedchars; std 724 libcore/TextField.h std::vector<int> _tabStops; std 732 libcore/TextField.h std::string _variable_name; std 769 libcore/TextField.h std::pair<size_t, size_t> _selection; std 72 libcore/Timers.cpp _start = std::numeric_limits<unsigned long>::max(); std 128 libcore/Timers.h return _start == std::numeric_limits<unsigned long>::max(); std 144 libcore/Video.cpp std::auto_ptr<image::GnashImage> tmp = _ns->get_video(); std 126 libcore/Video.h std::auto_ptr<image::GnashImage> _lastDecodedVideoFrame; std 133 libcore/Video.h std::auto_ptr<media::VideoDecoder> _decoder; std 287 libcore/abc/AbcBlock.cpp std::ostream& std 324 libcore/abc/AbcBlock.cpp std::for_each(_classes.begin(), _classes.end(), std 325 libcore/abc/AbcBlock.cpp std::mem_fun(&abc::Class::initPrototype)); std 335 libcore/abc/AbcBlock.cpp std::for_each(_scripts.begin(), _scripts.end(), std 338 libcore/abc/AbcBlock.cpp std::for_each(_methods.begin(), _methods.end(), std 343 libcore/abc/AbcBlock.cpp std::for_each(_methods.begin(), _methods.end(), std 345 libcore/abc/AbcBlock.cpp std::for_each(_classes.begin(), _classes.end(), std 347 libcore/abc/AbcBlock.cpp std::for_each(_scripts.begin(), _scripts.end(), std 387 libcore/abc/AbcBlock.cpp std::string name = _stringPool[ABCName]; std 398 libcore/abc/AbcBlock.cpp std::string name = _stringPool[ABCName]; std 408 libcore/abc/AbcBlock.cpp const std::string::size_type pos = className.rfind("."); std 412 libcore/abc/AbcBlock.cpp const std::string& nsstr = (pos != std::string::npos) ? std 415 libcore/abc/AbcBlock.cpp const std::string& clstr = (pos != std::string::npos) ? std 420 libcore/abc/AbcBlock.cpp for (std::vector<Namespace*>::iterator i = _namespacePool.begin(); std 447 libcore/abc/AbcBlock.cpp std::vector<Namespace*>::const_iterator i; std 800 libcore/abc/AbcBlock.cpp const std::string& rt = return_type ? std 834 libcore/abc/AbcBlock.cpp const std::string& pt = return_type ? std 1211 libcore/abc/AbcBlock.cpp std::string body; std 1354 libcore/abc/AbcBlock.cpp std::ostream& std 1378 libcore/abc/AbcBlock.cpp std::ostream& std 1404 libcore/abc/AbcBlock.cpp std::ostream& std 1424 libcore/abc/AbcBlock.cpp std::ostream& std 153 libcore/abc/AbcBlock.h std::ostream& operator<<(std::ostream& o, const Trait::Kind k); std 161 libcore/abc/AbcBlock.h throw std::range_error("Attempt to access pool out of range"); std 256 libcore/abc/AbcBlock.h typedef std::vector<Namespace*> NamespaceSet; std 262 libcore/abc/AbcBlock.h abc::Class* locateClass(const std::string& className); std 271 libcore/abc/AbcBlock.h const std::vector<abc::Class*>& scripts() const { std 280 libcore/abc/AbcBlock.h const std::string& stringPoolAt(size_t i) const { std 348 libcore/abc/AbcBlock.h std::vector<boost::int32_t> _integerPool; std 349 libcore/abc/AbcBlock.h std::vector<boost::uint32_t> _uIntegerPool; std 350 libcore/abc/AbcBlock.h std::vector<double> _doublePool; std 351 libcore/abc/AbcBlock.h std::vector<std::string> _stringPool; std 352 libcore/abc/AbcBlock.h std::vector<Namespace*> _namespacePool; std 353 libcore/abc/AbcBlock.h std::vector<NamespaceSet> _namespaceSetPool; std 354 libcore/abc/AbcBlock.h std::vector<Method*> _methods; std 355 libcore/abc/AbcBlock.h std::vector<MultiName> _multinamePool; std 356 libcore/abc/AbcBlock.h std::vector<Class*> _classes; std 357 libcore/abc/AbcBlock.h std::vector<Class*> _scripts; std 370 libcore/abc/AbcBlock.h std::ostream& operator<<(std::ostream& o, AbcBlock::NamespaceConstant c); std 371 libcore/abc/AbcBlock.h std::ostream& operator<<(std::ostream& o, AbcBlock::MethodConstant c); std 372 libcore/abc/AbcBlock.h std::ostream& operator<<(std::ostream& o, AbcBlock::InstanceConstant c); std 373 libcore/abc/AbcBlock.h std::ostream& operator<<(std::ostream& o, AbcBlock::PoolConstant c); std 81 libcore/abc/Class.cpp std::for_each(_instanceTraits.begin(), _instanceTraits.end(), std 84 libcore/abc/Class.cpp std::for_each(_staticTraits.begin(), _staticTraits.end(), std 260 libcore/abc/Class.h _bindings.insert(std::make_pair(name, b)); std 265 libcore/abc/Class.h _staticBindings.insert(std::make_pair(name, b)); std 279 libcore/abc/Class.h std::vector<Trait> _instanceTraits; std 282 libcore/abc/Class.h std::vector<Trait> _staticTraits; std 285 libcore/abc/Class.h typedef std::map<string_table::key, Property> BindingContainer; std 293 libcore/abc/Class.h std::list<Class*> _interfaces; std 39 libcore/abc/CodeStream.h class CodeStream : public std::istream, private boost::noncopyable std 42 libcore/abc/CodeStream.h CodeStream(std::string data): std::istream(new std::stringbuf(data)){ std 61 libcore/abc/Method.cpp std::stringstream ss("Method Body:"); std 64 libcore/abc/Method.cpp ss << "0x" << std::uppercase << std::hex << (opcode | 0x0) << " "; std 83 libcore/abc/Method.cpp std::for_each(_traits.begin(), _traits.end(), std 56 libcore/abc/Method.h typedef std::list<Class*> ArgumentList; std 271 libcore/abc/Method.h typedef std::map<string_table::key, asBinding> BindingContainer; std 275 libcore/abc/Method.h std::vector<Trait> _traits; std 285 libcore/abc/Method.h std::list<as_value> _optionalArguments; std 108 libcore/abc/MultiName.h void namespaceSet(std::vector<Namespace*>* v) { std 112 libcore/abc/MultiName.h const std::vector<Namespace*>* namespaceSet() const { std 129 libcore/abc/MultiName.h std::vector<Namespace*>* _namespaceSet; std 44 libcore/abc/Namespace.cpp std::ostringstream s; std 85 libcore/abc/Namespace.h _scripts[static_cast<std::size_t>(name)] = a; std 127 libcore/abc/Namespace.h typedef std::map<string_table::key, Class*> container; std 34 libcore/abc/as_class.cpp const std::string& std 54 libcore/abc/as_class.h virtual const std::string& stringValue() const; std 60 libcore/abc/as_class.h const std::string _name; std 163 libcore/as_environment.cpp std::string subpart; std 294 libcore/as_environment.cpp std::string path; std 295 libcore/as_environment.cpp std::string var; std 313 libcore/as_environment.cpp if (varname.find('/') != std::string::npos && std 314 libcore/as_environment.cpp varname.find(':') == std::string::npos) { std 337 libcore/as_environment.cpp std::string path; std 338 libcore/as_environment.cpp std::string var; std 362 libcore/as_environment.cpp assert(varname.find_first_of(":/.") == std::string::npos); std 373 libcore/as_environment.cpp std::pair<bool, bool> ret = obj->delProperty(varkey); std 386 libcore/as_environment.cpp std::pair<bool, bool> ret = getObject(ctx.target())->delProperty(varkey); std 402 libcore/as_environment.cpp if (lastDotOrColon == std::string::npos) return false; std 404 libcore/as_environment.cpp const std::string p(var_path_in, 0, lastDotOrColon); std 405 libcore/as_environment.cpp const std::string v(var_path_in, lastDotOrColon + 1, var_path_in.size()); std 432 libcore/as_environment.cpp varname.find_first_of(":.", 1) == std::string::npos) { std 435 libcore/as_environment.cpp return (varname.find(":::") == std::string::npos); std 55 libcore/as_environment.h typedef std::vector<as_object*> ScopeStack; std 114 libcore/as_environment.h _stack.drop(std::min(count, _stack.size())); std 153 libcore/as_environment.h as_value getVariable(const as_environment& ctx, const std::string& varname, std 167 libcore/as_environment.h void setVariable(const as_environment& ctx, const std::string& path, std 175 libcore/as_environment.h bool delVariable(const as_environment& ctx, const std::string& varname, std 196 libcore/as_environment.h bool parsePath(const std::string& var_path, std::string& path, std 197 libcore/as_environment.h std::string& var); std 208 libcore/as_environment.h as_object* findObject(const as_environment& ctx, const std::string& path, std 219 libcore/as_environment.h DisplayObject* findTarget(const as_environment& env, const std::string& path); std 41 libcore/as_function.cpp std::string std 81 libcore/as_function.h virtual std::string stringValue() const; std 103 libcore/as_object.cpp std::set<const as_object*> _visited; std 269 libcore/as_object.cpp _to.push_back(std::make_pair(uri, val)); std 309 libcore/as_object.cpp std::string std 315 libcore/as_object.cpp std::pair<bool,bool> std 413 libcore/as_object.cpp const std::string& undefinedName = st.value(getName(uri)); std 760 libcore/as_object.cpp if (std::find(_interfaces.begin(), _interfaces.end(), obj) == std 794 libcore/as_object.cpp std::set<as_object*> visited; std 814 libcore/as_object.cpp if (std::find(thisProto->_interfaces.begin(), std 837 libcore/as_object.cpp std::set<as_object*> visited; std 871 libcore/as_object.cpp std::string propstr = props_val.to_string(); std 875 libcore/as_object.cpp std::string prop; std 877 libcore/as_object.cpp if (next_comma == std::string::npos) { std 888 libcore/as_object.cpp if (next_comma == std::string::npos) { std 915 libcore/as_object.cpp std::set<const as_object*> visited; std 947 libcore/as_object.cpp std::string std 952 libcore/as_object.cpp std::string data; std 958 libcore/as_object.cpp const std::string& name = i->first.toString(st); std 959 libcore/as_object.cpp const std::string& value = i->second.to_string(); std 978 libcore/as_object.cpp std::string propname = getStringTable(*this).value(getName(uri)); std 985 libcore/as_object.cpp std::make_pair(uri, Trigger(propname, trig, cust))).second; std 1025 libcore/as_object.cpp std::for_each(_interfaces.begin(), _interfaces.end(), std 1026 libcore/as_object.cpp std::mem_fun(&as_object::setReachable)); std 1076 libcore/as_object.cpp std::set<as_object*> visited; std 64 libcore/as_object.h Trigger(const std::string& propname, as_function& trig, std 106 libcore/as_object.h std::string _propname; std 188 libcore/as_object.h virtual std::string stringValue() const; std 242 libcore/as_object.h void init_member(const std::string& name, const as_value& val, std 284 libcore/as_object.h void init_property(const std::string& key, as_function& getter, std 302 libcore/as_object.h void init_property(const std::string& key, as_c_function_ptr getter, std 378 libcore/as_object.h void init_readonly_property(const std::string& key, as_function& getter, std 394 libcore/as_object.h void init_readonly_property(const std::string& key, std 451 libcore/as_object.h std::pair<bool, bool> delProperty(const ObjectURI& uri); std 574 libcore/as_object.h void add_property(const std::string& key, as_function& getter, std 723 libcore/as_object.h std::vector<as_object*> _interfaces; std 725 libcore/as_object.h typedef std::map<ObjectURI, Trigger, ObjectURI::LessThan> TriggerContainer; std 824 libcore/as_object.h std::string getURLEncodedVars(as_object& o); std 888 libcore/as_object.h typedef std::vector<std::pair<ObjectURI, as_value> > SortedPropertyList; std 96 libcore/as_value.cpp std::istringstream is(s); std 102 libcore/as_value.cpp is >> std::oct; std 105 libcore/as_value.cpp is >> std::hex; std 124 libcore/as_value.cpp return (!std::isdigit(c) && c != '.' && c != '-' && c != '+'); std 167 libcore/as_value.cpp if (!std::isdigit(*si)) { std 190 libcore/as_value.cpp std::string::const_iterator si = std 191 libcore/as_value.cpp std::find_if(start, last, NonNumericChar()); std 200 libcore/as_value.cpp return boost::lexical_cast<double>(std::string(start, last)); std 206 libcore/as_value.cpp std::string std 326 libcore/as_value.cpp const std::string& s = getStr(); std 337 libcore/as_value.cpp std::istringstream is(s); std 354 libcore/as_value.cpp const std::string::size_type pos = std 357 libcore/as_value.cpp if (pos == std::string::npos) return NaN; std 646 libcore/as_value.cpp std::abort(); std 681 libcore/as_value.cpp std::abort(); std 797 libcore/as_value.cpp const std::string::size_type slen = s.length(); std 807 libcore/as_value.cpp std::string::size_type start = 2; std 817 libcore/as_value.cpp s.find_first_not_of("01234567", 1) == std::string::npos) { std 819 libcore/as_value.cpp std::string::size_type start = 0; std 833 libcore/as_value.cpp std::string std 876 libcore/as_value.cpp std::ostringstream ostr; std 881 libcore/as_value.cpp ostr.imbue(std::locale::classic()); std 885 libcore/as_value.cpp if (std::abs(val) < 0.0001 && std::abs(val) >= 0.00001) { std 888 libcore/as_value.cpp ostr << std::fixed << std::setprecision(19) << val; std 890 libcore/as_value.cpp std::string str = ostr.str(); std 893 libcore/as_value.cpp std::string::size_type pos = str.find_last_not_of('0'); std 894 libcore/as_value.cpp if (pos != std::string::npos) { std 900 libcore/as_value.cpp ostr << std::setprecision(15) << val; std 902 libcore/as_value.cpp std::string str = ostr.str(); std 905 libcore/as_value.cpp std::string::size_type pos = str.find("e", 0); std 907 libcore/as_value.cpp if (pos != std::string::npos && str.at(pos + 2) == '0') { std 918 libcore/as_value.cpp double left = std::floor(val); std 921 libcore/as_value.cpp std::string str; std 922 libcore/as_value.cpp const std::string digits = "0123456789abcdefghijklmnopqrstuvwxyz"; std 927 libcore/as_value.cpp left = std::floor(left / radix); std 933 libcore/as_value.cpp std::reverse(str.begin(), str.end()); std 1035 libcore/as_value.cpp std::ostream& std 1047 libcore/as_value.cpp return o << "[bool:" << std::boolalpha << v.getBool() << "]"; std 1053 libcore/as_value.cpp const std::string desc = obj->array() ? "array" : std 53 libcore/as_value.h static const double NaN = std::numeric_limits<double>::quiet_NaN(); std 152 libcore/as_value.h _value(std::string(str)) std 156 libcore/as_value.h DSOEXPORT as_value(const std::string& str) std 159 libcore/as_value.h _value(std::string(str)) std 196 libcore/as_value.h friend std::ostream& operator<<(std::ostream& o, const as_value&); std 234 libcore/as_value.h std::string to_string(int version = 7) const; std 317 libcore/as_value.h void set_string(const std::string& str); std 477 libcore/as_value.h const std::string& getStr() const { std 479 libcore/as_value.h return boost::get<std::string>(_value); std 485 libcore/as_value.h std::ostream& operator<<(std::ostream& os, const as_value& v); std 503 libcore/as_value.h std::string doubleToString(double val, int radix = 10); std 518 libcore/as_value.h bool parseNonDecimalInt(const std::string& s, double& d, bool whole = true); std 57 libcore/asobj/ASConversions.cpp const double a = std::cos(r) * w * 2; std 58 libcore/asobj/ASConversions.cpp const double b = std::sin(r) * h * 2; std 59 libcore/asobj/ASConversions.cpp const double c = -std::sin(r) * w * 2; std 60 libcore/asobj/ASConversions.cpp const double d = std::cos(r) * h * 2; std 106 libcore/asobj/ASConversions.cpp if (d > std::numeric_limits<boost::int16_t>::max() || std 107 libcore/asobj/ASConversions.cpp d < std::numeric_limits<boost::int16_t>::min()) std 109 libcore/asobj/ASConversions.cpp return std::numeric_limits<boost::int16_t>::min(); std 161 libcore/asobj/Array_as.cpp std::vector<indexed_as_value>& _v; std 199 libcore/asobj/Array_as.cpp typedef std::list<as_value> SortContainer; std 209 libcore/asobj/Array_as.cpp if (std::adjacent_find(v.begin(), v.end(), ave) != v.end()) return false; std 231 libcore/asobj/Array_as.cpp typedef std::list<as_value> SortContainer; std 270 libcore/asobj/Array_as.cpp std::vector<indexed_as_value> v; std 274 libcore/asobj/Array_as.cpp std::sort(v.begin(), v.end(), avc); std 276 libcore/asobj/Array_as.cpp if (std::adjacent_find(v.begin(), v.end(), ave) != v.end()) { std 296 libcore/asobj/Array_as.cpp std::vector<indexed_as_value> v; std 298 libcore/asobj/Array_as.cpp std::sort(v.begin(), v.end(), avc); std 313 libcore/asobj/Array_as.cpp std::string s = a.to_string(getSWFVersion(_fn)); std 321 libcore/asobj/Array_as.cpp std::string c = to_upper_copy(a.to_string(getSWFVersion(_fn))); std 322 libcore/asobj/Array_as.cpp std::string d = to_upper_copy(b.to_string(getSWFVersion(_fn))); std 645 libcore/asobj/Array_as.cpp typedef std::vector<as_cmp_fn> Comps; std 648 libcore/asobj/Array_as.cpp typedef std::vector<ObjectURI> Props; std 667 libcore/asobj/Array_as.cpp std::vector<as_cmp_fn>::iterator cmp = _cmps.begin(); std 755 libcore/asobj/Array_as.cpp std::vector<ObjectURI>& _v; std 796 libcore/asobj/Array_as.cpp std::vector<boost::uint8_t>& _v; std 893 libcore/asobj/Array_as.cpp return getURI(vm, boost::lexical_cast<std::string>(i), true); std 972 libcore/asobj/Array_as.cpp typedef std::vector<as_value> TempContainer; std 1124 libcore/asobj/Array_as.cpp std::vector<ObjectURI> prp; std 1128 libcore/asobj/Array_as.cpp std::vector<as_cmp_fn> cmp; std 1129 libcore/asobj/Array_as.cpp std::vector<as_cmp_fn> eq; std 1148 libcore/asobj/Array_as.cpp std::vector<boost::uint8_t> flgs; std 1154 libcore/asobj/Array_as.cpp std::vector<boost::uint8_t>::const_iterator it = std 1327 libcore/asobj/Array_as.cpp const std::string separator = std 1400 libcore/asobj/Array_as.cpp std::numeric_limits<int>::max(); std 1428 libcore/asobj/Array_as.cpp const int newSize = std::max(toInt(fn.arg(0), getVM(fn)), 0); std 1450 libcore/asobj/Array_as.cpp std::string s; std 1457 libcore/asobj/Array_as.cpp const std::string& index = boost::lexical_cast<std::string>(i); std 1479 libcore/asobj/Array_as.cpp start = std::max(start, 0); std 1482 libcore/asobj/Array_as.cpp end = std::max(start, end); std 1483 libcore/asobj/Array_as.cpp end = std::min<size_t>(end, size); std 1499 libcore/asobj/Array_as.cpp for (std::vector<indexed_as_value>::const_iterator it = elems.begin(); std 1516 libcore/asobj/Array_as.cpp size_t realSize = std::max(size, 0); std 54 libcore/asobj/AsBroadcaster.cpp typedef std::map<ObjectURI&, unsigned long int> Stat; std 62 libcore/asobj/AsBroadcaster.cpp using namespace std; std 63 libcore/asobj/AsBroadcaster.cpp typedef std::map<unsigned long int, ObjectURI&> Sorted; std 70 libcore/asobj/AsBroadcaster.cpp std::cerr std 71 libcore/asobj/AsBroadcaster.cpp << std::setw(10) std 76 libcore/asobj/AsBroadcaster.cpp << std::endl; std 282 libcore/asobj/AsBroadcaster.cpp std::ostringstream ss; fn.dump_args(ss); std 293 libcore/asobj/AsBroadcaster.cpp std::ostringstream ss; fn.dump_args(ss); std 327 libcore/asobj/AsBroadcaster.cpp std::ostringstream ss; fn.dump_args(ss); std 338 libcore/asobj/AsBroadcaster.cpp std::ostringstream ss; fn.dump_args(ss); std 366 libcore/asobj/AsBroadcaster.cpp std::ostringstream s; std 393 libcore/asobj/AsBroadcaster.cpp std::ostringstream ss; fn.dump_args(ss); std 404 libcore/asobj/AsBroadcaster.cpp std::ostringstream ss; fn.dump_args(ss); std 216 libcore/asobj/Camera_as.cpp const std::string& name() const { std 265 libcore/asobj/Camera_as.cpp std::auto_ptr<media::VideoInput> input(handler->getVideoInput(0)); std 304 libcore/asobj/Camera_as.cpp const size_t reqWidth = std::max<double>(width, 0); std 305 libcore/asobj/Camera_as.cpp const size_t reqHeight = std::max<double>(height, 0); std 443 libcore/asobj/Camera_as.cpp std::ostringstream ss; std 532 libcore/asobj/Camera_as.cpp std::vector<std::string> names; std 196 libcore/asobj/Color_as.cpp std::ostringstream ss; fn.dump_args(ss); std 165 libcore/asobj/Date_as.cpp std::string std 322 libcore/asobj/Date_as.cpp if (value < std::numeric_limits<T>::min() || std 323 libcore/asobj/Date_as.cpp value > std::numeric_limits<T>::max()) std 325 libcore/asobj/Date_as.cpp target = std::numeric_limits<T>::min(); std 732 libcore/asobj/Date_as.cpp if (!isFinite(d) || std::abs(d) > magicMaxValue) { std 737 libcore/asobj/Date_as.cpp date->setTimeValue(d < 0 ? std::ceil(d) : std::floor(d)); std 1443 libcore/asobj/Date_as.cpp gt.millisecond = std::fmod(time, 1000.0); std 1450 libcore/asobj/Date_as.cpp static_cast<boost::int32_t>(std::fmod(time, 86400.0)); std 43 libcore/asobj/Date_as.h std::string toString() const; std 301 libcore/asobj/Global_as.cpp std::numeric_limits<double>::infinity())); std 441 libcore/asobj/Global_as.cpp std::string input = fn.arg(0).to_string(); std 458 libcore/asobj/Global_as.cpp std::string input = fn.arg(0).to_string(); std 469 libcore/asobj/Global_as.cpp std::istringstream s(fn.arg(0).to_string()); std 507 libcore/asobj/Global_as.cpp const std::string& expr = fn.arg(0).to_string(); std 536 libcore/asobj/Global_as.cpp std::string::const_iterator it = expr.begin(); std 541 libcore/asobj/Global_as.cpp *(it + 1) == '0' && std::toupper(*(it + 2)) == 'X') { std 566 libcore/asobj/Global_as.cpp const std::string digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; std 570 libcore/asobj/Global_as.cpp std::string::size_type digit = digits.find(toupper(*it)); std 572 libcore/asobj/Global_as.cpp if (digit >= base || digit == std::string::npos) return as_value(NaN); std 582 libcore/asobj/Global_as.cpp && digit != std::string::npos) { std 659 libcore/asobj/Global_as.cpp std::ostringstream ss; fn.dump_args(ss); std 671 libcore/asobj/Global_as.cpp std::ostringstream ss; fn.dump_args(ss); std 702 libcore/asobj/Global_as.cpp std::ostringstream ss; fn.dump_args(ss); std 714 libcore/asobj/Global_as.cpp std::ostringstream ss; fn.dump_args(ss); std 761 libcore/asobj/Global_as.cpp const std::string& props = fn.arg(2).to_string(); std 763 libcore/asobj/Global_as.cpp fn.nargs > 3 ? std::max<boost::int32_t>(toInt(fn.arg(3), getVM(fn)), 0) : 0; std 765 libcore/asobj/Global_as.cpp std::string::const_iterator pos = props.begin(); std 775 libcore/asobj/Global_as.cpp std::string::const_iterator comma = std::find(pos, props.end(), ','); std 802 libcore/asobj/Global_as.cpp const std::string& property = std::string(pos, comma); std 830 libcore/asobj/Global_as.cpp const std::string& props = fn.arg(2).to_string(); std 832 libcore/asobj/Global_as.cpp fn.nargs > 3 ? std::max<boost::int32_t>(toInt(fn.arg(3), getVM(fn)), 0) : 0; std 834 libcore/asobj/Global_as.cpp std::string::const_iterator pos = props.begin(); std 844 libcore/asobj/Global_as.cpp std::string::const_iterator comma = std::find(pos, props.end(), ','); std 871 libcore/asobj/Global_as.cpp const std::string& property = std::string(pos, comma); std 910 libcore/asobj/Global_as.cpp const std::string& errors = fn.arg(0).to_string(); std 912 libcore/asobj/Global_as.cpp std::string::const_iterator pos = errors.begin(); std 920 libcore/asobj/Global_as.cpp std::string::const_iterator comma = std::find(pos, errors.end(), ','); std 922 libcore/asobj/Global_as.cpp const std::string& err = std::string(pos, comma); std 948 libcore/asobj/Global_as.cpp std::stringstream ss; fn.dump_args(ss); std 962 libcore/asobj/Global_as.cpp std::stringstream ss; fn.dump_args(ss); std 982 libcore/asobj/Global_as.cpp std::stringstream ss; fn.dump_args(ss); std 1001 libcore/asobj/Global_as.cpp std::auto_ptr<Timer> timer; std 1021 libcore/asobj/Global_as.cpp std::stringstream ss; fn.dump_args(ss); std 1034 libcore/asobj/Global_as.cpp std::stringstream ss; fn.dump_args(ss); std 1054 libcore/asobj/Global_as.cpp std::stringstream ss; fn.dump_args(ss); std 1071 libcore/asobj/Global_as.cpp std::auto_ptr<Timer> timer; std 247 libcore/asobj/Global_as.h getClassConstructor(const fn_call& fn, const std::string& s) std 129 libcore/asobj/LoadVars_as.cpp std::ostringstream o; std 139 libcore/asobj/LoadVars_as.cpp const std::string& var = std 141 libcore/asobj/LoadVars_as.cpp const std::string& val = callMethod(global, NSV::PROP_ESCAPE, std 154 libcore/asobj/LoadVars_as.cpp std::ostringstream ss; std 220 libcore/asobj/LoadableObject.cpp std::ostringstream ss; std 235 libcore/asobj/LoadableObject.cpp std::ostringstream ss; std 255 libcore/asobj/LoadableObject.cpp typedef std::map<std::string, std::string> ValuesMap; std 259 libcore/asobj/LoadableObject.cpp const std::string qs = fn.arg(0).to_string(version); std 271 libcore/asobj/LoadableObject.cpp const std::string& nameval = *tit; std 273 libcore/asobj/LoadableObject.cpp std::string name; std 274 libcore/asobj/LoadableObject.cpp std::string value; std 277 libcore/asobj/LoadableObject.cpp if (eq == std::string::npos) name = nameval; std 309 libcore/asobj/LoadableObject.cpp const std::string& urlstr = fn.arg(0).to_string(); std 336 libcore/asobj/LoadableObject.cpp const std::string& method = fn.arg(2).to_string(); std 345 libcore/asobj/LoadableObject.cpp std::auto_ptr<IOChannel> str; std 367 libcore/asobj/LoadableObject.cpp headers.insert(std::make_pair("Content-Type", std 374 libcore/asobj/LoadableObject.cpp const std::string& strval = as_value(obj).to_string(); std 382 libcore/asobj/LoadableObject.cpp const std::string& dataString = as_value(obj).to_string(); std 387 libcore/asobj/LoadableObject.cpp std::string existingQS = url.querystring(); std 422 libcore/asobj/LoadableObject.cpp const std::string& urlstr = fn.arg(0).to_string(); std 440 libcore/asobj/LoadableObject.cpp std::auto_ptr<IOChannel> str(ri.streamProvider().getStream(url)); std 458 libcore/asobj/LoadableObject.cpp std::string target; std 459 libcore/asobj/LoadableObject.cpp std::string url; std 460 libcore/asobj/LoadableObject.cpp std::string method; std 482 libcore/asobj/LoadableObject.cpp std::ostringstream data; std 490 libcore/asobj/LoadableObject.cpp const std::string& str = as_value(obj).to_string(); std 137 libcore/asobj/LocalConnection_as.cpp std::string getDomain(as_object& o); std 151 libcore/asobj/LocalConnection_as.cpp std::string name; std 181 libcore/asobj/LocalConnection_as.cpp std::string std 184 libcore/asobj/LocalConnection_as.cpp return std::string(buf, buf + N - 1); std 187 libcore/asobj/LocalConnection_as.cpp static const std::string marker(fromByteString("\0::3\0::4\0")); std 214 libcore/asobj/LocalConnection_as.cpp const std::string& domain() { std 243 libcore/asobj/LocalConnection_as.cpp std::string _name; std 247 libcore/asobj/LocalConnection_as.cpp const std::string _domain; std 253 libcore/asobj/LocalConnection_as.cpp std::deque<boost::shared_ptr<ConnectionData> > _queue; std 335 libcore/asobj/LocalConnection_as.cpp const std::string& connection = a.to_string(); std 398 libcore/asobj/LocalConnection_as.cpp std::copy(i, i + arraySize(i), ptr); std 405 libcore/asobj/LocalConnection_as.cpp std::copy(buf.data(), buf.data() + buf.size(), tmp); std 473 libcore/asobj/LocalConnection_as.cpp std::copy(i, i + 8, ptr); std 552 libcore/asobj/LocalConnection_as.cpp std::string connection = fn.arg(0).to_string(); std 585 libcore/asobj/LocalConnection_as.cpp std::ostringstream os; std 597 libcore/asobj/LocalConnection_as.cpp std::ostringstream os; std 605 libcore/asobj/LocalConnection_as.cpp const std::string& name = fn.arg(0).to_string(); std 606 libcore/asobj/LocalConnection_as.cpp const std::string& func = fn.arg(1).to_string(); std 610 libcore/asobj/LocalConnection_as.cpp std::ostringstream os; std 624 libcore/asobj/LocalConnection_as.cpp const std::string& domain = relay->domain(); std 661 libcore/asobj/LocalConnection_as.cpp typedef std::vector<std::string> ReservedNames; std 672 libcore/asobj/LocalConnection_as.cpp std::find_if(reserved.begin(), reserved.end(), std 696 libcore/asobj/LocalConnection_as.cpp while ((next = std::find(ptr, mem.end(), '\0')) != mem.end()) { std 702 libcore/asobj/LocalConnection_as.cpp if (std::equal(name.c_str(), name.c_str() + name.size(), ptr)) { std 715 libcore/asobj/LocalConnection_as.cpp std::copy(found + size, next, found); std 739 libcore/asobj/LocalConnection_as.cpp while ((next = std::find(ptr, mem.end(), '\0')) != mem.end()) { std 741 libcore/asobj/LocalConnection_as.cpp if (std::equal(name.c_str(), name.c_str() + name.size(), ptr)) { std 769 libcore/asobj/LocalConnection_as.cpp while ((next = std::find(ptr, mem.end(), '\0')) != mem.end()) { std 773 libcore/asobj/LocalConnection_as.cpp if (std::equal(name.c_str(), name.c_str() + name.size(), ptr)) { std 789 libcore/asobj/LocalConnection_as.cpp std::string id(name + marker); std 790 libcore/asobj/LocalConnection_as.cpp std::copy(id.c_str(), id.c_str() + id.size(), next); std 823 libcore/asobj/LocalConnection_as.cpp if (!std::equal(i, i + 2, m) || !std::equal(i + 4, i + 6, m)) { std 847 libcore/asobj/LocalConnection_as.cpp const std::string& domain = a.to_string(); std 870 libcore/asobj/LocalConnection_as.cpp const size_t count = std::max<int>(0, toInt(a, getVM(o))); std 887 libcore/asobj/LocalConnection_as.cpp const std::string& meth = a.to_string(); std 890 libcore/asobj/LocalConnection_as.cpp std::vector<as_value> d; std 892 libcore/asobj/LocalConnection_as.cpp std::reverse(d.begin(), d.end()); std 907 libcore/asobj/LocalConnection_as.cpp std::fill_n(m.begin() + 8, 8, 0); std 933 libcore/asobj/LocalConnection_as.cpp std::string std 950 libcore/asobj/LocalConnection_as.cpp const std::string& domain = url.hostname(); std 952 libcore/asobj/LocalConnection_as.cpp std::string::size_type pos; std 956 libcore/asobj/LocalConnection_as.cpp if (pos == std::string::npos) { std 963 libcore/asobj/LocalConnection_as.cpp if (pos == std::string::npos) { std 55 libcore/asobj/Math_as.cpp template<> as_value binaryFunction<std::pow>(const fn_call& fn); std 65 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::abs>, 200, 0); std 68 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::sin>, 200, 3); std 69 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::cos>, 200, 4); std 70 libcore/asobj/Math_as.cpp vm.registerNative(binaryFunction<std::atan2>, 200, 5); std 71 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::tan>, 200, 6); std 72 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::exp>, 200, 7); std 73 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::log>, 200, 8); std 74 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::sqrt>, 200, 9); std 77 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::floor>, 200, 12); std 78 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::ceil>, 200, 13); std 79 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::atan>, 200, 14); std 80 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::asin>, 200, 15); std 81 libcore/asobj/Math_as.cpp vm.registerNative(unaryFunction<std::acos>, 200, 16); std 82 libcore/asobj/Math_as.cpp vm.registerNative(binaryFunction<std::pow>, 200, 17); std 136 libcore/asobj/Math_as.cpp binaryFunction<std::pow>(const fn_call& fn) std 148 libcore/asobj/Math_as.cpp return as_value(isFinite(arg0) ? std::pow(arg0, arg1) : NaN ); std 157 libcore/asobj/Math_as.cpp if (!fn.nargs) return as_value(std::numeric_limits<double>::infinity()); std 169 libcore/asobj/Math_as.cpp return as_value(std::min(arg0, arg1)); std 179 libcore/asobj/Math_as.cpp if (!fn.nargs) return as_value(-std::numeric_limits<double>::infinity()); std 191 libcore/asobj/Math_as.cpp return as_value(std::max(arg0, arg1)); std 219 libcore/asobj/Math_as.cpp return std::floor(d + 0.5); std 183 libcore/asobj/Microphone_as.cpp const std::string& name() const { std 267 libcore/asobj/Microphone_as.cpp std::auto_ptr<media::AudioInput> input(handler->getAudioInput(0)); std 388 libcore/asobj/Microphone_as.cpp std::vector<std::string> vect; std 456 libcore/asobj/Microphone_as.cpp const int timeout = std::max<boost::int32_t>(toInt(fn.arg(1), getVM(fn)), 0); std 105 libcore/asobj/MovieClipLoader.cpp std::stringstream ss; fn.dump_args(ss); std 114 libcore/asobj/MovieClipLoader.cpp std::stringstream ss; fn.dump_args(ss); std 121 libcore/asobj/MovieClipLoader.cpp const std::string& str_url = fn.arg(0).to_string(); std 124 libcore/asobj/MovieClipLoader.cpp const std::string& tgt_str = tgt_arg.to_string(); std 149 libcore/asobj/MovieClipLoader.cpp std::stringstream ss; fn.dump_args(ss); std 156 libcore/asobj/MovieClipLoader.cpp const std::string filespec = fn.arg(0).to_string(); std 454 libcore/asobj/MovieClip_as.cpp const std::string& id_name = fn.arg(0).to_string(); std 468 libcore/asobj/MovieClip_as.cpp const std::string& newname = fn.arg(1).to_string(); std 536 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 590 libcore/asobj/MovieClip_as.cpp std::stringstream ss; std 638 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 653 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 662 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 678 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 718 libcore/asobj/MovieClip_as.cpp const std::string& newname = fn.arg(0).to_string(); std 881 libcore/asobj/MovieClip_as.cpp const std::string& urlstr = fn.arg(0).to_string(); std 885 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 895 libcore/asobj/MovieClip_as.cpp std::string target = dobj->getTarget(); std 902 libcore/asobj/MovieClip_as.cpp std::string data; std 943 libcore/asobj/MovieClip_as.cpp const std::string& urlstr = fn.arg(0).to_string(); std 947 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 1088 libcore/asobj/MovieClip_as.cpp std::string urlstr; std 1089 libcore/asobj/MovieClip_as.cpp std::string target; std 1110 libcore/asobj/MovieClip_as.cpp std::ostringstream os; std 1129 libcore/asobj/MovieClip_as.cpp std::string vars; std 1169 libcore/asobj/MovieClip_as.cpp std::string s = lc.to_string(); std 1514 libcore/asobj/MovieClip_as.cpp std::ostringstream ss; std 1528 libcore/asobj/MovieClip_as.cpp std::string joinStyleStr = fn.arg(6).to_string(); std 1534 libcore/asobj/MovieClip_as.cpp std::ostringstream ss; std 1544 libcore/asobj/MovieClip_as.cpp const std::string capStyleStr = fn.arg(5).to_string(); std 1550 libcore/asobj/MovieClip_as.cpp std::ostringstream ss; std 1562 libcore/asobj/MovieClip_as.cpp const std::string noScaleString = fn.arg(4).to_string(); std 1575 libcore/asobj/MovieClip_as.cpp std::ostringstream ss; std 1709 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 1720 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 1729 libcore/asobj/MovieClip_as.cpp std::string typeStr = fn.arg(0).to_string(); std 1740 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 1756 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 1770 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 1782 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 1797 libcore/asobj/MovieClip_as.cpp std::vector<GradientRecord> gradients; std 1801 libcore/asobj/MovieClip_as.cpp const ObjectURI& key = getURI(vm, boost::lexical_cast<std::string>(i)); std 1823 libcore/asobj/MovieClip_as.cpp std::min<boost::uint32_t>(gradients[i - 1].ratio + step, 0xff); std 1855 libcore/asobj/MovieClip_as.cpp const std::string& spread = fn.arg(5).to_string(); std 1862 libcore/asobj/MovieClip_as.cpp const std::string& inter = fn.arg(6).to_string(); std 1909 libcore/asobj/MovieClip_as.cpp std::swap(y1, y0); std 1914 libcore/asobj/MovieClip_as.cpp std::swap(x1, x0); std 1920 libcore/asobj/MovieClip_as.cpp std::stringstream ss; fn.dump_args(ss); std 70 libcore/asobj/NetConnection_as.cpp std::pair<std::string, std::string> std 89 libcore/asobj/NetConnection_as.cpp typedef std::map<size_t, as_object*> CallbacksMap; std 100 libcore/asobj/NetConnection_as.cpp virtual std::auto_ptr<IOChannel> getStream(const std::string& /*name*/) { std 102 libcore/asobj/NetConnection_as.cpp return std::auto_ptr<IOChannel>(0); std 117 libcore/asobj/NetConnection_as.cpp std::mem_fun(&as_object::setReachable)); std 261 libcore/asobj/NetConnection_as.cpp std::vector<boost::shared_ptr<HTTPRequest> > _requestQueue; std 357 libcore/asobj/NetConnection_as.cpp std::vector<as_value> args; std 420 libcore/asobj/NetConnection_as.cpp std::for_each(_oldConnections.begin(), _oldConnections.end(), std 429 libcore/asobj/NetConnection_as.cpp std::string std 435 libcore/asobj/NetConnection_as.cpp std::string uriStr(uri.str()); std 436 libcore/asobj/NetConnection_as.cpp assert(uriStr.find("://") != std::string::npos); std 452 libcore/asobj/NetConnection_as.cpp std::pair<std::string, std::string> info = getStatusCodeInfo(code); std 579 libcore/asobj/NetConnection_as.cpp std::auto_ptr<IOChannel> std 664 libcore/asobj/NetConnection_as.cpp std::string methodName = methodName_as.to_string(); std 667 libcore/asobj/NetConnection_as.cpp std::stringstream ss; fn.dump_args(ss); std 680 libcore/asobj/NetConnection_as.cpp std::stringstream ss; fn.dump_args(ss); std 687 libcore/asobj/NetConnection_as.cpp std::vector<as_value> args; std 689 libcore/asobj/NetConnection_as.cpp args = std::vector<as_value>(fn.getArgs().begin() + 2, std 780 libcore/asobj/NetConnection_as.cpp const std::string& uriStr = uri.to_string(vm.getSWFVersion()); std 792 libcore/asobj/NetConnection_as.cpp std::stringstream ss; fn.dump_args(ss); std 841 libcore/asobj/NetConnection_as.cpp std::pair<std::string, std::string> std 847 libcore/asobj/NetConnection_as.cpp return std::make_pair("NetConnection.Connect.Success", "status"); std 849 libcore/asobj/NetConnection_as.cpp return std::make_pair("NetConnection.Connect.Failed", "error"); std 851 libcore/asobj/NetConnection_as.cpp return std::make_pair("NetConnection.Connect.AppShutdown", "error"); std 853 libcore/asobj/NetConnection_as.cpp return std::make_pair("NetConnection.Connect.Rejected", "error"); std 855 libcore/asobj/NetConnection_as.cpp return std::make_pair("NetConnection.Connect.Closed", "status"); std 857 libcore/asobj/NetConnection_as.cpp return std::make_pair("NetConnection.Call.Failed", "error"); std 859 libcore/asobj/NetConnection_as.cpp return std::make_pair("NetConnection.Call.BadVersion", "status"); std 861 libcore/asobj/NetConnection_as.cpp std::abort(); std 885 libcore/asobj/NetConnection_as.cpp std::string headerName((char*)b, namelength); std 949 libcore/asobj/NetConnection_as.cpp std::string id(reinterpret_cast<const char*>(b + 1), ns - 1); std 959 libcore/asobj/NetConnection_as.cpp const std::string methodName(reinterpret_cast<const char*>(b + ns + 1), std 1034 libcore/asobj/NetConnection_as.cpp for (std::vector<boost::shared_ptr<HTTPRequest> >::iterator i = std 1052 libcore/asobj/NetConnection_as.cpp std::string postdata(reinterpret_cast<char*>(_data.data()), _data.size()); std 1181 libcore/asobj/NetConnection_as.cpp std::ostringstream os; std 1234 libcore/asobj/NetConnection_as.cpp std::string method = amf::readString(payload, end); std 1249 libcore/asobj/NetConnection_as.cpp boost::io::group(std::setprecision(15), id)); std 1268 libcore/asobj/NetConnection_as.cpp boost::io::group(std::setprecision(15), id), std 69 libcore/asobj/NetConnection_as.h std::string validateURL() const; std 71 libcore/asobj/NetConnection_as.h void call(as_object* asCallback, const std::string& methodName, std 72 libcore/asobj/NetConnection_as.h const std::vector<as_value>& args); std 81 libcore/asobj/NetConnection_as.h bool connect(const std::string& uri); std 97 libcore/asobj/NetConnection_as.h void setURI(const std::string& uri); std 99 libcore/asobj/NetConnection_as.h const std::string& getURI() const { std 107 libcore/asobj/NetConnection_as.h std::auto_ptr<IOChannel> getStream(const std::string& name); std 115 libcore/asobj/NetConnection_as.h void addToURL(const std::string& url); std 117 libcore/asobj/NetConnection_as.h typedef std::list<boost::shared_ptr<Connection> > Connections; std 128 libcore/asobj/NetConnection_as.h std::auto_ptr<Connection> _currentConnection; std 131 libcore/asobj/NetConnection_as.h std::string _uri; std 162 libcore/asobj/NetStream_as.cpp std::swap(code, _statusCode); std 208 libcore/asobj/NetStream_as.cpp std::auto_ptr<image::GnashImage> std 394 libcore/asobj/NetStream_as.cpp if (url.compare(0, 4, std::string("mp3:")) == 0) { std 445 libcore/asobj/NetStream_as.cpp std::string(e.what()))); std 469 libcore/asobj/NetStream_as.cpp const std::string& err = e.what(); std 503 libcore/asobj/NetStream_as.cpp assert(_inputStream->tell() == static_cast<std::streampos>(0)); std 555 libcore/asobj/NetStream_as.cpp std::auto_ptr<image::GnashImage> std 560 libcore/asobj/NetStream_as.cpp std::auto_ptr<image::GnashImage> video; std 635 libcore/asobj/NetStream_as.cpp std::auto_ptr<image::GnashImage> std 638 libcore/asobj/NetStream_as.cpp std::auto_ptr<image::GnashImage> video; std 645 libcore/asobj/NetStream_as.cpp std::auto_ptr<media::EncodedVideoFrame> frame = m_parser->nextVideoFrame(); std 675 libcore/asobj/NetStream_as.cpp std::auto_ptr<media::EncodedAudioFrame> frame = m_parser->nextAudioFrame(); std 1136 libcore/asobj/NetStream_as.cpp std::auto_ptr<image::GnashImage> video = getDecodedVideoFrame(curPos); std 1521 libcore/asobj/NetStream_as.cpp int n = std::min<int>(samples.m_size, len); std 1522 libcore/asobj/NetStream_as.cpp std::copy(samples.m_ptr, samples.m_ptr+n, stream); std 1873 libcore/asobj/NetStream_as.cpp std::string funcName; std 1902 libcore/asobj/NetStream_as.cpp std::transform(data, data + size, data, std 1903 libcore/asobj/NetStream_as.cpp boost::bind(std::multiplies<double>(), volume / 100.0, _1)); std 222 libcore/asobj/NetStream_as.h void play(const std::string& source); std 301 libcore/asobj/NetStream_as.h std::auto_ptr<image::GnashImage> get_video(); std 400 libcore/asobj/NetStream_as.h std::auto_ptr<image::GnashImage> m_imageframe; std 403 libcore/asobj/NetStream_as.h std::string url; std 406 libcore/asobj/NetStream_as.h std::auto_ptr<media::MediaParser> m_parser; std 429 libcore/asobj/NetStream_as.h typedef std::pair<std::string, std::string> NetStreamStatus; std 499 libcore/asobj/NetStream_as.h std::auto_ptr<image::GnashImage> decodeNextVideoFrame(); std 522 libcore/asobj/NetStream_as.h std::auto_ptr<image::GnashImage> getDecodedVideoFrame(boost::uint32_t ts); std 538 libcore/asobj/NetStream_as.h std::auto_ptr<media::VideoDecoder> _videoDecoder; std 544 libcore/asobj/NetStream_as.h std::auto_ptr<media::AudioDecoder> _audioDecoder; std 566 libcore/asobj/NetStream_as.h std::auto_ptr<IOChannel> _inputStream; std 135 libcore/asobj/Number_as.cpp std::numeric_limits<double>::max(), cflags); std 137 libcore/asobj/Number_as.cpp std::numeric_limits<double>::denorm_min(), cflags); std 140 libcore/asobj/Number_as.cpp as_value(std::numeric_limits<double>::infinity()), cflags); std 142 libcore/asobj/Number_as.cpp as_value(-std::numeric_limits<double>::infinity()), cflags); std 190 libcore/asobj/Object.cpp std::stringstream ss; std 205 libcore/asobj/Object.cpp const std::string& propname = fn.arg(0).to_string(); std 255 libcore/asobj/Object.cpp std::stringstream ss; std 269 libcore/asobj/Object.cpp const std::string& symbolid = fn.arg(0).to_string(); std 273 libcore/asobj/Object.cpp std::stringstream ss; std 285 libcore/asobj/Object.cpp std::stringstream ss; std 353 libcore/asobj/Object.cpp const std::string& propname = arg.to_string(); std 378 libcore/asobj/Object.cpp const std::string& propname = arg.to_string(); std 431 libcore/asobj/Object.cpp std::stringstream ss; fn.dump_args(ss); std 443 libcore/asobj/Object.cpp std::stringstream ss; fn.dump_args(ss); std 451 libcore/asobj/Object.cpp std::string propname = propval.to_string(); std 468 libcore/asobj/Object.cpp std::stringstream ss; fn.dump_args(ss); std 478 libcore/asobj/Object.cpp std::string propname = propval.to_string(); std 209 libcore/asobj/Selection_as.cpp const std::string& target = focus.to_string(); std 159 libcore/asobj/SharedObject_as.cpp const std::string& name = toString(_vm, uri); std 224 libcore/asobj/SharedObject_as.cpp const std::string& getFilespec() const { std 295 libcore/asobj/SharedObject_as.cpp std::string _name; std 297 libcore/asobj/SharedObject_as.cpp std::string _filename; std 329 libcore/asobj/SharedObject_as.cpp const std::string& filespec = getFilespec(); std 349 libcore/asobj/SharedObject_as.cpp std::ofstream ofs(filespec.c_str(), std::ios::binary); std 359 libcore/asobj/SharedObject_as.cpp std::remove(filespec.c_str()); std 407 libcore/asobj/SharedObject_as.cpp "flush/exit.", _solSafeDir, std::strerror(errno)); std 434 libcore/asobj/SharedObject_as.cpp const std::string& urlPath = url.path(); std 443 libcore/asobj/SharedObject_as.cpp std::string::size_type pos = urlPath.find('/', 1); std 444 libcore/asobj/SharedObject_as.cpp if (pos != std::string::npos) { std 472 libcore/asobj/SharedObject_as.cpp std::for_each(_soLib.begin(), _soLib.end(), &flushSOL); std 503 libcore/asobj/SharedObject_as.cpp std::string requestedPath; std 542 libcore/asobj/SharedObject_as.cpp std::ostringstream solPath; std 559 libcore/asobj/SharedObject_as.cpp const std::string& key = solPath.str(); std 576 libcore/asobj/SharedObject_as.cpp std::string newspec = _solSafeDir; std 753 libcore/asobj/SharedObject_as.cpp std::ostringstream ss; std 781 libcore/asobj/SharedObject_as.cpp const std::string objName = objNameVal.to_string(swfVersion); std 784 libcore/asobj/SharedObject_as.cpp std::ostringstream ss; std 793 libcore/asobj/SharedObject_as.cpp std::string root; std 876 libcore/asobj/SharedObject_as.cpp std::string::size_type pos = solName.find("//"); std 877 libcore/asobj/SharedObject_as.cpp if (pos != std::string::npos) return false; std 882 libcore/asobj/SharedObject_as.cpp return (pos == std::string::npos); std 919 libcore/asobj/SharedObject_as.cpp std::ifstream ifs(filespec.c_str(), std::ios::binary); std 965 libcore/asobj/SharedObject_as.cpp std::string prop_name(reinterpret_cast<const char*>(buf), len); std 990 libcore/asobj/SharedObject_as.cpp catch (std::exception& e) { std 1014 libcore/asobj/SharedObject_as.cpp std::auto_ptr<SharedObject_as> sh(new SharedObject_as(*o)); std 40 libcore/asobj/SharedObject_as.h typedef std::map<std::string, SharedObject_as*> SoLib; std 50 libcore/asobj/SharedObject_as.h as_object* getLocal(const std::string& name, const std::string& root); std 62 libcore/asobj/SharedObject_as.h std::string _baseDomain; std 65 libcore/asobj/SharedObject_as.h std::string _basePath; std 68 libcore/asobj/SharedObject_as.h std::string _solSafeDir; std 170 libcore/asobj/Sound_as.cpp std::string soundName; std 533 libcore/asobj/Sound_as.cpp std::auto_ptr<IOChannel> inputStream(streamProvider.getStream(url, std 773 libcore/asobj/Sound_as.cpp std::auto_ptr<media::EncodedAudioFrame> frame = _mediaParser->nextAudioFrame(); std 816 libcore/asobj/Sound_as.cpp int n = std::min<int>(_leftOverSize, len); std 819 libcore/asobj/Sound_as.cpp std::copy(_leftOverPtr, _leftOverPtr+n, stream); std 905 libcore/asobj/Sound_as.cpp std::stringstream ss; fn.dump_args(ss); std 920 libcore/asobj/Sound_as.cpp std::stringstream ss; fn.dump_args(ss); std 971 libcore/asobj/Sound_as.cpp const std::string& name = fn.arg(0).to_string(); std 1017 libcore/asobj/Sound_as.cpp const std::string& name = fn.arg(0).to_string(); std 1128 libcore/asobj/Sound_as.cpp std::stringstream ss; fn.dump_args(ss); std 1150 libcore/asobj/Sound_as.cpp std::string url = fn.arg(0).to_string(); std 1159 libcore/asobj/Sound_as.cpp std::stringstream ss; fn.dump_args(ss); std 125 libcore/asobj/Stage_as.cpp const std::string& str = fn.arg(0).to_string(version); std 184 libcore/asobj/Stage_as.cpp const std::string& str = fn.arg(0).to_string(version); std 225 libcore/asobj/Stage_as.cpp const std::string& str = fn.arg(0).to_string(version); std 158 libcore/asobj/String_as.cpp std::string str; std 175 libcore/asobj/String_as.cpp std::string str; std 178 libcore/asobj/String_as.cpp std::wstring wstr = utf8::decodeCanonicalString(str, version); std 230 libcore/asobj/String_as.cpp std::string str; std 233 libcore/asobj/String_as.cpp std::wstring wstr = utf8::decodeCanonicalString(str, version); std 245 libcore/asobj/String_as.cpp const std::wstring& delim = utf8::decodeCanonicalString( std 308 libcore/asobj/String_as.cpp for (size_t i = 0, e = std::min<size_t>(wstr.size(), max); std 327 libcore/asobj/String_as.cpp if (pos == std::wstring::npos) break; std 345 libcore/asobj/String_as.cpp std::string str; std 350 libcore/asobj/String_as.cpp const std::string& toFind = fn.arg(0).to_string(version); std 364 libcore/asobj/String_as.cpp if (found == std::string::npos) { std 381 libcore/asobj/String_as.cpp std::string str; std 384 libcore/asobj/String_as.cpp std::wstring wstr = utf8::decodeCanonicalString(str, version); std 419 libcore/asobj/String_as.cpp std::string str; std 422 libcore/asobj/String_as.cpp const std::wstring& wstr = utf8::decodeCanonicalString(str, version); std 452 libcore/asobj/String_as.cpp std::swap (end, start); std 473 libcore/asobj/String_as.cpp std::string str; std 478 libcore/asobj/String_as.cpp const std::wstring& wstr = utf8::decodeCanonicalString(str, version); std 481 libcore/asobj/String_as.cpp const std::wstring& toFind = std 504 libcore/asobj/String_as.cpp if (pos == std::wstring::npos) { std 522 libcore/asobj/String_as.cpp std::string str; std 542 libcore/asobj/String_as.cpp std::wstring wstr; std 561 libcore/asobj/String_as.cpp std::string str; std 564 libcore/asobj/String_as.cpp const std::wstring& wstr = utf8::decodeCanonicalString(str, version); std 597 libcore/asobj/String_as.cpp std::string str; std 607 libcore/asobj/String_as.cpp std::string::const_iterator it = str.begin(), e = str.end(); std 631 libcore/asobj/String_as.cpp std::string str; std 634 libcore/asobj/String_as.cpp std::wstring wstr = utf8::decodeCanonicalString(str, version); std 637 libcore/asobj/String_as.cpp static const std::locale swfLocale((std::locale()), new SWFCtype()); std 657 libcore/asobj/String_as.cpp std::string str; std 660 libcore/asobj/String_as.cpp std::wstring wstr = utf8::decodeCanonicalString(str, version); std 663 libcore/asobj/String_as.cpp static const std::locale swfLocale((std::locale()), new SWFCtype()); std 684 libcore/asobj/String_as.cpp std::string str = boost::to_lower_copy(val.to_string()); std 696 libcore/asobj/String_as.cpp std::string str = boost::to_upper_copy(val.to_string()); std 723 libcore/asobj/String_as.cpp std::string str; std 737 libcore/asobj/String_as.cpp std::wstring wstr = utf8::decodeCanonicalString(str, getSWFVersion(fn)); std 777 libcore/asobj/String_as.cpp std::ostringstream os; std 788 libcore/asobj/String_as.cpp std::ostringstream os; std 38 libcore/asobj/String_as.h explicit String_as(const std::string& s); std 40 libcore/asobj/String_as.h const std::string& value() { std 45 libcore/asobj/String_as.h std::string _string; std 47 libcore/asobj/System_as.cpp std::string systemLanguage(as_object& proto); std 116 libcore/asobj/System_as.cpp const std::string os = vm.getOSName(); std 118 libcore/asobj/System_as.cpp const std::string language = systemLanguage(o); std 145 libcore/asobj/System_as.cpp boost::tie(resX, resY) = m.callInterface<std::pair<int, int> >( std 156 libcore/asobj/System_as.cpp std::ostringstream s; std 157 libcore/asobj/System_as.cpp s << std::setprecision(7) << aspectRatio; std 158 libcore/asobj/System_as.cpp const std::string pixelAspectRatio = s.str(); std 161 libcore/asobj/System_as.cpp const std::string playerType = m.callInterface<std::string>(HostMessage( std 164 libcore/asobj/System_as.cpp const std::string screenColor = m.callInterface<std::string>(HostMessage( std 191 libcore/asobj/System_as.cpp const std::string version = vm.getPlayerVersion(); std 195 libcore/asobj/System_as.cpp const std::string manufacturer = rcfile.getFlashSystemManufacturer(); std 218 libcore/asobj/System_as.cpp std::ostringstream serverString; std 341 libcore/asobj/System_as.cpp const std::string& s = fn.arg(0).to_string(); std 391 libcore/asobj/System_as.cpp std::string std 404 libcore/asobj/System_as.cpp std::string lang = getVM(proto).getSystemLanguage(); std 413 libcore/asobj/System_as.cpp if (std::find(languages, languages + size, lang.substr(0, 2)) != std 225 libcore/asobj/TextField_as.cpp const std::string& name = fn.arg(0).to_string(); std 431 libcore/asobj/TextField_as.cpp const std::string& s = ptr->get_text_value(); std 519 libcore/asobj/TextField_as.cpp std::string strval = arg.to_string(); std 540 libcore/asobj/TextField_as.cpp std::string strval = arg.to_string(); std 561 libcore/asobj/TextField_as.cpp const std::string& varName = text->getVariableName(); std 675 libcore/asobj/TextField_as.cpp std::stringstream ss; fn.dump_args(ss); std 683 libcore/asobj/TextField_as.cpp std::stringstream ss; fn.dump_args(ss); std 692 libcore/asobj/TextField_as.cpp std::stringstream ss; fn.dump_args(ss); std 701 libcore/asobj/TextField_as.cpp const std::string& fontName = *tf->font(); std 904 libcore/asobj/TextField_as.cpp std::ostringstream os; std 912 libcore/asobj/TextField_as.cpp const std::string& replace = fn.arg(0).to_string(); std 993 libcore/asobj/TextField_as.cpp std::stringstream ss; fn.dump_args(ss); std 1019 libcore/asobj/TextField_as.cpp std::stringstream ss; fn.dump_args(ss); std 1036 libcore/asobj/TextField_as.cpp std::stringstream ss; fn.dump_args(ss); std 65 libcore/asobj/TextFormat_as.cpp return pixelsToTwips(std::max<int>(toInt(val, getVM(fn())), 0)); std 94 libcore/asobj/TextFormat_as.cpp std::string operator()(const as_value& val) const { std 184 libcore/asobj/TextFormat_as.cpp PushToVector(std::vector<int>& v, const fn_call& fn) : _v(v), _fn(fn) {} std 189 libcore/asobj/TextFormat_as.cpp std::vector<int>& _v; std 250 libcore/asobj/TextFormat_as.cpp Get<const TextFormat_as, std::string, &TextFormat_as::font>::get, std 253 libcore/asobj/TextFormat_as.cpp Set<TextFormat_as, std::string, &TextFormat_as::fontSet, std 270 libcore/asobj/TextFormat_as.cpp Get<const TextFormat_as, std::string, &TextFormat_as::url>::get, std 273 libcore/asobj/TextFormat_as.cpp Set<TextFormat_as, std::string, &TextFormat_as::urlSet, std 278 libcore/asobj/TextFormat_as.cpp Get<const TextFormat_as, std::string, &TextFormat_as::target>::get, std 281 libcore/asobj/TextFormat_as.cpp Set<TextFormat_as, std::string, &TextFormat_as::targetSet, std 400 libcore/asobj/TextFormat_as.cpp std::auto_ptr<TextFormat_as> tf(new TextFormat_as); std 493 libcore/asobj/TextFormat_as.cpp std::vector<int> tabStops; std 571 libcore/asobj/TextFormat_as.cpp const std::string& s = fn.arg(0).to_string(version); std 608 libcore/asobj/TextFormat_as.cpp for (std::string::const_iterator it = s.begin(), e = s.end(); std 618 libcore/asobj/TextFormat_as.cpp width = std::max(width, curr); std 74 libcore/asobj/TextFormat_as.h const boost::optional<std::vector<int> >& tabStops() const { std 85 libcore/asobj/TextFormat_as.h const boost::optional<std::string>& font() const { return _font; } std 88 libcore/asobj/TextFormat_as.h const boost::optional<std::string>& target() const { return _target; } std 91 libcore/asobj/TextFormat_as.h const boost::optional<std::string>& url() const { return _url; } std 115 libcore/asobj/TextFormat_as.h void targetSet(const boost::optional<std::string>& s) { _target=s; } std 117 libcore/asobj/TextFormat_as.h void urlSet(const boost::optional<std::string>& s) { _url=s; } std 131 libcore/asobj/TextFormat_as.h void fontSet(const boost::optional<std::string>& font) { _font=font; } std 135 libcore/asobj/TextFormat_as.h void alignSet(const std::string& align); std 151 libcore/asobj/TextFormat_as.h void tabStopsSet(const std::vector<int>& tabStops) { _tabStops = tabStops; } std 155 libcore/asobj/TextFormat_as.h void displaySet(const std::string& display); std 190 libcore/asobj/TextFormat_as.h boost::optional<std::string> _font; std 210 libcore/asobj/TextFormat_as.h boost::optional<std::vector<int> > _tabStops; std 217 libcore/asobj/TextFormat_as.h boost::optional<std::string> _target; std 221 libcore/asobj/TextFormat_as.h boost::optional<std::string> _url; std 49 libcore/asobj/TextSnapshot_as.cpp typedef std::vector<const SWF::TextRecord*> Records; std 54 libcore/asobj/TextSnapshot_as.cpp typedef std::vector<std::pair<StaticText*, Records> > TextFields; std 63 libcore/asobj/TextSnapshot_as.cpp std::string getText(boost::int32_t start, boost::int32_t end, std 77 libcore/asobj/TextSnapshot_as.cpp std::string getSelectedText(bool newlines) const; std 166 libcore/asobj/TextSnapshot_as.cpp start = std::min(start, _count); std 167 libcore/asobj/TextSnapshot_as.cpp end = std::min(end, _count); std 197 libcore/asobj/TextSnapshot_as.cpp start = std::min(start, _count); std 198 libcore/asobj/TextSnapshot_as.cpp end = std::min(end, _count); std 227 libcore/asobj/TextSnapshot_as.cpp std::for_each(_textFields.begin(), _textFields.end(), setTextReachable); std 233 libcore/asobj/TextSnapshot_as.cpp std::string::size_type pos = 0; std 235 libcore/asobj/TextSnapshot_as.cpp std::string::size_type len = end - start; std 244 libcore/asobj/TextSnapshot_as.cpp const std::string::size_type fieldStartIndex = pos; std 309 libcore/asobj/TextSnapshot_as.cpp std::string::size_type pos = 0; std 322 libcore/asobj/TextSnapshot_as.cpp const std::string::size_type fieldStartIndex = pos; std 359 libcore/asobj/TextSnapshot_as.cpp std::string std 365 libcore/asobj/TextSnapshot_as.cpp start = std::max<boost::int32_t>(start, 0); std 366 libcore/asobj/TextSnapshot_as.cpp start = std::min<boost::int32_t>(start, _count - 1); std 370 libcore/asobj/TextSnapshot_as.cpp end = std::max(start + 1, end); std 372 libcore/asobj/TextSnapshot_as.cpp std::string snapshot; std 379 libcore/asobj/TextSnapshot_as.cpp std::string std 382 libcore/asobj/TextSnapshot_as.cpp std::string sel; std 395 libcore/asobj/TextSnapshot_as.cpp std::string snapshot; std 398 libcore/asobj/TextSnapshot_as.cpp const std::string::size_type len = snapshot.size(); std 404 libcore/asobj/TextSnapshot_as.cpp std::string::const_iterator it = std::search(snapshot.begin() + start, std 409 libcore/asobj/TextSnapshot_as.cpp std::string::size_type pos = snapshot.find(text, start); std 410 libcore/asobj/TextSnapshot_as.cpp return (pos == std::string::npos) ? -1 : pos; std 452 libcore/asobj/TextSnapshot_as.cpp _fields.push_back(std::make_pair(tf, text)); std 500 libcore/asobj/TextSnapshot_as.cpp const size_t start = std::max<boost::int32_t>(0, std 502 libcore/asobj/TextSnapshot_as.cpp const size_t end = std::max<boost::int32_t>(start + 1, std 528 libcore/asobj/TextSnapshot_as.cpp const std::string& text = fn.arg(1).to_string(); std 566 libcore/asobj/TextSnapshot_as.cpp const size_t start = std::max<boost::int32_t>(0, std 568 libcore/asobj/TextSnapshot_as.cpp const size_t end = std::max<boost::int32_t>(start + 1, std 652 libcore/asobj/TextSnapshot_as.cpp const size_t start = std::max<boost::int32_t>(0, std 654 libcore/asobj/TextSnapshot_as.cpp const size_t end = std::max<boost::int32_t>(start, std 45 libcore/asobj/XMLNode_as.cpp typedef std::pair<std::string, std::string> StringPair; std 46 libcore/asobj/XMLNode_as.cpp typedef std::vector<StringPair> StringPairs; std 225 libcore/asobj/XMLNode_as.cpp Children::iterator it = std::find(_children.begin(), _children.end(), pos); std 308 libcore/asobj/XMLNode_as.cpp it = std::find_if(attrs.begin(), attrs.end(), std 319 libcore/asobj/XMLNode_as.cpp const std::string& name = it->first; std 347 libcore/asobj/XMLNode_as.cpp it = std::find_if(attrs.begin(), attrs.end(), std 368 libcore/asobj/XMLNode_as.cpp std::string::size_type pos = _name.find(':'); std 369 libcore/asobj/XMLNode_as.cpp if (pos == std::string::npos || pos == _name.size() - 1) { std 397 libcore/asobj/XMLNode_as.cpp const std::string& nodeValue = xml.nodeValue(); std 398 libcore/asobj/XMLNode_as.cpp const std::string& nodeName = xml.nodeName(); std 442 libcore/asobj/XMLNode_as.cpp std::string escaped(nodeValue); std 444 libcore/asobj/XMLNode_as.cpp const std::string& val = encode ? std 472 libcore/asobj/XMLNode_as.cpp std::for_each(_children.begin(), _children.end(), std 565 libcore/asobj/XMLNode_as.cpp std::auto_ptr<XMLNode_as> xml(new XMLNode_as(getGlobal(fn))); std 569 libcore/asobj/XMLNode_as.cpp const std::string& str = fn.arg(1).to_string(); std 643 libcore/asobj/XMLNode_as.cpp std::stringstream ss; fn.dump_args(ss); std 654 libcore/asobj/XMLNode_as.cpp std::stringstream ss; fn.dump_args(ss); std 665 libcore/asobj/XMLNode_as.cpp std::stringstream ss; fn.dump_args(ss); std 686 libcore/asobj/XMLNode_as.cpp std::string ns; std 702 libcore/asobj/XMLNode_as.cpp std::string prefix; std 728 libcore/asobj/XMLNode_as.cpp const std::string& name = ptr->nodeName(); std 736 libcore/asobj/XMLNode_as.cpp std::string prefix; std 738 libcore/asobj/XMLNode_as.cpp std::string ns; std 771 libcore/asobj/XMLNode_as.cpp std::string prefix; std 793 libcore/asobj/XMLNode_as.cpp const std::string& nodeName = ptr->nodeName(); std 796 libcore/asobj/XMLNode_as.cpp std::string::size_type pos = nodeName.find(':'); std 797 libcore/asobj/XMLNode_as.cpp if (pos == std::string::npos || pos == nodeName.size() - 1) { std 822 libcore/asobj/XMLNode_as.cpp std::stringstream ss; std 846 libcore/asobj/XMLNode_as.cpp const std::string& val = ptr->nodeValue(); std 865 libcore/asobj/XMLNode_as.cpp const std::string& val = ptr->nodeName(); std 1005 libcore/asobj/XMLNode_as.cpp std::make_pair(i->first.toString(st), i->second.to_string())); std 1027 libcore/asobj/XMLNode_as.cpp const std::string& name = val.first; std 79 libcore/asobj/XMLNode_as.h const std::string& nodeName() const { return _name; } std 81 libcore/asobj/XMLNode_as.h const std::string& nodeValue() const { return _value; } std 92 libcore/asobj/XMLNode_as.h void nodeNameSet(const std::string& name) { _name = name; } std 94 libcore/asobj/XMLNode_as.h bool extractPrefix(std::string& prefix); std 97 libcore/asobj/XMLNode_as.h void nodeValueSet(const std::string& value) { _value = value; } std 100 libcore/asobj/XMLNode_as.h void getNamespaceForPrefix(const std::string& prefix, std::string& ns); std 105 libcore/asobj/XMLNode_as.h bool getPrefixForNamespace(const std::string& ns, std::string& prefix); std 107 libcore/asobj/XMLNode_as.h void setNamespaceURI(const std::string& value) { std 111 libcore/asobj/XMLNode_as.h const std::string& getNamespaceURI() const { std 123 libcore/asobj/XMLNode_as.h typedef std::list<XMLNode_as*> Children; std 186 libcore/asobj/XMLNode_as.h virtual void toString(std::ostream& str, bool encode = false) const; std 197 libcore/asobj/XMLNode_as.h void setAttribute(const std::string& name, const std::string& value); std 257 libcore/asobj/XMLNode_as.h std::string _name; std 259 libcore/asobj/XMLNode_as.h std::string _value; std 263 libcore/asobj/XMLNode_as.h std::string _namespaceURI; std 265 libcore/asobj/XMLNode_as.h static void stringify(const XMLNode_as& xml, std::ostream& xmlout, std 63 libcore/asobj/XMLSocket_as.cpp typedef std::vector<std::string> MessageList; std 114 libcore/asobj/XMLSocket_as.cpp std::string _remainder; std 193 libcore/asobj/XMLSocket_as.cpp std::vector<std::string> msgs; std 214 libcore/asobj/XMLSocket_as.cpp ptr + std::strlen(ptr) - buf.get()); std 217 libcore/asobj/XMLSocket_as.cpp std::string msg(ptr); std 223 libcore/asobj/XMLSocket_as.cpp ptr + std::strlen(ptr) - buf.get()) == bytesRead) { std 304 libcore/asobj/XMLSocket_as.cpp std::stringstream ss; std 326 libcore/asobj/XMLSocket_as.cpp const std::string& host = hostval.to_string(); std 334 libcore/asobj/XMLSocket_as.cpp if (port > std::numeric_limits<boost::uint16_t>::max()) { std 364 libcore/asobj/XMLSocket_as.cpp const std::string& str = fn.arg(0).to_string(); std 72 libcore/asobj/XML_as.cpp typedef std::map<std::string, std::string> Entities; std 142 libcore/asobj/XML_as.cpp const std::string terminators("\r\t\n >="); std 144 libcore/asobj/XML_as.cpp xml_iterator ourend = std::find_first_of(it, end, std 151 libcore/asobj/XML_as.cpp std::string name(it, ourend); std 185 libcore/asobj/XML_as.cpp ourend = std::find(ourend, end, *it); std 194 libcore/asobj/XML_as.cpp std::string value(it, ourend); std 215 libcore/asobj/XML_as.cpp attributes.insert(std::make_pair(name, value)); std 228 libcore/asobj/XML_as.cpp std::string::size_type count = 1; std 234 libcore/asobj/XML_as.cpp ourend = std::find(current, end, '>'); std 242 libcore/asobj/XML_as.cpp count += std::count(current, ourend, '<'); std 247 libcore/asobj/XML_as.cpp const std::string content(it, ourend); std 248 libcore/asobj/XML_as.cpp std::ostringstream os; std 258 libcore/asobj/XML_as.cpp std::string content; std 265 libcore/asobj/XML_as.cpp std::ostringstream os; std 283 libcore/asobj/XML_as.cpp const std::string terminators("\r\n\t >"); std 285 libcore/asobj/XML_as.cpp xml_iterator endName = std::find_first_of(it, end, terminators.begin(), std 295 libcore/asobj/XML_as.cpp if (std::equal(endName - 1, endName + 1, "/>")) { std 308 libcore/asobj/XML_as.cpp std::string tagName(it, endName); std 330 libcore/asobj/XML_as.cpp if (end - it > 1 && std::equal(it, it + 2, "/>")) break; std 362 libcore/asobj/XML_as.cpp it = std::find(endName, end, '>'); std 398 libcore/asobj/XML_as.cpp xml_iterator ourend = std::find(it, end, '<'); std 399 libcore/asobj/XML_as.cpp std::string content(it, ourend); std 404 libcore/asobj/XML_as.cpp content.find_first_not_of("\t\r\n ") == std::string::npos) return; std 423 libcore/asobj/XML_as.cpp std::string content; std 436 libcore/asobj/XML_as.cpp std::string content; std 635 libcore/asobj/XML_as.cpp const std::string& xml_in = fn.arg(0).to_string(version); std 679 libcore/asobj/XML_as.cpp status > std::numeric_limits<boost::int32_t>::max() || std 680 libcore/asobj/XML_as.cpp status < std::numeric_limits<boost::int32_t>::min()) { std 683 libcore/asobj/XML_as.cpp std::numeric_limits<boost::int32_t>::min())); std 696 libcore/asobj/XML_as.cpp std::string escaped = fn.arg(0).to_string(); std 715 libcore/asobj/XML_as.cpp const std::string& text = fn.arg(0).to_string(); std 743 libcore/asobj/XML_as.cpp const std::string& text = fn.arg(0).to_string(); std 770 libcore/asobj/XML_as.cpp const std::string& text = fn.arg(0).to_string(); std 784 libcore/asobj/XML_as.cpp const std::string& xml = ptr->getXMLDecl(); std 791 libcore/asobj/XML_as.cpp const std::string& xml = fn.arg(0).to_string(); std 806 libcore/asobj/XML_as.cpp const std::string& docType = ptr->getDocTypeDecl(); std 813 libcore/asobj/XML_as.cpp const std::string& docType = fn.arg(0).to_string(); std 861 libcore/asobj/XML_as.cpp const std::string::size_type len = match.length(); std 865 libcore/asobj/XML_as.cpp if (!std::equal(it, it + len, match.begin(), boost::is_iequal())) { std 879 libcore/asobj/XML_as.cpp const std::string whitespace("\r\t\n "); std 880 libcore/asobj/XML_as.cpp while (it != end && whitespace.find(*it) != std::string::npos) ++it; std 898 libcore/asobj/XML_as.cpp xml_iterator ourend = std::search(it, end, terminator.begin(), std 905 libcore/asobj/XML_as.cpp content = std::string(it, ourend); std 48 libcore/asobj/XML_as.h typedef std::string::const_iterator xml_iterator; std 75 libcore/asobj/XML_as.h XML_as(as_object& object, const std::string& xml); std 86 libcore/asobj/XML_as.h void toString(std::ostream& o, bool encode) const; std 88 libcore/asobj/XML_as.h const std::string& getXMLDecl() const { std 92 libcore/asobj/XML_as.h void setXMLDecl(const std::string& xml) { std 96 libcore/asobj/XML_as.h const std::string& getDocTypeDecl() const { std 100 libcore/asobj/XML_as.h void setDocTypeDecl(const std::string& docType) { std 113 libcore/asobj/XML_as.h void parseXML(const std::string& xml); std 115 libcore/asobj/XML_as.h XMLNode_as* createElement(const std::string& name); std 117 libcore/asobj/XML_as.h XMLNode_as* createTextNode(const std::string& name); std 137 libcore/asobj/XML_as.h typedef std::map<std::string, std::string, StringNoCaseLessThan> Attributes; std 172 libcore/asobj/XML_as.h std::string _docTypeDecl; std 174 libcore/asobj/XML_as.h std::string _xmlDecl; std 182 libcore/asobj/XML_as.h void escapeXML(std::string& text); std 183 libcore/asobj/XML_as.h void unescapeXML(std::string& text); std 111 libcore/asobj/flash/display/BitmapData_as.cpp std::for_each(_attachedObjects.begin(), _attachedObjects.end(), std 112 libcore/asobj/flash/display/BitmapData_as.cpp std::mem_fun(&DisplayObject::setReachable)); std 140 libcore/asobj/flash/display/BitmapData_as.cpp std::for_each(_attachedObjects.begin(), _attachedObjects.end(), std 141 libcore/asobj/flash/display/BitmapData_as.cpp std::mem_fun(&DisplayObject::update)); std 180 libcore/asobj/flash/display/BitmapData_as.cpp w = std::min<size_t>(width() - x, w); std 181 libcore/asobj/flash/display/BitmapData_as.cpp h = std::min<size_t>(height() - y, h); std 190 libcore/asobj/flash/display/BitmapData_as.cpp std::fill_n(it + x, w, color); std 241 libcore/asobj/flash/display/BitmapData_as.cpp std::queue<std::pair<size_t, size_t> > pixelQueue; std 242 libcore/asobj/flash/display/BitmapData_as.cpp pixelQueue.push(std::make_pair(startx, starty)); std 246 libcore/asobj/flash/display/BitmapData_as.cpp const std::pair<size_t, size_t>& p = pixelQueue.front(); std 263 libcore/asobj/flash/display/BitmapData_as.cpp std::fill(pix, east, fill); std 273 libcore/asobj/flash/display/BitmapData_as.cpp pixelQueue.push(std::make_pair(nx, ny)); std 284 libcore/asobj/flash/display/BitmapData_as.cpp std::fill(west + 1, pix, fill); std 294 libcore/asobj/flash/display/BitmapData_as.cpp pixelQueue.push(std::make_pair(sx, sy)); std 373 libcore/asobj/flash/display/BitmapData_as.cpp std::auto_ptr<image::GnashImage> im; std 382 libcore/asobj/flash/display/BitmapData_as.cpp std::copy(bm->begin(), bm->end(), image::begin<image::ARGB>(*im)); std 440 libcore/asobj/flash/display/BitmapData_as.cpp std::ostringstream ss; std 452 libcore/asobj/flash/display/BitmapData_as.cpp std::ostringstream ss; std 489 libcore/asobj/flash/display/BitmapData_as.cpp std::ostringstream ss; std 818 libcore/asobj/flash/display/BitmapData_as.cpp const std::string linkage = fn.arg(0).to_string(); std 840 libcore/asobj/flash/display/BitmapData_as.cpp std::auto_ptr<image::GnashImage> newImage; std 897 libcore/asobj/flash/display/BitmapData_as.cpp std::auto_ptr<image::GnashImage> im; std 910 libcore/asobj/flash/display/BitmapData_as.cpp std::fill(image::begin<image::ARGB>(*im), image::end<image::ARGB>(*im), std 64 libcore/asobj/flash/display/BitmapData_as.h BitmapData_as(as_object* owner, std::auto_ptr<image::GnashImage> im); std 161 libcore/asobj/flash/display/BitmapData_as.h std::list<DisplayObject*> _attachedObjects; std 96 libcore/asobj/flash/external/ExternalInterface_as.cpp std::vector<ObjectURI>& _uris; std 258 libcore/asobj/flash/external/ExternalInterface_as.cpp std::string name = name_as.to_string(); std 285 libcore/asobj/flash/external/ExternalInterface_as.cpp const std::string methodName = methodName_as.to_string(); std 286 libcore/asobj/flash/external/ExternalInterface_as.cpp const std::vector<as_value>& args = fn.getArgs(); std 288 libcore/asobj/flash/external/ExternalInterface_as.cpp std::string result = mr.callExternalJavascript(methodName, args); std 324 libcore/asobj/flash/external/ExternalInterface_as.cpp const std::string& baseurl = r.streamProvider().baseURL().str(); std 326 libcore/asobj/flash/external/ExternalInterface_as.cpp std::memset(hostname, 0, MAXHOSTNAMELEN); std 391 libcore/asobj/flash/external/ExternalInterface_as.cpp std::stringstream ss; std 550 libcore/asobj/flash/external/ExternalInterface_as.cpp typedef std::vector<ObjectURI> URIs; std 559 libcore/asobj/flash/external/ExternalInterface_as.cpp const std::string& id = i->toString(st); std 700 libcore/asobj/flash/external/ExternalInterface_as.cpp std::string str(fn.arg(0).to_string()); std 712 libcore/asobj/flash/external/ExternalInterface_as.cpp std::string str = fn.arg(0).to_string(); std 256 libcore/asobj/flash/filters/BevelFilter_as.cpp std::string type = fn.arg(0).to_string(); std 229 libcore/asobj/flash/filters/GradientBevelFilter_as.cpp std::string type = fn.arg(0).to_string(); std 230 libcore/asobj/flash/filters/GradientGlowFilter_as.cpp std::string type = fn.arg(0).to_string(); std 327 libcore/asobj/flash/geom/ColorTransform_as.cpp std::fmod(relay->getRedOffset(), 4294967296.0)); std 329 libcore/asobj/flash/geom/ColorTransform_as.cpp std::fmod(relay->getGreenOffset(), 4294967296.0)); std 331 libcore/asobj/flash/geom/ColorTransform_as.cpp std::fmod(relay->getBlueOffset(), 4294967296.0)); std 364 libcore/asobj/flash/geom/ColorTransform_as.cpp std::ostringstream ss; std 379 libcore/asobj/flash/geom/ColorTransform_as.cpp std::ostringstream ss; std 182 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 196 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 250 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 283 libcore/asobj/flash/geom/Matrix_as.cpp const double a = std::cos(rotation) * scaleX; std 284 libcore/asobj/flash/geom/Matrix_as.cpp const double b = std::sin(rotation) * scaleY; std 285 libcore/asobj/flash/geom/Matrix_as.cpp const double c = -std::sin(rotation) * scaleX; std 286 libcore/asobj/flash/geom/Matrix_as.cpp const double d = std::cos(rotation) * scaleY; std 309 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 346 libcore/asobj/flash/geom/Matrix_as.cpp const double a = std::cos(rotation) * widthX * 10 / gradientSquareMax; std 347 libcore/asobj/flash/geom/Matrix_as.cpp const double b = std::sin(rotation) * widthY * 10 / gradientSquareMax; std 348 libcore/asobj/flash/geom/Matrix_as.cpp const double c = -std::sin(rotation) * widthX * 10 / gradientSquareMax; std 349 libcore/asobj/flash/geom/Matrix_as.cpp const double d = std::cos(rotation) * widthY * 10 / gradientSquareMax; std 383 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 397 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 518 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 530 libcore/asobj/flash/geom/Matrix_as.cpp transformMatrix(0, 0) = std::cos(rot); std 531 libcore/asobj/flash/geom/Matrix_as.cpp transformMatrix(0, 1) = std::sin(rot); std 532 libcore/asobj/flash/geom/Matrix_as.cpp transformMatrix(1, 0) = -std::sin(rot); std 533 libcore/asobj/flash/geom/Matrix_as.cpp transformMatrix(1, 1) = std::cos(rot); std 592 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 695 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 708 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 720 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 761 libcore/asobj/flash/geom/Matrix_as.cpp std::ostringstream ss; std 127 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 136 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 145 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 153 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 197 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 208 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 245 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 268 libcore/asobj/flash/geom/Point_as.cpp double curlen = std::sqrt(x*x+y*y); std 328 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 337 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 346 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 354 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 401 libcore/asobj/flash/geom/Point_as.cpp double l = std::sqrt(x*x+y*y); std 420 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 429 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 438 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 448 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 483 libcore/asobj/flash/geom/Point_as.cpp double dist = std::sqrt(sqdist); std 500 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 509 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 519 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 534 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 581 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 589 libcore/asobj/flash/geom/Point_as.cpp std::stringstream ss; fn.dump_args(ss); std 597 libcore/asobj/flash/geom/Point_as.cpp double x = len * std::cos(angle); std 598 libcore/asobj/flash/geom/Point_as.cpp double y = len * std::sin(angle); std 152 libcore/asobj/flash/geom/Rectangle_as.cpp std::stringstream ss; std 143 libcore/asobj/flash/geom/Transform_as.cpp std::ostringstream ss; std 153 libcore/asobj/flash/geom/Transform_as.cpp std::ostringstream ss; std 168 libcore/asobj/flash/geom/Transform_as.cpp std::ostringstream ss; std 303 libcore/asobj/flash/geom/Transform_as.cpp std::ostringstream ss; std 313 libcore/asobj/flash/geom/Transform_as.cpp std::ostringstream ss; std 344 libcore/asobj/flash/geom/Transform_as.cpp std::ostringstream ss; std 354 libcore/asobj/flash/geom/Transform_as.cpp std::stringstream ss; std 89 libcore/asobj/flash/net/FileReferenceList_as.cpp std::stringstream ss; std 150 libcore/asobj/flash/net/FileReference_as.cpp std::stringstream ss; std 36 libcore/event_id.cpp const std::string& std 39 libcore/event_id.cpp typedef std::map<EventCode, std::string> EventFunctionNameMap; std 70 libcore/event_id.cpp typedef std::map<EventCode, ObjectURI> EventFunctionMap; std 135 libcore/event_id.cpp std::ostream& operator<< (std::ostream& o, const event_id& ev) std 129 libcore/event_id.h const std::string& functionName() const; std 189 libcore/event_id.h std::ostream& operator<< (std::ostream& o, const event_id& ev); std 26 libcore/fontlib.cpp std::vector< boost::intrusive_ptr<Font> > s_fonts; std 54 libcore/fontlib.h Font* get_font(const std::string& name, bool bold, bool italic); std 128 libcore/movie_root.cpp std::for_each(aq.begin(), aq.end(), std 321 libcore/movie_root.cpp std::make_pair(_stageWidth, _stageHeight)); std 706 libcore/movie_root.cpp std::pair<boost::int32_t, boost::int32_t> std 710 libcore/movie_root.cpp return std::make_pair(_mouseX, _mouseY); std 792 libcore/movie_root.cpp _intervalTimers.insert(std::make_pair(id, t)); std 822 libcore/movie_root.cpp const size_t now = std::max<size_t>(_vm.getTime(), _lastMovieAdvancement); std 1095 libcore/movie_root.cpp ql = std::min<int>(ql, QUALITY_BEST); std 1189 libcore/movie_root.cpp return std::make_pair(ha, va); std 1216 libcore/movie_root.cpp std::string std 1219 libcore/movie_root.cpp std::string align; std 1329 libcore/movie_root.cpp std::auto_ptr<ExecutableCode> code(q.pop_front().release()); std 1441 libcore/movie_root.cpp std::auto_ptr<ExecutableCode> code(new GlobalCode(buf, target)); std 1466 libcore/movie_root.cpp std::vector<as_object*> currentCallbacks; std 1468 libcore/movie_root.cpp std::transform(_objectCallbacks.begin(), _objectCallbacks.end(), std 1469 libcore/movie_root.cpp std::back_inserter(currentCallbacks), std 1471 libcore/movie_root.cpp boost::bind(std::mem_fun(&ActiveRelay::owner), _1))); std 1473 libcore/movie_root.cpp std::for_each(currentCallbacks.begin(), currentCallbacks.end(), std 1479 libcore/movie_root.cpp std::mem_fun_ref(&movie_root::LoadCallback::processLoad)); std 1510 libcore/movie_root.cpp std::stringstream ss; // ss is the response string std 1522 libcore/movie_root.cpp std::string var = invoke->args[0].to_string(); std 1530 libcore/movie_root.cpp std::string var = invoke->args[0].to_string(); std 1547 libcore/movie_root.cpp std::string arg = invoke->args[0].to_string(); std 1570 libcore/movie_root.cpp std::string arg = invoke->args[0].to_string(); std 1585 libcore/movie_root.cpp std::string var = invoke->args[0].to_string(); std 1594 libcore/movie_root.cpp std::string result = callExternalCallback(invoke->name, invoke->args); std 1610 libcore/movie_root.cpp "fd %d: %s"), _hostfd, std::strerror(errno)); std 1629 libcore/movie_root.cpp typedef std::multimap<unsigned int, boost::shared_ptr<Timer> > std 1649 libcore/movie_root.cpp expiredTimers.insert(std::make_pair(elapsed, timer)); std 1681 libcore/movie_root.cpp std::for_each(_objectCallbacks.begin(), _objectCallbacks.end(), std 1682 libcore/movie_root.cpp std::mem_fun(&ActiveRelay::setReachable)); std 1684 libcore/movie_root.cpp std::for_each(_loadCallbacks.begin(), _loadCallbacks.end(), std 1685 libcore/movie_root.cpp std::mem_fun_ref(&movie_root::LoadCallback::setReachable)); std 1694 libcore/movie_root.cpp std::for_each(q.begin(), q.end(), std 1695 libcore/movie_root.cpp std::mem_fun_ref(&ExecutableCode::markReachableResources)); std 1769 libcore/movie_root.cpp std::vector<as_value> fnargs; std 1771 libcore/movie_root.cpp std::string msg = ExternalInterface::makeInvoke("addMethod", fnargs); std 1776 libcore/movie_root.cpp _hostfd, std::strerror(errno)); std 1795 libcore/movie_root.cpp std::string std 1800 libcore/movie_root.cpp std::string result; std 1804 libcore/movie_root.cpp std::string msg = ExternalInterface::makeInvoke(name, fnargs); std 1809 libcore/movie_root.cpp _hostfd, std::strerror(errno)); std 1822 libcore/movie_root.cpp std::string std 1853 libcore/movie_root.cpp std::string result; std 1867 libcore/movie_root.cpp _hostfd, std::strerror(errno)); std 1877 libcore/movie_root.cpp _keyListeners.remove_if(std::bind2nd(std::equal_to<Button*>(), listener)); std 1885 libcore/movie_root.cpp if (std::find(_keyListeners.begin(), _keyListeners.end(), listener) std 2000 libcore/movie_root.cpp std::for_each(_liveChars.begin(), _liveChars.end(), std 2043 libcore/movie_root.cpp std::string::size_type from = 0; std 2044 libcore/movie_root.cpp while (std::string::size_type to = tgtstr.find('.', from)) { std 2045 libcore/movie_root.cpp std::string part(tgtstr, from, to - from); std 2060 libcore/movie_root.cpp if (to == std::string::npos) break; std 2080 libcore/movie_root.cpp std::string command = rcfile.getURLOpenerFormat(); std 2089 libcore/movie_root.cpp std::string safeurl = url.encode(urlstr); std 2093 libcore/movie_root.cpp const int ret = std::system(command.c_str()); std 2101 libcore/movie_root.cpp std::vector<as_value> fnargs; std 2138 libcore/movie_root.cpp std::string msg = ExternalInterface::makeInvoke("getURL", fnargs); std 2177 libcore/movie_root.cpp it = tr.insert(it, std::make_pair("Stage Properties", "")); std 2180 libcore/movie_root.cpp std::make_pair("Root VM version", std 2183 libcore/movie_root.cpp std::ostringstream os; std 2185 libcore/movie_root.cpp localIter = tr.append_child(it, std::make_pair("Root SWF version", std 2187 libcore/movie_root.cpp localIter = tr.append_child(it, std::make_pair("URL", def->get_url())); std 2190 libcore/movie_root.cpp localIter = tr.append_child(it, std::make_pair("Descriptive metadata", std 2197 libcore/movie_root.cpp localIter = tr.append_child(it, std::make_pair("Real dimensions", std 2203 libcore/movie_root.cpp localIter = tr.append_child(it, std::make_pair("Rendered dimensions", std 2207 libcore/movie_root.cpp localIter = tr.append_child(it, std::make_pair("Scripts", std 2220 libcore/movie_root.cpp std::ostringstream os; std 2222 libcore/movie_root.cpp localIter = tr.append_child(it, std::make_pair(_("Live MovieClips"), std 2253 libcore/movie_root.cpp if (name.find_first_not_of("0123456789", 7) != std::string::npos) { std 2257 libcore/movie_root.cpp levelno = std::strtoul(name.c_str() + 6, NULL, 0); std 2269 libcore/movie_root.cpp if (str.find_first_of("lL") != std::string::npos) { std 2273 libcore/movie_root.cpp if (str.find_first_of("tT") != std::string::npos) { std 2277 libcore/movie_root.cpp if (str.find_first_of("rR") != std::string::npos) { std 2281 libcore/movie_root.cpp if (str.find_first_of("bB") != std::string::npos) { std 155 libcore/movie_root.h typedef std::list<Button*> Listeners; std 171 libcore/movie_root.h typedef std::list<LoadCallback> LoadCallbacks; std 173 libcore/movie_root.h typedef std::bitset<key::KEYCOUNT> Keys; std 301 libcore/movie_root.h std::pair<boost::int32_t, boost::int32_t> mousePosition() const; std 334 libcore/movie_root.h boost::uint32_t addIntervalTimer(std::auto_ptr<Timer> timer); std 352 libcore/movie_root.h void addLoadableObject(as_object* obj, std::auto_ptr<IOChannel> str); std 531 libcore/movie_root.h typedef std::pair<StageHorizontalAlign, StageVerticalAlign> StageAlign; std 552 libcore/movie_root.h std::string getStageAlignMode() const; std 581 libcore/movie_root.h void pushAction(std::auto_ptr<ExecutableCode> code, size_t lvl); std 612 libcore/movie_root.h assert(std::find(_liveChars.begin(), _liveChars.end(), ch) == std 647 libcore/movie_root.h DisplayObject* findCharacterByTarget(const std::string& tgtstr) const; std 666 libcore/movie_root.h void loadMovie(const std::string& url, const std::string& target, std 667 libcore/movie_root.h const std::string& data, MovieClip::VariablesMethod method, std 686 libcore/movie_root.h void getURL(const std::string& urlstr, const std::string& target, std 687 libcore/movie_root.h const std::string& data, MovieClip::VariablesMethod method); std 737 libcore/movie_root.h DSOEXPORT void handleFsCommand(const std::string& cmd, std 738 libcore/movie_root.h const std::string& arg) const; std 805 libcore/movie_root.h void addExternalCallback(const std::string& name, as_object* callback); std 809 libcore/movie_root.h std::string callExternalCallback(const std::string &name, std 810 libcore/movie_root.h const std::vector<as_value>& args); std 812 libcore/movie_root.h std::string callExternalJavascript(const std::string &name, std 813 libcore/movie_root.h const std::vector<as_value>& args); std 938 libcore/movie_root.h void handleActionLimitHit(const std::string& ref); std 970 libcore/movie_root.h typedef std::list<MovieClip*> LiveChars; std 993 libcore/movie_root.h typedef std::set<ActiveRelay*> ObjectCallbacks; std 998 libcore/movie_root.h typedef std::map<boost::uint32_t, boost::shared_ptr<Timer> > TimerMap; std 1015 libcore/movie_root.h typedef std::map<int, MovieClip*> Levels; std 1050 libcore/movie_root.h std::bitset<4u> _alignMode; std 1090 libcore/movie_root.h bool isLevelTarget(int version, const std::string& name, unsigned int& levelno); std 1092 libcore/movie_root.h DSOEXPORT short stringToStageAlign(const std::string& s); std 59 libcore/parser/BitmapMovieDefinition.cpp std::abort(); std 60 libcore/parser/BitmapMovieDefinition.h BitmapMovieDefinition(std::auto_ptr<image::GnashImage> image, std 61 libcore/parser/BitmapMovieDefinition.h Renderer* renderer, const std::string& url); std 71 libcore/parser/BitmapMovieDefinition.h return std::ceil(twipsToPixels(_framesize.width())); std 75 libcore/parser/BitmapMovieDefinition.h return std::ceil(twipsToPixels(_framesize.height())); std 110 libcore/parser/BitmapMovieDefinition.h virtual const std::string& get_url() const { std 135 libcore/parser/BitmapMovieDefinition.h std::string _url; std 130 libcore/parser/SWFMovieDefinition.cpp std::abort(); std 196 libcore/parser/SWFMovieDefinition.cpp m_fonts.insert(std::make_pair(font_id, f)); std 235 libcore/parser/SWFMovieDefinition.cpp _bitmaps.insert(std::make_pair(id, im)); std 257 libcore/parser/SWFMovieDefinition.cpp m_sound_samples.insert(std::make_pair(id, std 326 libcore/parser/SWFMovieDefinition.cpp m_frame_rate = std::numeric_limits<boost::uint16_t>::max(); std 408 libcore/parser/SWFMovieDefinition.cpp std::ostream& std 415 libcore/parser/SWFMovieDefinition.cpp o << std::endl std 476 libcore/parser/SWFMovieDefinition.cpp if (!parser.read(std::min<size_t>(left, chunkSize))) break; std 495 libcore/parser/SWFMovieDefinition.cpp setBytesLoaded(std::min<size_t>(_str->tell(), _swf_end_pos)); std 580 libcore/parser/SWFMovieDefinition.cpp _namedFrames.insert(std::make_pair(n, _frames_loaded)); std 644 libcore/parser/SWFMovieDefinition.cpp const std::string& symbolName = i->second; std 94 libcore/parser/SWFMovieDefinition.h std::auto_ptr<boost::thread> _thread; std 119 libcore/parser/SWFMovieDefinition.h typedef std::map<int, boost::intrusive_ptr<SWF::DefinitionTag> > std 150 libcore/parser/SWFMovieDefinition.h friend std::ostream& operator<<(std::ostream& o, std 193 libcore/parser/SWFMovieDefinition.h return std::ceil(twipsToPixels(m_frame_size.width())); std 197 libcore/parser/SWFMovieDefinition.h return std::ceil(twipsToPixels(m_frame_size.height())); std 252 libcore/parser/SWFMovieDefinition.h bool get_labeled_frame(const std::string& label, size_t& frame_number) std 259 libcore/parser/SWFMovieDefinition.h Font* get_font(const std::string& name, bool bold, bool italic) const; std 294 libcore/parser/SWFMovieDefinition.h void add_frame_name(const std::string& name); std 298 libcore/parser/SWFMovieDefinition.h void set_jpeg_loader(std::auto_ptr<image::JpegInput> j_in); std 326 libcore/parser/SWFMovieDefinition.h bool readHeader(std::auto_ptr<IOChannel> in, const std::string& url); std 366 libcore/parser/SWFMovieDefinition.h virtual const std::string& get_url() const { return _url; } std 376 libcore/parser/SWFMovieDefinition.h boost::uint16_t exportID(const std::string& symbol) const; std 385 libcore/parser/SWFMovieDefinition.h void registerExport(const std::string& symbol, boost::uint16_t id); std 392 libcore/parser/SWFMovieDefinition.h virtual void storeDescriptiveMetadata(const std::string& data) { std 396 libcore/parser/SWFMovieDefinition.h virtual const std::string& getDescriptiveMetadata() const { std 406 libcore/parser/SWFMovieDefinition.h std::string _metadata; std 415 libcore/parser/SWFMovieDefinition.h typedef std::map<int, boost::intrusive_ptr<Font> > FontMap; std 418 libcore/parser/SWFMovieDefinition.h typedef std::map<int, boost::intrusive_ptr<CachedBitmap> > Bitmaps; std 421 libcore/parser/SWFMovieDefinition.h typedef std::map<int, boost::intrusive_ptr<sound_sample> > SoundSampleMap; std 424 libcore/parser/SWFMovieDefinition.h typedef std::map<size_t, PlayList> PlayListMap; std 430 libcore/parser/SWFMovieDefinition.h typedef std::map<std::string, size_t, StringNoCaseLessThan> NamedFrameMap; std 437 libcore/parser/SWFMovieDefinition.h typedef std::map<std::string, boost::uint16_t, std 448 libcore/parser/SWFMovieDefinition.h typedef std::vector<boost::intrusive_ptr<movie_definition> > ImportVect; std 489 libcore/parser/SWFMovieDefinition.h std::auto_ptr<image::JpegInput> m_jpeg_in; std 491 libcore/parser/SWFMovieDefinition.h std::string _url; std 496 libcore/parser/SWFMovieDefinition.h std::auto_ptr<IOChannel> _in; std 526 libcore/parser/SWFMovieDefinition.h std::set< boost::intrusive_ptr<movie_definition> > _importSources; std 104 libcore/parser/SWFParser.cpp std::ostringstream ss; std 131 libcore/parser/SWFParser.cpp const std::streamsize rowlength = 16; std 132 libcore/parser/SWFParser.cpp os << std::endl; std 134 libcore/parser/SWFParser.cpp const std::streamsize end = in.get_tag_end_position(); std 137 libcore/parser/SWFParser.cpp std::streamsize toRead = end - in.tell(); std 144 libcore/parser/SWFParser.cpp const std::streamsize thisRow = std 145 libcore/parser/SWFParser.cpp std::min<std::streamsize>(toRead, rowlength); std 147 libcore/parser/SWFParser.cpp const std::streamsize got = std 156 libcore/parser/SWFParser.cpp os << std::left << std::setw(3 * rowlength) << hexify(buf, got, false); std 159 libcore/parser/SWFParser.cpp os << "| " << hexify(buf, got, true) << std::endl; std 85 libcore/parser/SWFParser.h bool read(std::streamsize bytes); std 190 libcore/parser/TypesParser.cpp std::abort(); std 241 libcore/parser/TypesParser.cpp return std::make_pair(SolidFill(c1), morph); std 300 libcore/parser/TypesParser.cpp return std::make_pair(gf, morph); std 305 libcore/parser/TypesParser.cpp std::stringstream ss; std 410 libcore/parser/TypesParser.cpp return std::make_pair(SolidFill(color), morph); std 431 libcore/parser/TypesParser.cpp return std::make_pair(BitmapFill(type, &md, id, m), morph); std 52 libcore/parser/TypesParser.h typedef std::pair<FillStyle, boost::optional<FillStyle> > OptionalFillPair; std 156 libcore/parser/action_buffer.cpp static std::string std 170 libcore/parser/action_buffer.cpp std::stringstream ss; std 204 libcore/parser/action_buffer.cpp const std::string str = std 248 libcore/parser/action_buffer.cpp std::string str; std 352 libcore/parser/action_buffer.cpp std::string str; std 367 libcore/parser/action_buffer.cpp std::string functionName; std 424 libcore/parser/action_buffer.cpp std::string argName; std 457 libcore/parser/action_buffer.cpp std::string std 476 libcore/parser/action_buffer.cpp const std::string& std 528 libcore/parser/action_buffer.cpp std::memcpy(&u.i, p, 4); // TODO: use std::copy instead .. std 541 libcore/parser/action_buffer.cpp std::abort(); std 589 libcore/parser/action_buffer.cpp std::memcpy(&u.l.l1, cp, 4); std 590 libcore/parser/action_buffer.cpp std::memcpy(&u.l.l0, cp + 4, 4); std 604 libcore/parser/action_buffer.cpp std::memcpy(&u.i, cp, 8); std 76 libcore/parser/action_buffer.h std::string disasm(size_t pc) const; std 188 libcore/parser/action_buffer.h const std::string& getDefinitionURL() const; std 200 libcore/parser/action_buffer.h std::vector<boost::uint8_t> m_buffer; std 203 libcore/parser/action_buffer.h mutable std::vector<const char*> m_dictionary; std 31 libcore/parser/filter_factory.h typedef std::vector<boost::shared_ptr<BitmapFilter> > Filters; std 99 libcore/parser/movie_definition.h typedef std::vector<boost::intrusive_ptr<SWF::ControlTag> > PlayList; std 166 libcore/parser/movie_definition.h typedef std::pair<int, std::string> ImportSpec; std 167 libcore/parser/movie_definition.h typedef std::vector< ImportSpec > Imports; std 217 libcore/parser/movie_definition.h virtual bool get_labeled_frame(const std::string& /*label*/, std 260 libcore/parser/movie_definition.h virtual Font* get_font(const std::string& /*name*/, std 286 libcore/parser/movie_definition.h virtual void add_frame_name(const std::string& /*name*/) std 297 libcore/parser/movie_definition.h virtual void set_jpeg_loader(std::auto_ptr<image::JpegInput> /*j_in*/) std 391 libcore/parser/movie_definition.h virtual void registerExport(const std::string&, boost::uint16_t) {} std 397 libcore/parser/movie_definition.h virtual boost::uint16_t exportID(const std::string& /*symbol*/) const { std 418 libcore/parser/movie_definition.h virtual const std::string& get_url() const = 0; std 449 libcore/parser/movie_definition.h virtual void storeDescriptiveMetadata(const std::string& /*data*/) std 453 libcore/parser/movie_definition.h virtual const std::string& getDescriptiveMetadata() const std 455 libcore/parser/movie_definition.h static const std::string s; std 98 libcore/parser/sprite_definition.cpp _namedFrames.insert(std::make_pair(name, m_loading_frame)); std 197 libcore/parser/sprite_definition.h virtual boost::uint16_t exportID(const std::string& symbol) const { std 201 libcore/parser/sprite_definition.h virtual void registerExport(const std::string& s, boost::uint16_t id) { std 242 libcore/parser/sprite_definition.h typedef std::map<size_t, PlayList> PlayListMap; std 248 libcore/parser/sprite_definition.h typedef std::map<std::string, size_t, StringNoCaseLessThan> NamedFrameMap; std 257 libcore/parser/sprite_definition.h virtual void add_frame_name(const std::string& name); std 260 libcore/parser/sprite_definition.h bool get_labeled_frame(const std::string& label, size_t& frame_number) std 275 libcore/parser/sprite_definition.h virtual const std::string& get_url() const std 91 libcore/swf/DefaultTagLoaders.cpp static std::set<TagType> warned; std 114 libcore/swf/DefaultTagLoaders.cpp const std::vector<TagPair> tags = boost::assign::list_of std 245 libcore/swf/DefaultTagLoaders.cpp std::for_each(tags.begin(), tags.end(), AddLoader(table)); std 58 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::GnashImage> readDefineBitsJpeg(SWFStream& in, std 60 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::GnashImage> readDefineBitsJpeg2(SWFStream& in); std 62 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::GnashImage> readDefineBitsJpeg3(SWFStream& in, TagType tag); std 63 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::GnashImage> readLossless(SWFStream& in, TagType tag); std 74 libcore/swf/DefineBitsTag.cpp std::streampos startPos; std 75 libcore/swf/DefineBitsTag.cpp std::streampos endPos; std 76 libcore/swf/DefineBitsTag.cpp std::streampos currPos; std 90 libcore/swf/DefineBitsTag.cpp virtual std::streamsize read(void* dst, std::streamsize bytes) { std 91 libcore/swf/DefineBitsTag.cpp std::streamsize bytesLeft = endPos - currPos; std 97 libcore/swf/DefineBitsTag.cpp std::streamsize actuallyRead = s.read(static_cast<char*>(dst), bytes); std 124 libcore/swf/DefineBitsTag.cpp virtual std::streampos tell() const { std 136 libcore/swf/DefineBitsTag.cpp static std::auto_ptr<IOChannel> getFile(SWFStream& str, std 138 libcore/swf/DefineBitsTag.cpp std::auto_ptr<IOChannel> ret (new StreamAdapter(str, endPos)); std 157 libcore/swf/DefineBitsTag.cpp const std::streampos currPos = in.tell(); std 158 libcore/swf/DefineBitsTag.cpp const std::streampos endPos = in.get_tag_end_position(); std 169 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::JpegInput> input; std 180 libcore/swf/DefineBitsTag.cpp std::numeric_limits<std::streamsize>::max()).release()); std 185 libcore/swf/DefineBitsTag.cpp catch (const std::exception& e) { std 212 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::GnashImage> im; std 230 libcore/swf/DefineBitsTag.cpp std::abort(); std 260 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::GnashImage> std 263 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::GnashImage> im; std 280 libcore/swf/DefineBitsTag.cpp catch (const std::exception& e) { std 317 libcore/swf/DefineBitsTag.cpp if (std::equal(buf, buf + 3, "\x89PN")) { std 321 libcore/swf/DefineBitsTag.cpp if (std::equal(buf, buf + 3, "GIF")) { std 330 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::GnashImage> std 344 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::GnashImage> std 375 libcore/swf/DefineBitsTag.cpp return std::auto_ptr<image::GnashImage>(); std 381 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::ImageRGBA> im = image::Input::readSWFJpeg3(ad); std 384 libcore/swf/DefineBitsTag.cpp if (!im.get()) return std::auto_ptr<image::GnashImage>(); std 403 libcore/swf/DefineBitsTag.cpp return static_cast<std::auto_ptr<image::GnashImage> >(im); std 407 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::GnashImage> std 423 libcore/swf/DefineBitsTag.cpp std::auto_ptr<image::GnashImage> image; std 452 libcore/swf/DefineBitsTag.cpp std::abort(); std 455 libcore/swf/DefineBitsTag.cpp catch (const std::bad_alloc&) { std 484 libcore/swf/DefineBitsTag.cpp return std::auto_ptr<image::GnashImage>(); std 556 libcore/swf/DefineBitsTag.cpp std::copy(&inRow[i * inChannels + 1], std 78 libcore/swf/DefineButtonSoundTag.cpp std::auto_ptr<DefineButtonSoundTag> bs( std 58 libcore/swf/DefineButtonSoundTag.h typedef std::vector<ButtonSound> Sounds; std 48 libcore/swf/DefineButtonTag.cpp std::string computeButtonStatesString(int flags); std 61 libcore/swf/DefineButtonTag.cpp std::abort(); std 89 libcore/swf/DefineButtonTag.cpp std::auto_ptr<DefineButtonTag> bt(new DefineButtonTag(in, m, tag, id)); std 106 libcore/swf/DefineButtonTag.cpp std::auto_ptr<DefineButtonTag> bt(new DefineButtonTag(in, m, tag, id)); std 255 libcore/swf/DefineButtonTag.cpp return std::find_if(_buttonActions.begin(), _buttonActions.end(), std 449 libcore/swf/DefineButtonTag.cpp std::string std 452 libcore/swf/DefineButtonTag.cpp std::string ret; std 196 libcore/swf/DefineButtonTag.h typedef std::vector<ButtonRecord> ButtonRecords; std 217 libcore/swf/DefineButtonTag.h void addSoundTag(std::auto_ptr<SWF::DefineButtonSoundTag> soundTag) { std 41 libcore/swf/DefineEditTextTag.cpp std::auto_ptr<DefineEditTextTag> editText(new DefineEditTextTag(in, m, id)); std 134 libcore/swf/DefineEditTextTag.cpp std::string fontClassName; std 73 libcore/swf/DefineEditTextTag.h const std::string& defaultText() const { std 82 libcore/swf/DefineEditTextTag.h const std::string& variableName() const { std 199 libcore/swf/DefineEditTextTag.h std::string _variableName; std 291 libcore/swf/DefineEditTextTag.h std::string _defaultText; std 50 libcore/swf/DefineFontTag.cpp std::auto_ptr<DefineFontTag> ft(new DefineFontTag(in, m, tag, r)); std 73 libcore/swf/DefineFontTag.cpp table.insert(std::make_pair(code, i)); std 81 libcore/swf/DefineFontTag.cpp table.insert(std::make_pair(code, i)); std 104 libcore/swf/DefineFontTag.cpp std::abort(); std 129 libcore/swf/DefineFontTag.cpp std::vector<unsigned> offsets; std 217 libcore/swf/DefineFontTag.cpp std::vector<boost::uint32_t> offsets; std 272 libcore/swf/DefineFontTag.cpp std::auto_ptr<Font::CodeTable> table(new Font::CodeTable); std 324 libcore/swf/DefineFontTag.cpp if (!_kerningPairs.insert(std::make_pair(k, adjustment)).second) { std 356 libcore/swf/DefineFontTag.cpp std::string name; std 364 libcore/swf/DefineFontTag.cpp std::auto_ptr<Font::CodeTable> table(new Font::CodeTable); std 114 libcore/swf/DefineFontTag.h const std::string& name() const { return _name; } std 136 libcore/swf/DefineFontTag.h std::string _name; std 150 libcore/swf/DefineFontTag.h typedef std::map<kerning_pair, boost::int16_t> KerningTable; std 85 libcore/swf/DefineSceneAndFrameLabelDataTag.h std::string name; std 95 libcore/swf/DefineSceneAndFrameLabelDataTag.h std::string label; std 103 libcore/swf/DefineSceneAndFrameLabelDataTag.h std::map<boost::uint32_t, std::string> _scenes; std 104 libcore/swf/DefineSceneAndFrameLabelDataTag.h std::map<boost::uint32_t, std::string> _frames; std 50 libcore/swf/DefineTextTag.cpp std::auto_ptr<DefineTextTag> t(new DefineTextTag(in, m, tag, id)); std 72 libcore/swf/DefineTextTag.cpp std::transform(_textRecords.begin(), _textRecords.end(), std 73 libcore/swf/DefineTextTag.cpp std::back_inserter(to), CreatePointer<const TextRecord>()); std 76 libcore/swf/DefineTextTag.cpp numChars = std::accumulate(_textRecords.begin(), _textRecords.end(), std 91 libcore/swf/DefineTextTag.cpp std::auto_ptr<DefineTextTag> t(new DefineTextTag(in, m, tag, id)); std 64 libcore/swf/DefineTextTag.h bool extractStaticText(std::vector<const TextRecord*>& to, size_t& size) std 62 libcore/swf/DefineVideoStreamTag.cpp std::auto_ptr<DefineVideoStreamTag> vs(new DefineVideoStreamTag(in, id)); std 146 libcore/swf/DefineVideoStreamTag.h EmbeddedFrames::const_iterator lower = std::lower_bound( std 149 libcore/swf/DefineVideoStreamTag.h EmbeddedFrames::const_iterator upper = std::upper_bound( std 152 libcore/swf/DefineVideoStreamTag.h std::for_each(lower, upper, t); std 156 libcore/swf/DefineVideoStreamTag.h void addVideoFrameTag(std::auto_ptr<media::EncodedVideoFrame> frame); std 216 libcore/swf/DefineVideoStreamTag.h std::auto_ptr<media::VideoInfo> _videoInfo; std 85 libcore/swf/DoABCTag.h std::string name; std 89 libcore/swf/DoABCTag.h std::auto_ptr<abc::AbcBlock> block(new abc::AbcBlock()); std 40 libcore/swf/ExportAssetsTag.h typedef std::vector<std::string> Exports; std 89 libcore/swf/ExportAssetsTag.h std::string symbolName; std 42 libcore/swf/ImportAssetsTag.h typedef std::pair<int, std::string> Import; std 43 libcore/swf/ImportAssetsTag.h typedef std::vector<Import> Imports; std 79 libcore/swf/ImportAssetsTag.h std::string source_url; std 138 libcore/swf/ImportAssetsTag.h std::string symbolName; std 143 libcore/swf/ImportAssetsTag.h _imports.push_back(std::make_pair(id, symbolName)); std 176 libcore/swf/PlaceObject2Tag.cpp std::auto_ptr<action_buffer> action(new action_buffer(_movie_def)); std 234 libcore/swf/PlaceObject2Tag.cpp std::auto_ptr<swf_event> ev(new swf_event(id, thisAction)); std 337 libcore/swf/PlaceObject2Tag.cpp std::string className; std 111 libcore/swf/PlaceObject2Tag.h const std::string& getName() const { return m_name; } std 170 libcore/swf/PlaceObject2Tag.h std::string m_name; std 25 libcore/swf/SWF.cpp std::ostream& std 138 libcore/swf/SWF.cpp std::ostream& std 333 libcore/swf/SWF.h std::ostream& operator<<(std::ostream& o, ActionType a); std 1511 libcore/swf/SWF.h std::ostream& operator<< (std::ostream& os, const abc_action_type& typ); std 204 libcore/swf/ShapeRecord.cpp std::for_each(_fillStyles.begin(), _fillStyles.end(), std 211 libcore/swf/ShapeRecord.cpp std::for_each(_lineStyles.begin(), _lineStyles.end(), std 278 libcore/swf/ShapeRecord.cpp std::string b = _bounds.toString(); std 769 libcore/swf/ShapeRecord.cpp std::ostream& std 56 libcore/swf/ShapeRecord.h typedef std::vector<FillStyle> FillStyles; std 57 libcore/swf/ShapeRecord.h typedef std::vector<LineStyle> LineStyles; std 58 libcore/swf/ShapeRecord.h typedef std::vector<Path> Paths; std 155 libcore/swf/ShapeRecord.h std::ostream& operator<<(std::ostream& o, const ShapeRecord& sh); std 44 libcore/swf/SoundInfoRecord.h outPoint(std::numeric_limits<unsigned int>::max()) std 111 libcore/swf/StartSoundTag.cpp std::string className; std 72 libcore/swf/SymbolClassTag.h std::string name; std 105 libcore/swf/SymbolClassTag.h SymbolClassTag(std::string name) std 110 libcore/swf/SymbolClassTag.h const std::string _rootClass; std 45 libcore/swf/TagLoadersTable.cpp return _loaders.insert(std::make_pair(t, lf)).second; std 51 libcore/swf/TagLoadersTable.h typedef std::map<SWF::TagType, TagLoader> Loaders; std 252 libcore/swf/TextRecord.cpp static const std::vector<point> emptyCharBox = std 288 libcore/swf/TextRecord.cpp const std::vector<point> underline = boost::assign::list_of std 51 libcore/swf/TextRecord.h typedef std::vector<TextRecord> TextRecords; std 71 libcore/swf/TextRecord.h typedef std::vector<GlyphEntry> Glyphs; std 117 libcore/swf/TextRecord.h void setURL(std::string url) { std 121 libcore/swf/TextRecord.h const std::string& getURL() const { std 125 libcore/swf/TextRecord.h void setTarget(std::string target) { std 129 libcore/swf/TextRecord.h const std::string& getTarget() const { std 221 libcore/swf/TextRecord.h std::string _htmlURL; std 222 libcore/swf/TextRecord.h std::string _htmlTarget; std 96 libcore/swf/VideoFrameTag.cpp std::fill_n(buffer + bytesRead, padding, 0); std 62 libcore/swf/tag_loaders.cpp std::string name; std 117 libcore/swf/tag_loaders.cpp catch (const std::bad_cast&) { std 206 libcore/swf/tag_loaders.cpp std::auto_ptr<SimpleBuffer> data(new SimpleBuffer(allocSize)); std 221 libcore/swf/tag_loaders.cpp std::auto_ptr<media::SoundInfo> sinfo; std 363 libcore/swf/tag_loaders.cpp std::auto_ptr<media::SoundInfo> sinfo; std 370 libcore/swf/tag_loaders.cpp handler->create_sound(std::auto_ptr<SimpleBuffer>(0), sinfo); std 437 libcore/swf/tag_loaders.cpp std::string metadata; std 496 libcore/swf/tag_loaders.cpp std::stringstream ss; std 590 libcore/vm/ASHandlers.cpp const std::string target(code.read_string(pc + 3 + urlLength)); std 662 libcore/vm/ASHandlers.cpp const std::string target_name(code.read_string(pc+3)); std 741 libcore/vm/ASHandlers.cpp - std::numeric_limits<double>::infinity() : std 742 libcore/vm/ASHandlers.cpp std::numeric_limits<double>::infinity(); std 828 libcore/vm/ASHandlers.cpp const std::string& str0 = env.top(0).to_string(version); std 829 libcore/vm/ASHandlers.cpp const std::string& str1 = env.top(1).to_string(version); std 869 libcore/vm/ASHandlers.cpp const std::wstring wstr = utf8::decodeCanonicalString( std 951 libcore/vm/ASHandlers.cpp const std::string& var_string = top_value.to_string(); std 978 libcore/vm/ASHandlers.cpp const std::string& name = env.top(1).to_string(); std 1008 libcore/vm/ASHandlers.cpp std::string target_name = env.top(0).to_string(env.get_version()); std 1021 libcore/vm/ASHandlers.cpp const std::string& op1 = env.top(0).to_string(version); std 1022 libcore/vm/ASHandlers.cpp const std::string& op2 = env.top(1).to_string(version); std 1034 libcore/vm/ASHandlers.cpp std::string tgt_str = tgt_val.to_string(); std 1117 libcore/vm/ASHandlers.cpp const std::string& newname = env.top(1).to_string(); std 1118 libcore/vm/ASHandlers.cpp const std::string& path = env.top(2).to_string(); std 1150 libcore/vm/ASHandlers.cpp const std::string path = env.pop().to_string(); std 1178 libcore/vm/ASHandlers.cpp const std::string val = env.pop().to_string(); std 1225 libcore/vm/ASHandlers.cpp std::swap(y1, y0); std 1232 libcore/vm/ASHandlers.cpp std::swap(x1, x0); std 1264 libcore/vm/ASHandlers.cpp const std::string& op1 = env.top(0).to_string(ver); std 1265 libcore/vm/ASHandlers.cpp const std::string& op2 = env.top(1).to_string(ver); std 1415 libcore/vm/ASHandlers.cpp std::string cmd = env.top(off++).to_string(); std 1417 libcore/vm/ASHandlers.cpp std::ostringstream ss; std 1465 libcore/vm/ASHandlers.cpp std::string str = env.top(0).to_string(); std 1472 libcore/vm/ASHandlers.cpp std::vector<int> unused; std 1487 libcore/vm/ASHandlers.cpp std::string str = env.top(0).to_string(); std 1494 libcore/vm/ASHandlers.cpp std::wstring wstr = utf8::decodeCanonicalString(str, swfVersion); std 1532 libcore/vm/ASHandlers.cpp env.top(0).set_string(std::string(1, uc)); std 1564 libcore/vm/ASHandlers.cpp std::string str = string_val.to_string(version); std 1566 libcore/vm/ASHandlers.cpp std::vector<int> offsets; std 1627 libcore/vm/ASHandlers.cpp const std::string s = env.top(0).to_string(); std 1629 libcore/vm/ASHandlers.cpp std::string::const_iterator it = s.begin(), e = s.end(); std 1655 libcore/vm/ASHandlers.cpp std::string out = utf8::encodeUnicodeCharacter(i); std 1782 libcore/vm/ASHandlers.cpp const std::string str(code.read_string(i + 3)); std 1910 libcore/vm/ASHandlers.cpp const std::string& url = url_val.to_string(); std 1952 libcore/vm/ASHandlers.cpp const std::string& target_frame = env.top(0).to_string(); std 1953 libcore/vm/ASHandlers.cpp std::string target_path; std 1954 libcore/vm/ASHandlers.cpp std::string frame_var; std 2002 libcore/vm/ASHandlers.cpp std::string target_frame = env.pop().to_string(); std 2003 libcore/vm/ASHandlers.cpp std::string target_path; std 2004 libcore/vm/ASHandlers.cpp std::string frame_var; std 2067 libcore/vm/ASHandlers.cpp std::string propertyname = env.top(0).to_string(); std 2086 libcore/vm/ASHandlers.cpp std::string path, var; std 2124 libcore/vm/ASHandlers.cpp const std::pair<bool, bool> ret = obj->delProperty(getURI(vm, propertyname)); std 2140 libcore/vm/ASHandlers.cpp const std::string& propertyname = env.top(0).to_string(); std 2143 libcore/vm/ASHandlers.cpp std::string path, var; std 2166 libcore/vm/ASHandlers.cpp const std::pair<bool, bool> ret = obj->delProperty(getURI(vm, var)); std 2201 libcore/vm/ASHandlers.cpp const std::string& funcname = env.pop().to_string(); std 2279 libcore/vm/ASHandlers.cpp as_value result = std::fmod(x, y); std 2290 libcore/vm/ASHandlers.cpp const std::string& classname = val.to_string(); std 2332 libcore/vm/ASHandlers.cpp const std::string& varname = env.top(0).to_string(); std 2364 libcore/vm/ASHandlers.cpp getURI(vm, boost::lexical_cast<std::string>(i)); std 2398 libcore/vm/ASHandlers.cpp std::string member_name = env.top(1).to_string(); std 2454 libcore/vm/ASHandlers.cpp std::string var_string = var_name.to_string(); std 2555 libcore/vm/ASHandlers.cpp std::swap(env.top(1), env.top(0)); std 2606 libcore/vm/ASHandlers.cpp const std::string& member_name = env.top(1).to_string(); std 2684 libcore/vm/ASHandlers.cpp std::string method_string = method_name.to_string(); std 2851 libcore/vm/ASHandlers.cpp const std::string& method_string = method_name.to_string(); std 3048 libcore/vm/ASHandlers.cpp std::swap(env.top(1), env.top(0)); std 3057 libcore/vm/ASHandlers.cpp const std::string& op1 = env.top(0).to_string(); std 3058 libcore/vm/ASHandlers.cpp const std::string& op2 = env.top(1).to_string(); std 3138 libcore/vm/ASHandlers.cpp const std::string name = code.read_string(i); std 3163 libcore/vm/ASHandlers.cpp const std::string arg(code.read_string(i)); std 3366 libcore/vm/ASHandlers.cpp const std::string name = code.read_string(i); std 3375 libcore/vm/ASHandlers.cpp const std::string arg(code.read_string(i)); std 3505 libcore/vm/ASHandlers.cpp std::string target_string; std 3572 libcore/vm/ASHandlers.cpp std::string varsToSend; std 3619 libcore/vm/ASHandlers.cpp const std::string s = target_movie->getTarget(); // or getOrigTarget ? std 103 libcore/vm/ASHandlers.h typedef std::vector<ActionHandler> container_type; std 149 libcore/vm/ActionExec.cpp std::stringstream ss; std 269 libcore/vm/ActionExec.cpp std::stringstream ss; std 273 libcore/vm/ActionExec.cpp "by execution of opcode: " << std::endl; std 277 libcore/vm/ActionExec.cpp << " bytes of remaining opcodes: " << std::endl; std 288 libcore/vm/ActionExec.cpp std::stringstream ss; std 687 libcore/vm/ActionExec.cpp os << " PC:" << lpc << " - EX: " << code.disasm(lpc) << std::endl; std 54 libcore/vm/ActionExec.h size_t finally_size, std::string catchName) std 85 libcore/vm/ActionExec.h std::string _name; std 184 libcore/vm/ActionExec.h bool delVariable(const std::string& name); std 189 libcore/vm/ActionExec.h void setVariable(const std::string& name, const as_value& val); std 197 libcore/vm/ActionExec.h void setLocalVariable(const std::string& name, const as_value& val); std 206 libcore/vm/ActionExec.h as_value getVariable(const std::string& name, as_object** target = 0); std 253 libcore/vm/ActionExec.h void dumpActions(size_t start, size_t end, std::ostream& os); std 288 libcore/vm/ActionExec.h std::vector<With> _withStack; std 313 libcore/vm/ActionExec.h std::list<TryBlock> _tryList; std 49 libcore/vm/CallStack.cpp std::for_each(_registers.begin(), _registers.end(), std 50 libcore/vm/CallStack.cpp std::mem_fun_ref(&as_value::setReachable)); std 95 libcore/vm/CallStack.cpp std::ostream& std 48 libcore/vm/CallStack.h typedef std::vector<as_value> Registers; std 118 libcore/vm/CallStack.h friend std::ostream& operator<<(std::ostream&, const CallFrame&); std 147 libcore/vm/CallStack.h typedef std::vector<CallFrame> CallStack; std 149 libcore/vm/CallStack.h std::ostream& operator<<(std::ostream& o, const CallFrame& fr); std 87 libcore/vm/ExecutableCode.h typedef std::vector<const action_buffer*> BufferList; std 69 libcore/vm/Machine.cpp inline const std::string& std 76 libcore/vm/Machine.cpp catch (std::range_error& e) { std 88 libcore/vm/Machine.cpp catch (std::range_error& e) { std 100 libcore/vm/Machine.cpp catch (std::range_error& e) { std 112 libcore/vm/Machine.cpp catch (std::range_error& e) { std 124 libcore/vm/Machine.cpp catch (std::range_error& e) { std 137 libcore/vm/Machine.cpp catch (std::range_error& e) { std 149 libcore/vm/Machine.cpp catch (std::range_error& e) { std 163 libcore/vm/Machine.cpp catch (std::range_error& e) { std 389 libcore/vm/Machine.cpp std::size_t opStart = mStream->tellg(); std 509 libcore/vm/Machine.cpp const std::string& uri = pool_string(soffset, mPoolObject); std 526 libcore/vm/Machine.cpp const std::string& uri = _stack.top(0).to_string(); std 864 libcore/vm/Machine.cpp std::size_t npos = mStream->tellg(); std 3317 libcore/vm/Machine.cpp std::stringstream ss; std 3330 libcore/vm/Machine.cpp std::stringstream ss; std 3344 libcore/vm/Machine.cpp std::vector<as_value> v(argc); std 246 libcore/vm/Machine.h void instantiateClass(std::string className, as_object* global); std 272 libcore/vm/Machine.h std::vector<as_value> _registers; std 351 libcore/vm/Machine.h std::vector<as_value> _registers; std 43 libcore/vm/SafeStack.h typedef std::vector<T*> StackType; std 85 libcore/vm/VM.cpp const std::string& std 89 libcore/vm/VM.cpp static const std::string version(rcfile.getFlashVersionString()); std 93 libcore/vm/VM.cpp std::string std 106 libcore/vm/VM.cpp std::string tmp; std 123 libcore/vm/VM.cpp std::string std 134 libcore/vm/VM.cpp if ((loc = std::getenv("LANG")) || (loc = std::getenv("LANGUAGE")) || std 135 libcore/vm/VM.cpp (loc = std::getenv("LC_MESSAGES"))) { std 139 libcore/vm/VM.cpp return std::string(); std 163 libcore/vm/VM.cpp std::for_each(_globalRegisters.begin(), _globalRegisters.end(), std 164 libcore/vm/VM.cpp std::mem_fun_ref(&as_value::setReachable)); std 249 libcore/vm/VM.cpp std::ostringstream ss; std 418 libcore/vm/VM.cpp const std::string& s1 = operand1.to_string(); std 419 libcore/vm/VM.cpp const std::string& s2 = operand2.to_string(); std 466 libcore/vm/VM.cpp return - static_cast<boost::uint32_t>(std::fmod(-d, 4294967296.0)); std 469 libcore/vm/VM.cpp return static_cast<boost::uint32_t>(std::fmod(d, 4294967296.0)); std 129 libcore/vm/VM.h const std::string& getPlayerVersion() const; std 135 libcore/vm/VM.h std::string getOSName() const; std 140 libcore/vm/VM.h std::string getSystemLanguage() const; std 250 libcore/vm/VM.h void dumpState(std::ostream& o, size_t limit = 0); std 263 libcore/vm/VM.h typedef std::map<unsigned int, as_c_function_ptr> FuncMap; std 264 libcore/vm/VM.h typedef std::map<unsigned int, FuncMap> AsNativeTable; std 280 libcore/vm/VM.h std::auto_ptr<SharedObjectLibrary> _shLib; std 290 libcore/vm/VM.h getURI(const VM& vm, const std::string& str, bool lowerCaseHint=false) std 307 libcore/vm/VM.h inline const std::string& std 61 libcore/vm/fn_call.h typedef std::vector<T> container_type; std 87 libcore/vm/fn_call.h std::for_each(_v.begin(), _v.end(), std 88 libcore/vm/fn_call.h std::mem_fun_ref(&as_value::setReachable)); std 91 libcore/vm/fn_call.h void swap(std::vector<T>& to) { std 92 libcore/vm/fn_call.h std::swap(_v, to); std 100 libcore/vm/fn_call.h std::vector<T> _v; std 204 libcore/vm/fn_call.h void dump_args(std::ostream& os) const { std 297 libcore/vm/fn_call.h std::string target = typeName(ret); std 298 libcore/vm/fn_call.h std::string source = typeName(obj); std 300 libcore/vm/fn_call.h std::string msg = "Function requiring " + target + " as 'this' " std 433 libmedia/AudioDecoderSimple.cpp std::swap(decodedData[i], decodedData[i+1]); std 97 libmedia/AudioDecoderSpeex.cpp std::vector<DecodedFrame*> decoded_frames; std 167 libmedia/AudioDecoderSpeex.cpp for (std::vector<DecodedFrame*>::iterator it = decoded_frames.begin(), std 57 libmedia/AudioInput.h virtual void setName(std::string name) = 0; std 59 libmedia/AudioInput.h virtual const std::string& name() const = 0; std 81 libmedia/AudioResampler.cpp std::memcpy(out_data, data, output_sample_count * sizeof(boost::int16_t)); std 163 libmedia/FLVParser.cpp std::auto_ptr<EncodedAudioFrame> std 166 libmedia/FLVParser.cpp std::auto_ptr<EncodedAudioFrame> frame; std 205 libmedia/FLVParser.cpp std::copy(frame->data.get(), frame->data.get() + bufSize, data); std 220 libmedia/FLVParser.cpp std::auto_ptr<EncodedVideoFrame> std 260 libmedia/FLVParser.cpp std::auto_ptr<EncodedVideoFrame> frame = readVideoFrame(bodyLength-1, std 280 libmedia/FLVParser.cpp std::copy(frame->data(), frame->data() + bufSize, data); std 378 libmedia/FLVParser.cpp std::auto_ptr<EncodedAudioFrame> frame = std 402 libmedia/FLVParser.cpp std::auto_ptr<EncodedVideoFrame> frame = std 426 libmedia/FLVParser.cpp std::auto_ptr<SimpleBuffer> metaTag(new SimpleBuffer( std 448 libmedia/FLVParser.cpp _metaTags.insert(std::make_pair(flvtag.timestamp, metaTag.release())); std 472 libmedia/FLVParser.cpp assert(_stream->tell() == static_cast<std::streampos>(0)); std 485 libmedia/FLVParser.cpp if (!std::equal(header, header + 3, "FLV")) { std 517 libmedia/FLVParser.cpp std::auto_ptr<EncodedAudioFrame> std 521 libmedia/FLVParser.cpp std::auto_ptr<EncodedAudioFrame> frame(new EncodedAudioFrame); std 528 libmedia/FLVParser.cpp std::fill(data + bytesRead, data + bufSize, 0); std 544 libmedia/FLVParser.cpp std::auto_ptr<EncodedVideoFrame> std 547 libmedia/FLVParser.cpp std::auto_ptr<EncodedVideoFrame> frame; std 554 libmedia/FLVParser.cpp std::fill(data + bytesRead, data + bufSize, 0); std 572 libmedia/FLVParser.cpp std::transform(_metaTags.begin(), it, std::back_inserter(tags), std 124 libmedia/FLVParser.h FLVParser(std::auto_ptr<IOChannel> lt); std 237 libmedia/FLVParser.h std::auto_ptr<EncodedAudioFrame> parseAudioTag(const FLVTag& flvtag, std 240 libmedia/FLVParser.h std::auto_ptr<EncodedVideoFrame> parseVideoTag(const FLVTag& flvtag, std 283 libmedia/FLVParser.h std::auto_ptr<EncodedAudioFrame> std 286 libmedia/FLVParser.h std::auto_ptr<EncodedVideoFrame> std 292 libmedia/FLVParser.h typedef std::map<boost::uint64_t, long> CuePointsMap; std 52 libmedia/MediaHandler.cpp if (!std::equal(head, head + 3, "FLV")) return false; std 56 libmedia/MediaHandler.cpp std::auto_ptr<MediaParser> std 59 libmedia/MediaHandler.cpp std::auto_ptr<MediaParser> parser; std 80 libmedia/MediaHandler.cpp std::auto_ptr<AudioDecoder> std 91 libmedia/MediaHandler.cpp std::auto_ptr<AudioDecoder> ret(new AudioDecoderSimple(info)); std 98 libmedia/MediaHandler.cpp std::auto_ptr<AudioDecoder> ret(new AudioDecoderSpeex); std 75 libmedia/MediaHandler.h virtual std::string description() const = 0; std 87 libmedia/MediaHandler.h virtual std::auto_ptr<MediaParser> std 88 libmedia/MediaHandler.h createMediaParser(std::auto_ptr<IOChannel> stream); std 96 libmedia/MediaHandler.h virtual std::auto_ptr<VideoDecoder> std 105 libmedia/MediaHandler.h virtual std::auto_ptr<AudioDecoder> std 115 libmedia/MediaHandler.h virtual std::auto_ptr<VideoConverter> std 134 libmedia/MediaHandler.h virtual void cameraNames(std::vector<std::string>& names) const = 0; std 162 libmedia/MediaHandler.h std::auto_ptr<AudioDecoder> createFlashAudioDecoder(const AudioInfo& info); std 87 libmedia/MediaParser.cpp return std::min(audioBufferLength(), videoBufferLength()); std 171 libmedia/MediaParser.cpp ts = std::min(_videoFrames.front()->timestamp(), std 190 libmedia/MediaParser.cpp std::auto_ptr<EncodedVideoFrame> std 202 libmedia/MediaParser.cpp std::auto_ptr<EncodedVideoFrame> ret; std 213 libmedia/MediaParser.cpp std::auto_ptr<EncodedAudioFrame> std 225 libmedia/MediaParser.cpp std::auto_ptr<EncodedAudioFrame> ret; std 451 libmedia/MediaParser.cpp std::ostream& std 461 libmedia/MediaParser.cpp std::ostream& std 491 libmedia/MediaParser.cpp std::ostream& std 95 libmedia/MediaParser.h DSOEXPORT std::ostream& operator<< (std::ostream& os, const videoCodecType& t); std 186 libmedia/MediaParser.h DSOEXPORT std::ostream& operator<< (std::ostream& os, const audioCodecType& t); std 272 libmedia/MediaParser.h std::auto_ptr<ExtraInfo> extra; std 347 libmedia/MediaParser.h std::auto_ptr<ExtraInfo> extra; std 350 libmedia/MediaParser.h DSOEXPORT std::ostream& operator << (std::ostream& os, const VideoInfo& vi); std 402 libmedia/MediaParser.h std::auto_ptr<EncodedExtraData> extradata; std 420 libmedia/MediaParser.h std::auto_ptr<EncodedExtraData> extradata; std 438 libmedia/MediaParser.h typedef std::multimap<boost::uint64_t, boost::shared_ptr<SimpleBuffer> > std 441 libmedia/MediaParser.h typedef std::vector<MetaTags::mapped_type> OrderedMetaTags; std 442 libmedia/MediaParser.h MediaParser(std::auto_ptr<IOChannel> stream); std 522 libmedia/MediaParser.h DSOEXPORT std::auto_ptr<EncodedVideoFrame> nextVideoFrame(); std 540 libmedia/MediaParser.h DSOEXPORT std::auto_ptr<EncodedAudioFrame> nextAudioFrame(); std 611 libmedia/MediaParser.h std::auto_ptr<VideoInfo> _videoInfo; std 614 libmedia/MediaParser.h std::auto_ptr<AudioInfo> _audioInfo; std 643 libmedia/MediaParser.h void pushEncodedAudioFrame(std::auto_ptr<EncodedAudioFrame> frame); std 649 libmedia/MediaParser.h void pushEncodedVideoFrame(std::auto_ptr<EncodedVideoFrame> frame); std 652 libmedia/MediaParser.h std::auto_ptr<IOChannel> _stream; std 679 libmedia/MediaParser.h std::auto_ptr<boost::thread> _parserThread; std 717 libmedia/MediaParser.h typedef std::deque<EncodedVideoFrame*> VideoFrames; std 718 libmedia/MediaParser.h typedef std::deque<EncodedAudioFrame*> AudioFrames; std 102 libmedia/VideoConverter.h virtual std::auto_ptr<ImgBuf> convert(const ImgBuf& src) = 0; std 62 libmedia/VideoDecoder.h virtual std::auto_ptr<image::GnashImage> pop() = 0; std 115 libmedia/VideoInput.h virtual const std::string& name() const = 0; std 490 libmedia/ffmpeg/AudioDecoderFfmpeg.cpp retCapacity = std::max(retBufSize+static_cast<size_t>(outSize), std 499 libmedia/ffmpeg/AudioDecoderFfmpeg.cpp if ( retBufSize ) std::copy(tmp, tmp+retBufSize, retBuf); std 502 libmedia/ffmpeg/AudioDecoderFfmpeg.cpp std::copy(outBuf.get(), outBuf.get()+outSize, retBuf+retBufSize); std 590 libmedia/ffmpeg/AudioDecoderFfmpeg.cpp int expectedMaxOutSamples = std::ceil(inSamples*resampleFactor); std 645 libmedia/ffmpeg/AudioDecoderFfmpeg.cpp std::memcpy(newOutput, output, outSize); std 71 libmedia/ffmpeg/AudioInputFfmpeg.h virtual void setName(std::string name) { std 75 libmedia/ffmpeg/AudioInputFfmpeg.h virtual const std::string& name() const { return _name; } std 113 libmedia/ffmpeg/AudioInputFfmpeg.h std::string _name; std 40 libmedia/ffmpeg/MediaHandlerFfmpeg.cpp std::string std 43 libmedia/ffmpeg/MediaHandlerFfmpeg.cpp std::ostringstream ss; std 51 libmedia/ffmpeg/MediaHandlerFfmpeg.cpp std::auto_ptr<MediaParser> std 54 libmedia/ffmpeg/MediaHandlerFfmpeg.cpp std::auto_ptr<MediaParser> parser; std 76 libmedia/ffmpeg/MediaHandlerFfmpeg.cpp std::auto_ptr<VideoDecoder> std 79 libmedia/ffmpeg/MediaHandlerFfmpeg.cpp std::auto_ptr<VideoDecoder> ret(new VideoDecoderFfmpeg(info)); std 83 libmedia/ffmpeg/MediaHandlerFfmpeg.cpp std::auto_ptr<VideoConverter> std 87 libmedia/ffmpeg/MediaHandlerFfmpeg.cpp std::auto_ptr<VideoConverter> converter; std 103 libmedia/ffmpeg/MediaHandlerFfmpeg.cpp std::auto_ptr<AudioDecoder> std 107 libmedia/ffmpeg/MediaHandlerFfmpeg.cpp std::auto_ptr<AudioDecoder> ret; std 47 libmedia/ffmpeg/MediaHandlerFfmpeg.h std::string description() const; std 49 libmedia/ffmpeg/MediaHandlerFfmpeg.h virtual std::auto_ptr<MediaParser> std 50 libmedia/ffmpeg/MediaHandlerFfmpeg.h createMediaParser(std::auto_ptr<IOChannel> stream); std 52 libmedia/ffmpeg/MediaHandlerFfmpeg.h virtual std::auto_ptr<VideoDecoder> std 55 libmedia/ffmpeg/MediaHandlerFfmpeg.h virtual std::auto_ptr<VideoConverter> std 59 libmedia/ffmpeg/MediaHandlerFfmpeg.h virtual std::auto_ptr<AudioDecoder> std 68 libmedia/ffmpeg/MediaHandlerFfmpeg.h virtual void cameraNames(std::vector<std::string>& names) const; std 70 libmedia/ffmpeg/MediaParserFfmpeg.cpp assert(_stream->tell() == static_cast<std::streampos>(0)); std 74 libmedia/ffmpeg/MediaParserFfmpeg.cpp std::fill(buffer.get() + actuallyRead, buffer.get() + bufSize, 0); std 168 libmedia/ffmpeg/MediaParserFfmpeg.cpp std::copy(packet.data, packet.data+packet.size, data); std 169 libmedia/ffmpeg/MediaParserFfmpeg.cpp std::auto_ptr<EncodedVideoFrame> frame(new EncodedVideoFrame(data, packet.size, 0, timestamp)); std 210 libmedia/ffmpeg/MediaParserFfmpeg.cpp std::auto_ptr<EncodedAudioFrame> frame ( new EncodedAudioFrame ); std 217 libmedia/ffmpeg/MediaParserFfmpeg.cpp std::copy(packet.data, packet.data+packet.size, data); std 568 libmedia/ffmpeg/MediaParserFfmpeg.cpp _stream->seek(_stream->tell() + static_cast<std::streamoff>(offset)); std 80 libmedia/ffmpeg/MediaParserFfmpeg.h MediaParserFfmpeg(std::auto_ptr<IOChannel> stream); std 132 libmedia/ffmpeg/VideoConverterFfmpeg.cpp std::auto_ptr<ImgBuf> std 135 libmedia/ffmpeg/VideoConverterFfmpeg.cpp std::auto_ptr<ImgBuf> ret; std 193 libmedia/ffmpeg/VideoConverterFfmpeg.cpp std::copy(dstpicture.linesize, dstpicture.linesize+4, ret->stride); std 37 libmedia/ffmpeg/VideoConverterFfmpeg.h std::auto_ptr<ImgBuf> convert(const ImgBuf& src); std 42 libmedia/ffmpeg/VideoConverterFfmpeg.h std::auto_ptr<SwsContextWrapper> _swsContext; std 162 libmedia/ffmpeg/VideoDecoderFfmpeg.cpp std::abort(); std 238 libmedia/ffmpeg/VideoDecoderFfmpeg.cpp std::auto_ptr<image::GnashImage> std 255 libmedia/ffmpeg/VideoDecoderFfmpeg.cpp std::auto_ptr<image::GnashImage> im; std 341 libmedia/ffmpeg/VideoDecoderFfmpeg.cpp std::auto_ptr<image::GnashImage> std 349 libmedia/ffmpeg/VideoDecoderFfmpeg.cpp std::auto_ptr<image::GnashImage> ret; std 382 libmedia/ffmpeg/VideoDecoderFfmpeg.cpp std::auto_ptr<image::GnashImage> std 385 libmedia/ffmpeg/VideoDecoderFfmpeg.cpp std::auto_ptr<image::GnashImage> ret; std 387 libmedia/ffmpeg/VideoDecoderFfmpeg.cpp for (std::vector<const EncodedVideoFrame*>::iterator it = std 58 libmedia/ffmpeg/VideoDecoderFfmpeg.h std::auto_ptr<image::GnashImage> pop(); std 83 libmedia/ffmpeg/VideoDecoderFfmpeg.h std::auto_ptr<image::GnashImage> frameToImage(AVCodecContext* srcCtx, std 89 libmedia/ffmpeg/VideoDecoderFfmpeg.h std::auto_ptr<image::GnashImage> decode(const boost::uint8_t* input, std 92 libmedia/ffmpeg/VideoDecoderFfmpeg.h std::auto_ptr<image::GnashImage> decode(const EncodedVideoFrame* vf) std 98 libmedia/ffmpeg/VideoDecoderFfmpeg.h std::auto_ptr<CodecContextWrapper> _videoCodecCtx; std 107 libmedia/ffmpeg/VideoDecoderFfmpeg.h std::auto_ptr<SwsContextWrapper> _swsContext; std 110 libmedia/ffmpeg/VideoDecoderFfmpeg.h std::vector<const EncodedVideoFrame*> _video_frames; std 44 libmedia/ffmpeg/VideoInputFfmpeg.h static void getNames(std::vector<std::string>& /*names*/) {} std 106 libmedia/ffmpeg/VideoInputFfmpeg.h const std::string& name() const { return _name; } std 168 libmedia/ffmpeg/VideoInputFfmpeg.h std::string _name; std 138 libmedia/gst/AudioDecoderGst.cpp static std::string std 141 libmedia/gst/AudioDecoderGst.cpp std::string resampler = "ffaudioresample"; std 174 libmedia/gst/AudioDecoderGst.cpp std::string type(gst_structure_get_name(sct)); std 175 libmedia/gst/AudioDecoderGst.cpp std::string msg = (boost::format(_("Couldn't find a plugin for " std 192 libmedia/gst/AudioDecoderGst.cpp std::string resampler = findResampler(); std 197 libmedia/gst/AudioDecoderGst.cpp std::string type(gst_structure_get_name(sct)); std 198 libmedia/gst/AudioDecoderGst.cpp std::string msg = (boost::format( std 137 libmedia/gst/AudioInputGst.cpp (std::strstr(dev_name, "Monitor") != NULL)) { std 293 libmedia/gst/AudioInputGst.h virtual void setName(std::string name) { std 297 libmedia/gst/AudioInputGst.h virtual const std::string& name() const { return _name; } std 355 libmedia/gst/AudioInputGst.h std::string _name; std 503 libmedia/gst/AudioInputGst.h std::vector<GnashAudio*>* getAudioVect() {return &_audioVect;} std 519 libmedia/gst/AudioInputGst.h std::vector<GnashAudio*> _audioVect; std 51 libmedia/gst/GstUtil.cpp const std::string GNASHRCSINK = "gnashrcsink"; std 52 libmedia/gst/GstUtil.cpp const std::string sAudioSink = std 58 libmedia/gst/GstUtil.cpp if(sAudioSink.find('!') != std::string::npos) //Found a non-trivial pipeline - bin it std 63 libmedia/gst/GstUtil.cpp std::ostringstream o; std 45 libmedia/gst/MediaHandlerGst.cpp std::string std 50 libmedia/gst/MediaHandlerGst.cpp std::ostringstream s; std 55 libmedia/gst/MediaHandlerGst.cpp std::auto_ptr<MediaParser> std 58 libmedia/gst/MediaHandlerGst.cpp std::auto_ptr<MediaParser> parser; std 81 libmedia/gst/MediaHandlerGst.cpp std::auto_ptr<VideoDecoder> std 90 libmedia/gst/MediaHandlerGst.cpp return std::auto_ptr<VideoDecoder>(); std 92 libmedia/gst/MediaHandlerGst.cpp return std::auto_ptr<VideoDecoder>( std 108 libmedia/gst/MediaHandlerGst.cpp std::auto_ptr<VideoDecoder> ret( new VideoDecoderGst(format, width, height, extradata, datasize) ); std 112 libmedia/gst/MediaHandlerGst.cpp std::auto_ptr<AudioDecoder> std 115 libmedia/gst/MediaHandlerGst.cpp std::auto_ptr<AudioDecoder> ret; std 147 libmedia/gst/MediaHandlerGst.cpp std::auto_ptr<VideoConverter> std 150 libmedia/gst/MediaHandlerGst.cpp std::auto_ptr<VideoConverter> converter; std 45 libmedia/gst/MediaHandlerGst.h virtual std::string description() const; std 47 libmedia/gst/MediaHandlerGst.h virtual std::auto_ptr<MediaParser> std 48 libmedia/gst/MediaHandlerGst.h createMediaParser(std::auto_ptr<IOChannel> stream); std 50 libmedia/gst/MediaHandlerGst.h virtual std::auto_ptr<VideoDecoder> std 53 libmedia/gst/MediaHandlerGst.h virtual std::auto_ptr<AudioDecoder> std 56 libmedia/gst/MediaHandlerGst.h virtual std::auto_ptr<VideoConverter> std 64 libmedia/gst/MediaHandlerGst.h virtual void cameraNames(std::vector<std::string>& names) const; std 177 libmedia/gst/MediaParserGst.cpp std::streamoff ret = _stream->read(GST_BUFFER_DATA(buffer), PUSHBUF_SIZE); std 213 libmedia/gst/MediaParserGst.cpp pushEncodedAudioFrame(std::auto_ptr<EncodedAudioFrame>(frame)); std 219 libmedia/gst/MediaParserGst.cpp pushEncodedVideoFrame(std::auto_ptr<EncodedVideoFrame>(frame)); std 392 libmedia/gst/MediaParserGst.cpp if (std::equal(caps_name, caps_name+5, "audio")) { std 394 libmedia/gst/MediaParserGst.cpp } else if (std::equal(caps_name, caps_name+5, "video")) { std 111 libmedia/gst/MediaParserGst.h MediaParserGst(std::auto_ptr<IOChannel> stream); std 155 libmedia/gst/MediaParserGst.h std::deque<EncodedAudioFrame*> _enc_audio_frames; std 156 libmedia/gst/MediaParserGst.h std::deque<EncodedVideoFrame*> _enc_video_frames; std 123 libmedia/gst/VideoConverterGst.cpp std::auto_ptr<ImgBuf> std 126 libmedia/gst/VideoConverterGst.cpp std::auto_ptr<ImgBuf> ret; std 39 libmedia/gst/VideoConverterGst.h std::auto_ptr<ImgBuf> convert(const ImgBuf& src); std 125 libmedia/gst/VideoDecoderGst.cpp std::string type(gst_structure_get_name(sct)); std 126 libmedia/gst/VideoDecoderGst.cpp std::string msg = (boost::format(_("Couldn't find a plugin for " std 152 libmedia/gst/VideoDecoderGst.cpp std::string type(gst_structure_get_name(sct)); std 153 libmedia/gst/VideoDecoderGst.cpp std::string msg = (boost::format( std 190 libmedia/gst/VideoDecoderGst.cpp std::auto_ptr<image::GnashImage> std 196 libmedia/gst/VideoDecoderGst.cpp return std::auto_ptr<image::GnashImage>(); std 210 libmedia/gst/VideoDecoderGst.cpp std::auto_ptr<image::GnashImage> ret(new gnashGstBuffer(buffer, _width, _height)); std 82 libmedia/gst/VideoDecoderGst.h std::auto_ptr<image::GnashImage> pop(); std 280 libmedia/gst/VideoInputGst.cpp std::vector<GnashWebcam*> cams; std 851 libmedia/gst/VideoInputGst.cpp std::ostringstream ss; std 853 libmedia/gst/VideoInputGst.cpp const std::string& res = ss.str(); std 964 libmedia/gst/VideoInputGst.cpp int val = std::ceil(static_cast<double>( std 1005 libmedia/gst/VideoInputGst.cpp std::ostringstream ss; std 1007 libmedia/gst/VideoInputGst.cpp const std::string& res = ss.str(); std 125 libmedia/gst/VideoInputGst.h static void getNames(std::vector<std::string>& names); std 187 libmedia/gst/VideoInputGst.h const std::string& name() const { return _name; } std 421 libmedia/gst/VideoInputGst.h static void findVidDevs(std::vector<GnashWebcam*>& cams); std 425 libmedia/gst/VideoInputGst.h std::vector<GnashWebcam*> _vidVect; std 483 libmedia/gst/VideoInputGst.h std::string _name; std 71 libmedia/haiku/AudioInputHaiku.h virtual void setName(std::string name) { std 75 libmedia/haiku/AudioInputHaiku.h virtual const std::string& name() const { return _name; } std 113 libmedia/haiku/AudioInputHaiku.h std::string _name; std 42 libmedia/haiku/MediaHandlerHaiku.cpp std::auto_ptr<MediaParser> std 45 libmedia/haiku/MediaHandlerHaiku.cpp std::auto_ptr<MediaParser> parser; std 67 libmedia/haiku/MediaHandlerHaiku.cpp std::auto_ptr<VideoDecoder> std 70 libmedia/haiku/MediaHandlerHaiku.cpp std::auto_ptr<VideoDecoder> ret(new VideoDecoderHaiku(info)); std 74 libmedia/haiku/MediaHandlerHaiku.cpp std::auto_ptr<VideoConverter> std 78 libmedia/haiku/MediaHandlerHaiku.cpp std::auto_ptr<VideoConverter> converter; std 94 libmedia/haiku/MediaHandlerHaiku.cpp std::auto_ptr<AudioDecoder> std 97 libmedia/haiku/MediaHandlerHaiku.cpp std::auto_ptr<AudioDecoder> ret; std 46 libmedia/haiku/MediaHandlerHaiku.h virtual std::string description() const { std 50 libmedia/haiku/MediaHandlerHaiku.h virtual std::auto_ptr<MediaParser> std 51 libmedia/haiku/MediaHandlerHaiku.h createMediaParser(std::auto_ptr<IOChannel> stream); std 53 libmedia/haiku/MediaHandlerHaiku.h virtual std::auto_ptr<VideoDecoder> std 56 libmedia/haiku/MediaHandlerHaiku.h virtual std::auto_ptr<VideoConverter> std 60 libmedia/haiku/MediaHandlerHaiku.h virtual std::auto_ptr<AudioDecoder> std 69 libmedia/haiku/MediaHandlerHaiku.h virtual void cameraNames(std::vector<std::string>& names) const; std 45 libmedia/haiku/MediaParserHaiku.h MediaParserHaiku(std::auto_ptr<IOChannel> stream); std 42 libmedia/haiku/VideoConverterHaiku.cpp std::auto_ptr<ImgBuf> std 40 libmedia/haiku/VideoConverterHaiku.h std::auto_ptr<ImgBuf> convert(const ImgBuf& src); std 62 libmedia/haiku/VideoDecoderHaiku.cpp std::auto_ptr<GnashImage> std 65 libmedia/haiku/VideoDecoderHaiku.cpp std::auto_ptr<GnashImage> ret; std 49 libmedia/haiku/VideoDecoderHaiku.h std::auto_ptr<GnashImage> pop(); std 43 libmedia/haiku/VideoInputHaiku.h static void getNames(std::vector<std::string>& /*names*/) {} std 105 libmedia/haiku/VideoInputHaiku.h const std::string& name() const { return _name; } std 167 libmedia/haiku/VideoInputHaiku.h std::string _name; std 200 librender/Renderer.h virtual std::string description() const = 0; std 225 librender/Renderer.h std::auto_ptr<image::GnashImage> im) = 0; std 268 librender/Renderer.h virtual void drawLine(const std::vector<point>& coords, std 285 librender/Renderer.h virtual void draw_poly(const std::vector<point>& corners, std 353 librender/Renderer.h typedef std::vector<RenderImage> RenderImages; std 32 librender/agg/LinearRGB.h return (1 + a) * std::pow(s, 1 / 2.4) - a; std 182 librender/agg/Renderer_agg.cpp typedef std::vector<agg::path_storage> AggPaths; std 183 librender/agg/Renderer_agg.cpp typedef std::vector<geometry::Range2d<int> > ClipBounds; std 184 librender/agg/Renderer_agg.cpp typedef std::vector<AlphaMask*> AlphaMasks; std 185 librender/agg/Renderer_agg.cpp typedef std::vector<Path> GnashPaths; std 276 librender/agg/Renderer_agg.cpp std::for_each(in.m_edges.begin(), in.m_edges.end(), std 296 librender/agg/Renderer_agg.cpp std::for_each(paths.begin(), paths.end(), GnashToAggPath(dest, 0.05)); std 673 librender/agg/Renderer_agg.cpp std::string description() const { std 870 librender/agg/Renderer_agg.cpp std::auto_ptr<Renderer_agg_base> in; std 880 librender/agg/Renderer_agg.cpp std::abort(); std 960 librender/agg/Renderer_agg.cpp typedef std::vector<point> Points; std 1046 librender/agg/Renderer_agg.cpp std::vector<FillStyle> v(1, FillStyle(SolidFill(color))); std 1222 librender/agg/Renderer_agg.cpp std::for_each(paths_out.begin(), paths_out.end(), std 1629 librender/agg/Renderer_agg.cpp std::for_each(this_path.m_edges.begin(), this_path.m_edges.end(), std 1704 librender/agg/Renderer_agg.cpp const float stroke_scale = (std::abs(linestyle_matrix.get_x_scale()) + std 1705 librender/agg/Renderer_agg.cpp std::abs(linestyle_matrix.get_y_scale())) / 2.0f * get_stroke_scale(); std 1767 librender/agg/Renderer_agg.cpp stroke.width(std::max(1.0f, thickness*stroke_scale)); std 2062 librender/agg/Renderer_agg.cpp std::auto_ptr<PixelFormat> m_pixf; std 2066 librender/agg/Renderer_agg.cpp std::vector< geometry::Range2d<int>* > _clipbounds_selected; std 2075 librender/agg/Renderer_agg.cpp std::vector<FillStyle> m_single_FillStyles; std 36 librender/agg/Renderer_agg_bitmap.h agg_bitmap_info(std::auto_ptr<image::GnashImage> im) std 391 librender/agg/Renderer_agg_style.h span->r = std::min(span->r, span->a); std 392 librender/agg/Renderer_agg_style.h span->g = std::min(span->g, span->a); std 393 librender/agg/Renderer_agg_style.h span->b = std::min(span->b, span->a); std 53 librender/cairo/PathParser.cpp typedef std::deque<UnivocalPath> UniPathList; std 55 librender/cairo/PathParser.cpp std::vector<UniPathList> unipathvec(_num_styles); std 103 librender/cairo/PathParser.cpp std::deque<UnivocalPath>::iterator std 106 librender/cairo/PathParser.cpp std::deque<UnivocalPath>::iterator it = paths.begin(), std 126 librender/cairo/PathParser.cpp const std::vector<Edge>& edges = append_path._path->m_edges; std 130 librender/cairo/PathParser.cpp std::for_each(edges.begin(), edges.end(), boost::bind(&PathParser::line_to, std 134 librender/cairo/PathParser.cpp for (std::vector<Edge>::const_reverse_iterator prev = edges.rbegin(), std 65 librender/cairo/PathParser.h PathParser(const std::vector<Path>& paths, size_t num_styles); std 104 librender/cairo/PathParser.h std::deque<UnivocalPath>::iterator emitConnecting(std::deque<UnivocalPath>& paths); std 118 librender/cairo/PathParser.h const std::vector<Path>& _paths; std 149 librender/cairo/Renderer_cairo.cpp std::abort(); std 157 librender/cairo/Renderer_cairo.cpp std::copy(start, start + sz, image::begin<image::ARGB>(*_image)); std 309 librender/cairo/Renderer_cairo.cpp x = std::floor(x + 0.5) + 0.5; std 310 librender/cairo/Renderer_cairo.cpp y = std::floor(y + 0.5) + 0.5; std 402 librender/cairo/Renderer_cairo.cpp const std::vector<FillStyle>& _FillStyles; std 474 librender/cairo/Renderer_cairo.cpp std::abort(); std 683 librender/cairo/Renderer_cairo.cpp std::vector<point>::const_iterator i = coords.begin(); std 690 librender/cairo/Renderer_cairo.cpp for (std::vector<point>::const_iterator e = coords.end(); i != e; ++i) { std 797 librender/cairo/Renderer_cairo.cpp for (std::vector<Edge>::const_iterator it = cur_path.m_edges.begin(), std 938 librender/cairo/Renderer_cairo.cpp std::vector<PathVec::const_iterator> std 941 librender/cairo/Renderer_cairo.cpp std::vector<PathVec::const_iterator> subshapes; std 991 librender/cairo/Renderer_cairo.cpp std::for_each(paths.begin(), paths.end(), std 1016 librender/cairo/Renderer_cairo.cpp std::vector<PathVec::const_iterator> subshapes = find_subshapes(path_vec); std 1018 librender/cairo/Renderer_cairo.cpp const std::vector<FillStyle>& FillStyles = shape.fillStyles(); std 1019 librender/cairo/Renderer_cairo.cpp const std::vector<LineStyle>& line_styles = shape.lineStyles(); std 1040 librender/cairo/Renderer_cairo.cpp std::vector<FillStyle> glyph_fs; std 1048 librender/cairo/Renderer_cairo.cpp std::vector<LineStyle> dummy_ls; std 36 librender/cairo/Renderer_cairo.h typedef std::vector<Path> PathVec; std 37 librender/cairo/Renderer_cairo.h typedef std::vector<const Path*> PathPtrVec; std 46 librender/cairo/Renderer_cairo.h std::string description() const { return "Cairo"; } std 48 librender/cairo/Renderer_cairo.h CachedBitmap* createCachedBitmap(std::auto_ptr<image::GnashImage> im); std 78 librender/cairo/Renderer_cairo.h void drawLine(const std::vector<point>& coords, const rgba& color, std 81 librender/cairo/Renderer_cairo.h void draw_poly(const std::vector<point>& corners, std 97 librender/cairo/Renderer_cairo.h const std::vector<LineStyle>& line_styles, std 101 librender/cairo/Renderer_cairo.h std::vector<PathVec::const_iterator> find_subshapes(const PathVec& path_vec); std 105 librender/cairo/Renderer_cairo.h const std::vector<FillStyle>& FillStyles, std 106 librender/cairo/Renderer_cairo.h const std::vector<LineStyle>& line_styles); std 112 librender/cairo/Renderer_cairo.h void apply_matrix_to_paths(std::vector<Path>& paths, const SWFMatrix& mat); std 131 librender/cairo/Renderer_cairo.h std::vector<PathVec> _masks; std 156 librender/opengl/Renderer_ogl.cpp std::abort(); std 158 librender/opengl/Renderer_ogl.cpp std::fill(_cache->begin(), _cache->end(), 0xff); std 290 librender/opengl/Renderer_ogl.cpp typedef std::vector<Path> PathVec; std 362 librender/opengl/Renderer_ogl.cpp PointSerializer(std::vector<boost::int16_t>& dest) std 373 librender/opengl/Renderer_ogl.cpp std::vector<boost::int16_t>& _dest; std 412 librender/opengl/Renderer_ogl.cpp std::vector<oglVertex> interpolate(const std::vector<Edge>& edges, std 417 librender/opengl/Renderer_ogl.cpp std::vector<oglVertex> shape_points; std 420 librender/opengl/Renderer_ogl.cpp for (std::vector<Edge>::const_iterator it = edges.begin(), end = edges.end(); std 486 librender/opengl/Renderer_ogl.cpp for (std::vector<oglVertex>::const_iterator it = vertices.begin(), end = vertices.end(); std 504 librender/opengl/Renderer_ogl.cpp for (std::vector<GLdouble*>::iterator it = _vertices.begin(), std 703 librender/opengl/Renderer_ogl.cpp std::for_each(container.begin(), container.end(), std 719 librender/opengl/Renderer_ogl.cpp std::string description() const { return "OpenGL"; } std 777 librender/opengl/Renderer_ogl.cpp std::auto_ptr<image::GnashImage> rgba( std 790 librender/opengl/Renderer_ogl.cpp std::abort(); std 815 librender/opengl/Renderer_ogl.cpp std::list< boost::shared_ptr<GnashTexture> >::iterator it; std 985 librender/opengl/Renderer_ogl.cpp _width = std::fabs(x1 - x0); std 986 librender/opengl/Renderer_ogl.cpp _height = std::fabs(y1 - y0); std 1101 librender/opengl/Renderer_ogl.cpp std::vector<boost::int16_t> pointList; std 1103 librender/opengl/Renderer_ogl.cpp std::for_each(coords.begin(), coords.end(), PointSerializer(pointList)); std 1196 librender/opengl/Renderer_ogl.cpp std::for_each(_masks.begin(), _masks.end(), std 1207 librender/opengl/Renderer_ogl.cpp std::vector<FillStyle> dummy_fs; std 1213 librender/opengl/Renderer_ogl.cpp std::vector<LineStyle> dummy_ls; std 1232 librender/opengl/Renderer_ogl.cpp std::cout << "Origin: (" std 1252 librender/opengl/Renderer_ogl.cpp for (std::vector<edge>::const_iterator it = path.m_edges.begin(), end = path.m_edges.end(); std 1255 librender/opengl/Renderer_ogl.cpp std::cout << "( " << cur_edge.ap.x << ", " << cur_edge.ap.y << ") "; std 1257 librender/opengl/Renderer_ogl.cpp std::cout << std::endl; std 1274 librender/opengl/Renderer_ogl.cpp for (std::vector<Edge>::const_reverse_iterator it = cur_path.m_edges.rbegin()+1, end = cur_path.m_edges.rend(); std 1312 librender/opengl/Renderer_ogl.cpp for (std::list<const Path*>::const_iterator it = path_refs.begin(), end = path_refs.end(); std 1451 librender/opengl/Renderer_ogl.cpp float stroke_scale = std::fabs(mat.get_x_scale()) + std::fabs(mat.get_y_scale()); std 1453 librender/opengl/Renderer_ogl.cpp stroke_scale *= (std::fabs(_xscale) + std::fabs(_yscale)) / 2.0f; std 1510 librender/opengl/Renderer_ogl.cpp typedef std::vector<const Path*> PathPtrVec; std 1537 librender/opengl/Renderer_ogl.cpp const std::vector<oglVertex>& shape_points = (*pathpoints.find(&cur_path)).second; std 1556 librender/opengl/Renderer_ogl.cpp std::for_each(cur_path.m_edges.begin(), cur_path.m_edges.end(), std 1563 librender/opengl/Renderer_ogl.cpp std::list<PathPtrVec> get_contours(const PathPtrVec &paths) std 1565 librender/opengl/Renderer_ogl.cpp std::list<const Path*> path_refs; std 1566 librender/opengl/Renderer_ogl.cpp std::list<PathPtrVec> contours; std 1575 librender/opengl/Renderer_ogl.cpp for (std::list<const Path*>::const_iterator it = path_refs.begin(), end = path_refs.end(); std 1597 librender/opengl/Renderer_ogl.cpp connector = find_connecting_path(*connector, std::list<const Path*>(boost::next(it), end)); std 1645 librender/opengl/Renderer_ogl.cpp std::vector<PathVec::const_iterator> std 1648 librender/opengl/Renderer_ogl.cpp std::vector<PathVec::const_iterator> subshapes; std 1675 librender/opengl/Renderer_ogl.cpp std::for_each(paths.begin(), paths.end(), std 1698 librender/opengl/Renderer_ogl.cpp std::list<PathPtrVec> contours = get_contours(paths); std 1702 librender/opengl/Renderer_ogl.cpp for (std::list<PathPtrVec>::const_iterator iter = contours.begin(), std 1791 librender/opengl/Renderer_ogl.cpp std::vector<PathVec::const_iterator> subshapes = find_subshapes(path_vec); std 1793 librender/opengl/Renderer_ogl.cpp const std::vector<FillStyle>& FillStyles = shape.fillStyles(); std 1794 librender/opengl/Renderer_ogl.cpp const std::vector<LineStyle>& line_styles = shape.lineStyles(); std 1815 librender/opengl/Renderer_ogl.cpp std::vector<FillStyle> glyph_fs; std 1821 librender/opengl/Renderer_ogl.cpp std::vector<LineStyle> dummy_ls; std 1882 librender/opengl/Renderer_ogl.cpp std::vector<PathVec> _masks; std 1885 librender/opengl/Renderer_ogl.cpp std::vector<boost::uint8_t> _render_indices; std 1886 librender/opengl/Renderer_ogl.cpp std::vector< boost::shared_ptr<GnashTexture> > _render_textures; std 1887 librender/opengl/Renderer_ogl.cpp std::list< boost::shared_ptr<GnashTexture> > _cached_textures; std 1890 librender/opengl/Renderer_ogl.cpp std::auto_ptr<OSRenderMesa> _offscreen; std 1958 librender/opengl/Renderer_ogl.cpp std::auto_ptr<image::ImageRGBA> im; std 1983 librender/opengl/Renderer_ogl.cpp float radiusx = radiusy + std::abs(radiusy * gf.focalPoint()); std 1986 librender/opengl/Renderer_ogl.cpp int ratio = std::floor(255.5f * std::sqrt(x*x + y*y)); std 2001 librender/opengl/Renderer_ogl.cpp static_cast<std::auto_ptr<image::GnashImage> >(im)); std 65 librender/opengl/Renderer_ogl.h typedef std::vector<const Path*> PathRefs; std 85 librender/opengl/Renderer_ogl.h typedef std::map<const Path*, std::vector<oglVertex> > PathPointMap; std 95 librender/opengl/Renderer_ogl.h void feed(std::vector<oglVertex>& vertices); std 113 librender/opengl/Renderer_ogl.h std::vector<GLdouble*> _vertices; std 143 librender/opengl/Renderer_ogl.h const std::vector<PathRefs>& get() const std 149 librender/opengl/Renderer_ogl.h std::vector<PathRefs> shape; std 93 libsound/EmbedSound.cpp std::auto_ptr<EmbedSoundInst> std 101 libsound/EmbedSound.cpp std::auto_ptr<EmbedSoundInst> ret ( new EmbedSoundInst( std 126 libsound/EmbedSound.cpp Instances::iterator it = std::find( std 53 libsound/EmbedSound.h std::auto_ptr<SimpleBuffer> _buf; std 69 libsound/EmbedSound.h EmbedSound(std::auto_ptr<SimpleBuffer> data, std 70 libsound/EmbedSound.h std::auto_ptr<media::SoundInfo> info, int nVolume, std 76 libsound/EmbedSound.h std::auto_ptr<media::SoundInfo> soundinfo; std 78 libsound/EmbedSound.h typedef std::map<boost::uint32_t,boost::uint32_t> FrameSizeMap; std 148 libsound/EmbedSound.h void getPlayingInstances(std::vector<InputStream*>& to) const; std 194 libsound/EmbedSound.h std::auto_ptr<EmbedSoundInst> createInstance( media::MediaHandler& mh, std 207 libsound/EmbedSound.h typedef std::list<EmbedSoundInst*> Instances; std 123 libsound/EmbedSoundInst.cpp if ( _outPoint == std::numeric_limits<unsigned long>::max() ) std 150 libsound/EmbedSoundInst.cpp std::copy(data, data+nSamples, to); std 162 libsound/EmbedSoundInst.cpp std::copy(data, data+availableSamples, to); std 240 libsound/EmbedSoundInst.h if ( _outPoint < std::numeric_limits<unsigned long>::max() ) std 264 libsound/EmbedSoundInst.h std::auto_ptr<media::AudioDecoder> _decoder; std 307 libsound/EmbedSoundInst.h std::auto_ptr<SimpleBuffer> _decodedData; std 56 libsound/NullSoundHandler.h std::copy(outSamples, outSamples+nSamples, inSamples); std 60 libsound/SoundEnvelope.h typedef std::vector<SoundEnvelope> SoundEnvelopes; std 71 libsound/WAVWriter.cpp std::cout << "# Created 44100 16Mhz stereo wave file:\n" << std 72 libsound/WAVWriter.cpp "AUDIOFILE=" << wavefile << std::endl; std 103 libsound/WAVWriter.cpp std::strncpy(wav.rID, "RIFF", 4); std 104 libsound/WAVWriter.cpp std::strncpy(wav.wID, "WAVE", 4); std 105 libsound/WAVWriter.cpp std::strncpy(wav.fId, "fmt ", 4); std 120 libsound/WAVWriter.cpp std::strncpy(chk.dId, "data", 4); std 34 libsound/WAVWriter.h WAVWriter(const std::string& outfile); std 63 libsound/WAVWriter.h std::ofstream file_stream; std 66 libsound/WAVWriter.h void write_wave_header(std::ofstream& outfile); std 631 libsound/aos4/sound_handler_ahi.cpp unsigned int n = std::min(toFetch, AHI_BUF_SIZE); std 107 libsound/aos4/sound_handler_ahi.h virtual int create_sound(std::auto_ptr<SimpleBuffer> data, std::auto_ptr<media::SoundInfo> sinfo); std 165 libsound/aos4/sound_handler_ahi.h void plugInputStream(std::auto_ptr<InputStream> in); std 134 libsound/mkit/sound_handler_mkit.cpp std::fill(to, to+nSamples, 0); std 75 libsound/mkit/sound_handler_mkit.h virtual int create_sound(std::auto_ptr<SimpleBuffer> data, std::auto_ptr<media::SoundInfo> sinfo); std 133 libsound/mkit/sound_handler_mkit.h void plugInputStream(std::auto_ptr<InputStream> in); std 96 libsound/sdl/sound_handler_sdl.h virtual int create_sound(std::auto_ptr<SimpleBuffer> data, std::auto_ptr<media::SoundInfo> sinfo); std 154 libsound/sdl/sound_handler_sdl.h void plugInputStream(std::auto_ptr<InputStream> in); std 41 libsound/sound_handler.cpp std::fill(stream, stream+len, 0); std 221 libsound/sound_handler.cpp typedef std::vector<InputStream*> InputStreamVect; std 329 libsound/sound_handler.cpp std::auto_ptr<EmbedSound> sounddata( std 428 libsound/sound_handler.cpp std::auto_ptr<InputStream> sound ( sounddata.createInstance( std 455 libsound/sound_handler.cpp unsigned int outPoint=std::numeric_limits<unsigned int>::max(); std 567 libsound/sound_handler.cpp std::fill(to, to+nSamples, 0); std 590 libsound/sound_handler.cpp std::fill(buf.get()+wrote, buf.get()+nSamples, 0); std 611 libsound/sound_handler.cpp std::fill(to, to+nSamples, 0); std 618 libsound/sound_handler.cpp std::fill(to, to+nSamples, 0); std 734 libsound/sound_handler.cpp std::auto_ptr<InputStream> newStreamer ( new AuxStream(ptr, owner) ); std 106 libsound/sound_handler.h std::auto_ptr<SimpleBuffer> data, std 107 libsound/sound_handler.h std::auto_ptr<media::SoundInfo> sinfo std 190 libsound/sound_handler.h unsigned int outPoint=std::numeric_limits<unsigned int>::max()); std 442 libsound/sound_handler.h void setAudioDump(const std::string& wavefile); std 465 libsound/sound_handler.h virtual void plugInputStream(std::auto_ptr<InputStream> in); std 490 libsound/sound_handler.h typedef std::vector<EmbedSound*> Sounds; std 501 libsound/sound_handler.h typedef std::set< InputStream* > InputStreams; std 179 libvaapi/VaapiContext.cpp std::vector<VASurfaceID> surface_ids; std 60 libvaapi/VaapiContext.h std::queue<VaapiSurfaceSP> _surfaces; std 63 libvaapi/VaapiContext.h std::auto_ptr<VaapiContextData> _user_data; std 87 libvaapi/VaapiContext.h void setData(std::auto_ptr<VaapiContextData> user_data) { _user_data = user_data; } std 29 libvaapi/VaapiException.h struct VaapiException: public std::runtime_error { std 30 libvaapi/VaapiException.h VaapiException(const std::string & str) std 31 libvaapi/VaapiException.h : std::runtime_error(str) std 35 libvaapi/VaapiException.h : std::runtime_error("Video Acceleration error") std 73 libvaapi/VaapiGlobalContext.cpp std::vector<unsigned int> flags; std 105 libvaapi/VaapiGlobalContext.cpp static std::vector<VaapiImageFormat> std 108 libvaapi/VaapiGlobalContext.cpp std::vector<VaapiImageFormat> formats; std 117 libvaapi/VaapiGlobalContext.cpp std::vector<VaapiImageFormat> std 123 libvaapi/VaapiGlobalContext.cpp std::vector<VaapiImageFormat> std 134 libvaapi/VaapiGlobalContext.cpp static std::auto_ptr<VaapiGlobalContext> vaapi_global_context; std 137 libvaapi/VaapiGlobalContext.cpp std::auto_ptr<VaapiDisplay> dpy; std 34 libvaapi/VaapiGlobalContext.h std::auto_ptr<VaapiDisplay> _display; std 35 libvaapi/VaapiGlobalContext.h std::vector<VAProfile> _profiles; std 36 libvaapi/VaapiGlobalContext.h std::vector<VAImageFormat> _image_formats; std 37 libvaapi/VaapiGlobalContext.h std::vector<VAImageFormat> _subpicture_formats; std 42 libvaapi/VaapiGlobalContext.h VaapiGlobalContext(std::auto_ptr<VaapiDisplay> display); std 61 libvaapi/VaapiGlobalContext.h std::vector<VaapiImageFormat> getImageFormats() const; std 66 libvaapi/VaapiGlobalContext.h std::vector<VaapiImageFormat> getSubpictureFormats() const; std 182 libvaapi/VaapiSurface.cpp std::vector< boost::shared_ptr<VaapiSubpicture> >::iterator it; std 183 libvaapi/VaapiSurface.cpp it = std::find(_subpictures.begin(), _subpictures.end(), subpicture); std 69 libvaapi/VaapiSurface.h std::auto_ptr<VaapiSurfaceImplBase> _impl; std 70 libvaapi/VaapiSurface.h std::vector< boost::shared_ptr<VaapiSubpicture> > _subpictures; std 34 libvaapi/VaapiSurfaceGLX.h std::auto_ptr<VaapiSurfaceImplBase> _impl; std 404 plugin/aos4/plugin.cpp std::string logfilename = std::string("T:npgnash.log"); std 485 plugin/aos4/plugin.cpp std::auto_ptr<gnash::Movie> mr(md->createMovie()); std 62 plugin/aos4/plugin.h typedef std::map<std::string, std::string> VariableMap; std 91 plugin/aos4/plugin.h std::string _url; std 112 plugin/aos4/plugin.h static void FSCommand_callback(gnash::MovieClip* movie, const std::string& command, const std::string& args); std 69 plugin/npapi/GnashNPVariant.h std::copy(GetNPStringChars(fromstr), std 86 plugin/npapi/GnashNPVariant.h inline std::string std 89 plugin/npapi/GnashNPVariant.h return std::string(GetNPStringChars(str), GetNPStringLen(str)); std 106 plugin/npapi/callbacks.cpp std::string varname; std 139 plugin/npapi/callbacks.cpp std::string varname; std 173 plugin/npapi/callbacks.cpp std::string varname; std 175 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::convertNPVariant(&args[0]); std 176 plugin/npapi/callbacks.cpp std::vector<std::string> iargs; std 215 plugin/npapi/callbacks.cpp std::vector<std::string> iargs; std 216 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::makeInvoke("IsPlaying", iargs); std 227 plugin/npapi/callbacks.cpp std::string data = gpso->readPlayer(); std 270 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::convertNPVariant(&args[0]); std 271 plugin/npapi/callbacks.cpp std::vector<std::string> iargs; std 316 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::convertNPVariant(&args[0]); std 317 plugin/npapi/callbacks.cpp std::vector<std::string> iargs; std 359 plugin/npapi/callbacks.cpp std::vector<std::string> iargs; std 360 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::makeInvoke("PercentLoaded", iargs); std 371 plugin/npapi/callbacks.cpp std::string data = gpso->readPlayer(); std 409 plugin/npapi/callbacks.cpp std::vector<std::string> iargs; std 410 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::makeInvoke("Play", iargs); std 447 plugin/npapi/callbacks.cpp std::vector<std::string> iargs; std 448 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::makeInvoke("Rewind", iargs); std 489 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::convertNPVariant(&args[0]); std 490 plugin/npapi/callbacks.cpp std::vector<std::string> iargs; std 534 plugin/npapi/callbacks.cpp std::vector<std::string> iargs; std 535 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::makeInvoke("StopPlay", iargs); std 574 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::convertNPVariant(&args[0]); std 575 plugin/npapi/callbacks.cpp std::vector<std::string> iargs; std 613 plugin/npapi/callbacks.cpp std::vector<std::string> iargs; std 614 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::makeInvoke("TotalFrames", iargs); std 625 plugin/npapi/callbacks.cpp std::string data = gpso->readPlayer(); std 662 plugin/npapi/callbacks.cpp std::string method; std 676 plugin/npapi/callbacks.cpp std::vector<std::string> fnargs; std 678 plugin/npapi/callbacks.cpp std::string xml = plugin::ExternalInterface::convertNPVariant(&args[i]); std 683 plugin/npapi/callbacks.cpp std::string str = plugin::ExternalInterface::makeInvoke(method, fnargs); std 695 plugin/npapi/callbacks.cpp std::string data = gpso->readPlayer(); std 702 plugin/npapi/callbacks.cpp std::string answer; std 43 plugin/npapi/external.cpp std::string std 47 plugin/npapi/external.cpp std::stringstream ss; std 48 plugin/npapi/external.cpp std::vector<std::string>::iterator it; std 61 plugin/npapi/external.cpp ss << std::endl; std 66 plugin/npapi/external.cpp std::string std 69 plugin/npapi/external.cpp std::stringstream ss; std 76 plugin/npapi/external.cpp std::string std 79 plugin/npapi/external.cpp std::stringstream ss; std 86 plugin/npapi/external.cpp std::string std 89 plugin/npapi/external.cpp std::stringstream ss; std 96 plugin/npapi/external.cpp std::string std 99 plugin/npapi/external.cpp std::stringstream ss; std 107 plugin/npapi/external.cpp std::string std 110 plugin/npapi/external.cpp std::stringstream ss; std 115 plugin/npapi/external.cpp std::string std 118 plugin/npapi/external.cpp std::stringstream ss; std 123 plugin/npapi/external.cpp std::string std 126 plugin/npapi/external.cpp std::stringstream ss; std 133 plugin/npapi/external.cpp std::string std 136 plugin/npapi/external.cpp std::stringstream ss; std 143 plugin/npapi/external.cpp std::string std 146 plugin/npapi/external.cpp std::stringstream ss; std 153 plugin/npapi/external.cpp std::string std 156 plugin/npapi/external.cpp std::stringstream ss; std 163 plugin/npapi/external.cpp std::string std 166 plugin/npapi/external.cpp std::stringstream ss; std 167 plugin/npapi/external.cpp std::vector<std::string>::iterator it; std 181 plugin/npapi/external.cpp std::string std 184 plugin/npapi/external.cpp std::stringstream ss; std 185 plugin/npapi/external.cpp std::map<std::string, std::string>::iterator it; std 212 plugin/npapi/external.cpp std::string::size_type start = 0; std 213 plugin/npapi/external.cpp std::string::size_type end; std 214 plugin/npapi/external.cpp std::string tag; std 218 plugin/npapi/external.cpp if (end != std::string::npos) { std 225 plugin/npapi/external.cpp if ( start == std::string::npos ) { std 230 plugin/npapi/external.cpp if ( end == std::string::npos ) { std 240 plugin/npapi/external.cpp if ( start == std::string::npos ) { std 245 plugin/npapi/external.cpp if ( end == std::string::npos ) { std 256 plugin/npapi/external.cpp if (start != std::string::npos && end != std::string::npos) { std 275 plugin/npapi/external.cpp std::string::size_type start = 0; std 276 plugin/npapi/external.cpp std::string::size_type end; std 277 plugin/npapi/external.cpp std::string tag; std 281 plugin/npapi/external.cpp if (end != std::string::npos) { std 296 plugin/npapi/external.cpp std::string str = xml.substr(start, end-start); std 297 plugin/npapi/external.cpp if (str.find(".") != std::string::npos) { std 307 plugin/npapi/external.cpp std::string str = xml.substr(start, end-start); std 310 plugin/npapi/external.cpp std::copy(str.begin(), str.end(), data); std 320 plugin/npapi/external.cpp if ( end != std::string::npos ) { std 321 plugin/npapi/external.cpp std::string str = xml.substr(start, end-start); std 322 plugin/npapi/external.cpp std::map<std::string, GnashNPVariant> props = parseProperties(str); std 323 plugin/npapi/external.cpp std::map<std::string, GnashNPVariant>::iterator it; std 334 plugin/npapi/external.cpp if ( end != std::string::npos ) { std 337 plugin/npapi/external.cpp std::string str = xml.substr(start, end-start); std 338 plugin/npapi/external.cpp std::map<std::string, GnashNPVariant> props = parseProperties(str); std 339 plugin/npapi/external.cpp std::map<std::string, GnashNPVariant>::iterator it; std 355 plugin/npapi/external.cpp std::string std 358 plugin/npapi/external.cpp std::stringstream ss; std 364 plugin/npapi/external.cpp std::string str = NPStringToString(NPVARIANT_TO_STRING(*value)); std 387 plugin/npapi/external.cpp std::map<std::string, GnashNPVariant> std 390 plugin/npapi/external.cpp std::map<std::string, GnashNPVariant> props; std 392 plugin/npapi/external.cpp std::string::size_type start = 0; std 393 plugin/npapi/external.cpp std::string::size_type end; std 395 plugin/npapi/external.cpp std::string id; std 397 plugin/npapi/external.cpp while (start != std::string::npos) { std 407 plugin/npapi/external.cpp std::string data = xml.substr(start, end-start); std 415 plugin/npapi/external.cpp std::vector<GnashNPVariant> std 418 plugin/npapi/external.cpp std::vector<GnashNPVariant> args; std 420 plugin/npapi/external.cpp std::string::size_type start = 0; std 421 plugin/npapi/external.cpp std::string::size_type end; std 423 plugin/npapi/external.cpp std::string name; std 424 plugin/npapi/external.cpp std::string data = xml; std 425 plugin/npapi/external.cpp std::string tag = "<arguments>"; std 427 plugin/npapi/external.cpp if (start != std::string::npos) { std 433 plugin/npapi/external.cpp if (start == std::string::npos ) break; std 435 plugin/npapi/external.cpp if (end == std::string::npos ) break; std 437 plugin/npapi/external.cpp std::string sub = data.substr(0, end); std 45 plugin/npapi/external.h std::string name; std 46 plugin/npapi/external.h std::string type; std 47 plugin/npapi/external.h std::vector<GnashNPVariant> args; std 51 plugin/npapi/external.h static std::string makeInvoke (const std::string &method, std::vector<std::string> args); std 53 plugin/npapi/external.h static std::string makeNull (); std 54 plugin/npapi/external.h static std::string makeTrue (); std 55 plugin/npapi/external.h static std::string makeFalse (); std 56 plugin/npapi/external.h static std::string makeString (const std::string &str); std 57 plugin/npapi/external.h static std::string makeProperty (const std::string &str, const std::string &data); std 58 plugin/npapi/external.h static std::string makeProperty (const std::string &str, double num); std 59 plugin/npapi/external.h static std::string makeProperty (const std::string &str, int num); std 60 plugin/npapi/external.h static std::string makeNumber (double num); std 61 plugin/npapi/external.h static std::string makeNumber (int num); std 62 plugin/npapi/external.h static std::string makeNumber (unsigned int num); std 63 plugin/npapi/external.h static std::string makeArray (std::vector<std::string> &args); std 64 plugin/npapi/external.h static std::string makeObject (std::map<std::string, std::string> &args); std 66 plugin/npapi/external.h static GnashNPVariant parseXML(const std::string &xml); std 67 plugin/npapi/external.h static boost::shared_ptr<invoke_t> parseInvoke(const std::string &xml); std 69 plugin/npapi/external.h static std::map<std::string, GnashNPVariant> parseProperties(const std::string &xml); std 70 plugin/npapi/external.h static std::vector<GnashNPVariant> parseArguments(const std::string &xml); std 71 plugin/npapi/external.h static std::string convertNPVariant (const NPVariant *npv); std 147 plugin/npapi/plugin.cpp desc = std::getenv("GNASH_PLUGIN_DESCRIPTION"); std 206 plugin/npapi/plugin.cpp char* opts = std::getenv("GNASH_OPTIONS"); std 225 plugin/npapi/plugin.cpp std::string newGnashRc("GNASHRC="); std 240 plugin/npapi/plugin.cpp std::cerr << "Failed to find user settings directory" << std::endl; std 246 plugin/npapi/plugin.cpp home = std::getenv("HOME"); std 260 plugin/npapi/plugin.cpp char *gnashrc = std::getenv("GNASHRC"); std 268 plugin/npapi/plugin.cpp std::strncpy(gnashrc, newGnashRc.c_str(), PATH_MAX); std 409 plugin/npapi/plugin.cpp std::string name, val; std 503 plugin/npapi/plugin.cpp std::cout << "X origin: = " << aWindow->x std 508 plugin/npapi/plugin.cpp << ", this = " << static_cast<void*>(this) << std::endl; std 545 plugin/npapi/plugin.cpp gnash::log_error(std::string(__FUNCTION__) + ": ERROR: Window handle was bogus!"); std 712 plugin/npapi/plugin.cpp gnash::log_debug("Normal read: %s", std::string(buffer, buffer+bytes_read)); std 752 plugin/npapi/plugin.cpp std::string& packet = _requestbuf; std 759 plugin/npapi/plugin.cpp std::string term = "</invoke>"; std 760 plugin/npapi/plugin.cpp std::string::size_type pos = packet.find(term); std 762 plugin/npapi/plugin.cpp if (pos == std::string::npos) { std 768 plugin/npapi/plugin.cpp std::string msg = packet.substr(0, pos + term.size()); std 792 plugin/npapi/plugin.cpp std::string url = NPStringToString(NPVARIANT_TO_STRING( std 798 plugin/npapi/plugin.cpp std::string op = NPStringToString(NPVARIANT_TO_STRING( std 802 plugin/npapi/plugin.cpp std::string target; std 806 plugin/npapi/plugin.cpp std::string data; std 839 plugin/npapi/plugin.cpp std::string command = NPStringToString(NPVARIANT_TO_STRING( std 841 plugin/npapi/plugin.cpp std::string arg = NPStringToString(NPVARIANT_TO_STRING( std 843 plugin/npapi/plugin.cpp std::string name = _name; std 844 plugin/npapi/plugin.cpp std::stringstream jsurl; std 863 plugin/npapi/plugin.cpp std::string method = NPStringToString(NPVARIANT_TO_STRING( std 894 plugin/npapi/plugin.cpp std::stringstream ss; std 913 plugin/npapi/plugin.cpp std::string std 916 plugin/npapi/plugin.cpp std::string procname; std 920 plugin/npapi/plugin.cpp char *gnash_env = std::getenv("GNASH_PLAYER"); std 941 plugin/npapi/plugin.cpp gnash::log_error(std::string("Unable to find Gnash in ") + GNASHBINDIR); std 957 plugin/npapi/plugin.cpp std::ofstream saLauncher; std 959 plugin/npapi/plugin.cpp std::stringstream ss; std 963 plugin/npapi/plugin.cpp saLauncher.open(ss.str().c_str(), std::ios::out | std::ios::trunc); std 970 plugin/npapi/plugin.cpp saLauncher << "#!/bin/sh" << std::endl std 972 plugin/npapi/plugin.cpp << "/tmp/gnash-cookies." << getpid() << std::endl std 979 plugin/npapi/plugin.cpp for (std::map<std::string,std::string>::const_iterator it = params.begin(), std 981 plugin/npapi/plugin.cpp const std::string& nam = it->first; std 982 plugin/npapi/plugin.cpp const std::string& val = it->second; std 992 plugin/npapi/plugin.cpp << std::endl; std 998 plugin/npapi/plugin.cpp std::string std 1001 plugin/npapi/plugin.cpp std::string rv; std 1066 plugin/npapi/plugin.cpp std::string::size_type pos; std 1068 plugin/npapi/plugin.cpp std::string url = pageurl.substr(0, pos); std 1070 plugin/npapi/plugin.cpp std::string ncookie; std 1100 plugin/npapi/plugin.cpp std::ofstream cookiefile; std 1101 plugin/npapi/plugin.cpp std::stringstream ss; std 1104 plugin/npapi/plugin.cpp cookiefile.open(ss.str().c_str(), std::ios::out | std::ios::trunc); std 1120 plugin/npapi/plugin.cpp cookiefile << "Set-Cookie: " << *it << std::endl; std 1152 plugin/npapi/plugin.cpp std::string nproxy (proxy, length); std 1157 plugin/npapi/plugin.cpp std::vector<std::string> parts; std 1176 plugin/npapi/plugin.cpp std::vector<std::string> std 1179 plugin/npapi/plugin.cpp std::vector<std::string> arg_vec; std 1181 plugin/npapi/plugin.cpp std::string cmd = getGnashExecutable(); std 1191 plugin/npapi/plugin.cpp std::string pageurl = getCurrentPageURL(); std 1202 plugin/npapi/plugin.cpp std::stringstream pars; std 1213 plugin/npapi/plugin.cpp std::string pars_str = pars.str(); std 1218 plugin/npapi/plugin.cpp for (std::map<std::string,std::string>::const_iterator it = _params.begin(), std 1220 plugin/npapi/plugin.cpp const std::string& nam = it->first; std 1221 plugin/npapi/plugin.cpp const std::string& val = it->second; std 1242 plugin/npapi/plugin.cpp if (std::find(except, except+N, anfd) != except+N) { std 1265 plugin/npapi/plugin.cpp std::cout << std::endl << " Attach GDB to PID " << getpid() std 1266 plugin/npapi/plugin.cpp << " to debug!" << std::endl std 1267 plugin/npapi/plugin.cpp << " This thread will block until then!" << std::endl std 1269 plugin/npapi/plugin.cpp << std::endl std 1271 plugin/npapi/plugin.cpp << std::endl << std::endl; std 1323 plugin/npapi/plugin.cpp std::vector<std::string> arg_vec = getCmdLine(c2p_pipe[1], std 1331 plugin/npapi/plugin.cpp std::vector<const char*> args; std 1333 plugin/npapi/plugin.cpp std::transform(arg_vec.begin(), arg_vec.end(), std::back_inserter(args), std 1334 plugin/npapi/plugin.cpp std::mem_fun_ref(&std::string::c_str)); std 1416 plugin/npapi/plugin.cpp std::string std 1431 plugin/npapi/plugin.cpp std::cerr << "ERROR: " << fmt.str() << std::endl; std 1438 plugin/npapi/plugin.cpp std::cout << "DEBUG: " << fmt.str() << std::endl; std 1444 plugin/npapi/plugin.cpp std::cout << "TRACE: " << fmt.str() << std::endl; std 93 plugin/npapi/plugin.h std::vector<std::string> getCmdLine(int hostfd, int controlfd); std 95 plugin/npapi/plugin.h void setupCookies(const std::string& pageURL); std 96 plugin/npapi/plugin.h void setupProxy(const std::string& pageURL); std 99 plugin/npapi/plugin.h std::string getDocumentProp(const std::string& propname) const; std 121 plugin/npapi/plugin.h std::map<std::string, std::string> _params; std 125 plugin/npapi/plugin.h std::string _swf_url; std 126 plugin/npapi/plugin.h std::string _swf_file; std 129 plugin/npapi/plugin.h std::map<std::string, std::string> _options; std 139 plugin/npapi/plugin.h std::string _name; std 146 plugin/npapi/plugin.h std::string _requestbuf; std 148 plugin/npapi/plugin.h std::string getCurrentPageURL() const; std 85 plugin/npapi/pluginScriptObject.cpp std::string str = NPStringToString(NPVARIANT_TO_STRING(*value)); std 440 plugin/npapi/pluginScriptObject.cpp std::map<NPIdentifier, GnashNPVariant>::const_iterator it; std 463 plugin/npapi/pluginScriptObject.cpp std::map<NPIdentifier, GnashNPVariant>::iterator it; std 522 plugin/npapi/pluginScriptObject.cpp std::map<NPIdentifier, NPInvokeFunctionPtr>::iterator it; std 578 plugin/npapi/pluginScriptObject.cpp std::vector<std::string> iargs; std 579 plugin/npapi/pluginScriptObject.cpp std::string str = plugin::ExternalInterface::makeString(name); std 605 plugin/npapi/pluginScriptObject.cpp std::vector<std::string> iargs; std 606 plugin/npapi/pluginScriptObject.cpp std::string str = plugin::ExternalInterface::makeString(name); std 631 plugin/npapi/pluginScriptObject.cpp std::string data = readPlayer(); std 695 plugin/npapi/pluginScriptObject.cpp std::string std 701 plugin/npapi/pluginScriptObject.cpp std::string std 706 plugin/npapi/pluginScriptObject.cpp std::string empty; std 738 plugin/npapi/pluginScriptObject.cpp std::string buf(bytes, '\0'); std 113 plugin/npapi/pluginScriptObject.h bool SetVariable(const std::string &name, const NPVariant& value); std 120 plugin/npapi/pluginScriptObject.h GnashNPVariant GetVariable(const std::string &name); std 127 plugin/npapi/pluginScriptObject.h int writePlayer(const std::string &data); std 128 plugin/npapi/pluginScriptObject.h int writePlayer(int fd, const std::string &data); std 131 plugin/npapi/pluginScriptObject.h std::string readPlayer(); std 132 plugin/npapi/pluginScriptObject.h std::string readPlayer(int fd); std 137 plugin/npapi/pluginScriptObject.h void AddProperty(const std::string &name, const std::string &str); std 138 plugin/npapi/pluginScriptObject.h void AddProperty(const std::string &name, double num); std 139 plugin/npapi/pluginScriptObject.h void AddProperty(const std::string &name, int num); std 163 plugin/npapi/pluginScriptObject.h std::map<NPIdentifier, GnashNPVariant> _properties; std 164 plugin/npapi/pluginScriptObject.h std::map<NPIdentifier, NPInvokeFunctionPtr> _methods; std 47 plugin/npapi/test.cpp std::map<NPIdentifier, NPVariant *> _properties; std 48 plugin/npapi/test.cpp std::map<NPIdentifier, NPInvokeFunctionPtr> _methods; std 58 plugin/npapi/test.cpp std::string str = plugin::ExternalInterface::convertNPVariant(value); std 130 plugin/npapi/test.cpp std::string prop1 = plugin::ExternalInterface::makeString("foobar"); std 131 plugin/npapi/test.cpp std::string prop2 = plugin::ExternalInterface::makeNumber(12.34); std 132 plugin/npapi/test.cpp std::string prop3 = plugin::ExternalInterface::makeNumber(56); std 133 plugin/npapi/test.cpp std::vector<std::string> aargs; std 147 plugin/npapi/test.cpp std::map<std::string, std::string> margs; std 153 plugin/npapi/test.cpp std::string xml = "<object><property id=\"test1\"><string>foobar</string></property><property id=\"test2\"><number>12.34</number></property><property id=\"test3\"><number>56</number></property></object>"; std 170 plugin/npapi/test.cpp std::string data = NPStringToString(NPVARIANT_TO_STRING(np.get())); std 235 plugin/npapi/test.cpp std::map<std::string, GnashNPVariant> props = plugin::ExternalInterface::parseProperties(xml); std 252 plugin/npapi/test.cpp std::vector<std::string> iargs; std 270 plugin/npapi/test.cpp std::vector<GnashNPVariant> arguments = plugin::ExternalInterface::parseArguments(xml); std 436 plugin/npapi/test.cpp std::map<NPIdentifier, NPVariant *>::iterator it; std 446 plugin/npapi/test.cpp std::map<NPIdentifier, NPVariant *>::iterator it; std 401 plugin/win32/plugin.cpp std::string logfilename = std::string(std::getenv("TEMP")) + std 402 plugin/win32/plugin.cpp std::string("\\npgnash.log"); std 483 plugin/win32/plugin.cpp std::auto_ptr<gnash::Movie> mr(md->createMovie()); std 51 testsuite/DummyMovieDefinition.h std::vector<PlayList> _playlist; std 53 testsuite/DummyMovieDefinition.h std::string _url; std 157 testsuite/DummyMovieDefinition.h virtual const std::string& get_url() const { std 33 testsuite/FuzzyPixel.cpp int tol=std::max(_tol, o._tol); std 41 testsuite/FuzzyPixel.cpp std::ostream& std 50 testsuite/FuzzyPixel.h friend std::ostream& operator<< (std::ostream& o, const FuzzyPixel& p); std 104 testsuite/MovieTester.cpp std::auto_ptr<IOChannel> in ( std 112 testsuite/MovieTester.cpp const std::string& path = urlObj.path(); std 115 testsuite/MovieTester.cpp std::string dir = path.substr(0, lastSlash+1); std 205 testsuite/MovieTester.cpp std::cout << "frame " << r->get_current_frame() << ") Invalidated bounds " << _invalidatedBounds << std::endl; std 271 testsuite/MovieTester.cpp unsigned int n = std::min(toFetch, 1024u); std 357 testsuite/MovieTester.cpp std::stringstream ss; std 372 testsuite/MovieTester.cpp std::stringstream ss; std 530 testsuite/MovieTester.cpp std::string name = "AGG_" + std::string(pixelFormat); std 535 testsuite/MovieTester.cpp std::cout << "Renderer " << name << " initialized" << std::endl; std 538 testsuite/MovieTester.cpp std::cout << "Renderer " << name << " not supported" << std::endl; std 562 testsuite/MovieTester.cpp std::cout << "UNTESTED: render handler " << name std 564 testsuite/MovieTester.cpp << std::endl; std 570 testsuite/MovieTester.cpp std::cout << "UNTESTED: can't test render handler " << name std 575 testsuite/MovieTester.cpp << std::endl; std 46 testsuite/MovieTester.h std::stringstream ss; \ std 53 testsuite/MovieTester.h std::stringstream ss; \ std 80 testsuite/MovieTester.h const std::string& name) std 86 testsuite/MovieTester.h const std::string& getName() const { return _name; } std 93 testsuite/MovieTester.h std::string _name; std 115 testsuite/MovieTester.h MovieTester(const std::string& filespec); std 149 testsuite/MovieTester.h const std::string& name); std 155 testsuite/MovieTester.h const DisplayObject* findDisplayItemByTarget(const std::string& tgt); std 214 testsuite/MovieTester.h short unsigned tolerance, const std::string& label, bool expectFailure=false) const; std 342 testsuite/MovieTester.h const std::string& name); std 352 testsuite/MovieTester.h std::auto_ptr<RunResources> _runResources; std 371 testsuite/MovieTester.h typedef std::vector<TestingRenderer> TestingRenderers; std 390 testsuite/MovieTester.h inline double exp2(double x) { return std::pow((double)2, double(x)); } std 41 testsuite/check.h void pass(std::string s) { std::cout << "PASSED: " << s << std::endl; }; std 42 testsuite/check.h void xpass(std::string s) { std::cout << "XPASSED: " << s << std::endl; }; std 43 testsuite/check.h void fail(std::string s) { std::cout << "FAILED: " << s << std::endl; }; std 44 testsuite/check.h void xfail(std::string s) { std::cout << "XFAILED: " << s << std::endl; }; std 45 testsuite/check.h void unresolved(std::string s) { std::cout << "UNRESOLVED: " << s << std::endl; }; std 56 testsuite/check.h std::stringstream ss; \ std 75 testsuite/check.h std::stringstream ss; \ std 92 testsuite/check.h #define check_equals(expr, expected) check_equals_label(std::string(), expr, expected) std 94 testsuite/check.h #define xcheck_equals(expr, expected) xcheck_equals_label(std::string(), expr, expected) std 98 testsuite/check.h std::stringstream ss; \ std 110 testsuite/check.h std::stringstream ss; \ std 185 testsuite/dejagnu.h std::string lastmsg; std 199 testsuite/dejagnu.h void testrun (bool b, std::string s) std 207 testsuite/dejagnu.h void pass (std::string s) std 212 testsuite/dejagnu.h std::cout << "\t" << outstate[PASSED] << s << std::endl; std 217 testsuite/dejagnu.h std::string s = c; std 221 testsuite/dejagnu.h void xpass (std::string s) std 226 testsuite/dejagnu.h std::cout << "\t" << outstate[XPASSED] << s << std::endl; std 231 testsuite/dejagnu.h std::string s = c; std 235 testsuite/dejagnu.h void fail (std::string s) std 240 testsuite/dejagnu.h std::cout << "\t" << outstate[FAILED] << s << std::endl; std 245 testsuite/dejagnu.h std::string s = c; std 249 testsuite/dejagnu.h void xfail (std::string s) std 254 testsuite/dejagnu.h std::cout << "\t" << outstate[XFAILED] << s << std::endl; std 259 testsuite/dejagnu.h std::string s = c; std 263 testsuite/dejagnu.h void untested (std::string s) std 268 testsuite/dejagnu.h std::cout << "\t" << outstate[UNTESTED] << s << std::endl; std 273 testsuite/dejagnu.h std::string s = c; std 277 testsuite/dejagnu.h void unresolved (std::string s) std 282 testsuite/dejagnu.h std::cout << "\t" << outstate[UNRESOLVED] << s << std::endl; std 287 testsuite/dejagnu.h std::string s = c; std 293 testsuite/dejagnu.h std::cout << "\t#passed:\t\t" << passed << std::endl; std 294 testsuite/dejagnu.h std::cout << "\t#real failed:\t\t" << failed << std::endl; std 296 testsuite/dejagnu.h std::cout << "\t#expected failures:\t\t" << xfailed << std::endl; std 298 testsuite/dejagnu.h std::cout << "\t#unexpected passes:\t\t" << xpassed << std::endl; std 300 testsuite/dejagnu.h std::cout << "\t#untested:\t\t" << untest << std::endl; std 302 testsuite/dejagnu.h std::cout << "\t#unresolved:\t\t" << unresolve << std::endl; std 306 testsuite/dejagnu.h friend std::ostream & operator << (std::ostream &os, TestState& t) std 312 testsuite/dejagnu.h std::string GetMsg (void) { return lastmsg; } std 30 testsuite/libbase.all/IntTypesTest.cpp using namespace std; std 46 testsuite/libbase.all/NoSeekFileTest.cpp using namespace std; std 152 testsuite/libbase.all/NoSeekFileTest.cpp FILE* f = std::fopen(cachename, "r"); std 153 testsuite/libbase.all/NoSeekFileTest.cpp std::auto_ptr<gnash::IOChannel> orig = gnash::makeFileChannel(f, false); std 158 testsuite/libbase.all/NoSeekFileTest.cpp if (sizeof(size_t) != sizeof(std::streamoff)) { std 159 testsuite/libbase.all/NoSeekFileTest.cpp std::streampos pos = std::numeric_limits<size_t>::max(); std 29 testsuite/libbase.all/Range2dTest.cpp using namespace std; std 90 testsuite/libbase.all/Range2dTest.cpp unsigned uupbound = std::numeric_limits<unsigned>::max(); std 49 testsuite/libbase.all/RcTest.cpp using namespace std; std 202 testsuite/libbase.all/RcTest.cpp std::vector<std::string> whitelist = rc.getWhiteList(); std 240 testsuite/libbase.all/RcTest.cpp std::vector<std::string> blacklist = rc.getBlackList(); std 253 testsuite/libbase.all/RcTest.cpp const std::vector<std::string>& localSandbox = rc.getLocalSandboxPath(); std 307 testsuite/libbase.all/RcTest.cpp std::vector<std::string> blacklist = rc.getBlackList(); std 321 testsuite/libbase.all/RcTest.cpp std::vector<std::string> whitelist = rc.getWhiteList(); std 329 testsuite/libbase.all/RcTest.cpp const std::vector<std::string>& localSandbox = rc.getLocalSandboxPath(); std 343 testsuite/libbase.all/RcTest.cpp if ( rc.getRenderer() == std::string("fakeRenderer") ) { std 349 testsuite/libbase.all/RcTest.cpp if ( rc.getMediaHandler() == std::string("fakeMediaHandler") ) { std 30 testsuite/libbase.all/URLTest.cpp using namespace std; std 39 testsuite/libbase.all/URLTest.cpp std::string label; std 310 testsuite/libbase.all/URLTest.cpp catch (const std::exception& e) std 30 testsuite/libbase.all/snappingrangetest.cpp using namespace std; std 173 testsuite/libcore.all/AsValueTest.cpp test_string(std::string("lar")); std 205 testsuite/libcore.all/AsValueTest.cpp num = std::numeric_limits<float>::quiet_NaN(); std 218 testsuite/libcore.all/AsValueTest.cpp num = std::numeric_limits<float>::infinity(); std 45 testsuite/libcore.all/BitsReaderTest.cpp using namespace std; std 70 testsuite/libcore.all/ClassSizes.cpp std::cout << BOOST_PP_STRINGIZE(t)": " << (sizeof(t)) << "\n"; std 90 testsuite/libcore.all/ClassSizes.cpp std::cout << "Gnash class sizes:\n"; std 35 testsuite/libcore.all/CodeStreamTest.cpp using std::cout; std 43 testsuite/libcore.all/CodeStreamTest.cpp CodeStream* stream = new CodeStream(std::string(data,10)); std 79 testsuite/libcore.all/CodeStreamTest.cpp CodeStream* streamA = new CodeStream(std::string(newData,6)); std 42 testsuite/libcore.all/DisplayListTest.cpp using namespace std; std 30 testsuite/libcore.all/EdgeTest.cpp using namespace std; std 47 testsuite/libcore.all/EdgeTest.cpp double tol = std::min(_t, d._t); std 54 testsuite/libcore.all/EdgeTest.cpp std::ostream& operator<<(std::ostream& os, const D& d) std 31 testsuite/libcore.all/MatrixTest.cpp using namespace std; std 48 testsuite/libcore.all/MatrixTest.cpp double tol = std::min(_t, d._t); std 55 testsuite/libcore.all/MatrixTest.cpp std::ostream& operator<<(std::ostream& os, const D& d) std 32 testsuite/libcore.all/PropFlagsTest.cpp using namespace std; std 46 testsuite/libcore.all/PropertyListTest.cpp using namespace std; std 144 testsuite/libcore.all/PropertyListTest.cpp std::pair<bool, bool> delpair = props.delProperty(getURI(vm, "var2")); std 200 testsuite/libcore.all/PropertyListTest.cpp std::pair<bool, bool> delpair = props.delProperty(getURI(vm, "var2")); std 37 testsuite/libcore.all/SafeStackTest.cpp using std::cout; std 49 testsuite/libcore.all/StreamTest.cpp using namespace std; std 72 testsuite/libcore.all/StreamTest.cpp std::streamsize read(void* dst, std::streamsize bytes) std 76 testsuite/libcore.all/StreamTest.cpp for (std::streamsize i=0; i<bytes; ++i) std 85 testsuite/libcore.all/StreamTest.cpp std::streampos tell() const std 90 testsuite/libcore.all/StreamTest.cpp bool seek(std::streampos newPos) std 34 testsuite/misc-ming.all/BeginBitmapFillRunner.cpp using namespace std; std 34 testsuite/misc-ming.all/BitmapDataTestRunner.cpp using namespace std; std 235 testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp std::string idleString = "Idle"; std 41 testsuite/misc-ming.all/DragDropTestRunner.cpp using namespace std; std 114 testsuite/misc-ming.all/DragDropTestRunner.cpp std::cerr << root->getDisplayList(); std 35 testsuite/misc-ming.all/DrawingApiTestRunner.cpp using namespace std; std 53 testsuite/misc-ming.all/DrawingApiTestRunner.cpp std::stringstream work_around_GCC_412_bug; std 39 testsuite/misc-ming.all/PrototypeEventListenersTestRunner.cpp using namespace std; std 207 testsuite/misc-ming.all/SpriteButtonEventsTest-Runner.cpp std::string idleString = "Idle"; std 53 testsuite/misc-ming.all/eventSoundTest1-Runner.cpp std::cerr << "Error initializing MovieTester: " << e.what() << std::endl; std 133 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(tmp.to_string(), std::string("8,9,10")); std 40 testsuite/misc-ming.all/loading/loadMovieTestRunner.cpp std::auto_ptr<MovieTester> tester; std 192 testsuite/misc-ming.all/loading/loadMovieTestRunner.cpp std::string url = coverart->get_root()->url(); std 53 testsuite/misc-ming.all/loop/loop_test-Runner.cpp std::cerr << "Error initializing MovieTester: " << e.what() << std::endl; std 68 testsuite/misc-ming.all/masks_testrunner.cpp std::cout << root->getDisplayList() << "\n"; std 52 testsuite/misc-ming.all/streamingSoundTest1-Runner.cpp std::cerr << "Error initializing MovieTester: " << e.what() << std::endl; std 56 testsuite/misc-swfc.all/button_test1runner.cpp std::cerr << "Error initializing MovieTester: " << e.what() << std::endl; std 53 testsuite/misc-swfmill.all/backgroundTestRunner.cpp std::cerr << "Error initializing MovieTester: " << e.what() << std::endl; std 51 testsuite/network.all/test_ssh.cpp using namespace std; std 52 testsuite/network.all/test_ssl.cpp using namespace std; std 54 testsuite/samples/clip_as_button2-TestRunner.cpp std::cerr << "Error initializing MovieTester: " << e.what() << std::endl; std 52 testsuite/samples/gotoFrameOnKeyEvent-TestRunner.cpp std::cerr << "Error initializing MovieTester: " << e.what() << std::endl; std 53 testsuite/samples/subshapes-TestRunner.cpp std::cerr << "Error initializing MovieTester: " << e.what() << std::endl; std 110 utilities/findmicrophones.cpp std::vector<data*> audioVector; std 132 utilities/findmicrophones.cpp std::string fromCin; std 137 utilities/findmicrophones.cpp std::cin >> fromCin; std 90 utilities/findwebcams.cpp std::cout << "no v4l video sources found" << std::endl; std 123 utilities/findwebcams.cpp std::cout << "no v4l2 video sources found." << std::endl; std 152 utilities/findwebcams.cpp std::vector<data*> vidVector; std 157 utilities/findwebcams.cpp std::cout << std::endl std 158 utilities/findwebcams.cpp << "Use this utility to set your desired default webcam device." << std::endl; std 160 utilities/findwebcams.cpp std::cout << std::endl std 161 utilities/findwebcams.cpp << "INFO: these devices were ignored because they are supported by both" << std::endl std 162 utilities/findwebcams.cpp << "video4linux and video4linux2:" << std::endl << std::endl; std 165 utilities/findwebcams.cpp std::cout << " " << vidVector[i]->deviceName std 166 utilities/findwebcams.cpp << " (" << vidVector[i]->deviceType << ")" << std::endl; std 169 utilities/findwebcams.cpp std::cout << std::endl std 170 utilities/findwebcams.cpp << "Gnash interacts with v4l2 sources better than v4l sources, thus the" << std::endl std 171 utilities/findwebcams.cpp << "v4l sources will not be printed in the list below." << std::endl std 172 utilities/findwebcams.cpp << std::endl std 174 utilities/findwebcams.cpp << " video devices: " << std::endl << std::endl; std 179 utilities/findwebcams.cpp std::cout << " " << i std 180 utilities/findwebcams.cpp << ". Video Test Source (videotestsrc)" << std::endl; std 183 utilities/findwebcams.cpp std::cout << "no test video device available"; std 186 utilities/findwebcams.cpp std::cout << " " << counter << ". " std 188 utilities/findwebcams.cpp << " (" << vidVector[i]->deviceType << ")" << std::endl; std 195 utilities/findwebcams.cpp std::string fromCin; std 198 utilities/findwebcams.cpp std::cout << std::endl std 201 utilities/findwebcams.cpp std::cin >> fromCin; std 210 utilities/findwebcams.cpp std::cout << "You must make a valid device selection" << std::endl; std 213 utilities/findwebcams.cpp std::cout << std::endl std 214 utilities/findwebcams.cpp << "To select this camera, add this line to your gnashrc file:" << std::endl std 216 utilities/findwebcams.cpp << (vidVector[dev_select + numDuplicates]->deviceNumber) << std::endl; std 220 utilities/findwebcams.cpp std::cout << std::endl std 221 utilities/findwebcams.cpp << "The gnashrc file reports default webcam is set to:" << std::endl std 223 utilities/findwebcams.cpp << " (" << vidVector[fromrc]->deviceType << ")" << std::endl std 224 utilities/findwebcams.cpp << "To change this setting, delete the 'set webcamDevice' line" << std::endl std 225 utilities/findwebcams.cpp << "from your gnashrc file and re-run this program." << std::endl << std::endl; std 227 utilities/findwebcams.cpp std::cout << std::endl std 228 utilities/findwebcams.cpp << "You have an invalid webcam chosen in your gnashrc file." << std::endl std 229 utilities/findwebcams.cpp << "Try reattaching the device or deleting the value from gnashrc" << std::endl std 230 utilities/findwebcams.cpp << "and running this program again" << std::endl; std 60 utilities/flvdumper.cpp std::abort(); std 126 utilities/flvdumper.cpp std::setlocale (LC_ALL, ""); std 289 utilities/flvdumper.cpp } catch (std::exception& e) { std 81 utilities/processor.cpp std::abort(); std 170 utilities/processor.cpp static std::string clipboard; std 176 utilities/processor.cpp clipboard = boost::any_cast<std::string>(ev.arg()); std 188 utilities/processor.cpp return std::make_pair(800, 640); std 194 utilities/processor.cpp return std::string("Color"); std 197 utilities/processor.cpp return std::string("StandAlone"); std 211 utilities/processor.cpp std::exit(EXIT_SUCCESS); std 221 utilities/processor.cpp std::ios::sync_with_stdio(false); std 225 utilities/processor.cpp std::setlocale (LC_ALL, ""); std 244 utilities/processor.cpp std::vector<std::string> infiles; std 326 utilities/processor.cpp std::cerr << "no input files" << std::endl; std 335 utilities/processor.cpp std::string mh = rcfile.getMediaHandler(); std 354 utilities/processor.cpp for (std::vector<std::string>::const_iterator i = infiles.begin(), std 373 utilities/processor.cpp std::cerr << "error playing through movie " << *i << std::endl; std 400 utilities/processor.cpp std::auto_ptr<IOChannel> in ( std 408 utilities/processor.cpp const std::string& path = url.path(); std 411 utilities/processor.cpp std::string dir = path.substr(0, lastSlash+1); std 428 utilities/processor.cpp std::cerr << "error: can't play movie: "<< filename << std::endl; std 96 utilities/rtmpget.cpp void usage(std::ostream& o); std 116 utilities/rtmpget.cpp _calls.insert(std::make_pair(n, call)); std 119 utilities/rtmpget.cpp std::string getCall(size_t n) { std 120 utilities/rtmpget.cpp std::map<size_t, std::string>::iterator i = _calls.find(n); std 123 utilities/rtmpget.cpp std::string s = i->second; std 132 utilities/rtmpget.cpp const std::string& playpath() const { std 162 utilities/rtmpget.cpp std::map<size_t, std::string> _calls; std 164 utilities/rtmpget.cpp std::string _playpath; std 400 utilities/rtmpget.cpp std::cout << parser.error() << std::endl; std 401 utilities/rtmpget.cpp std::exit(EXIT_FAILURE); std 405 utilities/rtmpget.cpp std::string url; std 406 utilities/rtmpget.cpp std::string playpath; std 407 utilities/rtmpget.cpp std::string tc; std 408 utilities/rtmpget.cpp std::string swf; std 409 utilities/rtmpget.cpp std::string page; std 410 utilities/rtmpget.cpp std::string outf; std 419 utilities/rtmpget.cpp usage(std::cout); std 445 utilities/rtmpget.cpp std::cerr << _("Error parsing command line: ") << e.what() << "\n"; std 446 utilities/rtmpget.cpp std::exit(EXIT_FAILURE); std 451 utilities/rtmpget.cpp std::cerr << "You must specify URL and playpath\n"; std 452 utilities/rtmpget.cpp std::exit(EXIT_FAILURE); std 456 utilities/rtmpget.cpp std::cerr << "No output file specified. Will connect anyway\n"; std 459 utilities/rtmpget.cpp std::ofstream flv; std 469 utilities/rtmpget.cpp const std::string app = playurl.path().substr(1); std 471 utilities/rtmpget.cpp std::string ver = "LNX 10,0,22,87"; std 483 utilities/rtmpget.cpp std::exit(EXIT_FAILURE); std 493 utilities/rtmpget.cpp std::exit(EXIT_FAILURE); std 554 utilities/rtmpget.cpp std::string method = amf::readString(payload, end); std 570 utilities/rtmpget.cpp std::string calledMethod = nc.getCall(txn); std 573 utilities/rtmpget.cpp calledMethod, boost::io::group(std::setprecision(15), txn)); std 614 utilities/rtmpget.cpp boost::io::group(std::setprecision(15), txn), std 671 utilities/rtmpget.cpp std::exit(EXIT_FAILURE); std 694 utilities/rtmpget.cpp std::string code; std 695 utilities/rtmpget.cpp std::string level; std 701 utilities/rtmpget.cpp const std::string& n = amf::readString(payload, end); std 716 utilities/rtmpget.cpp const std::string& v = amf::readString(payload, end); std 737 utilities/rtmpget.cpp std::exit(EXIT_SUCCESS); std 749 utilities/rtmpget.cpp std::exit(EXIT_SUCCESS); std 47 utilities/soldumper.cpp using namespace std; std 61 utilities/soldumper.cpp std::abort(); std 94 utilities/soldumper.cpp std::setlocale (LC_ALL, "");