/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureTestUtil.cpp | 158 void initializePrograms (vk::SourceCollections& programCollection, glu::Precision texCoordPrecision, const std::vector<Program>& programs, const char* texCoordSwizzle, glu::Precision fragOutputPrecision, bool unnormal) in initializePrograms() 194 for (std::vector<Program>::const_iterator programIt = programs.begin(); programIt != programs.end(); ++programIt) in initializePrograms() 197 std::map<std::string, std::string> params; in initializePrograms() 213 const std::string version = glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450); in initializePrograms() 237 params["TEXCOORD_SWZ"] = std::string(".") + texCoordSwizzle; in initializePrograms() 240 std::string lookup; in initializePrograms() 242 std::string texture = unnormal ? "textureLod" : "texture"; in initializePrograms() 243 std in initializePrograms() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | LazyCallGraph.cpp | 207 : BPA(std::move(G.BPA)), NodeMap(std::move(G.NodeMap)), in LazyCallGraph() 208 EntryEdges(std::move(G.EntryEdges)), SCCBPA(std::move(G.SCCBPA)), in LazyCallGraph() 209 SCCMap(std::move(G.SCCMap)), in LazyCallGraph() 210 LibFunctions(std::move(G.LibFunctions)) { in LazyCallGraph() 215 BPA = std::move(G.BPA); in operator =() 216 NodeMap = std::move(G.NodeMap); in operator =() 217 EntryEdges = std::move(G.EntryEdges); in operator =() 218 SCCBPA = std in operator =() [all...] |
H A D | BranchProbabilityInfo.cpp | 55 cl::opt<std::string> PrintBranchProbFuncName( 447 std::swap(TakenIdx, NonTakenIdx); in calcPointerHeuristics() 476 std::tie(HeaderMapIt, Inserted) = HeaderMap.insert(std::make_pair(BB, false)); in isSCCHeader() 571 std::find(succ_begin(BB), succ_end(BB), B) == succ_end(BB)) in computeUnlikelySuccessors() 792 std::swap(TakenIdx, NonTakenIdx); in calcZeroHeuristics() 835 std::swap(TakenIdx, NonTakenIdx); in calcFloatingPointHeuristics() 907 auto I = Probs.find(std::make_pair(Src, IndexInSuccessors)); in getEdgeProbability() 930 auto MapI = Probs.find(std::make_pair(Src, I.getSuccessorIndex())); in getEdgeProbability() 936 uint32_t succ_num = std in getEdgeProbability() [all...] |
/test/xts/acts/ai/nncore/opstest/src/ |
H A D | leaky_relu_test.cpp | 26 const std::vector<int32_t> input_shape = {3};
27 const std::vector<int32_t> output_shape = {3};
44 const std::vector<int32_t> input_shape = {3};
45 const std::vector<int32_t> output_shape = {3};
62 const std::vector<int32_t> input_shape = {3};
63 const std::vector<int32_t> output_shape = {3};
80 const std::vector<int32_t> input_shape = {};
81 const std::vector<int32_t> output_shape = {};
341 std::vector<NN_TensorDesc*> tensorDescVec;
in HWTEST_F() 352 if (std in HWTEST_F() [all...] |
/third_party/json/tests/thirdparty/Fuzzer/ |
H A D | FuzzerLoop.cpp | 133 std::atomic<size_t> Mallocs; 134 std::atomic<size_t> Frees; 407 static auto *PCsSet = new std::set<uintptr_t>; in CheckExitOnSrcPosOrItem() 412 std::string Descr = DescribePC("%L", PC); in CheckExitOnSrcPosOrItem() 413 if (Descr.find(Options.ExitOnSrcPos) != std::string::npos) { in CheckExitOnSrcPosOrItem() 431 std::vector<Unit> AdditionalCorpus; in RereadOutputCorpus() 454 std::random_shuffle(V->begin(), V->end(), MD.GetRand()); in ShuffleCorpus() 456 std::stable_sort(V->begin(), V->end(), [](const Unit &A, const Unit &B) { in ShuffleCorpus() 556 std::string Path = DirPlusFile(Options.OutputCorpus, Hash(U)); in WriteToOutputCorpus() 565 std in WriteUnitToFileWithPrefix() [all...] |
/third_party/node/src/crypto/ |
H A D | crypto_util.cc | 282 std::reverse(std::begin(errors_), std::end(errors_)); in SetFipsCrypto() 300 const std::string& last_error_string = copy.errors_.back(); in SetFipsCrypto() 352 std::unique_ptr<BackingStore> ByteSource::ReleaseToBackingStore() { in SetFipsCrypto() 356 std::unique_ptr<BackingStore> ptr = ArrayBuffer::NewBackingStore( in SetFipsCrypto() 370 std::unique_ptr<BackingStore> store = ReleaseToBackingStore(); in SetFipsCrypto() 371 return ArrayBuffer::New(env->isolate(), std::move(store)); in SetFipsCrypto() 385 return std::move(out).release(); in SetFipsCrypto() 398 out = std in SetFipsCrypto() [all...] |
/third_party/node/src/tracing/ |
H A D | trace_event.h | 128 // std::unique_ptr<ConvertableToTraceFormat> arg_value) 132 #define TRACE_EVENT_API_ATOMIC_WORD std::atomic<intptr_t> 463 std::unique_ptr<v8::ConvertableToTraceFormat> arg_convertibles[2]; in AddTraceEventImpl() 486 std::unique_ptr<v8::ConvertableToTraceFormat> arg_convertables[2]; in AddTraceEventWithTimestampImpl() 508 std::unique_ptr<v8::ConvertableToTraceFormat> arg_convertibles[2]; in AddMetadataEventImpl() 572 static inline typename std::enable_if< 573 std::is_convertible<T*, v8::ConvertableToTraceFormat*>::value>::type 574 SetTraceValue(std::unique_ptr<T> ptr, unsigned char* type, uint64_t* value) { in SetTraceValue() 580 // could be temporary objects, such as std::string. In order to store 602 SetTraceValue(std in AddTraceEvent() [all...] |
/third_party/node/deps/v8/src/codegen/s390/ |
H A D | assembler-s390.cc | 65 static std::set<std::string>& features = *new std::set<std::string>(); in supportsCPUFeature() 66 static std::set<std::string>& all_available_features = in supportsCPUFeature() 67 *new std::set<std::string>({"iesan3", "zarch", "stfle", "msa", "ldisp", in supportsCPUFeature() 377 std::unique_ptr<AssemblerBuffer> buffer) in Assembler() 378 : AssemblerBase(options, std in Assembler() [all...] |
/third_party/node/deps/openssl/openssl/crypto/sha/asm/ |
H A D | sha1-sparcv9a.pl | 110 std %f20,[$Xfer+`4*$j`] 195 std %f20,[$Xfer+`4*$l`] ! 244 std %f20,[$Xfer+`4*$l`] ! 256 std %f20,[$Xfer+`4*$l`] 327 std %f20,[$Xfer+`4*$l`] ! 400 std %f20,[$nXfer+`4*$m`] 480 std %f16,[$Xfer+0] 482 std %f18,[$Xfer+8] 484 std %f20,[$Xfer+16] 486 std [all...] |
/third_party/rust/crates/log/src/ |
H A D | lib.rs | 42 //! [`println!`]: https://doc.rust-lang.org/stable/std/macro.println.html 99 //! # fn find_a_razor() -> Result<u32, std::io::Error> { Ok(1) } 215 //! # Use with `std` 219 //! `set_boxed_logger` function is available with the `std` Cargo feature. It is 232 //! # #[cfg(feature = "std")] 276 //! * `std` allows use of `std` crate instead of the default `core`. Enables using `std::error` and 282 //! log = { version = "0.4", features = ["std", "serde"] } 322 #![cfg_attr(all(not(feature = "std"), no [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawInvertedDepthRangesTests.cpp | 86 const std::array<Vec4, 3u> kVertices = 103 using ColorAndDepth = std::pair<tcu::ConstPixelBufferAccess, tcu::ConstPixelBufferAccess>; 239 std::vector<VkImageView> fbAttachments in InvertedDepthRangesTestInstance() 273 std::vector<VkDynamicState> dynamicStates; in InvertedDepthRangesTestInstance() 290 pipelineCreateInfo.addState (PipelineCreateInfo::ViewportState (1, std::vector<VkViewport>(), std::vector<VkRect2D>(1, scissor))); in InvertedDepthRangesTestInstance() 382 std::array<float, 3> depthValues; in generateReferenceImage() 387 std::transform(begin(kVertices), end(kVertices), begin(depthValues), [](const Vec4& coord) { return coord.z(); }); in generateReferenceImage() 670 InvertedDepthRangesTest (tcu::TestContext& testCtx, const std::string& name, const TestParams& params) in InvertedDepthRangesTest() 680 std in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageSampleCompressedTextureTests.cpp | 71 using std::vector; 642 const std::string& name, 660 const std::string& name, in SampleDrawnTextureTest() 697 std::string algorithmName = (m_imageFormat == vk::VK_FORMAT_BC3_UNORM_BLOCK) ? "BC3" : "BC1"; in checkSupport() 698 std::string errorMsg = algorithmName; in checkSupport() 710 std::string bc1_red = "uvec4(4160813056u, 0u, 4160813056u, 0u);\n"; in initPrograms() 711 std::string bc1_blue = "uvec4(2031647, 0u, 2031647, 0u);\n"; in initPrograms() 712 std::string bc3_red = "uvec4(4294967295u, 4294967295u, 4160813056u, 0u);\n"; in initPrograms() 713 std::string bc3_blue = "uvec4(4294967295u, 4294967295u, 2031647, 0u);\n"; in initPrograms() 715 std in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp | 55 inline VkDeviceSize sizeInBytes(const std::vector<T>& vec) in sizeInBytes() 60 std::vector<Vertex> genVertices (void) in genVertices() 62 std::vector<Vertex> vectorData; in genVertices() 137 const std::string& name) in MultipleSubpassesMultipleCommandBuffersTest() 165 std::ostringstream fragmentSource; in initPrograms() 203 std::vector<vk::VkSubpassDescription> subpassDescriptions; in createRenderPass() 223 std::vector<vk::VkSubpassDependency> subpassDependencies; in createRenderPass() 343 std::vector<VkImageMemoryBarrier> preImageBarriers; in MultipleSubpassesMultipleCommandBuffersTestInstance() 344 std::vector<VkImageMemoryBarrier> postImageBarriers; in MultipleSubpassesMultipleCommandBuffersTestInstance() 535 const std in MultipleSubpassesMultipleCommandBuffersTestInstance() [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
H A D | IntermRebuild.cpp | 46 mMulti(std::move(other.mMulti)) in BaseResult() 59 TIntermRebuild::BaseResult::BaseResult(std::nullptr_t) in BaseResult() 67 TIntermRebuild::BaseResult::BaseResult(std::vector<TIntermNode *> &&nodes) in BaseResult() 71 mMulti(std::move(nodes)) in BaseResult() 79 mMulti = std::move(other.mMulti); in moveAssignImpl() 82 TIntermRebuild::BaseResult TIntermRebuild::BaseResult::Multi(std::vector<TIntermNode *> &&nodes) in Multi() 84 auto it = std::remove(nodes.begin(), nodes.end(), nullptr); in Multi() 86 return std::move(nodes); in Multi() 104 const std::vector<TIntermNode *> *TIntermRebuild::BaseResult::multi() const in multi() 119 PreResult::PreResult(std in PreResult() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | TailDuplicator.cpp | 259 *DuplicatedPreds = std::move(TDBBs); in tailDuplicateAndUpdate() 334 LI->second.push_back(std::make_pair(BB, NewReg)); in addSSAUpdateEntry() 337 Vals.push_back(std::make_pair(BB, NewReg)); in addSSAUpdateEntry() 338 SSAUpdateVals.insert(std::make_pair(OrigReg, Vals)); in addSSAUpdateEntry() 348 SmallVectorImpl<std::pair<unsigned, RegSubRegPair>> &Copies, in processPHI() 356 LocalVRMap.insert(std::make_pair(DefReg, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI() 361 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI() 401 LocalVRMap.insert(std::make_pair(Reg, RegSubRegPair(NewReg, 0))); in duplicateInstruction() 448 LocalVRMap.insert(std::make_pair(Reg, RegSubRegPair(NewReg, 0))); in duplicateInstruction() 849 SmallVector<std in tailDuplicate() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/runner/ |
H A D | glcTestRunner.cpp | 41 using std::vector; 42 using std::string; 54 const std::string sessionInfo = "#sessionInfo commandLineParameters \""; in RunSession() 74 static void appendConfigArgs(const Config& config, std::vector<std::string>& args, const char* fboConfig) in appendConfigArgs() 232 throw std::runtime_error("Unknown context type"); in getApiName() 259 static void getBaseOptions(std::vector<std::string>& args, const char* mustpassDir, const char* apiName, in getBaseOptions() 585 throw std::runtime_error("Unknown context type"); in getTestRunParams() 655 throw std in writeRunSummary() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | InstancingTest.cpp | 68 const std::string inst = "attribute float a_instance;"; 69 const std::string pos = "attribute vec2 a_position;"; 70 const std::string main = R"( 79 const std::string inst0 = inst + pos + main; 86 const std::string inst1 = pos + inst + main; 240 << std::endl; 531 std::vector<GLColor> expectedPixels(getWindowWidth() * getWindowHeight()); 589 std::vector<GLColor> actualPixels(getWindowWidth() * getWindowHeight()); 728 std::vector<GLfloat> vertices; 745 std [all...] |
/third_party/openssl/crypto/sha/asm/ |
H A D | sha1-sparcv9a.pl | 110 std %f20,[$Xfer+`4*$j`] 195 std %f20,[$Xfer+`4*$l`] ! 244 std %f20,[$Xfer+`4*$l`] ! 256 std %f20,[$Xfer+`4*$l`] 327 std %f20,[$Xfer+`4*$l`] ! 400 std %f20,[$nXfer+`4*$m`] 480 std %f16,[$Xfer+0] 482 std %f18,[$Xfer+8] 484 std %f20,[$Xfer+16] 486 std [all...] |
/third_party/skia/src/utils/ |
H A D | SkShadowUtils.cpp | 51 GrFPResult asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, 88 GrFPResult SkGaussianColorFilter::asFragmentProcessor(std::unique_ptr<GrFragmentProcessor> inputFP, in asFragmentProcessor() 100 GrSkSLFP::Make(effect, "gaussian_fp", std::move(inputFP), GrSkSLFP::OptFlags::kNone)); in asFragmentProcessor() 323 : fTessellations(std::move(tessellations)) { in CachedTessellationsRec() 345 std::unique_ptr<uint8_t[]> fKey; 450 std::unique_ptr<uint8_t[]> fKey; 459 std::function<void(const SkVertices*, SkBlendMode, const SkPaint&, in draw_shadow() 478 vertices = std::move(context.fVertices); in draw_shadow() 485 tessellations = std::move(context.fTessellationsOnFailure); in draw_shadow() 494 auto rec = new CachedTessellationsRec(*key, std in draw_shadow() [all...] |
/third_party/skia/tests/ |
H A D | MathTest.cpp | 79 float std = std_floor(value); in test_floor_value() local 80 if (std != fast) { in test_floor_value() 82 value, fast, std, value); in test_floor_value() 290 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::infinity()) == 0); in test_nextlog2() 291 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::max()) == 0); in test_nextlog2() 294 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::min()) == 0); in test_nextlog2() 295 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::denorm_min()) == 0); in test_nextlog2() 297 REPORTER_ASSERT(r, sk_float_nextlog2(std::numeric_limits<float>::denorm_min()) == 0); in test_nextlog2() 298 REPORTER_ASSERT(r, sk_float_nextlog2(std::numeric_limits<float>::min()) == 0); in test_nextlog2() 318 REPORTER_ASSERT(r, sk_float_nextlog2(std in test_nextlog2() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | PredicateInfo.cpp | 76 const std::pair<BasicBlock *, BasicBlock *> 81 return std::make_pair(PEdge->From, PEdge->To); in getBlockEdge() 156 return std::tie(A.DFSIn, A.LocalNum, isADef) < in operator ()() 157 std::tie(B.DFSIn, B.LocalNum, isBDef); in operator ()() 162 const std::pair<BasicBlock *, BasicBlock *> 166 return std::make_pair(PHI->getIncomingBlock(*VD.U), PHI->getParent()); in getBlockEdge() 175 std::tie(ASrc, ADest) = getBlockEdge(A); in comparePHIRelated() 176 std::tie(BSrc, BDest) = getBlockEdge(B); in comparePHIRelated() 202 return std::tie(AIn, isADef) < std in comparePHIRelated() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
H A D | MipsBranchExpansion.cpp | 194 I = std::find_if_not(I, E, in getNextMachineInstrInBB() 202 static std::pair<Iter, bool> getNextMachineInstr(Iter Position, in getNextMachineInstr() 211 return std::make_pair(Position, true); in getNextMachineInstr() 220 return std::make_pair(Instr, false); in getNextMachineInstr() 256 ReverseIter FirstBr = getNonDebugInstr(std::next(LastBr), End); in splitMBB() 277 MFp->insert(std::next(MachineFunction::iterator(MBB)), NewMBB); in splitMBB() 517 BuildMI(*BalTgtMBB, std::prev(Pos), DL, TII->get(Mips::ADDiu), Mips::SP) in expandToLongBranch() 623 BuildMI(*BalTgtMBB, std::prev(Pos), DL, TII->get(Mips::DADDiu), in expandToLongBranch() 748 std::next(I) == FI->end() && std in handleForbiddenSlot() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCLoopInstrFormPrep.cpp | 198 std::function<bool(const Instruction *, const Value *)> 247 static const std::string PHINodeNameSuffix = ".phi"; 248 static const std::string CastNodeNameSuffix = ".cast"; 249 static const std::string GEPNodeIncNameSuffix = ".inc"; 250 static const std::string GEPNodeOffNameSuffix = ".off"; 266 static std::string getInstrName(const Value *I, const std::string Suffix) { in getInstrName() 333 std::function<bool(const Instruction *, const Value *)> isValidCandidate, in collectCandidates() 380 DenseMap<unsigned, std::pair<unsigned, unsigned>> RemainderOffsetInfo; in prepareBaseForDispFormChain() 384 RemainderOffsetInfo[0] = std in prepareBaseForDispFormChain() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 222 static cl::list<std::string> 251 std::set<std::string> EHWhitelistSet; 331 static std::string getSignature(FunctionType *FTy) { in getSignature() 332 std::string Sig; in getSignature() 343 std::replace(Sig.begin(), Sig.end(), ',', '.'); in getSignature() 422 std::tie(SizeArg, NEltArg) = FnAttrs.getAllocSizeArgs(); in wrapInvoke() 459 std::string Sig = getSignature(CalleeFTy); in getInvokeWrapper() 883 std::vector<Instruction *> SetjmpTableInsts; in runSjLjOnFunction() 885 std in runSjLjOnFunction() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | LoopDistribute.cpp | 374 std::tie(LoadToPart, NewElt) = in mergeToAvoidDuplicatedLoads() 375 LoadToPartition.insert(std::make_pair(Inst, PartI)); in mergeToAvoidDuplicatedLoads() 402 for (auto PartJ : make_range(std::next(ToBeMerged.member_begin(I)), in mergeToAvoidDuplicatedLoads() 424 std::tie(Iter, NewElt) = in setupPartitionIdOnInstructions() 425 InstToPartitionId.insert(std::make_pair(Inst, PartitionID)); in setupPartitionIdOnInstructions() 466 for (auto I = std::next(PartitionContainer.rbegin()), in cloneLoops() 486 Next = std::next(PartitionContainer.cbegin()), in cloneLoops() 565 using PartitionContainerT = std::list<InstPartition>; 666 bool processLoop(std::function<const LoopAccessInfo &(Loop &)> &GetLAA) { in processLoop() 818 LVer.setAliasChecks(std in processLoop() [all...] |