Home
last modified time | relevance | path

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

12345678910>>...36

/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DErrors.cpp50 static Napi::Error New(Napi::Env env, in New() function
54 auto err = Napi::Error::New(env);
64 return New(env, kHierarchyRequestError); in HierarchyRequestError()
68 return New(env, kWrongDocumentError); in WrongDocumentError()
72 return New(env, kInvalidCharacterError); in InvalidCharacterError()
76 return New(env, kNoModificationAllowedError); in NoModificationAllowedError()
80 return New(env, kNotFoundError); in NotFoundError()
84 return New(env, kNotSupportedError); in NotSupportedError()
88 return New(env, kInUseAttributeError); in InUseAttributeError()
92 return New(en in InvalidStateError()
[all...]
/third_party/node/deps/v8/include/
H A Dv8-typed-array.h23 * The largest typed array size that can be constructed using New.
53 static Local<Uint8Array> New(Local<ArrayBuffer> array_buffer,
55 static Local<Uint8Array> New(Local<SharedArrayBuffer> shared_array_buffer,
74 static Local<Uint8ClampedArray> New(Local<ArrayBuffer> array_buffer,
76 static Local<Uint8ClampedArray> New(
96 static Local<Int8Array> New(Local<ArrayBuffer> array_buffer,
98 static Local<Int8Array> New(Local<SharedArrayBuffer> shared_array_buffer,
117 static Local<Uint16Array> New(Local<ArrayBuffer> array_buffer,
119 static Local<Uint16Array> New(Local<SharedArrayBuffer> shared_array_buffer,
138 static Local<Int16Array> New(Loca
[all...]
H A Dv8-primitive-object.h21 static Local<Value> New(Isolate* isolate, double value);
41 static Local<Value> New(Isolate* isolate, int64_t value);
61 static Local<Value> New(Isolate* isolate, bool value);
81 static Local<Value> New(Isolate* isolate, Local<String> value);
101 static Local<Value> New(Isolate* isolate, Local<Symbol> value);
/third_party/node/deps/v8/include/v8-include/
H A Dv8-typed-array.h23 * The largest typed array size that can be constructed using New.
53 static Local<Uint8Array> New(Local<ArrayBuffer> array_buffer,
55 static Local<Uint8Array> New(Local<SharedArrayBuffer> shared_array_buffer,
74 static Local<Uint8ClampedArray> New(Local<ArrayBuffer> array_buffer,
76 static Local<Uint8ClampedArray> New(
96 static Local<Int8Array> New(Local<ArrayBuffer> array_buffer,
98 static Local<Int8Array> New(Local<SharedArrayBuffer> shared_array_buffer,
117 static Local<Uint16Array> New(Local<ArrayBuffer> array_buffer,
119 static Local<Uint16Array> New(Local<SharedArrayBuffer> shared_array_buffer,
138 static Local<Int16Array> New(Loca
[all...]
H A Dv8-local-handle.h133 // LocalBase<T>::New uses CreateHandle with an Isolate* parameter.
164 V8_INLINE static LocalBase<T> New(Isolate* isolate, internal::Address value) { in New() function in v8::LocalBase
168 V8_INLINE static LocalBase<T> New(Isolate* isolate, T* that) { in New() function in v8::LocalBase
169 return LocalBase<T>::New(isolate, in New()
194 V8_INLINE static LocalBase<T> New(Isolate* isolate, internal::Address value) { in New() function in v8::LocalBase
199 V8_INLINE static LocalBase<T> New(Isolate* isolate, T* that) { in New() function in v8::LocalBase
201 return LocalBase<T>::New(isolate, in New()
322 V8_INLINE static Local<T> New(Isolate* isolate, Local<T> that) { in New() function in v8::Local
323 return New(isolate, that.template value<T>()); in New()
326 V8_INLINE static Local<T> New(Isolat function in v8::Local
331 V8_INLINE static Local<T> New(Isolate* isolate, New() function in v8::Local
385 V8_INLINE static Local<T> New(Isolate* isolate, internal::Address value) { New() function in v8::Local
389 V8_INLINE static Local<T> New(Isolate* isolate, T* that) { New() function in v8::Local
[all...]
H A Dv8-primitive-object.h21 static Local<Value> New(Isolate* isolate, double value);
41 static Local<Value> New(Isolate* isolate, int64_t value);
61 static Local<Value> New(Isolate* isolate, bool value);
81 static Local<Value> New(Isolate* isolate, Local<String> value);
101 static Local<Value> New(Isolate* isolate, Local<Symbol> value);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable() argument
106 if (!Old->hasGlobalUnnamedAddr() && !New->hasGlobalUnnamedAddr()) in makeMergeable()
110 assert(!hasMetadataOtherThanDebugLoc(New)); in makeMergeable()
112 New->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace() argument
117 Constant *NewConstant = New; in replace()
120 << New->getName() << "\n"); in replace()
123 if (Old->getAlignment() || New->getAlignment()) in replace()
124 New->setAlignment(Align(std::max(getAlignment(Old), getAlignment(New)))); in replace()
238 GlobalVariable *New = SameContentReplacements[i].second; mergeConstants() local
[all...]
H A DIPConstantPropagation.cpp240 Value* New = RetVals[0]; in PropagateConstantReturn() local
241 if (Argument *A = dyn_cast<Argument>(New)) in PropagateConstantReturn()
244 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
245 Call->replaceAllUsesWith(New); in PropagateConstantReturn()
264 Value *New = RetVals[index]; in PropagateConstantReturn() local
265 if (New) { in PropagateConstantReturn()
266 if (Argument *A = dyn_cast<Argument>(New)) in PropagateConstantReturn()
269 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
270 Ins->replaceAllUsesWith(New); in PropagateConstantReturn()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_format_test.cc494 auto f = ParsedFormat<'d'>::New("ABC%dDEF"); in TEST_F()
499 auto f2 = ParsedFormat<'s', 'd', 'f'>::New(format); in TEST_F()
504 f2 = ParsedFormat<'s', 'd', 'f'>::New("%s %d %f"); in TEST_F()
509 auto star = ParsedFormat<'*', 'd'>::New("%*d"); in TEST_F()
513 auto dollar = ParsedFormat<'d', 's'>::New("%2$s %1$d"); in TEST_F()
517 dollar = ParsedFormat<'d', 's'>::New("%2$s %1$d %1$d"); in TEST_F()
524 EXPECT_FALSE((ParsedFormat<'d', 's'>::New("ABC"))); in TEST_F()
525 EXPECT_FALSE((ParsedFormat<'d', 's'>::New("%dABC"))); in TEST_F()
526 EXPECT_FALSE((ParsedFormat<'d', 's'>::New("ABC%2$s"))); in TEST_F()
539 EXPECT_FALSE(ParsedFormat<'d'>::New(" in TEST_F()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp50 std::unique_ptr<Module> New =
52 New->setSourceFileName(M.getSourceFileName());
53 New->setDataLayout(M.getDataLayout());
54 New->setTargetTriple(M.getTargetTriple());
55 New->setModuleInlineAsm(M.getModuleInlineAsm());
63 GlobalVariable *GV = new GlobalVariable(*New,
78 I.getAddressSpace(), I.getName(), New.get());
95 I->getAddressSpace(), I->getName(), New.get());
98 *New, I->getValueType(), false, GlobalValue::ExternalLinkage,
109 I->getLinkage(), I->getName(), New
[all...]
/third_party/skia/third_party/externals/tint/src/
H A Dclone_context_test.cc104 auto* a_b = alloc.Create<Node>(builder.Symbols().New("a->b")); in TEST_F()
105 auto* a = alloc.Create<Node>(builder.Symbols().New("a"), nullptr, a_b); in TEST_F()
107 auto* b_b = alloc.Create<Node>(builder.Symbols().New("b->b")); in TEST_F()
108 auto* b = alloc.Create<Node>(builder.Symbols().New("b"), b_a, b_b); in TEST_F()
110 original_root = alloc.Create<Node>(builder.Symbols().New("root"), a, b, c); in TEST_F()
163 auto* a_b = alloc.Create<Replaceable>(builder.Symbols().New("a->b")); in TEST_F()
164 auto* a = alloc.Create<Node>(builder.Symbols().New("a"), nullptr, a_b); in TEST_F()
167 alloc.Create<Replaceable>(builder.Symbols().New("b"), b_a, nullptr); in TEST_F()
169 original_root = alloc.Create<Node>(builder.Symbols().New("root"), a, b, c); in TEST_F()
260 auto* a_b = alloc.Create<Node>(builder.Symbols().New(" in TEST_F()
[all...]
H A Dsymbol_table_test.cc25 auto program_id = ProgramID::New(); in TEST_F()
32 auto program_id = ProgramID::New(); in TEST_F()
40 auto program_id = ProgramID::New(); in TEST_F()
47 auto program_id = ProgramID::New(); in TEST_F()
55 auto program_id = ProgramID::New(); in TEST_F()
/third_party/node/deps/v8/src/compiler/
H A Djs-operator.cc808 return zone()->New<Operator1<FeedbackParameter>>( \
819 return zone()->New<Operator1<FeedbackParameter>>( \
836 return zone()->New<Operator1<FeedbackParameter>>( // -- in DefineKeyedOwnPropertyInLiteral()
852 return zone()->New<Operator1<FeedbackParameter>>( // -- in StoreInArrayLiteral()
863 return zone()->New<Operator1<CallForwardVarargsParameters>>( // -- in CallForwardVarargs()
876 return zone()->New<Operator1<CallParameters>>( // -- in Call()
890 return zone()->New<Operator1<CallParameters>>( // -- in CallWithArrayLike()
906 return zone()->New<Operator1<CallParameters>>( // -- in CallWithSpread()
930 return zone()->New<Operator1<CallRuntimeParameters>>( // -- in CallRuntime()
942 return zone()->New<Operator in CallWasm()
[all...]
H A Dcommon-operator.cc95 return zone()->New<Operator1<const StringConstantBase*>>( in DelayedStringConstant()
896 return zone()->New<Operator>( //-- in End()
913 return zone()->New<Operator>( //-- in Return()
920 return zone()->New<Operator1<const char*>>( in StaticAssert()
928 return zone()->New<Operator1<SLVerifierHintParameters>>( in SLVerifierHint()
953 return zone()->New<Operator1<DeoptimizeParameters>>( // -- in Deoptimize()
971 return zone()->New<Operator1<DeoptimizeParameters>>( // -- in DeoptimizeIf()
989 return zone()->New<Operator1<DeoptimizeParameters>>( // -- in DeoptimizeUnless()
1008 return zone()->New<Operator1<TrapId>>( // -- in TrapIf()
1027 return zone()->New<Operator in TrapUnless()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DValue.cpp399 void Value::doRAUW(Value *New, ReplaceMetadataUses ReplaceMetaUses) { in doRAUW() argument
400 assert(New && "Value::replaceAllUsesWith(<null>) is invalid!"); in doRAUW()
401 assert(!contains(New, this) && in doRAUW()
403 assert(New->getType() == getType() && in doRAUW()
408 ValueHandleBase::ValueIsRAUWd(this, New); in doRAUW()
410 ValueAsMetadata::handleRAUW(this, New); in doRAUW()
418 C->handleOperandChange(this, New); in doRAUW()
423 U.set(New); in doRAUW()
427 BB->replaceSuccessorsPhiUsesWith(cast<BasicBlock>(New)); in doRAUW()
430 void Value::replaceAllUsesWith(Value *New) { in replaceAllUsesWith() argument
434 replaceNonMetadataUsesWith(Value *New) replaceNonMetadataUsesWith() argument
440 replaceUsesOutsideBlock(Value *New, BasicBlock *BB) replaceUsesOutsideBlock() argument
924 ValueIsRAUWd(Value *Old, Value *New) ValueIsRAUWd() argument
[all...]
H A DBasicBlock.cpp419 BasicBlock *New = BasicBlock::Create(getContext(), BBName, getParent(), in splitBasicBlock() local
426 New->getInstList().splice(New->end(), this->getInstList(), I, end()); in splitBasicBlock()
429 BranchInst *BI = BranchInst::Create(New, this); in splitBasicBlock()
432 // Now we must loop through all of the successors of the New block (which in splitBasicBlock()
435 // know that incoming branches will be from New, not from Old (this). in splitBasicBlock()
437 New->replaceSuccessorsPhiUsesWith(this, New); in splitBasicBlock()
438 return New; in splitBasicBlock()
441 void BasicBlock::replacePhiUsesWith(BasicBlock *Old, BasicBlock *New) { in replacePhiUsesWith() argument
452 replaceSuccessorsPhiUsesWith(BasicBlock *Old, BasicBlock *New) replaceSuccessorsPhiUsesWith() argument
464 replaceSuccessorsPhiUsesWith(BasicBlock *New) replaceSuccessorsPhiUsesWith() argument
[all...]
/third_party/node/src/
H A Dnode_os.cc95 args.GetReturnValue().Set(Array::New(env->isolate(), in GetOSInformation()
120 result.emplace_back(Number::New(isolate, ci->speed)); in GetCPUInfo()
122 Number::New(isolate, static_cast<double>(ci->cpu_times.user))); in GetCPUInfo()
124 Number::New(isolate, static_cast<double>(ci->cpu_times.nice))); in GetCPUInfo()
126 Number::New(isolate, static_cast<double>(ci->cpu_times.sys))); in GetCPUInfo()
128 Number::New(isolate, static_cast<double>(ci->cpu_times.idle))); in GetCPUInfo()
130 Number::New(isolate, static_cast<double>(ci->cpu_times.irq))); in GetCPUInfo()
134 args.GetReturnValue().Set(Array::New(isolate, result.data(), result.size())); in GetCPUInfo()
195 Local<Value> no_scope_id = Integer::New(isolate, -1); in GetInterfaceAddresses()
237 Boolean::New(en in GetInterfaceAddresses()
[all...]
H A Dnode_util.cc109 Local<Value> values[2] = { Integer::New(isolate, state) }; in GetPromiseDetails()
113 Local<Array> ret = Array::New(isolate, values, number_of_values); in GetPromiseDetails()
134 Array::New(args.GetIsolate(), ret, arraysize(ret))); in GetProxyDetails()
153 Local<Value> ret[] = {Integer::New(isolate, frame->GetLineNumber()), in GetCallerLocation()
154 Integer::New(isolate, frame->GetColumn()), in GetCallerLocation()
157 args.GetReturnValue().Set(Array::New(args.GetIsolate(), ret, arraysize(ret))); in GetCallerLocation()
184 Boolean::New(env->isolate(), is_key_value) in PreviewEntries()
187 Array::New(env->isolate(), ret, arraysize(ret))); in PreviewEntries()
248 InternalFieldInfoBase::New<InternalFieldInfo>(type()); in Serialize()
271 void WeakReference::New(cons function in node::util::WeakReference
[all...]
H A Dnode_buffer.h49 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
52 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
57 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
64 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
69 NODE_EXTERN v8::MaybeLocal<v8::Uint8Array> New(v8::Isolate* isolate,
H A Dfs_event_wrap.cc57 static void New(const FunctionCallbackInfo<Value>& args);
101 Local<FunctionTemplate> t = NewFunctionTemplate(isolate, New); in Initialize()
109 FunctionTemplate::New(env->isolate(), in Initialize()
112 Signature::New(env->isolate(), t)); in Initialize()
125 registry->Register(New); in RegisterExternalReferences()
130 void FSEventWrap::New(const FunctionCallbackInfo<Value>& args) { in New() function in node::__anon15347::FSEventWrap
211 Integer::New(env->isolate(), status), in OnEvent()
223 argv[0] = Integer::New(env->isolate(), UV_EINVAL); in OnEvent()
H A Dcares_wrap.cc125 /* New socket */ in ares_sockstate_cb()
169 Local<Array> ret = Array::New(env->isolate(), names.data(), names.size()); in HostentToNames()
198 return Array::New(env->isolate(), ttls.out(), naddrttls); in AddrTTLToArray()
300 Local<Object> mx_record = Object::New(env->isolate()); in ParseMxReply()
306 Integer::New(env->isolate(), current->priority)).Check(); in ParseMxReply()
335 Local<Object> caa_record = Object::New(env->isolate()); in ParseCaaReply()
339 Integer::New(env->isolate(), current->critical)).Check(); in ParseCaaReply()
378 // New record found - write out the current chunk in ParseTxtReply()
382 Local<Object> elem = Object::New(env->isolate()); in ParseTxtReply()
393 txt_chunk = Array::New(en in ParseTxtReply()
657 void ChannelWrap::New(const FunctionCallbackInfo<Value>& args) { New() function in node::cares_wrap::ChannelWrap
[all...]
/third_party/node/deps/v8/src/ast/
H A Dast.h2815 empty_statement_(zone->New<class EmptyStatement>()), in AstNodeFactory()
2816 this_expression_(zone->New<class ThisExpression>(kNoSourcePosition)), in AstNodeFactory()
2817 failure_expression_(zone->New<class FailureExpression>()) {} in AstNodeFactory()
2823 return zone_->New<VariableDeclaration>(pos); in NewVariableDeclaration()
2828 return zone_->New<NestedVariableDeclaration>(scope, pos); in NewNestedVariableDeclaration()
2832 return zone_->New<FunctionDeclaration>(fun, pos); in NewFunctionDeclaration()
2836 return zone_->New<Block>(zone_, capacity, ignore_completion_value, false); in NewBlock()
2840 return zone_->New<Block>(ignore_completion_value, is_breakable); in NewBlock()
2851 NodeType* New##NodeType(int pos) { return zone_->New<NodeTyp
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegColoring.cpp155 unsigned New = SortedIntervals[Color]->reg; in runOnMachineFunction() local
156 SlotMapping[I] = New; in runOnMachineFunction()
157 Changed |= Old != New; in runOnMachineFunction()
161 << " to vreg" << Register::virtReg2Index(New) << "\n"); in runOnMachineFunction()
169 unsigned New = SlotMapping[I]; in runOnMachineFunction() local
170 if (Old != New) in runOnMachineFunction()
171 MRI->replaceRegWith(Old, New); in runOnMachineFunction()
/third_party/protobuf/src/google/protobuf/
H A Ddynamic_message_unittest.cc148 Message* message = prototype_->New(GetParam() ? &arena : NULL); in TEST_P()
162 Message* message = extensions_prototype_->New(GetParam() ? &arena : NULL); in TEST_P()
176 Message* message = packed_prototype_->New(GetParam() ? &arena : NULL); in TEST_P()
190 Message* message = oneof_prototype_->New(GetParam() ? &arena : NULL); in TEST_P()
261 Message* message = prototype_->New(GetParam() ? &arena : NULL); in TEST_P()
276 Message* message = prototype_->New(&arena); in TEST_F()
277 Message* extension_message = extensions_prototype_->New(&arena); in TEST_F()
278 Message* packed_message = packed_prototype_->New(&arena); in TEST_F()
279 Message* oneof_message = oneof_prototype_->New(&arena); in TEST_F()
290 Message* message = proto3_prototype_->New(); in TEST_F()
[all...]
/third_party/node/deps/v8/src/d8/
H A Dd8-test.cc155 args.GetReturnValue().Set(Number::New(isolate, sum)); in AddAllSlowCallback()
237 args.GetReturnValue().Set(Number::New(isolate, dummy_result)); in AddAllSequenceSlowCallback()
272 args.GetReturnValue().Set(Number::New(isolate, sum)); in AddAllSequenceSlowCallback()
384 args.GetReturnValue().Set(Number::New(isolate, sum)); in AddAllTypedArraySlowCallback()
395 args.GetReturnValue().Set(Number::New(isolate, sum)); in AddAllTypedArraySlowCallback()
455 args.GetReturnValue().Set(Number::New(isolate, sum)); in Add32BitIntSlowCallback()
577 args.GetReturnValue().Set(Number::New(isolate, sum)); in AddAll32BitIntSlowCallback()
636 args.GetReturnValue().Set(Boolean::New(isolate, result)); in IsFastCApiObjectSlowCallback()
643 Number::New(args.GetIsolate(), self->fast_call_count())); in FastCallCount()
649 Number::New(arg in SlowCallCount()
[all...]

Completed in 41 milliseconds

12345678910>>...36