Searched defs:std (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/media/libeffects/loudness/common/core/
H A Dmath.h22 using ::std::min;
23 using ::std::max;
24 using ::std::fill;
25 using ::std::fill_n;using ::std::lower_bound;
28 //using ::std::fpclassify;
74 namespace std { namespace
78 // since std::round is missing on android.
82 return static_cast<T>(std::floor(static_cast<double>(x) + 0.5));
85 } // namespace std
[all...]
/frameworks/base/tools/aapt2/
H A DMockResolver.h34 MockResolver(const std::shared_ptr<ResourceTable>& table, argument
35 const std::map<ResourceName, ResourceId>& items) :
36 mResolver(std::make_shared<ResourceTableResolver>(
37 table, std::vector<std::shared_ptr<const android::AssetManager>>())),
86 std::shared_ptr<ResourceTableResolver> mResolver;
88 std::map<ResourceName, ResourceId> mItems;
H A DSdkConstants.cpp26 static const std::vector<std::pair<uint16_t, size_t>> sAttrIdMap = {
47 static bool lessEntryId(const std::pair<uint16_t, size_t>& p, uint16_t entryId) { argument
55 auto iter = std::lower_bound(sAttrIdMap.begin(), sAttrIdMap.end(), id.entryId(), lessEntryId);
62 static const std::unordered_map<std::u16string, size_t> sAttrMap = {
H A DMain.cpp71 std::unique_ptr<ZipFile> apk;
79 std::vector<Source>* outEntries) {
82 for (const std::string& dirName : listFiles(root.path)) {
83 std::string dir = root.path;
95 for (const std::string& fileName : listFiles(dir)) {
96 std::string file(dir);
105 Logger::error(Source{ file }) << "not a regular file." << std::endl;
115 void versionStylesForCompat(const std::shared_ptr<ResourceTable>& table) {
132 std::stack<ResourceConfigValue> addStack;
138 size_t minSdkStripped = std
519 compileManifest(const AaptOptions& options, const std::shared_ptr<IResolver>& resolver, const std::map<std::shared_ptr<ResourceTable>, StaticLibraryData>& libApks, const android::ResTable& table, ZipFile* outApk, proguard::KeepSet* keepSet) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Support/
H A DRealPath.h49 namespace std { namespace
64 } // namespace std
H A DPath.h47 typedef std::string StringType;
109 inline std::basic_ostream<Char, Traits>& operator<<( argument
110 std::basic_ostream<Char, Traits>& pOS,
116 inline std::basic_istream<Char, Traits>& operator>>( argument
117 std::basic_istream<Char, Traits>& pOS,
156 namespace std { namespace
169 } // namespace std
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSCompilerDriver.cpp87 mConfig = new (std::nothrow) CompilerConfig(DEFAULT_TARGET_TRIPLE_STRING);
184 std::string path(pOutputPath);
283 const std::vector<Source*>& sources,
284 const std::list<std::list<std::pair<int, int>>>& toFuse,
285 const std::list<std::string>& fused,
286 const std::list<std
280 buildScriptGroup( BCCContext& Context, const char* pOutputFilepath, const char* pRuntimePath, const char* pRuntimeRelaxedPath, bool dumpIR, const char* buildChecksum, const std::vector<Source*>& sources, const std::list<std::list<std::pair<int, int>>>& toFuse, const std::list<std::string>& fused, const std::list<std::list<std::pair<int, int>>>& invokes, const std::list<std::string>& invokeBatchNames) argument
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp37 using std::string;
38 using std::map;
39 using std::vector;
108 std::string error;
223 T *ParameterManagerWrapper::getElement(const string &name, std::map<string, T *> &elementsMap)
226 typename std::map<string, T *>::iterator it = elementsMap.find(name);
232 const T *ParameterManagerWrapper::getElement(const string &name, const std::map<string, T *> &elementsMap) const argument
235 typename std::map<string, T *>::const_iterator it = elementsMap.find(name);
/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h48 const std::set<KEY>& conflictingKeys, int32_t priority, int32_t ownerId);
49 ClientDescriptor(KEY&& key, VALUE&& value, int32_t cost, std::set<KEY>&& conflictingKeys,
87 std::set<KEY> getConflicting() const;
102 std::set<KEY> mConflicting;
114 const std::set<KEY>& conflictingKeys, int32_t priority, int32_t ownerId) : mKey{key},
120 std::set<KEY>&& conflictingKeys, int32_t priority, int32_t ownerId) :
121 mKey{std::forward<KEY>(key)}, mValue{std::forward<VALUE>(value)}, mCost{cost},
122 mConflicting{std::forward<std
356 wouldEvict( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const argument
364 getIncompatibleClients( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const argument
372 wouldEvictLocked( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client, bool returnIncompatibleClients) const argument
465 addAndEvict( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) argument
526 updatePriorities( const std::map<int32_t,int32_t>& ownerPriorityList) argument
582 waitUntilRemoved( const std::shared_ptr<ClientDescriptor<KEY, VALUE>> client, nsecs_t timeout) const argument
620 remove( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& value) argument
[all...]

Completed in 4181 milliseconds