Searched defs:string (Results 1 - 25 of 1253) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/
H A Derror-tostring.js29 // Test default string representation of an Error object.
35 // Test printing of cyclic errors which return the empty string for
56 // on a given Error object. Verify the produced string representation.
74 var string = Error.prototype.toString.call(e); variable
75 return [string,seq];
H A Dregexp-results-cache.js28 // Long string to trigger caching.
29 var string = variable
66 var replaced = string.replace(/\b\w+\b/g, function() { return "foo"; });
69 string.replace(/\b\w+\b/g, function() { return "foo"; }));
73 var words = string.split(" ");
76 words = string.split(" ");
H A Dregexp-standalones.js34 var string = 'aaa\n789\r\nccc\r\n345'; variable
36 var result = string.match(pattern);
42 result = string.match(pattern);
47 string = 'aaa\n789\r\nccc\r\nddd';
49 result = string.match(pattern);
54 result = string.match(pattern);
60 string = '\u00BF\u00CD\u00BB\u00A7';
61 result = string.match(pattern);
63 assertEquals(string, result[0], "12");
65 string
[all...]
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-crbug-142087.js28 var string = "What are you looking for?"; variable
31 for (var i = 0; i < string.length; i++) {
35 string.replace(/(_)|(_|)/g, "");
36 assertArrayEquals(expected_match, string.match(/(_)|(_|)/g, ""));
H A Dregress-515.js38 var string = s + 'x' + s + 'x' + s; variable
40 string.replace(/x/g, "")
/external/bison/lib/
H A Dmbschr.c1 /* Searching a string for a character.
21 #include <string.h>
25 /* Locate the first single-byte character C in the character string STRING,
28 mbschr (const char *string, int c) argument
38 for (mbui_init (iter, string);; mbui_advance (iter))
51 return strchr (string, c);
H A Dstrnlen.c20 #include <string.h>
26 strnlen (const char *string, size_t maxlen) argument
28 const char *end = memchr (string, '\0', maxlen);
29 return end ? (size_t) (end - string) : maxlen;
H A Dstrnlen1.c22 #include <string.h>
26 /* This is the same as strnlen (string, maxlen - 1) + 1. */
28 strnlen1 (const char *string, size_t maxlen) argument
30 const char *end = (const char *) memchr (string, '\0', maxlen);
32 return end - string + 1;
H A Dxstrndup.c1 /* Duplicate a bounded initial segment of a string, with out-of-memory
23 #include <string.h>
30 xstrndup (const char *string, size_t n) argument
32 char *s = strndup (string, n);
H A Dmbsrchr.c1 /* Searching a string for the last occurrence of a character.
21 #include <string.h>
25 /* Locate the last single-byte character C in the character string STRING,
28 mbsrchr (const char *string, int c) argument
39 for (mbui_init (iter, string); mbui_avail (iter); mbui_advance (iter))
48 return strrchr (string, c);
H A Dperror.c25 #include <string.h>
33 perror (const char *string) argument
39 string, even if it returns EINVAL; and stackbuf should be sized
45 if (string != NULL && *string != '\0')
46 fprintf (stderr, "%s: %s\n", string, stackbuf);
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/goog/string/
H A Dstring.js16 * @fileoverview Utilities for string manipulation.
21 * Namespace for string utilities
23 goog.provide('goog.string');
27 * Does simple python-style string substitution.
29 * @param {string} str The string containing the pattern.
31 * @return {string} A copy of {@code str} in which each occurrence of
34 goog.string.subs = function(str, var_args) {
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DRefPtrTest.cpp15 RefPtr<StringImpl> string; local
16 EXPECT_TRUE(!string);
17 string = StringImpl::create("test");
18 EXPECT_TRUE(!!string);
19 string.clear();
20 EXPECT_TRUE(!string);
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DAtomicStringCF.cpp36 PassRefPtr<StringImpl> AtomicString::add(CFStringRef string) argument
38 if (!string)
41 CFIndex length = CFStringGetLength(string);
43 if (const LChar* ptr = reinterpret_cast<const LChar*>(CFStringGetCStringPtr(string, kCFStringEncodingISOLatin1)))
46 if (const UniChar* ptr = CFStringGetCharactersPtr(string))
50 CFStringGetCharacters(string, CFRangeMake(0, length), ucharBuffer.data());
/external/fio/
H A Dtickmarks.h6 char string[20]; member in struct:tickmark
/external/javasqlite/src/main/java/SQLite/
H A DException.java12 * @param string error message
15 public Exception(String string) { argument
16 super(string);
/external/sonivox/jet_tools/JetCreator/
H A DJetSystemInfo.py25 import string namespace
38 for dir in string.split(os.environ['PYTHONPATH'], os.pathsep):
/external/stlport/stlport/stl/
H A D_string_fwd.h40 typedef basic_string<char, char_traits<char>, allocator<char> > string; typedef
48 //This function limits header dependency between exception and string
50 const char* _STLP_CALL __get_c_string(const string& __str);
/external/chromium_org/third_party/skia/tools/lua/
H A Dbitmap_statistics.lua1 function string.startsWith(String,Start)
2 return string.sub(String,1,string.len(Start))==Start
5 function string.endsWith(String,End)
6 return End=='' or string.sub(String,-string.len(End))==End
29 if (string.startsWith(t.verb,"drawBitmap")) then
/external/skia/tools/lua/
H A Dbitmap_statistics.lua1 function string.startsWith(String,Start)
2 return string.sub(String,1,string.len(Start))==Start
5 function string.endsWith(String,End)
6 return End=='' or string.sub(String,-string.len(End))==End
29 if (string.startsWith(t.verb,"drawBitmap")) then
/external/chromium_org/base/i18n/
H A Dcase_conversion.cc13 string16 ToLower(const StringPiece16& string) { argument
14 icu::UnicodeString unicode_string(string.data(), string.size());
19 string16 ToUpper(const StringPiece16& string) { argument
20 icu::UnicodeString unicode_string(string.data(), string.size());
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimationInputHelpers.cpp30 PassRefPtr<TimingFunction> AnimationInputHelpers::parseTimingFunction(const String& string) argument
32 if (string.isEmpty())
35 RefPtrWillBeRawPtr<CSSValue> value = CSSParser::parseSingleValue(CSSPropertyTransitionTimingFunction, string);
H A DAnimationInputHelpersTest.cpp35 static bool timingFunctionRoundTrips(const String& string) argument
37 RefPtr<TimingFunction> timingFunction = AnimationInputHelpers::parseTimingFunction(string);
38 return timingFunction && string == timingFunction->toString();
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DGarbageCollectedScriptWrappable.cpp10 GarbageCollectedScriptWrappable::GarbageCollectedScriptWrappable(const String& string) argument
11 : m_string(string)
/external/chromium_org/third_party/WebKit/Source/wtf/testing/
H A DWTFTestHelpers.cpp40 std::ostream& operator<<(std::ostream& out, const String& string) argument
42 if (string.isNull())
46 for (unsigned index = 0; index < string.length(); ++index) {
48 UChar character = string[index];

Completed in 584 milliseconds

1234567891011>>