/frameworks/base/tools/localize/ |
D | XMLHandler.h | 15 string trim_string(const string& str); 19 string ns; 20 string name; 21 string value; 25 XMLAttribute(string ns, string name, string value); 37 static string Find(const vector<XMLAttribute>& list, 38 const string& ns, const string& name, const string& def); 46 string Get(const string& ns) const; 47 string GetPrefix(const string& ns) const; 50 map<string,string> m_map; [all …]
|
D | localize.h | 13 string file; 14 string name; 15 string comment; 20 string id; 21 string oldVersion; 22 string currentVersion; 23 vector<string> apps; 27 int read_settings(const string& filename, map<string,Settings>* result, const string& rootDir); 28 string translated_file_name(const string& file, const string& locale); 29 bool keep_this_trans_unit(const string& file, const TransUnit& unit, void* cookie); [all …]
|
D | Perforce.h | 12 static int RunCommand(const string& cmd, string* result, bool printOnFailure); 13 static int GetResourceFileNames(const string& version, const string& base, 14 const vector<string>& apps, vector<string>* result, 16 static int GetFile(const string& file, const string& version, string* result, 18 static string GetCurrentChange(bool printOnFailure); 19 static int EditFiles(const vector<string>& filename, bool printOnFailure); 20 static int AddFiles(const vector<string>& files, bool printOnFailure); 21 static int DeleteFiles(const vector<string>& files, bool printOnFailure); 22 static string Where(const string& depotPath, bool printOnFailure);
|
D | Configuration.h | 10 string locale; 11 string vendor; 12 string orientation; 13 string density; 14 string touchscreen; 15 string keyboard; 16 string navigation; 17 string screenSize; 30 bool ParseDiectoryName(const string& dir, string* resType); 32 string ToString() const; [all …]
|
D | XMLHandler.cpp | 14 static string 15 xml_text_escape(const string& s) in xml_text_escape() 17 string result; in xml_text_escape() 39 static string 40 xml_attr_escape(const string& s) in xml_attr_escape() 42 string result; in xml_attr_escape() 71 string 72 XMLNamespaceMap::Get(const string& ns) const in Get() 77 map<string,string>::const_iterator it = m_map.find(ns); in Get() 85 string [all …]
|
D | XLIFFFile.h | 18 string config; 26 string id; 31 string rejectComment; 37 static XLIFFFile* Parse(const string& filename); 39 const string& currentVersion); 45 inline const string& CurrentVersion() const { return m_currentVersion; } in CurrentVersion() 46 inline const string& OldVersion() const { return m_oldVersion; } in OldVersion() 48 set<string> Files() const; 52 bool FindStringResource(const string& filename, int version, bool source); 54 void Filter(bool (*func)(const string&,const TransUnit&,void*), void* cookie); [all …]
|
D | ValuesFile.cpp | 29 ArrayHandler(ValuesFile* vf, int version, const string& versionString, const string& id); 31 virtual int OnStartElement(const SourcePos& pos, const string& ns, const string& name, 33 virtual int OnText(const SourcePos& pos, const string& text); 34 virtual int OnComment(const SourcePos& pos, const string& text); 40 string m_versionString; 41 string m_id; 42 string m_comment; 45 ArrayHandler::ArrayHandler(ValuesFile* vf, int version, const string& versionString, in ArrayHandler() 46 const string& id) in ArrayHandler() 56 ArrayHandler::OnStartElement(const SourcePos& pos, const string& ns, const string& name, in OnStartElement() [all …]
|
D | Perforce.cpp | 19 Perforce::RunCommand(const string& cmd, string* result, bool printOnFailure) in RunCommand() 74 string error; in RunCommand() 99 Perforce::GetResourceFileNames(const string& version, const string& base, in GetResourceFileNames() 100 const vector<string>& apps, vector<string>* results, in GetResourceFileNames() 104 string text; in GetResourceFileNames() 128 string s(str, lineend-str); in GetResourceFileNames() 135 results->push_back(string(filename)); in GetResourceFileNames() 145 Perforce::GetFile(const string& file, const string& version, string* result, in GetFile() 153 string 157 string text; in GetCurrentChange() [all …]
|
D | file_utils.h | 11 string translated_file_name(const string& file, const string& locale); 13 ValuesFile* get_values_file(const string& filename, const Configuration& configuration, 14 int version, const string& versionString, bool printOnFailure); 15 ValuesFile* get_local_values_file(const string& filename, const Configuration& configuration, 16 int version, const string& versionString, bool printOnFailure); 18 void print_file_status(size_t j, size_t J, const string& message = "Reading"); 19 int write_to_file(const string& filename, const string& text);
|
D | file_utils.cpp | 19 static string 20 parent_dir(const string& path) in parent_dir() 22 return string(String8(path.c_str()).getPathDir().string()); in parent_dir() 37 err = _mkdir(dest.string()); in mkdirs() 39 err = mkdir(dest.string(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); in mkdirs() 50 string 51 translated_file_name(const string& file, const string& locale) in translated_file_name() 70 string result(str, values-str); in translated_file_name() 73 string language, region; in translated_file_name() 97 get_values_file(const string& filename, const Configuration& configuration, in get_values_file() [all …]
|
D | localize.cpp | 27 read_settings(const string& filename, map<string,Settings>* result, const string& rootDir) in read_settings() argument 65 string dir = appNode->GetAttribute("", "dir", ""); in read_settings() 90 string f = reject.file; in read_settings() 116 ValuesFile_to_XLIFFFile(const ValuesFile* values, XLIFFFile* xliff, const string& englishFilename) in ValuesFile_to_XLIFFFile() 127 contains_reject(const Settings& settings, const string& file, const TransUnit& tu) in contains_reject() 129 const string name = tu.id; in contains_reject() 175 keep_this_trans_unit(const string& file, const TransUnit& unit, void* cookie) in keep_this_trans_unit() 194 validate_config(const string& settingsFile, const map<string,Settings>& settings, in validate_config() argument 195 const string& config) in validate_config() 206 validate_configs(const string& settingsFile, const map<string,Settings>& settings, in validate_configs() argument [all …]
|
D | Values.h | 19 StringResource(const SourcePos& pos, const string& file, const Configuration& config, 20 const string& id, int index, XMLNode* value, 21 int version, const string& versionString, const string& comment = ""); 34 string TypedID() const; 35 static bool ParseTypedID(const string& typed, string* id, int* index); 38 string file; 40 string id; 44 string versionString; 45 string comment;
|
/frameworks/base/media/libstagefright/ |
D | stagefright_string.cpp | 22 string::size_type string::npos = (string::size_type)-1; 24 string::string() { in string() function in android::string 27 string::string(const char *s, size_t length) in string() function in android::string 31 string::string(const string &from, size_type start, size_type length) in string() function in android::string 35 string::string(const char *s) in string() function in android::string 39 const char *string::c_str() const { in c_str() 40 return mString.string(); in c_str() 43 string::size_type string::size() const { in size() 47 void string::clear() { in clear() 51 string::size_type string::find(char c) const { in find() [all …]
|
/frameworks/base/media/libdrm/mobile2/include/rights/ |
D | Asset.h | 47 void setID(const string &id); 53 const string& getID() const; 59 void setContentID(const string &id); 65 const string& getContentID() const; 71 void setDCFDigest(const string &value); 77 const string& getDCFDigest() const; 83 void setEncryptedKey(const string &key); 89 const string& getEncrytedKey() const; 101 void setKeyRetrievalMethod(const string &rm); 107 void setParentContentID(const string &id); [all …]
|
D | Ro.h | 50 void setRoID(string &id); 56 const string& getRoID() const; 61 void setRoVersion(string &version); 99 const string& contentID); 108 const string& contentID); 115 string getContentCek(const string& contentID); 122 string getContentHash(const string& contentID); 185 void loadRights(const string& contentID); 208 string mRoID; /** the Ro id. */ 209 string mRoVersion; /** the Ro version. */
|
/frameworks/base/media/libdrm/mobile2/include/dcf/ |
D | DrmDcfContainer.h | 53 string getContentType(void) const; 109 string getContentID(void) const; 117 string getRightsIssuerURL(void) const; 125 string getPreviewMethod(void) const; 133 string getContentLocation(void) const; 141 string getContentURL(void) const; 149 vector<string> getCustomerHead(void) const; 179 string mContentType; 186 string mContentID; 187 string mRightsIssuerURL; [all …]
|
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
D | ustring.h | 37 class string : public memblock { 58 string (void); 59 string (const string& s); 60 inline string (const string& s, uoff_t o, size_type n); 61 inline explicit string (const cmemlink& l); 62 string (const_pointer s); 63 inline string (const_pointer s, size_type len); 64 inline string (const_pointer s1, const_pointer s2); 65 explicit string (size_type n, value_type c = c_Terminator); 66 inline pointer data (void) { return (string::pointer (memblock::data())); } in data() [all …]
|
D | ustring.cpp | 24 const uoff_t string::npos; 25 const string::size_type string::size_Terminator; 26 const string::value_type string::c_Terminator; 27 const char string::empty_string[string::size_Terminator] = ""; 29 typedef utf8in_iterator<string::const_iterator> utf8icstring_iterator; 30 typedef utf8in_iterator<string::iterator> utf8istring_iterator; 31 typedef utf8out_iterator<string::iterator> utf8ostring_iterator; 36 string::string (void) in string() function in ustl::string 43 string::string (const string& s) in string() function in ustl::string 53 string::string (const_pointer s) in string() function in ustl::string [all …]
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 41 com.android.internal.R.string.day_of_week_long_sunday, 42 com.android.internal.R.string.day_of_week_long_monday, 43 com.android.internal.R.string.day_of_week_long_tuesday, 44 com.android.internal.R.string.day_of_week_long_wednesday, 45 com.android.internal.R.string.day_of_week_long_thursday, 46 com.android.internal.R.string.day_of_week_long_friday, 47 com.android.internal.R.string.day_of_week_long_saturday, 50 com.android.internal.R.string.day_of_week_medium_sunday, 51 com.android.internal.R.string.day_of_week_medium_monday, 52 com.android.internal.R.string.day_of_week_medium_tuesday, [all …]
|
D | Time.java | 298 r.getString(com.android.internal.R.string.month_medium_january), in format() 299 r.getString(com.android.internal.R.string.month_medium_february), in format() 300 r.getString(com.android.internal.R.string.month_medium_march), in format() 301 r.getString(com.android.internal.R.string.month_medium_april), in format() 302 r.getString(com.android.internal.R.string.month_medium_may), in format() 303 r.getString(com.android.internal.R.string.month_medium_june), in format() 304 r.getString(com.android.internal.R.string.month_medium_july), in format() 305 r.getString(com.android.internal.R.string.month_medium_august), in format() 306 r.getString(com.android.internal.R.string.month_medium_september), in format() 307 r.getString(com.android.internal.R.string.month_medium_october), in format() [all …]
|
/frameworks/base/core/java/android/net/http/ |
D | EventHandler.java | 72 com.android.internal.R.string.httpErrorOk, 73 com.android.internal.R.string.httpError, 74 com.android.internal.R.string.httpErrorLookup, 75 com.android.internal.R.string.httpErrorUnsupportedAuthScheme, 76 com.android.internal.R.string.httpErrorAuth, 77 com.android.internal.R.string.httpErrorProxyAuth, 78 com.android.internal.R.string.httpErrorConnect, 79 com.android.internal.R.string.httpErrorIO, 80 com.android.internal.R.string.httpErrorTimeout, 81 com.android.internal.R.string.httpErrorRedirectLoop, [all …]
|
/frameworks/base/tools/aidl/ |
D | Type.h | 26 Type(const string& name, int kind, bool canWriteToParcel, 28 Type(const string& package, const string& name, 30 const string& declFile = "", int declLine = -1); 33 inline string Package() const { return m_package; } in Package() 34 inline string Name() const { return m_name; } in Name() 35 inline string QualifiedName() const { return m_qualifiedName; } in QualifiedName() 37 inline string DeclFile() const { return m_declFile; } in DeclFile() 42 virtual string ImportType() const; 43 virtual string CreatorName() const; 44 virtual string InstantiableName() const; [all …]
|
/frameworks/base/media/libdrm/mobile2/src/rights/ |
D | Asset.cpp | 34 void Asset::setID(const string &id) in setID() 40 const string& Asset::getID() const in getID() 46 void Asset::setContentID(const string &id) in setContentID() 52 const string& Asset::getContentID() const in getContentID() 58 void Asset::setEncryptedKey(const string &key) in setEncryptedKey() 64 void Asset::setDCFDigest(const string &value) in setDCFDigest() 70 const string& Asset::getDCFDigest() const in getDCFDigest() 76 void Asset::setKeyRetrievalMethod(const string &rm) in setKeyRetrievalMethod() 82 void Asset::setParentContentID(const string &id) in setParentContentID() 88 const string& Asset::getEncrytedKey() const in getEncrytedKey() [all …]
|
/frameworks/base/include/media/stagefright/ |
D | stagefright_string.h | 25 class string { 30 string(); 31 string(const char *s); 32 string(const char *s, size_t length); 33 string(const string &from, size_type start, size_type length = npos); 43 bool operator<(const string &other) const; 44 bool operator==(const string &other) const; 46 string &operator+=(char c);
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/content/ |
D | PrimitiveTest.java | 98 expected, v.string); in tryString() 103 tryString(R.string.coerceIntegerToString, "100"); in testStringCoerce() 104 tryString(R.string.coerceBooleanToString, "true"); in testStringCoerce() 105 tryString(R.string.coerceColorToString, "#fff"); in testStringCoerce() 106 tryString(R.string.coerceFloatToString, "100.0"); in testStringCoerce() 107 tryString(R.string.coerceDimensionToString, "100px"); in testStringCoerce() 108 tryString(R.string.coerceFractionToString, "100%"); in testStringCoerce() 120 checkString(R.string.formattedStringNone, in testFormattedString() 121 mResources.getString(R.string.formattedStringNone), in testFormattedString() 123 checkString(R.string.formattedStringOne, in testFormattedString() [all …]
|