/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawShaderDrawParametersTests.cpp | 87 template<typename T, std::size_t N> 153 const std::size_t indirectBufferSize = MAX_INDIRECT_DRAW_COUNT * 32; // space for COUNT commands plus some gratuitous padding in DrawTest() 164 const std::size_t indexBufferSize = sizeof(deUint32) * (NDX_SECOND_INDEX + NUM_VERTICES); in DrawTest() 183 template<typename T, std::size_t N> 188 const std::size_t dataSize = N * sizeof(T); 445 std::ostringstream name; in addDrawCase()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | formatutils9.cpp | 32 typedef std::map<D3DFORMAT, D3DFormat> D3D9FormatInfoMap; 34 typedef std::pair<GLint, InitializeTextureDataFunction> InternalFormatInitialzerPair; 35 typedef std::map<GLint, InitializeTextureDataFunction> InternalFormatInitialzerMap; 65 typedef std::pair<GLenum, TextureFormat> D3D9FormatPair; 66 typedef std::map<GLenum, TextureFormat> D3D9FormatMap; 94 map->insert(std::make_pair(internalFormat, info)); in InsertD3D9FormatInfo()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Texture.h | 173 const std::vector<ImageDesc> &getImageDescs() const { return mImageDescs; } in getImageDescs() 179 const std::string &getLabel() const { return mLabel; } in getLabel() 233 std::vector<ImageDesc> mImageDescs; 250 std::string mLabel; 266 void setLabel(const Context *context, const std::string &label) override; 267 const std::string &getLabel() const override;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 138 std::max((unsigned)MF->getDataLayout().getPrefTypeAlignment(Ty), in set() 192 std::vector<TargetLowering::AsmOperandInfo> Ops = in set() 198 std::pair<unsigned, const TargetRegisterClass *> PhysReg = in set() 332 EHInfo.EHPadUnwindMap = std::move(NewMap); in set() 482 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, Val.getNumSignBits()); in ComputePHILiveOutRegInfo() 500 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, SrcLOI->NumSignBits); in ComputePHILiveOutRegInfo()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcRobustnessTests.cpp | 216 std::string getComputeShader(bool glslES320); 261 const std::string& cs = getComputeShader(glslES320); in iterate() 337 std::string GetnUniformTest::getComputeShader(bool glslES320) in getComputeShader() 339 std::stringstream shader; in getComputeShader() 451 std::string fs("#version "); in iterate() 461 std::string vs("#version "); in iterate()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl3cTransformFeedbackTests.hpp | 1328 std::string preprocessCode(std::string source, std::string key, std::string value); 1336 std::string itoa(glw::GLint i); 1344 std::string ftoa(glw::GLfloat f);
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
H A D | genrb.cpp | 676 std::ifstream f(filterFileName.data()); in processFile() 678 std::cerr << "genrb error: unable to open " << filterFileName.data() << std::endl; in processFile() 682 std::string currentLine; in processFile() 683 while (std::getline(f, currentLine)) { in processFile() 695 filter.print(std::cout); in processFile()
|
/third_party/skia/tests/ |
H A D | StrokerTest.cpp | 212 bestTan = std::max(bestTan, gMaxRecursion[0]); in DEF_TEST() 213 bestCubic = std::max(bestCubic, gMaxRecursion[1]); in DEF_TEST() 322 bestTan = std::max(bestTan, gMaxRecursion[0]); in DEF_TEST() 323 bestCubic = std::max(bestCubic, gMaxRecursion[1]); in DEF_TEST() 407 best[0] = std::max(best[0], gMaxRecursion[0]); in DEF_TEST() 408 best[1] = std::max(best[1], gMaxRecursion[1]); in DEF_TEST()
|
H A D | WritePixelsTest.cpp | 287 bm->setPixelRef(std::move(pr), 0, 0); in alloc_row_bytes() 546 sk_sp<SkImage> leftImg = upload(std::move(leftSurf), kLeftColor); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 547 dest->getCanvas()->drawImage(std::move(leftImg), 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 549 sk_sp<SkImage> rightImg = upload(std::move(rightSurf), kRightColor); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 550 dest->getCanvas()->drawImage(std::move(rightImg), kHalfSize, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 589 auto storage = std::make_unique<char[]>(badRowBytes*surf->height()); in DEF_TEST()
|
H A D | FontMgrTest.cpp | 130 std::unique_ptr<SkStreamAsset> onOpenStream(int* ttcIndex) const override { return nullptr; } in DEF_TEST() 134 std::unique_ptr<SkScalerContext> onCreateScalerContext( in DEF_TEST() 141 std::unique_ptr<SkAdvancedTypefaceMetrics> onGetAdvancedMetrics() const override { in DEF_TEST() 183 TestFontStyleSet(std::initializer_list<SkFontStyle> styles) : fStyles(styles) {} in DEF_TEST() 200 std::vector<SkFontStyle> fStyles; in DEF_TEST() 229 std::vector<Case> cases; in DEF_TEST()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | VertexStateTests.cpp | 71 const std::vector<ShaderTestSpec>& testSpec) { in MakeTestPipeline() 72 std::ostringstream vs; in MakeTestPipeline() 165 std::vector<VertexAttributeSpec> attributes; 168 void MakeVertexState(const std::vector<VertexBufferSpec>& buffers, in MakeVertexState() 195 wgpu::Buffer MakeVertexBuffer(std::vector<T> data) { in MakeVertexBuffer() 208 std::vector<DrawVertexBuffer> vertexBuffers) { in DoTestDraw()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | BindGroupLayout.cpp | 160 std::set<BindingNumber> bindingsSet; in ValidateBindGroupLayoutDescriptor() 344 BindingIndex firstNonBufferIndex = std::numeric_limits<BindingIndex>::max(); in CheckBufferBindingsFirst() 347 lastBufferIndex = std::max(i, lastBufferIndex); in CheckBufferBindingsFirst() 349 firstNonBufferIndex = std::min(i, firstNonBufferIndex); in CheckBufferBindingsFirst() 369 std::vector<BindGroupLayoutEntry> sortedBindings( in BindGroupLayoutBase() 372 std::sort(sortedBindings.begin(), sortedBindings.end(), SortBindingsCompare); in BindGroupLayoutBase() 446 // std::map is sorted by key, so two BGLs constructed in different orders in ComputeContentHash()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUTargetStreamer.cpp | 168 std::string S; in finish() 225 std::string HSAMetadataString; in EmitHSAMetadata() 241 std::string HSAMetadataString; in EmitHSAMetadata() 423 std::string Blob; in finish() 555 std::string HSAMetadataString; in EmitHSAMetadata() 578 std::string HSAMetadataString; in EmitHSAMetadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.h | 162 std::vector<MachineOperand> &Pred) const override; 326 std::pair<uint16_t, uint16_t> 339 std::pair<unsigned, unsigned> 341 ArrayRef<std::pair<unsigned, const char *>> 343 ArrayRef<std::pair<unsigned, const char *>> 465 static inline std::array<MachineOperand, 2> predOps(ARMCC::CondCodes Pred, in predOps()
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_primitive_field.cc | 63 std::map<std::string, std::string>* variables) { in SetPrimitiveVariables() 74 std::string capitalized_type = UnderscoresToCamelCase( in SetPrimitiveVariables() 478 std::string ImmutablePrimitiveFieldGenerator::GetBoxedType() const { in GetBoxedType() 966 std::string RepeatedImmutablePrimitiveFieldGenerator::GetBoxedType() const { in GetBoxedType()
|
/third_party/rust/crates/rustix/src/path/ |
H A D | arg.rs | 20 #[cfg(feature = "std")] 21 use std::ffi::{OsStr, OsString}; 22 #[cfg(feature = "std")] 24 use std::os::hermit::ext::ffi::{OsStrExt, OsStringExt}; 25 #[cfg(feature = "std")] 27 use std::os::unix::ffi::{OsStrExt, OsStringExt}; 28 #[cfg(feature = "std")] 30 use std::os::vxworks::ext::ffi::{OsStrExt, OsStringExt}; 31 #[cfg(feature = "std")] 33 use std [all...] |
/third_party/rust/crates/nom/src/combinator/ |
H A D | mod.rs | 6 use crate::lib::std::boxed::Box; 10 use crate::lib::std::borrow::Borrow; 11 use crate::lib::std::convert::Into; 12 #[cfg(feature = "std")] 13 use crate::lib::std::fmt::Debug; 14 use crate::lib::std::mem::transmute; 15 use crate::lib::std::ops::{Range, RangeFrom, RangeTo}; 323 /// # use std::str; 689 /// use std::collections::HashMap;
|
/third_party/rust/crates/nix/src/ |
H A D | fcntl.rs | 3 use std::ffi::OsString; 5 use std::os::raw; 6 use std::os::unix::ffi::OsStringExt; 7 use std::os::unix::io::RawFd; 12 use std::ptr; // For splice and copy_file_range 625 iov: &[std::io::IoSlice<'_>], in vmsplice() 740 /// # use std::io::Write; 741 /// # use std::os::unix::fs::FileExt; 742 /// # use std::os::unix::io::AsRawFd; 786 /// # use std [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingNullASTests.cpp | 51 using namespace std; 211 std::vector<const char*> requiredExtensions; in DeviceHelper() 332 std::stringstream css; in initPrograms() 350 std::stringstream css; in initPrograms() 368 std::stringstream css; in initPrograms() 386 std::stringstream css; in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmWorkgroupMemoryTests.cpp | 36 using std::map; 37 using std::string; 38 using std::vector; 63 std::vector<deUint8> expectedBytes; in checkResultsFloat16() 92 std::vector<deUint8> expectedBytes; in checkResultsFloat32() 128 std::vector<deUint8> expectedBytes; in checkResultsFloat64() 187 " %1 = OpExtInstImport \"GLSL.std.450\"\n" in addComputeWorkgroupMemoryTests()
|
/third_party/vk-gl-cts/framework/platform/lnx/X11/ |
H A D | tcuLnxX11GlxPlatform.cpp | 65 using std::string; 66 using std::set; 67 using std::istringstream; 68 using std::ostringstream; 69 using std::istream_iterator; 328 std::vector<int> attribs; in createContext()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fDefaultVertexAttributeTests.cpp | 177 std::string genVertexSource (void) const; 217 (std::string("Test ") + LoaderType::getName()).c_str(), in create() 220 std::numeric_limits<typename LoaderType::Type>::is_signed, in create() 324 std::string AttributeCase::genVertexSource (void) const in genVertexSource() 329 std::ostringstream buf; in genVertexSource() 509 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, floatTargets[targetNdx].name, (std::string("test with ") + floatTargets[targetNdx].name).c_str()); in init()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | wasm-compiler.cc | 219 static_assert(std::is_same<Smi, BuiltinPtr>(), "BuiltinPtr must be Smi"); in GetBuiltinPointerTarget() 524 : gasm_(std::make_unique<WasmGraphAssembler>(mcgraph, zone)), in WasmGraphBuilder() 830 std::vector<Node*> projections; in PatchInStackCheckIfNeeded() 914 std::swap(left, right); in Binop() 918 std::swap(left, right); in Binop() 922 std::swap(left, right); in Binop() 926 std::swap(left, right); in Binop() 985 std::swap(left, right); in Binop() 989 std::swap(left, right); in Binop() 993 std in Binop() 5452 StoreArgsInStackSlot( std::initializer_list<std::pair<MachineRepresentation, Node*>> args) StoreArgsInStackSlot() argument [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | dtifmtts.cpp | 39 //#define PRINTMESG(msg) { std::cout << "(" << __FILE__ << ":" << __LINE__ << ") " << msg << "\n"; } 40 #define PRINTMESG(msg) { std::cout << msg; } 1987 std::unique_ptr<icu::StringEnumeration> calendars( in testCreateInstanceForAllLocales() 2117 std::string tmp1; in testFormatMillisecond() 2118 std::string tmp2; in testFormatMillisecond() 2120 i, kTestCases[i].skeleton, formatted.toUTF8String<std::string>(tmp1).c_str(), in testFormatMillisecond() 2121 UnicodeString(kTestCases[i].expected).toUTF8String<std::string>(tmp2).c_str()); in testFormatMillisecond() 2170 std::vector<int32_t>& categories, in getCategoryAndField() 2171 std::vector<int32_t>& fields, in getCategoryAndField() 2184 const std in verifyCategoryAndField() [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | ieee754.cc | 892 return std::numeric_limits<double>::signaling_NaN(); // acos(|x|>1) is NaN in acos() 945 return std::numeric_limits<double>::signaling_NaN(); in acosh() 1022 return std::numeric_limits<double>::signaling_NaN(); // asin(|x|>1) is NaN in asin() 1564 return std::numeric_limits<double>::signaling_NaN(); in atanh() 1567 return x > 0 ? std::numeric_limits<double>::infinity() in atanh() 1568 : -std::numeric_limits<double>::infinity(); in atanh() 1658 return -std::numeric_limits<double>::infinity(); /* log(+-0)=-inf */ in log() 1661 return std::numeric_limits<double>::signaling_NaN(); /* log(-#) = NaN */ in log() 1804 return -std::numeric_limits<double>::infinity(); /* log1p(-1)=+inf */ in log1p() 1806 return std in log1p() [all...] |