Searched refs:std (Results 26 - 50 of 655) sorted by relevance

1234567891011>>

/frameworks/base/tools/aapt2/
H A DLocale_test.cpp26 std::vector<std::string> parts = util::splitAndLowercase(std::string(input), '-');
28 ssize_t count = lv.initFromParts(std::begin(parts), std::end(parts));
38 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) != 0) {
40 << std::string(lv.language, sizeof(lv.language)) << ".";
48 std::vector<std::string> parts = util::splitAndLowercase(std
[all...]
H A DManifestParser_test.cpp28 std::stringstream input;
36 std::shared_ptr<XmlPullParser> xmlParser = std::make_shared<SourceXmlPullParser>(input);
39 EXPECT_EQ(std::u16string(u"android"), info.package);
H A DXmlDom.h52 std::u16string comment;
53 std::vector<std::unique_ptr<Node>> children;
56 void addChild(std::unique_ptr<Node> child);
57 virtual std::unique_ptr<Node> clone() const = 0;
76 std::u16string namespacePrefix;
77 std::u16string namespaceUri;
80 virtual std::unique_ptr<Node> clone() const override;
87 std::u16string namespaceUri;
88 std
[all...]
H A DNameMangler.h31 static void mangle(const std::u16string& package, std::u16string* outName) {
40 static bool unmangle(std::u16string* outName, std::u16string* outPackage) {
42 if (pivot == std::string::npos) {
H A DNameMangler_test.cpp25 std::u16string package = u"android.appcompat";
26 std::u16string name = u"Platform.AppCompat";
31 std::u16string newPackage;
38 std::u16string package;
39 std::u16string name = u"foo_bar";
H A DSource.h34 std::string path;
44 std::string path;
55 std::string path;
72 inline ::std::ostream& operator<<(::std::ostream& out, const Source& source) {
76 inline ::std::ostream& operator<<(::std::ostream& out, const SourceLine& source) {
80 inline ::std::ostream& operator<<(::std::ostream& out, const SourceLineColumn& source) {
85 return std
[all...]
H A DXliffXmlPullParser.h33 XliffXmlPullParser(const std::shared_ptr<XmlPullParser>& parser);
37 const std::string& getLastError() const override;
40 const std::u16string& getComment() const override;
44 const std::u16string& getText() const override;
46 const std::u16string& getNamespacePrefix() const override;
47 const std::u16string& getNamespaceUri() const override;
48 bool applyPackageAlias(std::u16string* package, const std::u16string& defaultPackage)
51 const std::u16string& getElementNamespace() const override;
52 const std
[all...]
H A DFiles.h54 std::vector<std::string> listFiles(const StringPiece& root);
59 void appendPath(std::string* base, const StringPiece& part);
66 void appendPath(std::string* base, const StringPiece& part, const Ts&... parts);
77 std::string getStem(const StringPiece& path);
83 * FileFilter::setPattern(const std::string&) method.
106 bool operator()(const std::string& filename, FileType type) const;
109 std::vector<std::string> mPatternTokens;
112 inline void appendPath(std
[all...]
H A DResourceTableResolver.h43 std::shared_ptr<const ResourceTable> table,
44 const std::vector<std::shared_ptr<const android::AssetManager>>& sources);
57 std::unique_ptr<Attribute> attr;
62 std::shared_ptr<const ResourceTable> mTable;
63 std::vector<std::shared_ptr<const android::AssetManager>> mSources;
64 std::map<ResourceName, CacheEntry> mCache;
65 std::unordered_set<std
[all...]
H A DFlag.h14 std::function<void(const StringPiece&)> action);
17 std::function<bool(const StringPiece&, std::string*)> action);
20 std::function<void(const StringPiece&)> action);
29 const std::vector<std::string>& getArgs();
H A DResourceTable.h39 std::u16string comment;
48 std::u16string comment;
49 std::unique_ptr<Value> value;
66 const std::u16string name;
82 std::vector<ResourceConfigValue> values;
116 std::vector<std::unique_ptr<ResourceEntry>> entries;
128 using iterator = std::vector<std::unique_ptr<ResourceTableType>>::iterator;
129 using const_iterator = std
[all...]
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...]
H A DXmlFlattener.h35 bool flatten(Node* root, const std::u16string& defaultPackage, BigBuffer* outBuffer);
62 const std::u16string& defaultPackage,
63 const std::shared_ptr<IResolver>& resolver,
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
H A DParameterManagerWrapper.h43 typedef std::pair<int, const char *> CriterionTypeValuePair;
45 typedef std::map<std::string, ISelectionCriterionInterface *> CriterionCollection;
46 typedef std::map<std::string, ISelectionCriterionTypeInterface *> CriterionTypeCollection;
147 void addCriterionType(const std::string &typeName, bool isInclusive);
156 void addCriterionTypeValuePair(const std::string &typeName, uint32_t numeric,
157 const std::string &literal);
166 void addCriterion(const std::string &name,
167 const std
[all...]
/frameworks/compile/slang/
H A Dslang_diagnostic_buffer.h39 std::set<std::string> mIncludedMessages;
40 std::string mDiags;
41 std::unique_ptr<llvm::raw_string_ostream> mSOS;
50 inline const std::string &str() const {
H A Dslang_rs_reflection_cpp.h31 RSReflectionCpp(const RSContext *Context, const std::string &OutputDirectory,
32 const std::string &RSSourceFileName,
33 const std::string &BitCodeFileName);
40 typedef std::vector<std::pair<std::string, std::string> > ArgumentList;
46 std::string mRSSourceFilePath;
48 std::string mBitCodeFilePath;
50 std
[all...]
H A Dslang_pragma_recorder.h33 typedef std::list< std::pair<std::string, std::string> > PragmaList;
40 std::string &PragmaName);
43 std::string &PragmaValue);
H A Dslang.h102 std::shared_ptr<clang::TargetOptions> mTargetOpts;
103 std::unique_ptr<clang::TargetInfo> mTarget;
107 std::unique_ptr<clang::FileManager> mFileMgr;
108 std::unique_ptr<clang::FileSystemOptions> mFileSysOpt;
112 std::unique_ptr<clang::SourceManager> mSourceMgr;
116 std::unique_ptr<clang::Preprocessor> mPP;
120 std::unique_ptr<clang::ASTContext> mASTContext;
124 std::unique_ptr<clang::ASTConsumer> mBackend;
127 std::string mInputFileName;
128 std
[all...]
/frameworks/av/services/camera/libcameraservice/utils/
H A DAutoConditionLock.cpp26 AutoConditionLock::AutoConditionLock(const std::shared_ptr<WaitableMutexWrapper>& manager) :
36 std::unique_ptr<AutoConditionLock> AutoConditionLock::waitAndAcquire(
37 const std::shared_ptr<WaitableMutexWrapper>& manager, nsecs_t waitTime) {
41 return std::unique_ptr<AutoConditionLock>{nullptr};
45 std::unique_ptr<AutoConditionLock> scopedLock(new AutoConditionLock(manager));
55 return std::unique_ptr<AutoConditionLock>{nullptr};
65 std::unique_ptr<AutoConditionLock> AutoConditionLock::waitAndAcquire(
66 const std::shared_ptr<WaitableMutexWrapper>& manager) {
70 return std::unique_ptr<AutoConditionLock>{nullptr};
74 std
[all...]
H A DAutoConditionLock.h79 static std::unique_ptr<AutoConditionLock> waitAndAcquire(
80 const std::shared_ptr<WaitableMutexWrapper>& manager, nsecs_t waitTime);
88 static std::unique_ptr<AutoConditionLock> waitAndAcquire(
89 const std::shared_ptr<WaitableMutexWrapper>& manager);
91 AutoConditionLock(const std::shared_ptr<WaitableMutexWrapper>& manager);
93 std::shared_ptr<WaitableMutexWrapper> mManager;
/frameworks/av/services/audiopolicy/utilities/convert/
H A Dconvert.h108 static inline bool fromString(const std::string &str, T &result)
115 if (str.find_first_of(std::string("\r\n\t\v ")) != std::string::npos) {
122 if (str.find("-") != std::string::npos
123 && !std::numeric_limits<T>::is_signed) {
127 std::stringstream ss(str);
132 if (std::numeric_limits<T>::is_integer) {
133 ss >> std::hex >> result;
146 static inline bool toString(const T &value, std::string &str)
153 std
[all...]
/frameworks/base/libs/androidfw/tests/
H A DTestHelpers.h11 static inline ::std::ostream& operator<<(::std::ostream& out, const android::String8& str) {
15 static inline ::std::ostream& operator<<(::std::ostream& out, const android::String16& str) {
27 static inline ::std::ostream& operator<<(::std::ostream& out, const android::ResTable_config& c) {
/frameworks/compile/mclinker/include/mcld/Script/
H A DOutputFormatCmd.h27 typedef std::vector<std::string> FormatList;
32 explicit OutputFormatCmd(const std::string& pFormat);
33 OutputFormatCmd(const std::string& pDefault,
34 const std::string& pBig,
35 const std::string& pLittle);
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSScriptGroupFusion.h42 const std::vector<Source *>& sources,
43 const std::vector<int>& slots,
44 const std::string& fusedName,
48 const std::string& newName, llvm::Module* mergedModule);
/frameworks/compile/mclinker/lib/Core/
H A DTargetOptions.cpp19 TargetOptions::TargetOptions(const std::string& pTriple)
30 void TargetOptions::setTriple(const std::string& pTriple) {
34 void TargetOptions::setArch(const std::string& pArchName) {
38 void TargetOptions::setTargetCPU(const std::string& pCPU) {

Completed in 902 milliseconds

1234567891011>>