/third_party/skia/tools/fiddle/ |
H A D | fiddle_main.cpp | 46 std::ostringstream gTextOutput; 49 std::ostringstream gGLDriverInfo; 235 image = SkImage::MakeFromEncoded(std::move(data)); in main() 263 std::unique_ptr<sk_gpu_test::GLTestContext> glContext; in main() 316 std::string textoutput = gTextOutput.str(); in main() 319 std::string glinfo = gGLDriverInfo.str(); in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | AccelTable.h | 143 std::vector<AccelTableData *> Values; 154 using HashList = std::vector<HashData *>; 155 using BucketList = std::vector<HashList>; 214 new (Allocator) AccelTableDataT(std::forward<Types>(Args)...)); in addName() 304 static_assert(std::is_convertible<DataT *, AppleAccelTableData *>::value, ""); in emitAppleAccelTable() 311 ArrayRef<std::unique_ptr<DwarfCompileUnit>> CUs);
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_impl_lite.cc | 67 last_returned_size_ = std::min(block_size_, size_ - position_); in Next() 114 last_returned_size_ = std::min(block_size_, size_ - position_); in Next() 139 StringOutputStream::StringOutputStream(std::string* target) : target_(target) {} in StringOutputStream() 152 if (old_size > std::numeric_limits<int>::max() / 2) { in Next() 163 std::max(old_size * 2, in Next() 190 int bytes = Read(junk, std::min(count - skipped, in Skip()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | arena_impl.h | 289 static std::atomic<LifecycleId> lifecycle_id_generator_; 319 hint_.store(serial, std::memory_order_release); in CacheSerialArena() 322 std::atomic<SerialArena*> 324 std::atomic<SerialArena*> hint_; // Fast thread-local block access 325 std::atomic<size_t> space_allocated_; // Total size of all allocated blocks. 339 SerialArena* serial = hint_.load(std::memory_order_acquire); in GetSerialArenaFast()
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_message_field.cc | 47 std::string ReinterpretCast(const std::string& type, in ReinterpretCast() 48 const std::string& expression, in ReinterpretCast() 59 std::map<std::string, std::string>* variables) { in SetMessageVariables()
|
/third_party/skia/include/private/ |
H A D | SkPathRef.h | 69 : fPoints(std::move(points)) in SkPathRef() 70 , fVerbs(std::move(verbs)) in SkPathRef() 71 , fConicWeights(std::move(weights)) in SkPathRef() 137 std::tuple<SkPoint*, SkScalar*> growForVerbsInPath(const SkPathRef& path) { in growForVerbsInPath() 461 std::tuple<SkPoint*, SkScalar*> growForVerbsInPath(const SkPathRef& path); 514 SkDEBUGCODE(std::atomic<int> fEditorsAttached;) // assert only one editor in use at any time.
|
/third_party/rust/crates/nix/src/ |
H A D | pty.rs | 6 use std::ffi::CStr; 7 use std::io; 8 use std::mem; 9 use std::os::unix::prelude::*; 137 /// use std::path::Path; 256 use std::ptr; in openpty() 342 use std::ptr; in forkpty()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | hash.rs | 8 //! # fn main() -> Result<(), Box<dyn std::error::Error>> { 23 //! # fn main() -> Result<(), Box<dyn std::error::Error>> { 34 use std::ffi::CString; 35 use std::fmt; 36 use std::io; 37 use std::io::prelude::*; 38 use std::ops::{Deref, DerefMut}; 39 use std::ptr; 213 /// # fn main() -> Result<(), Box<dyn std::error::Error>> { 427 /// # fn main() -> Result<(), Box<dyn std in fmt() [all...] |
/third_party/rust/crates/version_check/src/ |
H A D | lib.rs | 89 use std::env; 90 use std::process::Command; 321 use std::{env, fs}; 434 use std::fs::File; in read_static() 435 use std::path::Path; in read_static() 436 use std::io::{BufReader, Read}; in read_static()
|
/third_party/spirv-tools/source/ |
H A D | operand.cpp | 101 auto it = std::lower_bound(beg, end, needle, comp); in spvOperandTableValueLookup() 467 std::find(pattern.crbegin(), pattern.crend(), SPV_OPERAND_TYPE_RESULT_ID); in spvAlternatePatternFollowingImmediate() 507 std::function<bool(unsigned)> spvOperandCanBeForwardDeclaredFunction( in spvOperandCanBeForwardDeclaredFunction() 509 std::function<bool(unsigned index)> out; in spvOperandCanBeForwardDeclaredFunction() 576 std::function<bool(unsigned)> spvDbgInfoExtOperandCanBeForwardDeclaredFunction( in spvDbgInfoExtOperandCanBeForwardDeclaredFunction() 587 std::function<bool(unsigned index)> out; in spvDbgInfoExtOperandCanBeForwardDeclaredFunction()
|
/third_party/spirv-tools/source/opt/ |
H A D | fold_spec_constant_op_and_composite_pass.cpp | 163 std::unique_ptr<Instruction> inst((*inst_iter_ptr)->Clone(context())); in FoldWithInstructionFolder() 292 std::vector<const analysis::Constant*> operands; in DoComponentWiseOperation() 294 if (!std::all_of( in DoComponentWiseOperation() 322 std::vector<uint32_t> result_vec = in DoComponentWiseOperation() 325 std::vector<const analysis::Constant*> result_vector_components; in DoComponentWiseOperation() 341 auto reg_vec_const = const_mgr->RegisterConstant(std::move(new_vec_const)); in DoComponentWiseOperation()
|
H A D | spread_volatile_semantics.cpp | 119 std::unordered_set<uint32_t> funcs; in IsTargetUsedByNonVolatileLoadInEntryPoint() 205 uint32_t var_id, const std::function<bool(Instruction*)>& handle_load, 206 const std::unordered_set<uint32_t>& function_ids) { 207 std::vector<uint32_t> worklist({var_id}); 244 Instruction* var, const std::unordered_set<uint32_t>& entry_function_ids) { 248 std::unordered_set<uint32_t> funcs;
|
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_add_constant_scalar_test.cpp | 26 std::string reference_shader = R"( in TEST() 30 %1 = OpExtInstImport "GLSL.std.450" in TEST() 125 std::string reference_shader = R"( in TEST() 129 %1 = OpExtInstImport "GLSL.std.450" in TEST() 304 std::string variant_shader = R"( in TEST() 308 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|
H A D | transformation_function_call_test.cpp | 27 std::string shader = R"( in TEST() 29 %1 = OpExtInstImport "GLSL.std.450" in TEST() 326 std::string after_transformation = R"( in TEST() 328 %1 = OpExtInstImport "GLSL.std.450" in TEST() 442 std::string shader = R"( in TEST() 444 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|
H A D | transformation_swap_commutable_operands_test.cpp | 27 std::string shader = R"( in TEST() 29 %1 = OpExtInstImport "GLSL.std.450" in TEST() 257 std::string shader = R"( in TEST() 259 %1 = OpExtInstImport "GLSL.std.450" in TEST() 372 std::string variantShader = R"( in TEST() 374 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesBufferSparseBinding.cpp | 61 const std::string& name, 62 const std::string& description, 75 const std::string& name, in BufferSparseBindingCase() 76 const std::string& description, in BufferSparseBindingCase() 174 std::vector<VkSparseMemoryBind> sparseMemoryBinds; in iterate() 260 std::vector<deUint8> referenceData; in iterate()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuInterval.hpp | 34 #define TCU_INFINITY (::std::numeric_limits<float>::infinity()) 35 #define TCU_NAN (::std::numeric_limits<float>::quiet_NaN()) 180 const bool negativeH = ::std::signbit(h); in midpoint() 181 const bool negativeL = ::std::signbit(l); in midpoint() 230 std::ostream& operator<< (std::ostream& os, const Interval& interval);
|
/third_party/vk-gl-cts/modules/gles2/stress/ |
H A D | es2sVertexArrayTests.cpp | 41 static std::string typeToString (T t) in typeToString() 43 std::stringstream strm; in typeToString() 106 std::string name = spec.getName(); in init() 176 std::string name = spec.getName(); in init() 247 std::string name = Array::inputTypeToString(inputTypes[inputTypeNdx]) + "_first" + typeToString(firsts[firstNdx]) + "_offset" + typeToString(offsets[offsetNdx]) + "_stride" + typeToString(stride) + "_quads" + typeToString(counts[countNdx]); in init() 315 std::string name = spec.getName(); in init()
|
/third_party/backends/backend/genesys/ |
H A D | gl843.cpp | 600 std::uint8_t data[32] = { in gl843_init_registers() 620 std::uint8_t set) const in set_fe() 633 std::uint8_t fe_type = dev->interface->read_register(REG_0x04) & REG_0x04_FESET; in set_fe() 700 std::uint8_t reg02 = reg->get8(REG_0x02); in gl843_init_motor_regs_scan() 754 std::uint8_t vref = 0; in gl843_init_motor_regs_scan() 783 std::uint32_t z1, z2; in gl843_init_motor_regs_scan() 818 std::uint8_t reg_vref = reg->get8(0x80); in gl843_init_motor_regs_scan() 1028 throw std::runtime_error("Exposure not defined in sensor definition"); in init_regs_for_scan_session() 1124 std::uint8_t val = dev->interface->read_register(REG_0x6C); in save_power() 1144 std in gl843_get_paper_sensor() [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | OutputHLSL.cpp | 160 std::string DefineZeroArray() in DefineZeroArray() 162 std::stringstream ss = sh::InitializeStream<std::stringstream>(); in DefineZeroArray() 169 std::string GetZeroInitializer(size_t size) in GetZeroInitializer() 171 std::stringstream ss = sh::InitializeStream<std::stringstream>(); in GetZeroInitializer() 257 out << std::min(FLT_MAX, std::max(-FLT_MAX, f)); in writeFloat() 308 const std::vector<ShaderVariable> &uniforms, in OutputHLSL() 313 const std in OutputHLSL() 300 OutputHLSL(sh::GLenum shaderType, ShShaderSpec shaderSpec, int shaderVersion, const TExtensionBehavior &extensionBehavior, const char *sourcePath, ShShaderOutput outputType, int numRenderTargets, int maxDualSourceDrawBuffers, const std::vector<ShaderVariable> &uniforms, ShCompileOptions compileOptions, sh::WorkGroupSize workGroupSize, TSymbolTable *symbolTable, PerformanceDiagnostics *perfDiagnostics, const std::map<int, const TInterfaceBlock *> &uniformBlockOptimizedMap, const std::vector<InterfaceBlock> &shaderStorageBlocks) OutputHLSL() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonConstExtenders.cpp | 69 std::swap(*this, A); in intersect() 73 Min = adjustUp(std::max(Min, A.Min), Align, Offset); in intersect() 74 Max = adjustDown(std::min(Max, A.Max), Align, Offset); in intersect() 82 std::tie(Min, Max, Align) = std::make_tuple(0, -1, 1); in intersect() 172 N->Height = 1 + std::max(height(N->Left), height(N->Right)); in update() 174 N->MaxEnd = std::max(N->MaxEnd, N->Left->MaxEnd); in update() 176 N->MaxEnd = std::max(N->MaxEnd, N->Right->MaxEnd); in update() 200 Pos = std::distance(B->begin(), It); in Loc() 265 // For std in operator <() [all...] |
/third_party/elfio/elfio/ |
H A D | elfio_note.hpp | 61 std::string& name, in get_note() 98 const std::string& name, in add_note() 107 std::string buffer( reinterpret_cast<char*>( &nameLenConv ), align ); in add_note() 170 std::vector<Elf_Xword> note_start_positions;
|
H A D | elfio_header.hpp | 35 virtual bool load( std::istream& stream ) = 0; 36 virtual bool save( std::ostream& stream ) const = 0; 103 bool load( std::istream& stream ) override 112 bool save( std::ostream& stream ) const override
|
/third_party/glslang/glslang/MachineIndependent/ |
H A D | reflection.h | 179 // Need a TString hash: typedef std::unordered_map<TString, int> TNameToIndex; 180 typedef std::map<std::string, int> TNameToIndex; 181 typedef std::vector<TObjectReflection> TMapIndexToReflection; 182 typedef std::vector<int> TIndices;
|
/third_party/glslang/SPIRV/ |
H A D | doc.h | 167 typedef std::vector<Capability> EnumCaps; 186 std::vector<OperandClass> opClass; 187 std::vector<const char*> desc; 188 std::vector<bool> optional;
|