Home
last modified time | relevance | path

Searched refs:std (Results 21376 - 21400 of 67801) sorted by relevance

1...<<851852853854855856857858859860>>...2713

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dinstruction.h61 const std::vector<std::pair<const Instruction*, uint32_t>>& uses() const { in uses()
69 const std::vector<uint32_t>& words() const { return words_; } in words()
77 const std::vector<spv_parsed_operand_t>& operands() const { in operands()
113 const std::vector<uint32_t> words_;
114 const std::vector<spv_parsed_operand_t> operands_;
128 std::vector<std::pair<const Instruction*, uint32_t>> uses_;
139 // custom specialization of std::hash for Instruction
140 namespace std { namespace
[all...]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
H A Dtype_int.hpp19 typedef std::int8_t int8;
20 typedef std::int16_t int16;
21 typedef std::int32_t int32;
22 typedef std::int64_t int64;
24 typedef std::uint8_t uint8;
25 typedef std::uint16_t uint16;
26 typedef std::uint32_t uint32;
27 typedef std::uint64_t uint64;
72 using std::make_signed;
73 using std
[all...]
/third_party/skia/src/sksl/ir/
H A DSkSLSymbolTable.cpp17 std::vector<const FunctionDeclaration*> SymbolTable::GetFunctions(const Symbol& s) { in GetFunctions()
24 return std::vector<const FunctionDeclaration*>(); in GetFunctions()
73 std::make_unique<UnresolvedFunction>(functions)) in lookup()
86 fOwnedStrings.push_front(std::move(str)); in takeOwnershipOfString()
92 this->add(std::make_unique<SymbolAlias>(symbol->fLine, name, symbol)); in addAlias()
109 std::vector<const FunctionDeclaration*> functions; in addWithoutOwnership()
115 std::make_unique<UnresolvedFunction>(std::move(functions))); in addWithoutOwnership()
121 std::make_unique<UnresolvedFunction>(std in addWithoutOwnership()
[all...]
/third_party/skia/tests/
H A DPDFTaggedTableTest.cpp50 auto root = std::make_unique<PDFTag>(); in DEF_TEST()
56 auto h1 = std::make_unique<PDFTag>(); in DEF_TEST()
60 root->fChildVector.push_back(std::move(h1)); in DEF_TEST()
63 auto table = std::make_unique<PDFTag>(); in DEF_TEST()
70 auto row = std::make_unique<PDFTag>(); in DEF_TEST()
75 auto cell = std::make_unique<PDFTag>(); in DEF_TEST()
84 std::vector<int> headerIds; in DEF_TEST()
99 cells.push_back(std::move(cell)); in DEF_TEST()
101 rows.push_back(std::move(row)); in DEF_TEST()
103 root->fChildVector.push_back(std in DEF_TEST()
[all...]
H A DPDFTaggedPruningTest.cpp40 auto root = std::make_unique<PDFTag>(); in DEF_TEST()
46 auto p1 = std::make_unique<PDFTag>(); in DEF_TEST()
50 root->fChildVector.push_back(std::move(p1)); in DEF_TEST()
53 auto p2 = std::make_unique<PDFTag>(); in DEF_TEST()
57 root->fChildVector.push_back(std::move(p2)); in DEF_TEST()
105 auto root = std::make_unique<PDFTag>(); in DEF_TEST()
111 auto p1 = std::make_unique<PDFTag>(); in DEF_TEST()
115 root->fChildVector.push_back(std::move(p1)); in DEF_TEST()
118 auto p2 = std::make_unique<PDFTag>(); in DEF_TEST()
122 root->fChildVector.push_back(std in DEF_TEST()
[all...]
/third_party/skia/third_party/externals/dawn/src/common/
H A DSerialQueue.h29 using SerialPair = std::pair<Serial, std::vector<Value>>;
30 using Storage = std::vector<SerialPair>;
46 void Enqueue(const std::vector<Value>& values, Serial serial);
47 void Enqueue(std::vector<Value>&& values, Serial serial);
57 this->mStorage.emplace_back(serial, std::vector<Value>{}); in Enqueue()
67 this->mStorage.emplace_back(serial, std::vector<Value>{}); in Enqueue()
69 this->mStorage.back().second.push_back(std::move(value)); in Enqueue()
73 void SerialQueue<Serial, Value>::Enqueue(const std::vector<Value>& values, Serial serial) { in Enqueue()
80 void SerialQueue<Serial, Value>::Enqueue(std
[all...]
H A DGPUInfo.cpp28 const std::array<uint32_t, 25> Skylake = {
33 const std::array<uint32_t, 20> Kabylake = {
36 const std::array<uint32_t, 17> Coffeelake = {
39 const std::array<uint32_t, 5> Whiskylake = {{0x3EA1, 0x3EA4, 0x3EA0, 0x3EA3, 0x3EA2}};
40 const std::array<uint32_t, 21> Cometlake = {
95 return std::find(Skylake.cbegin(), Skylake.cend(), deviceId) != Skylake.cend(); in IsSkylake()
98 return std::find(Kabylake.cbegin(), Kabylake.cend(), deviceId) != Kabylake.cend(); in IsKabylake()
101 return (std::find(Coffeelake.cbegin(), Coffeelake.cend(), deviceId) != Coffeelake.cend()) || in IsCoffeelake()
102 (std::find(Whiskylake.cbegin(), Whiskylake.cend(), deviceId) != Whiskylake.cend()) || in IsCoffeelake()
103 (std in IsCoffeelake()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DDebugCounter.h63 void push_back(const std::string &);
125 unsigned getCounterId(const std::string &Name) const { in getCounterId()
133 std::pair<std::string, std::string> getCounterInfo(unsigned ID) const { in getCounterInfo()
134 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc); in getCounterInfo()
138 typedef UniqueVector<std::string> CounterVector;
161 unsigned addCounter(const std::string &Name, const std::string &Desc) { in addCounter()
173 std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DSignals.cpp39 static ManagedStatic<std::vector<std::pair<void (*)(void *), void *>>>
75 if (Argv0.find("llvm-symbolizer") != std::string::npos) in printSymbolizedStackTrace()
82 ErrorOr<std::string> LLVMSymbolizerPathOrErr = std::error_code(); in printSymbolizedStackTrace()
92 const std::string &LLVMSymbolizerPath = *LLVMSymbolizerPathOrErr; in printSymbolizedStackTrace()
96 std::string MainExecutableName = in printSymbolizedStackTrace()
98 : (std::string)Argv0; in printSymbolizedStackTrace()
101 std::vector<const char *> Modules(Depth, nullptr); in printSymbolizedStackTrace()
102 std in printSymbolizedStackTrace()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DChrono.cpp18 const char llvm::detail::unit<std::ratio<3600>>::value[] = "h";
19 const char llvm::detail::unit<std::ratio<60>>::value[] = "m";
20 const char llvm::detail::unit<std::ratio<1>>::value[] = "s";
21 const char llvm::detail::unit<std::milli>::value[] = "ms";
22 const char llvm::detail::unit<std::micro>::value[] = "us";
23 const char llvm::detail::unit<std::nano>::value[] = "ns";
27 std::time_t OurTime = toTimeT(TP); in getStructTM()
49 long((TP.time_since_epoch() % std::chrono::seconds(1)) in operator <<()
55 using namespace std::chrono; in format()
61 std in format()
[all...]
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
H A Dgenerator_impl_literal_test.cc40 std::memcpy(&result, &bits, sizeof(bits)); in MakeFloat()
46 std::string expected;
48 inline std::ostream& operator<<(std::ostream& out, FloatData data) { in operator <<()
61 std::stringstream out; in TEST_P()
68 ::testing::ValuesIn(std::vector<FloatData>{
75 ::testing::ValuesIn(std::vector<FloatData>{
83 ::testing::ValuesIn(std::vector<FloatData>{
98 ::testing::ValuesIn(std::vector<FloatData>{
113 ::testing::ValuesIn(std
[all...]
/third_party/spirv-tools/source/
H A Ddiagnostic.cpp57 std::cerr << "error: " << diagnostic->position.line + 1 << ": " in spvDiagnosticPrint()
64 std::cerr << "error: "; in spvDiagnosticPrint()
66 std::cerr << diagnostic->position.index << ": "; in spvDiagnosticPrint()
67 std::cerr << diagnostic->error << "\n"; in spvDiagnosticPrint()
77 disassembled_instruction_(std::move(other.disassembled_instruction_)), in DiagnosticStream()
81 // Some platforms are missing support for std::ostringstream functionality, in DiagnosticStream()
110 stream_ << std::endl << " " << disassembled_instruction_ << std::endl; in ~DiagnosticStream()
127 SetContextMessageConsumer(context, std::move(create_diagnostic)); in UseDiagnosticAsMessageConsumer()
130 std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DGCMetadata.h61 : Label(L), Loc(std::move(DL)) {} in GCPoint()
79 using iterator = std::vector<GCPoint>::iterator;
80 using roots_iterator = std::vector<GCRoot>::iterator;
81 using live_iterator = std::vector<GCRoot>::const_iterator;
87 std::vector<GCRoot> Roots;
88 std::vector<GCPoint> SafePoints;
154 SmallVector<std::unique_ptr<GCStrategy>, 1> GCStrategyList;
166 using FuncInfoVec = std::vector<std::unique_ptr<GCFunctionInfo>>;
181 using iterator = SmallVector<std
[all...]
/third_party/protobuf/src/google/protobuf/compiler/
H A Dscc.h50 std::vector<const Descriptor*> descriptors;
51 std::vector<const SCC*> children;
79 std::map<const Descriptor*, NodeData> cache_;
80 std::vector<const Descriptor*> stack_;
82 std::vector<std::unique_ptr<SCC>> garbage_bin_;
106 result.lowlink = std::min(result.lowlink, child_data.lowlink); in DFS()
111 result.lowlink = std::min(result.lowlink, child_data.index); in DFS()
130 std::sort(scc->descriptors.begin(), scc->descriptors.end(), in DFS()
141 std in AddChildren()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dnonsecure_base.h57 !std::is_same<SSeq, NonsecureURBGBase>::value>>
59 : urbg_(ConstructURBG(std::forward<SSeq>(seq))) {} in NonsecureURBGBase()
103 std::integral_constant<bool, sizeof(*begin) == sizeof(uint32_t)>{}, in generate()
111 void generate_impl(std::integral_constant<bool, true>, in generate_impl()
122 void generate_impl(std::integral_constant<bool, false>, in generate_impl()
124 const size_t n = std::distance(begin, end); in generate_impl()
127 std::copy(std::begin(data), std::end(data), begin); in generate_impl()
139 random_internal::MakeSaltedSeedSeq(std in ConstructURBG()
[all...]
/third_party/skia/modules/skottie/src/effects/
H A DShadowStyles.cpp85 f = SkImageFilters::Blur(sigma, sigma, std::move(f));
89 f = SkImageFilters::Offset(offset.x, offset.y, std::move(f));
96 f = SkImageFilters::Blend(SkBlendMode::kDstIn, std::move(f));
98 std::swap(source, f);
101 this->node()->setImageFilter(SkImageFilters::Merge(std::move(f),
102 std::move(source)));
122 return sksg::ImageFilterEffect::Make(std::move(layer), std::move(filter_node)); in make_shadow_effect()
129 return make_shadow_effect(jstyle, *fBuilder, std::move(layer), in attachDropShadowStyle()
135 return make_shadow_effect(jstyle, *fBuilder, std in attachInnerShadowStyle()
[all...]
/third_party/spirv-tools/source/util/
H A Dparse_number.h86 T, typename std::enable_if<std::is_unsigned<T>::value>::type> {
169 // C++11 doesn't define std::istringstream(int8_t&), so calling this method in ParseNumber()
176 std::istringstream text_stream(text); in ParseNumber()
179 text_stream >> std::setbase(0); in ParseNumber()
220 std::function<void(uint32_t)> emit, std::string* error_msg);
233 std::function<void(uint32_t)> emit, std::string* error_msg);
246 std
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSSBOLayoutCase.hpp76 std::string m_name;
84 typedef std::vector<BufferVar>::iterator iterator;
85 typedef std::vector<BufferVar>::const_iterator const_iterator;
109 std::string m_blockName;
110 std::string m_instanceName;
111 std::vector<BufferVar> m_variables;
113 std::vector<int> m_lastUnsizedArraySizes; //!< Sizes of last unsized array element, can be different per instance.
125 void getNamedStructs (std::vector<const glu::StructType*>& structs) const;
136 std::vector<glu::StructType*> m_structs;
137 std
[all...]
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeSTLUtil.hpp53 const I it = std::find(begin, end, item); in contains()
61 std::set_intersection(s1.begin(), s1.end(), s2.begin(), s2.end(), in intersection()
62 std::insert_iterator<C>(ret, ret.begin())); in intersection()
70 std::set_union(s1.begin(), s1.end(), s2.begin(), s2.end(), in set_union()
71 std::insert_iterator<C>(ret, ret.begin())); in set_union()
99 //! `std::out_of_range` if not found.
105 throw std::out_of_range("key not found in map"); in lookup()
115 std::pair<typename M::iterator,bool> ret = map.insert(entry); in insert()
128 T* dataOrNull (std::vector<T>& container) in dataOrNull()
135 const T* dataOrNull (const std
[all...]
/third_party/vulkan-loader/openharmony/bundle_mgr_helper/
H A Dvk_bundle_mgr_helper.cpp35 std::string debugHap(debugHapName); in InitBundleInfo()
60 std::string pathStr(DEBUG_SANDBOX_DIR); in GetDebugLayerLibPath()
61 std::string appLibPath = pathStr + vkBundleMgrHelper->g_bundleInfo.applicationInfo.nativeLibraryPath + "/"; in GetDebugLayerLibPath()
91 std::lock_guard<std::mutex> lock(mutex_); in Connect()
105 std::weak_ptr<VKBundleMgrHelper> weakPtr = shared_from_this(); in Connect()
114 deathRecipient_ = new(std::nothrow) VKBundleMgrServiceDeathRecipient(deathCallback); in Connect()
129 std::lock_guard<std::mutex> lock(mutex_); in OnDeath()
150 const std in VKBundleMgrServiceDeathRecipient()
[all...]
/base/security/dlp_permission_service/interfaces/kits/dlp_permission/napi/src/
H A Dnapi_dlp_permission.cpp43 std::mutex g_lockForOpenDlpFileSubscriber;
44 std::set<OpenDlpFileSubscriberContext*> g_openDlpFileSubscribers;
46 const std::string PERMISSION_ACCESS_DLP_FILE = "ohos.permission.ACCESS_DLP_FILE";
48 const std::string DLP_FILE_CLASS_NAME = "dlpFile";
51 static bool CheckPermission(napi_env env, const std::string& permission) in CheckPermission()
85 auto* asyncContext = new (std::nothrow) GenerateDlpFileAsyncContext(env); in GenerateDlpFile()
90 std::unique_ptr<GenerateDlpFileAsyncContext> asyncContextPtr { asyncContext }; in GenerateDlpFile()
129 std::string workDir = context->GetFilesDir(); in GenerateDlpFileExcute()
140 std::string rPath(realPath); in GenerateDlpFileExcute()
155 std in GenerateDlpFileComplete()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationInvarianceTests.cpp84 std::vector<Winding> getWindingCases (const WindingUsage windingUsage) in getWindingCases()
86 std::vector<Winding> cases; in getWindingCases()
120 std::vector<bool> getUsePointModeCases (const PointModeUsage pointModeUsage) in getUsePointModeCases()
122 std::vector<bool> cases; in getUsePointModeCases()
153 typedef std::vector<PerPrimitive> PerPrimitiveVec;
160 inline std::string getProgramName (const std::string& baseName, const Winding winding, const bool usePointMode) in getProgramName()
162 std::ostringstream str; in getProgramName()
167 inline std::string getProgramName (const std
[all...]
/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp23 const std::int32_t TEST_USER_ID = 101;
24 const std::int32_t MAIN_ACCOUNT_ID = 100;
25 const std::string STRING_NAME = "name";
26 const std::string STRING_TEST_NAME = "test_account_name";
27 const std::string STRING_DOMAIN_VALID = "TestDomainMT";
28 const std::string STRING_DOMAIN_ACCOUNT_NAME_VALID = "TestDomainAccountNameMT";
29 const std::string CONSTANT_PRINT = "constraint.print";
30 const std::vector<std::string> CONSTANTS_VECTOR {
35 const std
[all...]
/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_mock_test.cpp27 const std::string STRING_EMPTY = "";
28 const std::string STRING_NAME = "name";
29 const std::int32_t MAIN_ACCOUNT_ID = 100;
30 const std::string PHOTO_IMG =
39 const std::vector<std::string> CONSTANTS_VECTOR {
42 const std::string CONSTANT_PRINT = "constraint.print";
43 std::shared_ptr<OsAccount> g_osAccount = nullptr;
44 std::string storeID = "";
45 const std
[all...]
/base/global/i18n_lite/frameworks/i18n/src/
H A Dnumber_format_impl.cpp23 std::string NumberFormatImpl::ConvertSignAndNum(const char *content, int len, NumberData *data, StyleData &style) const in ConvertSignAndNum()
25 std::string strContent = content; in ConvertSignAndNum()
48 int NumberFormatImpl::ConvertNum(std::string &strContent, char currentChar, in ConvertNum()
51 std::string numStr = "0123456789"; in ConvertNum()
53 return (charPos != std::string::npos) ? in ConvertNum()
68 std::string unprocessedNumberFormat; in Init()
70 std::string unprocessedNumberDigit; in Init()
72 std::string split[NUM_PATTERN_SIZE]; in Init()
74 std::string decSign = split[NUM_DEC_SIGN_INDEX]; in Init()
75 std in Init()
[all...]

Completed in 34 milliseconds

1...<<851852853854855856857858859860>>...2713