/cts/tests/tests/util/src/android/util/cts/ |
StateSetTest.java | 52 String string = StateSet.dump(stateSet); local 53 assertEquals("W P S F E ", string);
|
/dalvik/dx/src/com/android/dx/command/findusages/ |
FindUsages.java | 44 public FindUsages(final Dex dex, String declaredBy, String memberName, final PrintWriter out) { 52 List<String> strings = dex.strings(); 54 String string = strings.get(i); local 55 if (declaredByPattern.matcher(string).matches()) { 58 if (memberNamePattern.matcher(string).matches()) { 100 private String location() { 101 String className = dex.typeNames().get(currentClass.getTypeIndex());
|
/development/ndk/platforms/android-3/include/linux/ |
moduleparam.h | 50 char *string; member in struct:kparam_string 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name, param_set_copystring, param_get_string, &__param_string_##name, perm); __MODULE_PARM_TYPE(name, "string")
|
/development/testrunner/ |
adb_interface.py | 24 import string namespace 64 string output of command 85 string output of command 201 instrumentation_path: string. It should be the fully classified package 273 """Returns a string of adb command that will be executed.""" 313 if ls_response.strip("#").strip(string.whitespace) != "": 388 expected: the string that should appear to consider the
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3basetree.c | 290 pANTLR3_STRING string; local 300 /* Need a new string with nothing at all in it. 302 string = tree->strFactory->newRaw(tree->strFactory); 306 string->append8 (string, "("); 307 string->appendS (string, tree->toString(tree)); 308 string->append8 (string, " "); 320 string->append8(string, " ") [all...] |
/external/chromium/base/i18n/ |
rtl.cc | 24 std::string GetLocaleString(const icu::Locale& locale) { 28 std::string result = 47 // Convert the ICU default locale to a string. 48 std::string GetConfiguredLocale() { 52 // Convert the ICU canonicalized locale to a string. 53 std::string GetCanonicalLocale(const char* locale) { 58 std::string ICULocaleName(const std::string& locale_string) { 70 std::string language = locale.getLanguage(); 85 void SetICUDefaultLocale(const std::string& locale_string) 132 const UChar* string = text.c_str(); local 246 const UChar* string = text.c_str(); local [all...] |
/external/chromium/chrome/browser/prefs/ |
pref_member_unittest.cc | 21 const char kStringPref[] = "string"; 82 std::string* pref_name_in = Details<std::string>(details).ptr(); 164 // Test string 165 StringPrefMember string; local 166 string.Init(kStringPref, &prefs, NULL); 170 EXPECT_EQ("default", string.GetValue()); 171 EXPECT_EQ("default", *string); 174 string.SetValue("foo"); 175 EXPECT_EQ("foo", string.GetValue()) [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
encodetable_test.cc | 20 #include <string.h> // strlen 22 #include <string> 36 typedef std::string string; typedef in class:open_vcdiff::__anon2962::CodeTableWriterTest 110 EXPECT_EQ(string(s, size), 111 string(out.data() + out_index, size)); 158 string out; 159 OutputString<string> output_string;
|
varint_bigendian_test.cc | 19 #include <string.h> // strlen 20 #include <string> 29 typedef std::string string; typedef in class:open_vcdiff::__anon2976::VarintBETestCommon 50 string s_;
|
vcdecoder_test.h | 20 #include <string> 28 // Those elements are provided as string members and can be modified or 32 typedef std::string string; typedef in class:open_vcdiff::VCDiffDecoderTest 81 // Assuming the length of the given string can be expressed as a VarintBE 86 // Assuming the length of the given string can be expressed as a one-byte 92 // Assuming the length of the given string can be expressed as a two-byte 98 // Assuming the length of the given string can be expressed as a two-byte 108 string delta_file_; 110 // This string is not populated during setup, but is used to receive th [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
stringutils.h | 50 #include <string> 55 // Generic string/memory utilities 74 // Rename a bunch of common string functions so they are consistent across 142 // Traits simplifies porting string functions to be CTYPE-agnostic 151 // STL string type 152 //typedef XXX string; 153 // Null-terminated string 158 // String utilities which work with char or wchar_t 307 typedef std::string string; typedef in struct:talk_base::Traits 319 typedef std::wstring string; typedef in struct:talk_base::Traits [all...] |
/external/chromium_org/base/prefs/ |
pref_member_unittest.cc | 20 const char kStringPref[] = "string"; 88 void OnPreferenceChanged(const std::string& pref_name) { 170 // Test string 171 StringPrefMember string; local 172 string.Init(kStringPref, &prefs); 176 EXPECT_EQ("default", string.GetValue()); 177 EXPECT_EQ("default", *string); 180 string.SetValue("foo"); 181 EXPECT_EQ("foo", string.GetValue()); 183 EXPECT_EQ("foo", *string); [all...] |
/external/chromium_org/build/ |
gyp_chromium | 16 import string namespace 72 return ''.join([c if c in string.ascii_letters else '_' for c in key]) 76 """Converts a string to a GN string literal.""" 129 # These string arguments get passed directly.
|
/external/chromium_org/chrome/test/functional/perf/ |
endure_result_parser.py | 41 import string namespace 65 MANGLE_TRANSLATION = string.maketrans(' ()', '___') 71 webapp_name: The string name of the webapp associated with the given test. 72 test_name: The string name of the test. 110 existing_lines: A list of string lines from the existing perf data file. 111 revision: The string revision number associated with the new perf entry. 112 data_file: The string name of the perf data file to which to write. 136 revision: The string revision number associated with the perf data. 137 graph_name: The string name of the graph on which to plot the data. 141 units: The string description for the y-axis units on the graph [all...] |
/external/chromium_org/chrome/test/functional/ |
prefetch.py | 23 import string namespace
|
/external/chromium_org/chromeos/network/ |
network_ui_data.cc | 23 const char* string; member in struct:chromeos::__anon7260::StringEnumEntry 39 // Converts |enum_value| to the corresponding string according to |table|. If no 41 // was used to obtain |enum_value|), returns an empty string instead. 43 std::string EnumToString(const StringEnumEntry<Enum>(& table)[N], 47 return table[i].string; 49 return std::string(); 53 // string of the table matches, returns |fallback| instead. 56 const std::string& str, 59 if (table[i].string == str) 87 std::string source [all...] |
/external/chromium_org/ipc/ |
ipc_message_utils.cc | 30 void LogBytes(const std::vector<CharType>& data, std::string* out) { 90 std::string val; 136 std::string key; 202 std::string val; 252 void ParamTraits<bool>::Log(const param_type& p, std::string* l) { 269 void ParamTraits<unsigned char>::Log(const param_type& p, std::string* l) { 286 void ParamTraits<unsigned short>::Log(const param_type& p, std::string* l) { 290 void ParamTraits<int>::Log(const param_type& p, std::string* l) { 294 void ParamTraits<unsigned int>::Log(const param_type& p, std::string* l) { 298 void ParamTraits<long>::Log(const param_type& p, std::string* l) 539 base::string16 string; local [all...] |
/external/chromium_org/ppapi/proxy/ |
pdf_resource.cc | 8 #include <string.h> 26 std::string GetLocale() { 30 const std::string& lang = parsed_command_line.GetSwitchValueASCII("lang"); 50 std::string localized_string; 65 const char16* string = reinterpret_cast<const char16*>(input_string); local 69 UStringSearch* searcher = usearch_open(term, -1, string, -1, locale_.c_str(),
|
/external/chromium_org/sdch/open-vcdiff/src/ |
varint_bigendian_test.cc | 19 #include <string.h> // strlen 20 #include <string> 29 typedef std::string string; typedef in class:open_vcdiff::__anon10356::VarintBETestCommon 50 string s_;
|
vcdecoder_test.h | 20 #include <string> 28 // Those elements are provided as string members and can be modified or 32 typedef std::string string; typedef in class:open_vcdiff::VCDiffDecoderTest 81 // Assuming the length of the given string can be expressed as a VarintBE 86 // Assuming the length of the given string can be expressed as a one-byte 92 // Assuming the length of the given string can be expressed as a two-byte 98 // Assuming the length of the given string can be expressed as a two-byte 108 string delta_file_; 110 // This string is not populated during setup, but is used to receive th [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/templates/ |
methods.cpp | 127 String string = {{argument.name}}; variable 130 '"parameter %s (\'" + string + "\') is not a valid enum value."' % 276 v8::Local<v8::Value> hiddenValue = info.This()->GetHiddenValue(v8::String::NewFromUtf8(info.GetIsolate(), "{{method.name}}", v8::String::kInternalizedString)); 285 static void {{method.name}}OriginSafeMethodGetterCallback{{world_suffix}}(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
CodeGeneratorFrontend.py | 33 import string namespace 75 elif json_type == "string": 76 return "string" 172 backend_js = string.Template(file_header_ + """ 195 if "type" in json_type and json_type["type"] == "string" and "enum" in json_type: 201 if "type" in json_property and json_property["type"] == "string" and "enum" in json_property:
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
IDBKey.h | 56 static PassRefPtr<IDBKey> createString(const String& string) 58 return adoptRef(new IDBKey(string)); 123 const String& string() const function in class:WebCore::IDBKey 151 explicit IDBKey(const String& value) : m_type(StringType), m_string(value), m_number(0) { } 158 const String m_string;
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
FloatPolygon.h | 143 static String string(const float value) { return String::number(value); } function in struct:WebCore::ValueToString 147 static String string(const FloatPolygonEdge* edge) { return String::format("%p (%f,%f %f,%f)", edge, edge->vertex1().x(), edge->vertex1().y(), edge->vertex2().x(), edge->vertex2().y()); } function in struct:WebCore::ValueToString
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
TextBreakIterator.h | 41 PLATFORM_EXPORT TextBreakIterator* wordBreakIterator(const String&, int start, int length); 62 LazyLineBreakIterator(String string, const AtomicString& locale = AtomicString()) 63 : m_string(string) 78 String string() const { return m_string; } function in class:WebCore::LazyLineBreakIterator 126 // initialized to use the previously stored string as the primary breaking context and using 146 void resetStringAndReleaseIterator(String string, const AtomicString& locale) 151 m_string = string; [all...] |