Home
last modified time | relevance | path

Searched refs:std (Results 22001 - 22025 of 56343) sorted by relevance

1...<<881882883884885886887888889890>>...2254

/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Ddef_use_manager.cpp120 const Instruction* def, const std::function<bool(Instruction*)>& f) const { in WhileEachUser()
134 uint32_t id, const std::function<bool(Instruction*)>& f) const { in WhileEachUser()
139 const Instruction* def, const std::function<void(Instruction*)>& f) const { in ForEachUser()
147 uint32_t id, const std::function<void(Instruction*)>& f) const { in ForEachUser()
153 const std::function<bool(Instruction*, uint32_t)>& f) const { in WhileEachUse()
175 uint32_t id, const std::function<bool(Instruction*, uint32_t)>& f) const { in WhileEachUse()
181 const std::function<void(Instruction*, uint32_t)>& f) const { in ForEachUse()
189 uint32_t id, const std::function<void(Instruction*, uint32_t)>& f) const { in ForEachUse()
213 std::vector<Instruction*> DefUseManager::GetAnnotations(uint32_t id) const { in GetAnnotations()
214 std in GetAnnotations()
151 WhileEachUse( const Instruction* def, const std::function<bool(Instruction*, uint32_t)>& f) const WhileEachUse() argument
174 WhileEachUse( uint32_t id, const std::function<bool(Instruction*, uint32_t)>& f) const WhileEachUse() argument
179 ForEachUse( const Instruction* def, const std::function<void(Instruction*, uint32_t)>& f) const ForEachUse() argument
188 ForEachUse( uint32_t id, const std::function<void(Instruction*, uint32_t)>& f) const ForEachUse() argument
[all...]
H A Ddominator_tree.cpp50 // std::vector<BBType>*(const BBType *A)'. Will return a vector of the nodes
71 // std::vector<BBType>*(const BBType *A)'. Will return a vector of the nodes
94 // functions which take as parameter an std::function returning the successors
105 using BasicBlockListTy = std::vector<BasicBlock*>;
106 using BasicBlockMapTy = std::map<const BasicBlock*, BasicBlockListTy>;
115 // CFA::CalculateDominators requires std::vector<BasicBlock*>.
117 std::function<const std::vector<BasicBlock*>*(const BasicBlock*)>;
161 std::map<uint32_t, BasicBlock*> id_to_BB_map; in CreateSuccessorMap()
280 std in GetOrInsertNode()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Ddef_use_manager.cpp120 const Instruction* def, const std::function<bool(Instruction*)>& f) const { in WhileEachUser()
134 uint32_t id, const std::function<bool(Instruction*)>& f) const { in WhileEachUser()
139 const Instruction* def, const std::function<void(Instruction*)>& f) const { in ForEachUser()
147 uint32_t id, const std::function<void(Instruction*)>& f) const { in ForEachUser()
153 const std::function<bool(Instruction*, uint32_t)>& f) const { in WhileEachUse()
175 uint32_t id, const std::function<bool(Instruction*, uint32_t)>& f) const { in WhileEachUse()
181 const std::function<void(Instruction*, uint32_t)>& f) const { in ForEachUse()
189 uint32_t id, const std::function<void(Instruction*, uint32_t)>& f) const { in ForEachUse()
213 std::vector<Instruction*> DefUseManager::GetAnnotations(uint32_t id) const { in GetAnnotations()
214 std in GetAnnotations()
151 WhileEachUse( const Instruction* def, const std::function<bool(Instruction*, uint32_t)>& f) const WhileEachUse() argument
174 WhileEachUse( uint32_t id, const std::function<bool(Instruction*, uint32_t)>& f) const WhileEachUse() argument
179 ForEachUse( const Instruction* def, const std::function<void(Instruction*, uint32_t)>& f) const ForEachUse() argument
188 ForEachUse( uint32_t id, const std::function<void(Instruction*, uint32_t)>& f) const ForEachUse() argument
[all...]
H A Ddominator_tree.cpp50 // std::vector<BBType>*(const BBType *A)'. Will return a vector of the nodes
71 // std::vector<BBType>*(const BBType *A)'. Will return a vector of the nodes
94 // functions which take as parameter an std::function returning the successors
105 using BasicBlockListTy = std::vector<BasicBlock*>;
106 using BasicBlockMapTy = std::map<const BasicBlock*, BasicBlockListTy>;
115 // CFA::CalculateDominators requires std::vector<BasicBlock*>.
117 std::function<const std::vector<BasicBlock*>*(const BasicBlock*)>;
161 std::map<uint32_t, BasicBlock*> id_to_BB_map; in CreateSuccessorMap()
280 std in GetOrInsertNode()
[all...]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
H A DGlitchAnalyzer.h88 std::string analyze() override {
89 std::stringstream report;
91 report << LOOPBACK_RESULT_TAG "peak.amplitude = " << std::setw(8)
93 report << LOOPBACK_RESULT_TAG "sine.magnitude = " << std::setw(8)
95 report << LOOPBACK_RESULT_TAG "rms.noise = " << std::setw(8)
97 report << LOOPBACK_RESULT_TAG "signal.to.noise.db = " << std::setw(8)
99 report << LOOPBACK_RESULT_TAG "frames.accumulated = " << std::setw(8)
101 report << LOOPBACK_RESULT_TAG "sine.period = " << std::setw(8)
103 report << LOOPBACK_RESULT_TAG "test.state = " << std::setw(8)
105 report << LOOPBACK_RESULT_TAG "frame.count = " << std
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
H A DHistogramWriter.cpp37 std::string GetUnitAndDirection(proto::UnitAndDirection unit) in GetUnitAndDirection()
49 void HistogramWriter::addSample(const std::string &measurement, in addSample()
50 const std::string &story, in addSample()
52 const std::string &units) in addSample()
54 std::string measurementAndStory = measurement + story; in addSample()
61 std::unique_ptr<catapult::HistogramBuilder> builder = in addSample()
62 std::make_unique<catapult::HistogramBuilder>(measurement, unitAndDirection); in addSample()
67 mHistograms[measurementAndStory] = std::move(builder); in addSample()
84 std::unique_ptr<proto::Histogram> proto = histogram.second->toProto(); in getAsJSON()
131 for (const std in getAsJSON()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDepthBiasTests.cpp154 std::vector<float> expected = { in TEST_P()
174 std::vector<float> expected = { in TEST_P()
196 std::vector<float> expected = { in TEST_P()
216 std::vector<float> expected = { in TEST_P()
232 std::numeric_limits<float>::infinity(), 0); in TEST_P()
235 std::vector<float> expected = { in TEST_P()
251 -std::numeric_limits<float>::infinity(), 0); in TEST_P()
254 std::vector<float> expected = { in TEST_P()
269 std::vector<float> expected = { in TEST_P()
284 std in TEST_P()
[all...]
H A DDepthStencilLoadOpTests.cpp31 std::ostream& operator<<(std::ostream& o, Check check) { in operator <<()
56 constexpr std::array<float, kMipLevelCount> kDepthValues = {0.125f, 0.875f};
57 constexpr std::array<uint16_t, kMipLevelCount> kU16DepthValues = {8192u, 57343u};
58 constexpr std::array<uint8_t, kMipLevelCount> kStencilValues = {7u, 3u};
95 uint32_t mipSize = std::max(kRTSize >> mipLevel, 1u); in CheckMipLevel()
99 std::vector<float> expectedDepth(mipSize * mipSize, kDepthValues[mipLevel]); in CheckMipLevel()
109 std::vector<uint16_t> expectedDepth(mipSize * mipSize, in CheckMipLevel()
115 std::vector<float> expectedDepth(mipSize * mipSize, kDepthValues[mipLevel]); in CheckMipLevel()
125 std in CheckMipLevel()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DNativeFormatting.cpp21 template<typename T, std::size_t N>
23 char *EndPtr = std::end(Buffer); in format_to_buffer()
54 static_assert(std::is_unsigned<T>::value, "Value is not unsigned!"); in write_unsigned_impl()
57 std::memset(NumberBuffer, '0', sizeof(NumberBuffer)); in write_unsigned_impl()
71 writeWithCommas(S, ArrayRef<char>(std::end(NumberBuffer) - Len, Len)); in write_unsigned_impl()
73 S.write(std::end(NumberBuffer) - Len, Len); in write_unsigned_impl()
91 static_assert(std::is_signed<T>::value, "Value is not signed!"); in write_signed()
93 using UnsignedT = typename std::make_unsigned<T>::type; in write_signed()
138 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex()
147 std in write_hex()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/
H A DArgList.cpp40 OptRanges.insert(std::make_pair(O.getID(), emptyRange())).first->second; in append()
41 R.first = std::min<unsigned>(R.first, Args.size() - 1); in append()
58 ArgList::getRange(std::initializer_list<OptSpecifier> Ids) const { in getRange()
63 R.first = std::min(R.first, I->second.first); in getRange()
64 R.second = std::max(R.second, I->second.second); in getRange()
92 std::vector<std::string> ArgList::getAllArgValues(OptSpecifier Id) const { in getAllArgValues()
95 return std::vector<std::string>(Values.begin(), Values.end()); in getAllArgValues()
239 SynthesizedArgs.push_back(std in AddSynthesizedArg()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
H A DStandardInstrumentations.cpp34 Optional<std::pair<const Module *, std::string>> unwrapModule(Any IR) { in unwrapModule()
36 return std::make_pair(any_cast<const Module *>(IR), std::string()); in unwrapModule()
43 return std::make_pair(M, formatv(" (function: {0})", F->getName()).str()); in unwrapModule()
52 return std::make_pair(M, formatv(" (scc: {0})", C->getName()).str()); in unwrapModule()
64 std::string LoopName; in unwrapModule()
67 return std::make_pair(M, formatv(" (loop: {0})", ss.str()).str()); in unwrapModule()
130 std::string Extra = formatv(" (scc: {0})", C->getName()); in unwrapAndPrint()
153 std in pushModuleDesc()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DNativeFormatting.cpp20 template<typename T, std::size_t N>
22 char *EndPtr = std::end(Buffer); in format_to_buffer()
53 static_assert(std::is_unsigned<T>::value, "Value is not unsigned!"); in write_unsigned_impl()
56 std::memset(NumberBuffer, '0', sizeof(NumberBuffer)); in write_unsigned_impl()
70 writeWithCommas(S, ArrayRef<char>(std::end(NumberBuffer) - Len, Len)); in write_unsigned_impl()
72 S.write(std::end(NumberBuffer) - Len, Len); in write_unsigned_impl()
90 static_assert(std::is_signed<T>::value, "Value is not signed!"); in write_signed()
92 using UnsignedT = typename std::make_unsigned<T>::type; in write_signed()
137 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex()
146 std in write_hex()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DCallGraph.h77 std::map<const Function *, std::unique_ptr<CallGraphNode>>;
88 std::unique_ptr<CallGraphNode> CallsExternalNode;
168 using CallRecord = std::pair<WeakTrackingVH, CallGraphNode *>;
171 using CalledFunctionsVector = std::vector<CallRecord>;
183 using iterator = std::vector<CallRecord>::iterator;
184 using const_iterator = std::vector<CallRecord>::const_iterator;
228 std::swap(CalledFunctions, N->CalledFunctions); in stealCalledFunctionsFrom()
274 std::vector<CallRecord> CalledFunctions;
325 std
[all...]
/third_party/protobuf/src/google/protobuf/stubs/
H A Dstringpiece.cc42 std::ostream& operator<<(std::ostream& o, StringPiece piece) { in operator <<()
61 : ptr_(x.ptr_ + pos), length_(std::min(len, x.length_ - pos)) { in StringPiece()
67 void StringPiece::CopyToString(std::string* target) const { in CopyToString()
71 void StringPiece::AppendToString(std::string* target) const { in AppendToString()
95 stringpiece_ssize_type ret = std::min(length_ - pos, n); in copy()
109 const char *result = std::search(ptr_ + pos, ptr_ + length_, in find()
126 if (s.length_ == 0) return std::min(ulen, pos); in rfind()
128 const char* last = ptr_ + std::min(ulen - s.length_, pos) + s.length_; in rfind()
129 const char* result = std in rfind()
[all...]
/third_party/protobuf/src/google/protobuf/util/internal/
H A Dexpecting_objectwriter.h104 : EXPECT_CALL(*mock_, StartObject(Eq(std::string(name))))) in StartObject()
119 : EXPECT_CALL(*mock_, StartList(Eq(std::string(name))))) in StartList()
136 RenderBool(Eq(std::string(name)), TypedEq<bool>(value)))) in RenderBool()
145 : EXPECT_CALL(*mock_, RenderInt32(Eq(std::string(name)), in RenderInt32()
155 : EXPECT_CALL(*mock_, RenderUint32(Eq(std::string(name)), in RenderUint32()
165 : EXPECT_CALL(*mock_, RenderInt64(Eq(std::string(name)), in RenderInt64()
175 : EXPECT_CALL(*mock_, RenderUint64(Eq(std::string(name)), in RenderUint64()
186 : EXPECT_CALL(*mock_, RenderDouble(Eq(std::string(name)), in RenderDouble()
197 : EXPECT_CALL(*mock_, RenderFloat(Eq(std::string(name)), in RenderFloat()
208 std in RenderString()
[all...]
H A Dprotostream_objectwriter.h211 std::string name_;
213 std::string value_storage_;
227 std::unique_ptr<ProtoStreamObjectWriter> ow_;
230 std::string type_url_;
237 std::string data_;
253 std::vector<Event> uninterpreted_events_;
303 std::unique_ptr<AnyWriter> any_;
310 std::unique_ptr<std::unordered_set<std
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
H A Dflag_benchmark.cc31 using String = std::string;
32 using VectorOfStrings = std::vector<std::string>;
36 // absl::optional<std::string> which we do not own. Instead we introduce unique
44 std::string* error) { in AbslParseFlag()
53 std::string AbslUnparseFlag(const OptionalInt& flag) { in AbslUnparseFlag()
57 using AbslOptionalString = absl::optional<std::string>;
63 std::string* error) { in AbslParseFlag()
64 std::string val; in AbslParseFlag()
72 std in AbslParseFlag()
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dmacros.rs10 let passphrase = ::std::ffi::CString::new(passphrase).unwrap();
109 use std::convert::TryInto;
112 let len = ::std::cmp::min(der.len(), ::libc::c_long::max_value() as usize) as ::libc::c_long;
113 crate::cvt_p($f(::std::ptr::null_mut(), &mut der.as_ptr(), len.try_into().unwrap()))
127 cvt_p($f(bio.as_ptr(), ::std::ptr::null_mut(), None, ::std::ptr::null_mut()))
178 pub struct $owned<T>(*mut $ctype, ::std::marker::PhantomData<T>);
187 $owned(ptr, ::std::marker::PhantomData) in from_ptr()
214 impl<T> ::std::borrow::ToOwned for $borrowed<T> {
227 impl<T> ::std
[all...]
/third_party/spirv-tools/source/opt/
H A Ddef_use_manager.cpp115 const Instruction* def, const std::function<bool(Instruction*)>& f) const { in WhileEachUser()
129 uint32_t id, const std::function<bool(Instruction*)>& f) const { in WhileEachUser()
134 const Instruction* def, const std::function<void(Instruction*)>& f) const { in ForEachUser()
142 uint32_t id, const std::function<void(Instruction*)>& f) const { in ForEachUser()
148 const std::function<bool(Instruction*, uint32_t)>& f) const { in WhileEachUse()
170 uint32_t id, const std::function<bool(Instruction*, uint32_t)>& f) const { in WhileEachUse()
176 const std::function<void(Instruction*, uint32_t)>& f) const { in ForEachUse()
184 uint32_t id, const std::function<void(Instruction*, uint32_t)>& f) const { in ForEachUse()
208 std::vector<Instruction*> DefUseManager::GetAnnotations(uint32_t id) const { in GetAnnotations()
209 std in GetAnnotations()
146 WhileEachUse( const Instruction* def, const std::function<bool(Instruction*, uint32_t)>& f) const WhileEachUse() argument
169 WhileEachUse( uint32_t id, const std::function<bool(Instruction*, uint32_t)>& f) const WhileEachUse() argument
174 ForEachUse( const Instruction* def, const std::function<void(Instruction*, uint32_t)>& f) const ForEachUse() argument
183 ForEachUse( uint32_t id, const std::function<void(Instruction*, uint32_t)>& f) const ForEachUse() argument
[all...]
/applications/standard/app_samples/code/BasicFeature/Native/NdkOpenGL/entry/src/main/cpp/include/util/
H A Dnapi_util.h26 std::string &target);
29 static int StringToInt(std::string value);
30 static int StringToLong(std::string value);
31 static float StringToFloat(std::string value);
32 static bool StringToBool(std::string value);
/applications/standard/app_samples/code/BasicFeature/Native/XComponent3D/entry/src/main/cpp/include/util/
H A Dnapi_util.h26 std::string &target);
29 static int StringToInt(std::string value);
30 static int StringToLong(std::string value);
31 static float StringToFloat(std::string value);
32 static bool StringToBool(std::string value);
/commonlibrary/c_utils/base/include/
H A Dobserver.h51 void AddObserver(const std::shared_ptr<Observer>& o);
56 void RemoveObserver(const std::shared_ptr<Observer>& o);
108 std::set<std::shared_ptr<Observer>> obs; // A collection of observers.
109 std::mutex mutex_;
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/session/
H A Dwfd_source_session_test.h40 static inline std::shared_ptr<MockServer> server_;
41 static inline std::shared_ptr<MockWfdSourceSession> session_;
42 static inline std::shared_ptr<MockSessionListener> listener_;
43 static inline std::shared_ptr<MockNetworkSession> networkSession_;
44 static inline std::shared_ptr<WfdSourceSession::WfdSourceNetworkSession> networkSessionCb_;
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dability_state_data.h52 std::string moduleName;
53 std::string bundleName;
54 std::string abilityName;
61 std::string callerBundleName;
62 std::string callerAbilityName;
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dfree_install_observer_proxy.h50 virtual void OnInstallFinished(const std::string &bundleName, const std::string &abilityName,
51 const std::string &startTime, const int &resultCode) override;
60 virtual void OnInstallFinishedByUrl(const std::string &startTime, const std::string &url,

Completed in 32 milliseconds

1...<<881882883884885886887888889890>>...2254