Searched refs:New (Results 1 - 25 of 386) sorted by relevance

1234567891011>>

/external/clang/test/PCH/
H A Dcxx-exprs.cpp14 class New { class
15 New(const New&);
18 New *clone() {
19 return new New(*this);
25 New<int> *clone_new(New<int> *n) {
/external/clang/test/CodeCompletion/
H A Dnamespace-alias.cpp13 namespace New =
/external/webkit/Source/WebKit/chromium/tests/
H A DIDBBindingUtilitiesTest.cpp44 : m_context(v8::Context::New())
117 v8::Local<v8::Object> object = v8::Object::New();
118 object->Set(v8::String::New("foo"), v8::String::New("zoo"));
130 v8::Local<v8::Object> object = v8::Object::New();
131 object->Set(v8::String::New("foo"), v8::Number::New(456));
143 v8::Local<v8::Array> array = v8::Array::New();
144 array->Set(3, v8::String::New("zoo"));
156 v8::Local<v8::Object> object = v8::Object::New();
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
H A Djsilver.sablecc181 {->New command.noop()}
185 {->New command.multiple([command.command, more.command])}
192 {->New command.data(data)}
196 {->New command.comment(New position.cs_open(cs_open),comment)}
200 {->New command.var(
201 New position.cs_open(cs_open),
202 New expression.sequence([expression_list.expression]))}
206 {->New command.lvar(
207 New positio
[all...]
/external/v8/src/
H A Dzone-inl.h42 inline void* Zone::New(int size) { function in class:v8::internal::Zone
73 return static_cast<T*>(New(length * sizeof(T)));
101 return ZONE->New(static_cast<int>(size));
105 return zone->New(static_cast<int>(size));
109 inline void* ZoneListAllocationPolicy::New(int size) { function in class:v8::internal::ZoneListAllocationPolicy
110 return ZONE->New(size);
116 return ZONE->New(static_cast<int>(size));
122 return zone->New(static_cast<int>(size));
H A Dd8-posix.cc196 ThrowException(String::New(message));
205 Handle<Value> arg(command_args->Get(Integer::New(j)));
211 ThrowException(String::New(message));
248 ThrowException(String::New("system: Argument 4 must be a number"));
256 ThrowException(String::New("system: Argument 3 must be a number"));
301 ThrowException(String::New(strerror(err)));
321 return ThrowException(String::New(strerror(errno)));
336 return ThrowException(String::New("Timed out waiting for output"));
349 Handle<String> addition = String::New(buffer, length);
395 ThrowException(String::New("Time
[all...]
H A Dallocation-inl.h37 void* PreallocatedStorage::New(size_t size) { function in class:v8::internal::PreallocatedStorage
H A Dallocation.h44 void* operator new(size_t size) { return New(size); }
48 static void* New(size_t size);
107 INLINE(static void* New(size_t size)) { return Malloced::New(size); }
123 static inline void* New(size_t size);
H A Dd8.cc228 return ThrowException(String::New("Error loading file"));
232 return ThrowException(String::New("Error loading file"));
241 Handle<String> accumulator = String::New("");
257 accumulator = String::Concat(accumulator, String::New(buffer, length));
260 accumulator = String::Concat(accumulator, String::New(buffer, length-1));
262 return String::Concat(accumulator, String::New(buffer, length-1));
273 return ThrowException(String::New("Error loading file"));
277 return ThrowException(String::New("Error loading file"));
279 if (!ExecuteString(source, String::New(*file), false, true)) {
280 return ThrowException(String::New("Erro
[all...]
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8IDBKeyCustom.cpp48 return v8::Number::New(key->number());
52 return v8::Date::New(key->date());
H A DV8DeviceMotionEventCustom.cpp44 v8::Local<v8::Object> object = v8::Object::New();
45 object->Set(v8::String::New("x"), acceleration->canProvideX() ? v8::Number::New(acceleration->x()) : v8::Null());
46 object->Set(v8::String::New("y"), acceleration->canProvideY() ? v8::Number::New(acceleration->y()) : v8::Null());
47 object->Set(v8::String::New("z"), acceleration->canProvideZ() ? v8::Number::New(acceleration->z()) : v8::Null());
53 v8::Local<v8::Object> object = v8::Object::New();
54 object->Set(v8::String::New("alpha"), rotationRate->canProvideAlpha() ? v8::Number::New(rotationRat
[all...]
H A DV8WebKitAnimationCustom.cpp45 return v8::Number::New(std::numeric_limits<float>::infinity());
46 return v8::Number::New(count);
H A DV8InspectorFrontendHostCustom.cpp82 v8::Local<v8::Object> item = v8::Local<v8::Object>::Cast(array->Get(v8::Integer::New(i)));
83 v8::Local<v8::Value> type = item->Get(v8::String::New("type"));
84 v8::Local<v8::Value> id = item->Get(v8::String::New("id"));
85 v8::Local<v8::Value> label = item->Get(v8::String::New("label"));
86 v8::Local<v8::Value> enabled = item->Get(v8::String::New("enabled"));
87 v8::Local<v8::Value> checked = item->Get(v8::String::New("checked"));
H A DV8CustomApplicationInstalledCallback.cpp37 : m_callback(v8::Persistent<v8::Object>::New(callback))
58 v8::Boolean::New(isInstalled)
/external/webkit/Source/WebKit/chromium/src/
H A DBoundObject.cpp44 v8::Local<v8::FunctionTemplate> localTemplate = v8::FunctionTemplate::New(WebCore::V8Proxy::checkNewLegal);
45 m_hostTemplate = v8::Persistent<v8::FunctionTemplate>::New(localTemplate);
46 m_hostTemplate->SetClassName(v8::String::New(objectName));
57 v8::Local<v8::Signature> signature = v8::Signature::New(m_hostTemplate);
59 v8::Local<v8::External> v8This = v8::External::New(m_v8This);
61 v8::String::New(name),
62 v8::FunctionTemplate::New(
76 global->Set(v8::String::New(m_objectName), boundObject);
/external/v8/test/cctest/
H A Dtest-thread-termination.cc58 v8::String::New("try { doloop(); fail(); } catch(e) { fail(); }");
69 v8::Script::Compile(v8::String::New("function f() {"
94 v8::Script::Compile(v8::String::New("var term = true;"
111 v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New();
112 global->Set(v8::String::New("terminate"),
113 v8::FunctionTemplate::New(terminate));
114 global->Set(v8::String::New("fail"), v8::FunctionTemplate::New(Fail));
115 global->Set(v8::String::New("loop"), v8::FunctionTemplate::New(Loo
[all...]
H A Dtest-accessors.cc56 Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New();
92 v8::Handle<v8::FunctionTemplate> templ = v8::FunctionTemplate::New();
96 v8::External::New(&foo));
100 v8::External::New(&bar));
104 v8::External::New(&baz));
136 v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New();
141 x_receiver = v8::Object::New();
153 v8::Handle<Value> entry = array->Get(v8::Integer::New(i));
154 CHECK_EQ(v8::Integer::New(i), entry);
170 Local<ObjectTemplate> templ = ObjectTemplate::New();
[all...]
/external/webkit/Source/WebCore/bindings/v8/
H A DDateExtension.cpp78 v8::Local<v8::Value> result = V8Proxy::currentContext()->Global()->Get(v8::String::New("Date"));
91 argv[0] = v8::Boolean::New(!allow);
92 v8::Handle<v8::Function>::Cast(sleepFunctionHandle)->Call(v8::Object::New(), 1, argv);
97 if (name->Equals(v8::String::New("Setup")))
98 return v8::FunctionTemplate::New(Setup);
99 if (name->Equals(v8::String::New("OnSleepDetected")))
100 return v8::FunctionTemplate::New(OnSleepDetected);
H A DScriptObject.cpp63 scope.global()->Set(v8::String::New(name), value.v8Value());
71 scope.global()->Set(v8::String::New(name), toV8(value));
78 scope.global()->Set(v8::String::New(name), toV8(value));
86 v8::Local<v8::Value> v8Value = scope.global()->Get(v8::String::New(name));
100 return scope.global()->Delete(v8::String::New(name));
H A DScriptDebugServer.cpp69 v8::Local<v8::Object> args = v8::Object::New();
70 args->Set(v8::String::New("sourceID"), v8String(sourceID));
71 args->Set(v8::String::New("lineNumber"), v8::Integer::New(scriptBreakpoint.lineNumber));
72 args->Set(v8::String::New("columnNumber"), v8::Integer::New(scriptBreakpoint.columnNumber));
73 args->Set(v8::String::New("condition"), v8String(scriptBreakpoint.condition));
75 v8::Handle<v8::Function> setBreakpointFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("setBreakpoint")));
79 *actualLineNumber = args->Get(v8::String::New("lineNumber"))->Int32Value();
80 *actualColumnNumber = args->Get(v8::String::New("columnNumbe
[all...]
/external/v8/samples/
H A Dshell.cc96 v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New();
98 global->Set(v8::String::New("print"), v8::FunctionTemplate::New(Print));
100 global->Set(v8::String::New("read"), v8::FunctionTemplate::New(Read));
102 global->Set(v8::String::New("load"), v8::FunctionTemplate::New(Load));
104 global->Set(v8::String::New("quit"), v8::FunctionTemplate::New(Quit));
106 global->Set(v8::String::New("versio
[all...]
/external/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp36 Module *New = new Module(M->getModuleIdentifier(), M->getContext()); local
37 New->setDataLayout(M->getDataLayout());
38 New->setTargetTriple(M->getTargetTriple());
39 New->setModuleInlineAsm(M->getModuleInlineAsm());
47 GlobalVariable *GV = new GlobalVariable(*New,
62 I->getLinkage(), I->getName(), New);
71 I->getName(), NULL, New);
116 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName());
121 return New;
/external/valgrind/main/gdbserver_tests/
H A Dnlcontrolc.stdoutB.exp4 [New Thread ....]
5 [New Thread ....]
6 [New Thread ....]
/external/chromium/base/memory/
H A Dsingleton_objc.h23 // static Foo* New() {
43 static Type* New() { function in struct:DefaultSingletonObjCTraits
/external/clang/test/CXX/temp/temp.type/
H A Dp1-0x.cpp14 namespace New { namespace

Completed in 2066 milliseconds

1234567891011>>