Searched refs:std (Results 1 - 25 of 991) sorted by relevance

1234567891011>>

/frameworks/compile/libbcc/lib/Renderscript/
H A DRSStubsWhiteList.cpp21 std::vector<std::string> stubList = {
H A DRSStubsWhiteList.h24 extern std::vector<std::string> stubList;
/frameworks/rs/api/
H A DUtilities.h25 std::string capitalize(const std::string& source);
28 void trimSpaces(std::string* s);
31 std::string stringReplace(std::string s, std::string match, std::string rep);
34 bool charRemoved(char c, std::string* s);
37 std::string stripHtml(const std
[all...]
H A DScanner.h27 std::string mFileName;
33 std::string mTag;
35 std::string mValue;
48 void readUpTo(char delimiter, std::string* segment);
52 void readRestOfLine(std::string* segment);
65 Scanner(const std::string& fileName, FILE* file);
67 std::string getValue() { return mValue; }
68 std::string getNextTag() {
86 std::ostream& error();
87 std
[all...]
H A DSpecification.h62 std::string type;
63 std::string name;
71 std::string testOption;
72 std::string documentation;
80 std::string rsType; // The Renderscript type, e.g. "uint3"
81 std::string rsBaseType; // As above but without the number, e.g. "uint"
82 std::string javaBaseType; // The type we need to declare in Java, e.g. "unsigned int"
83 std::string specType; // The type found in the spec, e.g. "f16"
88 std::string mVectorSize;
92 std
[all...]
H A DGenerator.h21 bool generateHeaderFiles(const std::string& directory);
24 bool generateTestFiles(const std::string& directory, unsigned int versionOfTestFiles);
30 bool generateDocumentation(const std::string& director, bool forVerification);
36 bool generateStubsWhiteList(const std::string& slangTestDirectory, unsigned int maxApiLevel);
/frameworks/ml/bordeaux/learning/multiclass_pa/native/
H A Dmulticlass_pa.h49 float Score(const std::vector<float>& inputs,
50 const std::vector<float>& parameters) const;
51 float SparseScore(const std::vector<std::pair<int, float> >& inputs,
52 const std::vector<float>& parameters) const;
55 float L2NormSquare(const std::vector<float>& inputs) const;
56 float SparseL2NormSquare(const std::vector<std::pair<int, float> >& inputs) const;
61 virtual float TrainOneExample(const std::vector<float>& inputs, int target);
63 const std
[all...]
/frameworks/compile/slang/
H A Dslang_pragma_list.h26 typedef std::list< std::pair<std::string, std::string> > PragmaList;
H A Dslang_rs_reflect_utils.h45 const std::string *licenseNote;
54 static std::string GetFileNameStem(const char *fileName);
59 static std::string ComputePackagedPath(const char *prefixPath,
67 static std::string JavaClassNameFromRSFileName(const char *rsFileName);
78 static std::string BCFileNameFromRSFileName(const char *rsFileName);
85 static std::string JavaBitcodeClassNameFromRSFileName(const char *rsFileName);
95 std::string JoinPath(const std::string &path1, const std::string &path2);
102 std
[all...]
H A Dslang_rs_reflection.h46 std::string mPackageName;
50 std::string mRSPackageName;
54 std::string mOutputBaseDirectory;
58 std::string mOutputDirectory;
61 std::string mRSSourceFileName;
63 std::string mBitCodeFileName;
67 std::string mResourceId;
70 std::string mScriptClassName;
74 std::string mClassName;
77 std
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A Daudio_policy_criteria_conf.h36 static const std::string &gPolicyConfTag = "Policy";
37 static const std::string &gDefaultTag = "Default";
38 static const std::string &gTypeTag = "Type";
43 static const std::string &gInclusiveCriterionTypeTag = "InclusiveCriterionType";
44 static const std::string &gExclusiveCriterionTypeTag = "ExclusiveCriterionType";
45 static const std::string &gCriterionTag = "Criterion";
50 static const std::string &gInputDeviceCriterionTag = "AvailableInputDevices";
51 static const std::string &gOutputDeviceCriterionTag = "AvailableOutputDevices";
52 static const std::string &gPhoneStateCriterionTag = "TelephonyMode";
57 static const std
[all...]
/frameworks/base/tools/aapt2/
H A DFlags.h33 std::string* value);
35 std::vector<std::string>* value);
37 Maybe<std::string>* value);
39 std::vector<std::string>* value);
43 void usage(const StringPiece& command, std::ostream* out);
45 bool parse(const StringPiece& command, const std::vector<StringPiece>& args,
46 std::ostream* outError);
48 const std
[all...]
H A DMain.cpp24 extern int compile(const std::vector<StringPiece>& args);
25 extern int link(const std::vector<StringPiece>& args);
26 extern int dump(const std::vector<StringPiece>& args);
27 extern int diff(const std::vector<StringPiece>& args);
36 std::vector<aapt::StringPiece> args;
51 std::cerr << "unknown command '" << command << "'\n";
53 std::cerr << "no command specified\n";
56 std::cerr << "\nusage: aapt2 [compile|link|dump|diff] ..." << std::endl;
H A DDebug.cpp38 std::cout << "(attr) type=";
39 attr->printMask(&std::cout);
44 std::cout << "\n " << symbol.symbol.name.value().entry;
46 std::cout << " (" << symbol.symbol.id.value() << ")";
48 std::cout << " = " << symbol.value;
54 std::cout << "(style)";
57 std::cout << " parent=";
60 std::cout << "*";
62 std::cout << parentRef.name.value() << " ";
66 std
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/include/
H A DEngineDefinition.h22 typedef std::vector<VolumeCurvePoint> VolumeCurvePoints;
/frameworks/base/libs/hwui/tests/common/
H A DTestScene.cpp25 std::unordered_map<std::string, TestScene::Info>& TestScene::testMap() {
26 static std::unordered_map<std::string, TestScene::Info> testMap;
/frameworks/native/cmds/installd/
H A Dotapreopt_utils.h25 static inline bool ValidateTargetSlotSuffix(const std::string& input) {
26 std::regex slot_suffix_regex("[a-zA-Z0-9_]+");
27 std::smatch slot_suffix_match;
28 return std::regex_match(input, slot_suffix_match, slot_suffix_regex);
H A Dfile_parsing.h27 bool ParseFile(const std::string& strFile, std::function<bool (const std::string&)> parse) {
28 std::ifstream input_stream(strFile);
36 std::string line;
H A Dsystem_properties.h32 bool Load(const std::string& strFile) {
33 return ParseFile(strFile, [&](const std::string& line) {
35 if (equals_pos == std::string::npos || equals_pos == 0) {
40 std::string key = line.substr(0, equals_pos);
41 std::string value = line.substr(equals_pos + 1,
44 properties_.insert(std::make_pair(key, value));
51 const std::string* GetProperty(const std::string& key) const {
59 void SetProperty(const std::string& key, const std
[all...]
/frameworks/base/tools/aapt2/java/
H A DProguardRules.h34 inline void addClass(const Source& source, const std::u16string& className) {
38 inline void addMethod(const Source& source, const std::u16string& methodName) {
43 friend bool writeKeepSet(std::ostream* out, const KeepSet& keepSet);
45 std::map<std::u16string, std::set<Source>> mKeepSet;
46 std::map<std::u16string, std::set<Source>> mKeepMethodSet;
52 bool writeKeepSet(std
[all...]
/frameworks/base/tools/aapt2/util/
H A DImmutableMap.h32 std::vector<std::pair<TKey, TValue>> mData;
34 explicit ImmutableMap(std::vector<std::pair<TKey, TValue>> data) : mData(std::move(data)) {
47 std::initializer_list<std::pair<TKey, TValue>> list) {
48 return ImmutableMap(std::vector<std::pair<TKey, TValue>>(list.begin(), list.end()));
52 std
46 createPreSorted( std::initializer_list<std::pair<TKey, TValue>> list) argument
51 createAndSort( std::initializer_list<std::pair<TKey, TValue>> list) argument
[all...]
/frameworks/base/tools/aapt2/link/
H A DManifestFixer.h30 Maybe<std::u16string> minSdkVersionDefault;
31 Maybe<std::u16string> targetSdkVersionDefault;
32 Maybe<std::u16string> renameManifestPackage;
33 Maybe<std::u16string> renameInstrumentationTargetPackage;
34 Maybe<std::u16string> versionNameDefault;
35 Maybe<std::u16string> versionCodeDefault;
H A DProductFilter.h30 using ResourceConfigValueIter = std::vector<std::unique_ptr<ResourceConfigValue>>::iterator;
32 ProductFilter(std::unordered_set<std::string> products) : mProducts(products) { }
42 std::unordered_set<std::string> mProducts;
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.h44 bool OpenLibrary(const std::string& lib_name);
46 bool BindInitFunction(const std::string& func_name);
47 bool BindSetValueFunction(const std::string& func_name);
48 bool BindGetValueFunction(const std::string& func_name);
49 bool BindProcessFunction(const std::string& func_name);
50 bool BindResetFunction(const std::string& func_name);
51 bool BindTeardownFunction(const std::string& func_name);
54 bool CallSetValue(const std::string& key, const std::string& value);
55 std
[all...]
/frameworks/base/tools/aapt/tests/
H A DTestHelper.h27 inline std::ostream& operator<<(std::ostream& stream, const String8& str) {

Completed in 519 milliseconds

1234567891011>>