Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 3184) sorted by relevance

12345678910>>...128

/frameworks/native/libs/ui/
DDebugUtils.cpp28 std::string decodeStandard(android_dataspace dataspace) { in decodeStandard()
32 return std::string("BT709"); in decodeStandard()
35 return std::string("BT601_625"); in decodeStandard()
38 return std::string("BT601_625_UNADJUSTED"); in decodeStandard()
41 return std::string("BT601_525"); in decodeStandard()
44 return std::string("BT601_525_UNADJUSTED"); in decodeStandard()
47 return std::string("BT2020"); in decodeStandard()
50 return std::string("BT2020 (constant luminance)"); in decodeStandard()
53 return std::string("BT470M"); in decodeStandard()
56 return std::string("FILM"); in decodeStandard()
[all …]
/frameworks/rs/script_api/
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::string vectorWidth;
[all …]
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::string& html);
40 std::string hashString(const std::string& s);
43 bool testAndSet(const std::string& flag, std::set<std::string>* set);
53 std::string makeAttributeTag(const std::string& userAttribute,
54 … const std::string& additionalAttribute, unsigned int deprecatedApiLevel,
55 const std::string& deprecatedMessage);
[all …]
/frameworks/native/cmds/installd/
DInstalldNativeService.h43 binder::Status createUserData(const std::unique_ptr<std::string>& uuid, int32_t userId,
45 binder::Status destroyUserData(const std::unique_ptr<std::string>& uuid, int32_t userId,
48 binder::Status createAppData(const std::unique_ptr<std::string>& uuid,
49 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId,
50 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return);
51 binder::Status restoreconAppData(const std::unique_ptr<std::string>& uuid,
52 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId,
53 const std::string& seInfo);
54 binder::Status migrateAppData(const std::unique_ptr<std::string>& uuid,
55 const std::string& packageName, int32_t userId, int32_t flags);
[all …]
Dutils.h47 std::string create_data_path(const char* volume_uuid);
49 std::string create_data_app_path(const char* volume_uuid);
50 std::string create_data_app_package_path(const char* volume_uuid, const char* package_name);
52 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid);
53 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid);
55 std::string create_data_user_ce_package_path(const char* volume_uuid,
57 std::string create_data_user_ce_package_path(const char* volume_uuid,
59 std::string create_data_user_de_package_path(const char* volume_uuid,
61 std::string create_data_user_ce_package_path_as_user_link(
64 std::string create_data_misc_ce_rollback_base_path(const char* volume_uuid, userid_t user);
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.h48 string expected_prefixes_path;
49 string generate_for_named_framework;
50 string named_framework_to_proto_path_mappings_path;
54 string EscapeTrigraphs(const string& to_escape);
57 string StripProto(const string& filename);
64 bool IsRetainedName(const string& name);
68 bool IsInitName(const string& name);
73 string FilePath(const FileDescriptor* file);
76 string FilePathBasename(const FileDescriptor* file);
81 string FileClassName(const FileDescriptor* file);
[all …]
Dobjectivec_helpers.cc71 hash_set<string> MakeWordsMap(const char* const words[], size_t num_words) { in MakeWordsMap()
72 hash_set<string> result; in MakeWordsMap()
81 hash_set<string> kUpperSegments =
91 string UnderscoresToCamelCase(const string& input, bool first_capitalized) { in UnderscoresToCamelCase()
92 vector<string> values; in UnderscoresToCamelCase()
93 string current; in UnderscoresToCamelCase()
131 string result; in UnderscoresToCamelCase()
133 for (vector<string>::iterator i = values.begin(); i != values.end(); ++i) { in UnderscoresToCamelCase()
134 string value = *i; in UnderscoresToCamelCase()
209 hash_set<string> kReservedWords =
[all …]
/frameworks/base/cmds/incident_helper/src/
Dih_util.h29 typedef std::vector<std::string> header_t;
30 typedef std::vector<std::string> record_t;
31 typedef std::string (*trans_func) (const std::string&);
33 const std::string DEFAULT_WHITESPACE = " \t";
34 const std::string DEFAULT_NEWLINE = "\r\n";
35 const std::string TAB_DELIMITER = "\t";
36 const std::string COMMA_DELIMITER = ",";
37 const std::string PIPE_DELIMITER = "|";
38 const std::string PARENTHESES_DELIMITER = "()";
44 std::string trim(const std::string& s, const std::string& charset);
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
Dconformance_test.h69 virtual void RunTest(const std::string& test_name,
70 const std::string& input,
71 std::string* output) = 0;
104 void SetFailureList(const std::string& filename,
105 const std::vector<std::string>& failure_list);
113 bool RunSuite(ConformanceTestRunner* runner, std::string* output);
116 void ReportSuccess(const std::string& test_name);
117 void ReportFailure(const string& test_name,
121 void ReportSkip(const string& test_name,
124 void RunTest(const std::string& test_name,
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Darenastring.h57 inline void Set(const ::std::string* default_value, in Set()
58 const ::std::string& value, ::google::protobuf::Arena* arena) { in Set()
67 inline const ::std::string& Get(const ::std::string* /* default_value */) const { in Get()
71 inline ::std::string* Mutable(const ::std::string* default_value, in Mutable()
83 inline ::std::string* Release(const ::std::string* default_value, in Release()
88 ::std::string* released = NULL; in Release()
91 released = new ::std::string(*ptr_); in Release()
95 ptr_ = const_cast< ::std::string* >(default_value); in Release()
104 inline ::std::string* UnsafeArenaRelease(const ::std::string* default_value, in UnsafeArenaRelease()
109 ::std::string* released = ptr_; in UnsafeArenaRelease()
[all …]
Dunittest_enormous_descriptor.proto37 // such as the string literal length limit in Java.
48 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
49 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
50 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
51 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
52 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
53 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
54 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
55 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
56 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dmock_code_generator.h73 MockCodeGenerator(const string& name);
83 static void ExpectGenerated(const string& name,
84 const string& parameter,
85 const string& insertions,
86 const string& file,
87 const string& first_message_name,
88 const string& parsed_file_list,
89 const string& output_directory);
92 static string GetOutputFileName(const string& generator_name,
94 static string GetOutputFileName(const string& generator_name,
[all …]
Dcommand_line_interface.h113 void RegisterGenerator(const string& flag_name,
115 const string& help_text);
125 void RegisterGenerator(const string& flag_name,
126 const string& option_flag_name,
128 const string& help_text);
159 void AllowPlugins(const string& exe_name_prefix);
183 void SetVersionInfo(const string& text) { in SetVersionInfo()
194 typedef hash_map<string, GeneratorContextImpl*> GeneratorContextMap;
227 bool ParseArgument(const char* arg, string* name, string* value);
230 ParseArgumentStatus InterpretArgument(const string& name,
[all …]
Dimporter.h99 bool FindFileByName(const string& filename, FileDescriptorProto* output);
100 bool FindFileContainingSymbol(const string& symbol_name,
102 bool FindFileContainingExtension(const string& containing_type,
118 void AddError(const string& filename,
119 const string& element_name,
122 const string& message);
124 virtual void AddWarning(const string& filename,
125 const string& element_name,
128 const string& message);
167 const FileDescriptor* Import(const string& filename);
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dprinter.h57 const string& file_path,
76 const string& file_path, const vector<int>& path) { in AddAnnotation()
205 void Annotate(const char* varname, const string& file_name) { in Annotate()
214 const string& file_name) { in Annotate()
228 void Print(const map<string, string>& variables, const char* text);
233 void Print(const char* text, const char* variable, const string& value);
235 void Print(const char* text, const char* variable1, const string& value1,
236 const char* variable2, const string& value2);
238 void Print(const char* text, const char* variable1, const string& value1,
239 const char* variable2, const string& value2,
[all …]
Dprinter.cc74 map<string, pair<size_t, size_t> >::const_iterator iter = in GetSubstitutionRange()
90 const string& file_path, const vector<int>& path) { in Annotate()
109 void Printer::Print(const map<string, string>& variables, const char* text) { in Print() argument
140 string varname(text + pos, endpos - pos); in Print()
146 map<string, string>::const_iterator iter = variables.find(varname); in Print()
152 pair<map<string, pair<size_t, size_t> >::iterator, bool> inserted = in Print()
175 static map<string, string> empty; in Print()
180 const char* variable, const string& value) { in Print()
181 map<string, string> vars; in Print()
187 const char* variable1, const string& value1, in Print()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest_enormous_descriptor.proto36 // descriptors over 64k don't break the string literal length limit in Java.
46 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
47 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
48 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
49 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
50 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
51 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
52 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
53 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
54 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Dunittest_enormous_descriptor.proto36 // descriptors over 64k don't break the string literal length limit in Java.
46 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
47 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
48 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
49 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
50 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
51 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
52 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
53 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
54 …optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo…
[all …]
/frameworks/base/core/proto/android/os/
Dsystem_properties.proto34 optional string name = 1;
35 optional string value = 2;
71 optional string appimageformat = 1;
72 optional string backgroundgctype = 2;
74 optional string dex2oat_filter = 4;
75 optional string dex2oat_flags = 5;
77 optional string dex2oat_Xms = 7;
78 optional string dex2oat_Xmx = 8;
80 optional string execution_mode = 10;
81 optional string extra_opts = 11;
[all …]
/frameworks/base/tools/bit/
Dutil.h35 explicit FileInfo(const string& filename);
47 string filename;
52 explicit TrackedFile(const string& filename);
63 void get_directory_contents(const string& dir, map<string,FileInfo>* results);
65 bool directory_contents_differ(const map<string,FileInfo>& before,
66 const map<string,FileInfo>& after);
68 string escape_quotes(const char* str);
70 string escape_for_commandline(const char* str);
72 string trim(const string& trim);
74 bool starts_with(const string& str, const string& prefix);
[all …]
Dmake.h28 string name;
29 vector<string> classes;
30 vector<string> paths;
31 vector<string> installed;
33 bool HasClass(const string& cl);
43 BuildVars(const string& outDir, const string& buildProduct,
44 const string& buildVariant, const string& buildType);
47 string GetBuildVar(const string& name, bool quiet);
52 string m_filename;
54 map<string,string> m_cache;
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_helpers.h56 string UnderscoresToCamelCase(const FieldDescriptor* field);
57 string UnderscoresToCamelCase(const OneofDescriptor* oneof);
58 string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field);
59 string UnderscoresToCapitalizedCamelCase(const OneofDescriptor* oneof);
63 string RenameJavaKeywords(const string& input);
67 string UnderscoresToCamelCase(const MethodDescriptor* method);
70 string StripProto(const string& filename);
74 string FileClassName(const Params& params, const FileDescriptor* file);
77 string FileJavaPackage(const Params& params, const FileDescriptor* file);
90 string ToJavaName(const Params& params, const string& name, bool is_class,
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstrutil.h113 inline bool HasPrefixString(const string& str, in HasPrefixString()
114 const string& prefix) { in HasPrefixString()
119 inline string StripPrefixString(const string& str, const string& prefix) { in StripPrefixString()
135 inline bool HasSuffixString(const string& str, in HasSuffixString()
136 const string& suffix) { in HasSuffixString()
141 inline string StripSuffixString(const string& str, const string& suffix) { in StripSuffixString()
158 LIBPROTOBUF_EXPORT void StripString(string* s, const char* remove,
161 LIBPROTOBUF_EXPORT void StripWhitespace(string* s);
174 inline void LowerString(string * s) { in LowerString()
175 string::iterator end = s->end(); in LowerString()
[all …]
/frameworks/base/cmds/incidentd/src/
DBroadcaster.h56 void clearBroadcasts(const string& pkg, const string& cls, const string& id);
57 void clearPackageBroadcasts(const string& pkg);
68 ReportId(const string& i, const string& p, const string& c);
73 string id;
74 string pkg;
75 string cls;
110 status_t send_approval_broadcasts(const string& id, const string& pkg, const string& cls);
113 status_t send_report_ready_broadcasts(const string& id, const string& pkg, const string& cls);
115 bool was_approval_sent(const string& id, const string& pkg, const string& cls);
116 void set_approval_sent(const string& id, const string& pkg, const string& cls,
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h67 string ClassName(const Descriptor* descriptor, bool qualified);
68 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified);
72 string DependentBaseClassTemplateName(const Descriptor* descriptor);
76 string SuperClassName(const Descriptor* descriptor, const Options& options);
80 string DependentBaseDownCast();
81 string DependentBaseConstDownCast();
87 string FieldName(const FieldDescriptor* field);
90 string EnumValueName(const EnumValueDescriptor* enum_value);
94 string FieldConstantName(const FieldDescriptor *field);
115 string DependentTypeName(const FieldDescriptor* field);
[all …]

12345678910>>...128