| /external/gtest/include/gtest/internal/ |
| gtest-string.h | 34 // This header file declares the String class and functions used internally by 45 // string.h is not guaranteed to provide strcpy on C++ Builder. 49 #include <string.h> 52 #include <string> 57 // String - a UTF-8 string class. 59 // For historic reasons, we don't use std::string. 61 // TODO(wan@google.com): replace this class with std::string or 64 // Note that String can represent both NULL and the empty string, 230 operator ::std::string() const { return ::std::string(c_str(), length()); } function in class:testing::internal::String::operator::std 237 operator ::string() const { return ::string(c_str(), length()); } function in class:testing::internal::String::operator [all...] |
| /external/llvm/utils/unittest/googletest/include/gtest/internal/ |
| gtest-string.h | 34 // This header file declares the String class and functions used internally by 45 // string.h is not guaranteed to provide strcpy on C++ Builder. 49 #include <string.h> 52 #include <string> 57 // String - a UTF-8 string class. 59 // For historic reasons, we don't use std::string. 61 // TODO(wan@google.com): replace this class with std::string or 64 // Note that String can represent both NULL and the empty string, 230 operator ::std::string() const { return ::std::string(c_str(), length()); } function in class:testing::internal::String::operator::std 237 operator ::string() const { return ::string(c_str(), length()); } function in class:testing::internal::String::operator [all...] |
| /external/mesa3d/src/gtest/include/gtest/internal/ |
| gtest-string.h | 34 // This header file declares the String class and functions used internally by 45 // string.h is not guaranteed to provide strcpy on C++ Builder. 49 #include <string.h> 52 #include <string> 57 // String - a UTF-8 string class. 59 // For historic reasons, we don't use std::string. 61 // TODO(wan@google.com): replace this class with std::string or 64 // Note that String can represent both NULL and the empty string, 230 operator ::std::string() const { return ::std::string(c_str(), length()); } function in class:testing::internal::String::operator::std 237 operator ::string() const { return ::string(c_str(), length()); } function in class:testing::internal::String::operator [all...] |
| /external/open-vcdiff/gtest/include/gtest/internal/ |
| gtest-string.h | 34 // This header file declares the String class and functions used internally by 44 #include <string.h> 48 #include <string> 54 // String - a UTF-8 string class. 56 // We cannot use std::string as Microsoft's STL implementation in 61 // Also, String is different from std::string in that it can represent 62 // both NULL and the empty string, while std::string cannot represen 229 operator ::std::string() const { return ::std::string(c_str(), length()); } function in class:testing::internal::String::operator::std 237 operator ::string() const { return ::string(c_str(), length()); } function in class:testing::internal::String::operator [all...] |
| /external/protobuf/gtest/include/gtest/internal/ |
| gtest-string.h | 34 // This header file declares the String class and functions used internally by 44 #include <string.h> 48 #include <string> 54 // String - a UTF-8 string class. 56 // We cannot use std::string as Microsoft's STL implementation in 61 // Also, String is different from std::string in that it can represent 62 // both NULL and the empty string, while std::string cannot represen 229 operator ::std::string() const { return ::std::string(c_str(), length()); } function in class:testing::internal::String::operator::std 237 operator ::string() const { return ::string(c_str(), length()); } function in class:testing::internal::String::operator [all...] |
| /external/v8/test/mjsunit/ |
| value-callic-prototype-change.js | 38 var s = String.fromCharCode(i); 42 String.prototype.toString = function() { return "ostehaps"; }; 45 var s = String.fromCharCode(i);
|
| string-charat.js | 39 assertEquals("t", s().charAt("string")); 60 assertEquals(116, s().charCodeAt("string")); 83 // Make sure enough of the one-char string cache is filled. 86 var c = String.fromCharCode(i); 94 assertEquals(String.fromCharCode(i), alphaStr.charAt(i)); 97 // Test stealing String.prototype.{charAt,charCodeAt}. 99 charAt: String.prototype.charAt, 100 charCodeAt: String.prototype.charCodeAt, 129 // Test custom string IC-s. 232 String.prototype.charAt = function() { return "%"; } [all...] |
| string-charcodeat.js | 98 n.charCodeAt = String.prototype.charCodeAt; 106 n.charCodeAt = String.prototype.charCodeAt; 177 // Doesn't return a string from toString! 179 this.charCodeAt = String.prototype.charCodeAt; 215 // string prototype object instead of the hidden prototype object. 218 String.prototype.x = String.prototype.charCodeAt;
|
| /external/chromium_org/v8/test/mjsunit/ |
| string-charat.js | 39 assertEquals("t", s().charAt("string")); 60 assertEquals(116, s().charCodeAt("string")); 83 // Make sure enough of the one-char string cache is filled. 86 var c = String.fromCharCode(i); 94 assertEquals(String.fromCharCode(i), alphaStr.charAt(i)); 97 // Test stealing String.prototype.{charAt,charCodeAt}. 99 charAt: String.prototype.charAt, 100 charCodeAt: String.prototype.charCodeAt, 129 // Test custom string IC-s. 232 String.prototype.charAt = function() { return "%"; } [all...] |
| string-charcodeat.js | 98 n.charCodeAt = String.prototype.charCodeAt; 106 n.charCodeAt = String.prototype.charCodeAt; 177 // Doesn't return a string from toString! 179 this.charCodeAt = String.prototype.charCodeAt; 215 // string prototype object instead of the hidden prototype object. 218 String.prototype.x = String.prototype.charCodeAt;
|
| /external/chromium_org/v8/test/webkit/fast/js/ |
| primitive-property-access-edge-cases.js | 31 delete String.prototype.constructor; 37 String.prototype.__proto__ = { x: 1, y: 1 }; 38 delete String.prototype.__proto__.x; 48 String.prototype.x = 1; 49 String.prototype.y = 1; 50 delete String.prototype.x; 103 shouldBeTrue("checkGet('hello', String)"); 106 shouldBeTrue("checkSet('hello', String)"); 109 shouldBeTrue("checkGetStrict('hello', String)"); 112 shouldBeTrue("checkSetStrict('hello', String)"); [all...] |
| /developers/build/prebuilts/gradle/TextSwitcher/TextSwitcherSample/src/main/java/com/example/android/textswitcher/ |
| MainActivity.java | 76 mSwitcher.setText(String.valueOf(mCounter)); 82 mSwitcher.setCurrentText(String.valueOf(mCounter));
|
| /developers/samples/android/ui/views/TextSwitcher/TextSwitcherSample/src/main/java/com/example/android/textswitcher/ |
| MainActivity.java | 76 mSwitcher.setText(String.valueOf(mCounter)); 82 mSwitcher.setCurrentText(String.valueOf(mCounter));
|
| /development/samples/browseable/TextSwitcher/src/com.example.android.textswitcher/ |
| MainActivity.java | 76 mSwitcher.setText(String.valueOf(mCounter)); 82 mSwitcher.setCurrentText(String.valueOf(mCounter));
|
| /development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
| Output.java | 37 * @param writer The writer to write to. Could be a file, a string, etc. 44 * Writes a formatted string to the writer. 46 * @param format The format string. 47 * @param args The arguments for the format string. 49 * @see String#format(String, Object...) 51 public void write(String format, Object... args) { 53 mWriter.write(String.format(format, args)); 71 * @param sb The {@link StringBuilder#toString()} method is used to ge the string to write.
|
| /external/chromium_org/third_party/WebKit/Source/core/dom/ |
| DOMStringList.h | 48 void append(const String& string) { m_strings.append(string); } 53 String item(unsigned index) const; 54 bool contains(const String& str) const; 56 operator const Vector<String>&() const { return m_strings; } 64 Vector<String> m_strings;
|
| /external/chromium_org/third_party/WebKit/Source/wtf/text/ |
| StringOperators.h | 36 operator String() const 38 return String(makeString(m_string1, m_string2)); 101 inline StringAppend<const char*, String> operator+(const char* string1, const String& string2) 103 return StringAppend<const char*, String>(string1, string2); 117 inline StringAppend<const UChar*, String> operator+(const UChar* string1, const String& string2) 119 return StringAppend<const UChar*, String>(string1, string2); 134 StringAppend<String, T> operator+(const String& string1, T string2 [all...] |
| /external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
| p6.cpp | 46 struct String {}; 48 void f(Array<String>& v) { 52 // sort(Array<T>&), T is String 55 template<> void sort<String>(Array<String>& v); // // expected-error{{after instantiation}}
|
| /external/junit/src/org/junit/internal/builders/ |
| AnnotatedBuilder.java | 12 private static final String CONSTRUCTOR_ERROR_FORMAT= "Custom runner class %s should have a public constructor with signature %s(Class testClass)"; 39 String simpleName= runnerClass.getSimpleName(); 40 throw new InitializationError(String.format(
|
| /external/marisa-trie/lib/marisa/ |
| marisa-string.h | 8 class String { 10 String() : ptr_(NULL), length_(0) {} 11 explicit String(const char *str) : ptr_(str), length_(0) { 16 String(const char *ptr, std::size_t length) 18 String(const String &str) : ptr_(str.ptr_), length_(str.length_) {} 20 String substr(std::size_t pos, std::size_t length) const { 22 return String(ptr_ + pos, length); 25 String &operator=(const String &str) [all...] |
| /external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
| marisa-string.h | 8 class String { 10 String() : ptr_(NULL), length_(0) {} 11 explicit String(const char *str) : ptr_(str), length_(0) { 16 String(const char *ptr, std::size_t length) 18 String(const String &str) : ptr_(str.ptr_), length_(str.length_) {} 20 String substr(std::size_t pos, std::size_t length) const { 22 return String(ptr_ + pos, length); 25 String &operator=(const String &str) [all...] |
| /frameworks/base/core/java/com/android/internal/util/ |
| Preconditions.java | 46 * be converted to a string using {@link String#valueOf(Object)} 52 throw new NullPointerException(String.valueOf(errorMessage));
|
| /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
| ManyEditTextActivityNoScrollPanScan.java | 54 editText.setText(String.valueOf(i));
|
| ManyEditTextActivityScrollPanScan.java | 55 editText.setText(String.valueOf(i));
|
| ManyEditTextActivityScrollResize.java | 48 editText.setText(String.valueOf(i));
|