Lines Matching refs:Array
38 v8::Local<v8::Array> val;
61 v8::Local<v8::Array> CJS_V8::NewArray() {
62 return v8::Array::New(m_isolate);
65 unsigned CJS_V8::PutArrayElement(v8::Local<v8::Array> pArray,
75 v8::Local<v8::Value> CJS_V8::GetArrayElement(v8::Local<v8::Array> pArray,
85 unsigned CJS_V8::GetArrayLength(v8::Local<v8::Array> pArray) {
202 v8::Local<v8::Array> CJS_V8::ToArray(v8::Local<v8::Value> pValue) {
204 return v8::Local<v8::Array>();
206 return v8::Local<v8::Array>::Cast(pValue->ToObject(context).ToLocalChecked());
209 void CJS_V8::SetConstArray(const WideString& name, v8::Local<v8::Array> array) {
210 m_ConstArrays[name] = v8::Global<v8::Array>(GetIsolate(), array);
213 v8::Local<v8::Array> CJS_V8::GetConstArray(const WideString& name) {
214 return v8::Local<v8::Array>::New(GetIsolate(), m_ConstArrays[name]);