Lines Matching defs:Data
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
128 class Data;
456 // This Data class is accessible internally as HandleScopeData through a
458 class V8EXPORT Data {
469 Data previous_;
486 class V8EXPORT Data {
488 Data();
493 data that can be associated with a script. This
494 * data can be calculated for a script in advance of actually
496 * data is given to the compile method compilation will be faster.
502 static ScriptData* New(unsigned* data, int length);
505 virtual unsigned* Data() = 0;
543 * \param pre_data Pre-parsing data, as obtained by ScriptData::PreCompile()
546 * \param script_data Arbitrary data associated with script. Using
547 * this has same effect as calling SetData(), but allows data to be
576 * \param pre_data Pre-parsing data, as obtained by ScriptData::PreCompile()
579 * \param script_data Arbitrary data associated with script. Using
580 * this has same effect as calling SetData(), but makes data available
597 * \param script_data Arbitrary data associated with script. Using
598 * this has same effect as calling SetData(), but makes data available
623 * Associate an additional data object with the script. This is mainly used
624 * with the debugger as this data object is only available through the
627 void SetData(Handle<String> data);
646 * Returns the resource data for the script from where the function causing
691 class V8EXPORT Value : public Data {
878 * buffer. Note that the string data must be immutable.
888 /** The string data from the underlying buffer.*/
889 virtual const uint16_t* data() const = 0;
900 * underlying buffer. Note that the string data must be immutable
901 * and that the data must be strict 7-bit ASCII, not Latin1 or
904 * Use String::New or convert to 16 bit data for non-ASCII.
915 /** The string data from the underlying buffer.*/
916 virtual const char* data() const = 0;
938 * Allocates a new string from either utf-8 encoded or ascii data.
940 * If the data is utf-8 encoded, the caller must
944 * wrong if 'data' contains a null character.
946 static Local<String> New(const char* data, int length = -1);
948 /** Allocates a new string from utf16 data.*/
949 static Local<String> New(const uint16_t* data, int length = -1);
952 static Local<String> NewSymbol(const char* data, int length = -1);
961 * Creates a new external string using the data defined in the given
981 * Creates a new external string using the ascii data defined in the given
1005 /** Creates an undetectable string from the supplied ascii or utf-8 data.*/
1006 static Local<String> NewUndetectable(const char* data, int length = -1);
1008 /** Creates an undetectable string from the supplied utf-16 data.*/
1009 static Local<String> NewUndetectable(const uint16_t* data, int length = -1);
1326 * Note: The embedding program still owns the data and needs to ensure that
1329 void SetIndexedPropertiesToPixelData(uint8_t* data, int length);
1335 * Note: The embedding program still owns the data and needs to ensure that
1338 void SetIndexedPropertiesToExternalArrayData(void* data,
1406 * mainly used to associate C++ data structures with JavaScript
1417 static Local<Value> Wrap(void* data);
1437 class V8EXPORT Template : public Data {
1440 void Set(Handle<String> name, Handle<Data> value,
1442 inline void Set(const char* name, Handle<Data> value);
1465 inline Local<Value> Data() const;
1469 inline Arguments(Local<Value> data,
1491 inline Local<Value> Data() const;
1635 Local<Value> data);
1645 Local<Value> data);
1745 Handle<Value> data = Handle<Value>(),
1756 Handle<Value> data = Handle<Value>());
1803 Handle<Value> data,
1811 Handle<Value> data);
1817 Handle<Value> data);
1819 Handle<Value> data);
1851 * \param data A piece of data that will be passed to the getter and setter
1867 Handle<Value> data = Handle<Value>(),
1884 * \param data A piece of data that will be passed to the callbacks
1892 Handle<Value> data = Handle<Value>());
1907 * \param data A piece of data that will be passed to the callbacks
1915 Handle<Value> data = Handle<Value>());
1923 Handle<Value> data = Handle<Value>());
1948 Handle<Value> data = Handle<Value>(),
1974 class V8EXPORT Signature : public Data {
1989 class V8EXPORT TypeSwitch : public Data {
2095 typedef void (*MessageCallback)(Handle<Message> message, Handle<Value> data);
2134 Local<Value> data);
2232 Handle<Value> data = Handle<Value>());
2388 * profiler log data in the application. This function is thread-safe.
2396 * \param dest_buf destination buffer for log data.
2398 * \returns actual size of log data copied into buffer.
2482 void* data,
2700 * Associate an additional data object with the context. This is mainly used
2704 void SetData(Handle<String> data);
3053 Local<Value> Arguments::Data() const {
3095 void Template::Set(const char* name, v8::Handle<Data> value) {
3261 Local<Value> AccessorInfo::Data() const {