HomeSort by relevance Sort by last modified time
    Searched defs:String (Results 1 - 25 of 155) sorted by null

1 2 3 4 5 6 7

  /external/v8/test/mjsunit/
getter-in-value-prototype.js 33 String.prototype.__defineGetter__('x', function() { return this; });
regexp-string-methods.js 28 // Regexp shouldn't use String.prototype.slice()
29 var s = new String("foo");
31 String.prototype.slice = function() { return "x"; }
35 // Regexp shouldn't use String.prototype.charAt()
39 String.prototype.charAt = function(idx) { return 'g'; };
50 RegExp.prototype.exec = function(string) { return 'x'; }
value-wrapper.js 93 assertEquals('[object String]', 'xxx'.ObjectToString());
104 String.prototype.TypeOfThis = TypeOfThis;
110 String.prototype.ObjectValueOf = Object.prototype.valueOf;
114 String.prototype.ObjectToString = Object.prototype.toString;
121 String.prototype.TypeOfThis = 'x';
127 String.prototype.TypeOfThis = TypeOfThis;
136 delete String.prototype.TypeOfThis;
142 String.prototype.TypeOfThis = TypeOfThis;
value-callic-prototype-change.js 38 var s = String.fromCharCode(i);
42 String.prototype.toString = function() { return "ostehaps"; };
45 var s = String.fromCharCode(i);
  /external/v8/test/mjsunit/regress/
regress-crbug-3184.js 53 String.prototype.cap = function() {
57 String.prototype.cap = String.prototype.cap.wrap(
regress-900966.js 29 String.prototype[10] = 'x';
  /external/v8/test/message/
overwritten-builtins.js 28 String.prototype.split = function() { return "SPLIT ERROR"; };
  /dalvik/dx/tests/089-dex-define-object/
String.java 19 public final class String {
  /external/webkit/WebCore/platform/text/cf/
StringCF.cpp 30 String::String(CFStringRef str)
45 CFStringRef String::createCFString() const
  /external/webkit/WebCore/platform/text/haiku/
StringHaiku.cpp 30 #include <String.h>
34 // String conversions
35 String::String(const BString& bstring)
37 const UChar* str = reinterpret_cast<const UChar*>(bstring.String());
49 String::operator BString() const
51 BString string; local
52 string.SetTo(utf8().data());
54 return string;
  /external/webkit/WebCore/platform/text/qt/
StringQt.cpp 34 // String conversions
35 String::String(const QString& qstr)
42 String::String(const QStringRef& ref)
44 if (!ref.string())
49 String::operator QString() const
54 QDataStream& operator<<(QDataStream& stream, const String& str)
61 QDataStream& operator>>(QDataStream& stream, String& str)
  /libcore/luni/src/main/java/org/apache/xpath/operations/
String.java 19 * $Id: String.java 468655 2006-10-28 07:12:06Z minchau $
27 * The 'string()' operation expression executer.
29 public class String extends UnaryOperation
  /external/chromium/sdch/open-vcdiff/src/gtest/internal/
gtest-string.h 34 // This header file declares the String class and functions used internally by
44 #include <string.h>
50 // String - a UTF-8 string class.
52 // We cannot use std::string as Microsoft's STL implementation in
57 // Also, String is different from std::string in that it can represent
58 // both NULL and the empty string, while std::string cannot represent
61 // NULL and the empty string are considered different. NULL is les
    [all...]
  /external/webkit/SunSpider/hosted/
json2.js 33 level. If it is a string (such as '\t' or '&nbsp;'),
83 If the space parameter is a non-empty string, then that string will
120 if (typeof value === 'string') {
133 if (typeof value === 'string' &&
186 String.prototype.toJSON =
209 function quote(string) {
211 // If the string contains no control characters, no quote characters, and no
217 return escapable.test(string) ?
218 '"' + string.replace(escapable, function (a)
    [all...]
  /libcore/luni/src/test/java/tests/java/lang/String/
Tests.java 17 package tests.java.lang.String;
27 * Tests for the class {@link String}.
29 @TestTargetClass(String.class)
56 args = {java.lang.String.class}
66 args = {java.lang.String.class}
79 String s1 = "ABCDEFG";
80 String s2 = "abcdefg";
82 assertTrue(String.CASE_INSENSITIVE_ORDER.compare(s1, s2) == 0);
  /cts/tests/src/android/text/method/cts/
TextMethodUtils.java 36 Assert.assertEquals(String.valueOf(expected), String.valueOf(actual));
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/
ApkCreationException.java 25 public ApkCreationException(String format, Object... args) {
26 super(String.format(format, args));
29 public ApkCreationException(Throwable cause, String format, Object... args) {
30 super(String.format(format, args), cause);
SealedApkException.java 25 public SealedApkException(String format, Object... args) {
26 super(String.format(format, args));
29 public SealedApkException(Throwable cause, String format, Object... args) {
30 super(String.format(format, args), cause);
  /external/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
233 operator ::std::string() const { return ::std::string(c_str_); } function in class:testing::internal::String::operator::std
239 operator ::string() const { return ::string(c_str_); } 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/webkit/WebCore/inspector/front-end/
utilities.js 315 String.prototype.hasSubstring = function(string, caseInsensitive)
318 return this.indexOf(string) !== -1;
319 return this.match(new RegExp(string.escapeForRegExp(), "i"));
322 String.prototype.escapeCharacters = function(chars)
345 String.prototype.escapeForRegExp = function()
350 String.prototype.escapeHTML = function()
355 String.prototype.collapseWhitespace = function()
360 String.prototype.trimURL = function(baseURLDomain)
560 formatterFunction = String.sprintf
    [all...]
  /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/webkit/WebCore/bindings/v8/
ScriptString.h 43 ScriptString(const String& s) : m_impl(ScriptStringImpl::create(s)) {}
46 operator String() const { return m_impl->toString(); }
57 ScriptString& operator+=(const String& s)
  /external/webkit/WebCore/platform/text/wx/
StringWx.cpp 33 #include <wx/string.h>
37 // String conversions
38 String::String(const wxString& wxstr)
56 // the number of characters in UTF-16 encoding of the string may differ
68 // allocate buffer for the UTF-16 string:
80 wxASSERT_MSG(str != NULL, _T("failed string conversion?"));
85 String::operator wxString() const
  /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
ManyEditTextActivityNoScrollPanScan.java 54 editText.setText(String.valueOf(i));

Completed in 311 milliseconds

1 2 3 4 5 6 7