/third_party/skia/third_party/externals/angle2/src/compiler/fuzz/ |
H A D | translator_fuzzer.cpp | 79 namespace std namespace 85 std::size_t operator()(const TranslatorCacheKey &k) const in operator ()() 91 } // namespace std 156 std::vector<uint32_t> validOutputs; in LLVMFuzzerTestOneInput() 196 using UniqueTCompiler = std::unique_ptr<TCompiler, TCompilerDeleter>; in LLVMFuzzerTestOneInput() 240 (*translators)[key] = std::move(translator); in LLVMFuzzerTestOneInput()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | LiveRangeShrink.cpp | 121 DenseMap<unsigned, std::pair<unsigned, MachineInstr *>> UseMap; in runOnMachineFunction() 145 UseMap[MO.getReg()] = std::make_pair(CurrentOrder, &MI); in runOnMachineFunction() 219 MachineBasicBlock::iterator I = std::next(Insert->getIterator()); in runOnMachineFunction() 222 I = std::next(I); in runOnMachineFunction() 234 MachineBasicBlock::iterator EndIter = std::next(MI.getIterator()); in runOnMachineFunction()
|
H A D | MachineBlockFrequencyInfo.cpp | 65 extern cl::opt<std::string> ViewBlockFreqFuncName; 77 extern cl::opt<std::string> PrintBlockFreqFuncName; 125 std::string getNodeLabel(const MachineBasicBlock *Node, in getNodeLabel() 147 std::string getNodeAttributes(const MachineBasicBlock *Node, in getNodeAttributes() 153 std::string getEdgeAttributes(const MachineBasicBlock *Node, EdgeIter EI, in getEdgeAttributes()
|
/third_party/vk-gl-cts/execserver/ |
H A D | xsPosixTestProcess.cpp | 31 using std::string; 32 using std::vector; 58 std::copy(caseList, caseList+caseListSize, m_caseList.begin()); in start() 123 std::vector<deUint8> tmpBuf (FILEREADER_TMP_BUFFER_SIZE); in run() 257 catch (const std::exception& e) in terminate()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | format.h | 111 const std::vector<Segment>& GetSegments() const { return segments_; } in GetSegments() 214 std::string GenerateNameForTesting() const { return GenerateName(); } in GenerateNameForTesting() 234 std::string GenerateName() const; 239 std::vector<FormatComponentType> type_names_; 240 std::vector<Segment> segments_;
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | VulkanBarriersPerf.cpp | 41 std::string story() const override; 54 std::ostream &operator<<(std::ostream &os, const VulkanBarriersPerfParams ¶ms) in operator <<() 115 std::string VulkanBarriersPerfParams::story() const in story() 117 std::ostringstream sout; in story()
|
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | global_state.cpp | 26 ANGLE_REQUIRE_CONSTANT_INIT std::atomic<angle::GlobalMutex *> g_Mutex(nullptr); 27 static_assert(std::is_trivially_destructible<decltype(g_Mutex)>::value, 31 static_assert(std::is_trivially_destructible<decltype(g_LastContext)>::value, 91 std::unique_ptr<angle::GlobalMutex> newMutex(new angle::GlobalMutex()); in AllocateMutex() 229 std::lock_guard<angle::GlobalMutex> lock(*mutex); in DeallocateMutex()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLBackwardsCompatibleContextTest.cpp | 21 std::pair<EGLint, EGLint> GetCurrentContextVersion() in GetCurrentContextVersion() 47 std::vector<EGLConfig> configs(configsCount); 109 std::pair<EGLint, EGLint> testVersions[] = { in TEST_P() 188 ASSERT_EQ(std::make_pair(1, 1), es11ContextVersion); in TEST_P() 200 ASSERT_EQ(std::make_pair(1, 1), es10ContextVersion); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | BlendIntegerTest.cpp | 31 std::is_same<T, int32_t>::value ? GL_INT : GL_UNSIGNED_INT, pixel); in compareValue() 35 << " componentIdx=" << componentIdx << std::endl in compareValue() 36 << " " << name << "[0]=" << value[0] << " pixel[0]=" << pixel[0] << std::endl in compareValue() 37 << " " << name << "[1]=" << value[1] << " pixel[1]=" << pixel[1] << std::endl in compareValue() 38 << " " << name << "[2]=" << value[2] << " pixel[2]=" << pixel[2] << std::endl in compareValue()
|
/third_party/skia/src/core/ |
H A D | SkTSort.h | 99 using std::swap; in SkTHeapSort() 120 T insert = std::move(*next); in SkTInsertionSort() 123 *hole = std::move(*(hole - 1)); in SkTInsertionSort() 126 *hole = std::move(insert); in SkTInsertionSort() 135 using std::swap; in SkTQSort_Partition()
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DTexture.cpp | 25 , GrD3DTextureResource(info, std::move(state)) in GrD3DTexture() 41 , GrD3DTextureResource(info, std::move(state)) in GrD3DTexture() 83 GrD3DTexture* tex = new GrD3DTexture(gpu, budgeted, dimensions, info, std::move(state), in MakeNewTexture() 106 return sk_sp<GrD3DTexture>(new GrD3DTexture(gpu, dimensions, info, std::move(state), in MakeWrappedTexture() 130 info, std::move(state), shaderResourceView, in MakeAliasingTexture()
|
/third_party/skia/third_party/externals/spirv-cross/tests-other/ |
H A D | small_vector.cpp | 194 std::vector<RAIIInt> ints(foo); in convert_to_std_vector() 202 SmallVector<std::unique_ptr<RAIIInt>> move_only_buffer; in convert_to_std_vector() 204 std::vector<std::unique_ptr<RAIIInt>> move_only_vector(std::move(move_only_buffer)); in convert_to_std_vector()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_equation_instruction.cpp | 25 : message_(std::move(message)) {} in TransformationEquationInstruction() 28 uint32_t fresh_id, SpvOp opcode, const std::vector<uint32_t>& in_operand_id, in TransformationEquationInstruction() 81 std::vector<uint32_t> rhs_id; in Apply() 93 std::move(in_operands))); in Apply() 294 std::unordered_set<uint32_t> TransformationEquationInstruction::GetFreshIds() in GetFreshIds()
|
H A D | transformation_replace_boolean_constant_with_constant_binary.cpp | 33 if (!std::isfinite(lhs) || !std::isfinite(rhs)) { in float_binop_evaluates_to() 116 : message_(std::move(message)) {} in TransformationReplaceBooleanConstantWithConstantBinary() 303 std::move(binary_instruction)); in ApplyWithResult() 321 std::unordered_set<uint32_t>
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | replace_invalid_opc.cpp | 174 std::string message = BuildWarningMessage(inst->opcode()); in ReplaceInstruction() 190 std::vector<uint32_t> ids; in GetSpecialConstant() 197 std::vector<uint32_t> literal_words; in GetSpecialConstant() 208 std::string ReplaceInvalidOpcodePass::BuildWarningMessage(SpvOp opcode) { in BuildWarningMessage() 211 std::string message = "Removing "; in BuildWarningMessage()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_equation_instruction.cpp | 25 : message_(std::move(message)) {} in TransformationEquationInstruction() 28 uint32_t fresh_id, SpvOp opcode, const std::vector<uint32_t>& in_operand_id, in TransformationEquationInstruction() 81 std::vector<uint32_t> rhs_id; in Apply() 93 std::move(in_operands))); in Apply() 294 std::unordered_set<uint32_t> TransformationEquationInstruction::GetFreshIds() in GetFreshIds()
|
H A D | transformation_replace_boolean_constant_with_constant_binary.cpp | 33 if (!std::isfinite(lhs) || !std::isfinite(rhs)) { in float_binop_evaluates_to() 116 : message_(std::move(message)) {} in TransformationReplaceBooleanConstantWithConstantBinary() 303 std::move(binary_instruction)); in ApplyWithResult() 321 std::unordered_set<uint32_t>
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | replace_invalid_opc.cpp | 174 std::string message = BuildWarningMessage(inst->opcode()); in ReplaceInstruction() 190 std::vector<uint32_t> ids; in GetSpecialConstant() 197 std::vector<uint32_t> literal_words; in GetSpecialConstant() 208 std::string ReplaceInvalidOpcodePass::BuildWarningMessage(SpvOp opcode) { in BuildWarningMessage() 211 std::string message = "Removing "; in BuildWarningMessage()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
H A D | gl_raii.h | 51 std::swap(mHandle, rht.mHandle); in operator =() 205 const std::vector<std::string> &tfVaryings, in makeRasterWithTransformFeedback() 212 void makeBinaryOES(const std::vector<uint8_t> &binary, GLenum binaryFormat) in makeBinaryOES() 217 void makeBinaryES3(const std::vector<uint8_t> &binary, GLenum binaryFormat) in makeBinaryES3()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | ComputeDispatchTests.cpp | 21 constexpr static std::initializer_list<uint32_t> kSentinelData{0, 0, 0}; 111 std::vector<uint32_t> expected = in DirectTest() 112 x == 0 || y == 0 || z == 0 ? kSentinelData : std::initializer_list<uint32_t>{x, y, z}; in DirectTest() 118 void IndirectTest(std::vector<uint32_t> indirectBufferData, in IndirectTest() 170 std::vector<uint32_t> expected; in IndirectTest()
|
/third_party/skia/third_party/externals/dawn/examples/ |
H A D | ComputeBoids.cpp | 34 std::array<wgpu::Buffer, 2> particleBuffers; 40 std::array<wgpu::BindGroup, 2> updateBGs; 75 std::vector<Particle> initialParticles(kNumParticles); in initBuffers() 77 std::mt19937 generator; in initBuffers() 78 std::uniform_real_distribution<float> dist(-1.0f, 1.0f); in initBuffers()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/ |
H A D | Core.cpp | 21 Result Error(std::string msg) { in Error() 36 Result Converter<std::string>::FromJS(Napi::Env env, Napi::Value value, std::string& out) { in FromJS() 43 Napi::Value Converter<std::string>::ToJS(Napi::Env env, std::string value) { in ToJS()
|
/third_party/skia/third_party/externals/piex/src/binary_parse/ |
H A D | range_checked_byte_ptr.h | 78 // std::vector<unsigned char> bytes; 84 // const unsigned char** end, std::shared_ptr<Page>* page) 87 // std::shared_ptr<FilePage> file_page(new FilePage()); 106 typedef std::shared_ptr<Page> PagePtr; 142 typedef std::shared_ptr<PagedByteArray> PagedByteArrayPtr; 317 std::string substr(size_t pos, size_t length) const; 321 std::vector<unsigned char> extractBytes(size_t pos, size_t length) const; 411 // Returns the result of calling std::memcmp() on the sequences of 'num' bytes 417 // Returns the result of calling std::memcmp() (note: _not_ strcmp()) on the 420 int strcmp(const RangeCheckedBytePtr &x, const std [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/ |
H A D | writable_font_data.cc | 50 WritableFontData* WritableFontData::CreateWritableFontData(std::vector<uint8_t>* b) { in CreateWritableFontData() 72 int32_t WritableFontData::WriteBytes(int32_t index, std::vector<uint8_t>* b) { in WriteBytes() 78 std::vector<uint8_t>* b, in WriteBytesPad() 87 std::min<int32_t>(length, b->size() - offset))); in WriteBytesPad() 172 offset > std::numeric_limits<int32_t>::max() - length || in Slice()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/ |
H A D | font_factory.cc | 55 void FontFactory::LoadFonts(std::vector<uint8_t>* b, FontArray* output) { in LoadFonts() 83 void FontFactory::LoadFontsForBuilding(std::vector<uint8_t>* b, in LoadFontsForBuilding() 99 std::vector<int32_t> table_ordering; in SerializeFont() 200 std::vector<uint8_t> tag(4); in IsCollection() 207 std::vector<uint8_t> tag(4); in IsCollection()
|