Searched defs:str (Results 1 - 25 of 1925) sorted by relevance

1234567891011>>

/external/clang/test/Lexer/
H A Dcxx0x_raw_string_unterminated.cpp3 const char *str = R"foo(abc variable
/external/icu/icu4c/source/test/perf/DateFmtPerf/
H A Dbreakdata.h12 UnicodeString str = variable
/external/v8/test/mjsunit/
H A Djson-parser-recursive.js28 var str = "[1]"; variable
30 str = "[1," + str + "]";
33 assertThrows(function() { JSON.parse(str); }, RangeError);
H A Dnewline-in-string.js29 var str = 'asdf\ variable
36 assertEquals('asdf\nasdf\rasdf\tasdf\\', str);
/external/v8/test/mjsunit/regress/
H A Dregress-1748.js32 var str = Array(10000).join("X"); variable
33 str.replace(/^|X/g, function(m, i, s) {
H A Dregress-349.js31 var str = "bbaabbbbbbbbabbaaaabbaaabbbaaaabbaaabbabaaabb"; variable
32 assertEquals(str, str.replace(/aabab/g, "foo"));
H A Dregress-crbug-160010.js30 var str = "a"; variable
32 str += str;
33 %FlattenString(str); // Evil performance hack
35 JSON.stringify(str);
H A Dregress-52801.js41 var str = "bbbbabbbbabbbb"; variable
45 re.test(str);
49 re.test(str);
53 re.test(str);
60 re.exec(str);
64 re.exec(str);
68 re.exec(str);
H A Dregress-732.js39 var str = "" + idx; variable
42 for (var i = 0; i < 10; i++) { ({})[str]; }
46 assertEquals(obj[str], obj[idx])
/external/v8/test/webkit/
H A Dstring-property-deletion.js26 var str = "abc"; variable
27 shouldBe('str.length', '3');
28 shouldBe('delete str.length', 'false');
29 shouldBe('delete str[0]', 'false');
30 shouldBe('delete str[1]', 'false');
31 shouldBe('delete str[2]', 'false');
32 shouldBe('delete str[3]', 'true');
33 shouldBe('delete str[-1]', 'true');
34 shouldBe('delete str[4294967294]', 'true');
35 shouldBe('delete str[429496729
[all...]
H A Dregexp-norepeat.js29 var str = "abcd"; variable
30 shouldBe('re.test(str)', 'false');
/external/clang/test/CodeGen/
H A Dwritable-strings.c4 char *str = "abc"; local
5 str[0] = '1';
6 printf("%s", str);
/external/clang/test/PCH/
H A Dremap-file-from-pch.cpp6 const char *str = STR; variable
/external/clang/test/CodeGenCXX/
H A D2004-11-27-FriendDefaultArgCrash.cpp6 struct str { struct in namespace:nm
/external/clang/test/SemaCXX/
H A Dwarn-address.cpp7 const char* str = ""; variable
19 if (str == "foo") {} // expected-warning{{unspecified}}
/external/compiler-rt/test/asan/TestCases/Darwin/
H A Dsuppressions-darwin.cc24 CFStringRef str = local
H A Dsuppressions-sandbox.cc16 CFStringRef str = local
/external/compiler-rt/test/asan/TestCases/Windows/
H A Ddll_intercept_strlen.cc10 char str[] = "Hello!"; local
11 if (6 != strlen(str))
17 str[6] = '!'; // Removes '\0' at the end!
18 int len = strlen(str);
H A Dintercept_strlen.cc8 char str[] = "Hello"; local
9 if (5 != strlen(str))
16 str[5] = '!'; // Losing '\0' at the end.
17 int len = strlen(str);
25 // CHECK: 'str' <== Memory access at offset {{.*}} overflows this variable
/external/libcxx/test/std/extensions/hash/
H A Dspecializations.pass.cpp18 char str[] = "test"; local
21 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test"));
/external/libcxx/test/std/utilities/template.bitset/bitset.cons/
H A Dchar_ptr_ctor.pass.cpp11 // explicit bitset(const charT* str,
35 const char str[] ="1010101010"; local
36 std::bitset<N> v(str);
39 assert(v[i] == (str[M - 1 - i] == '1'));
/external/libedit/src/
H A Dwcsdup.c27 wcsdup(const wchar_t *str) argument
32 _DIAGASSERT(str != NULL);
34 len = wcslen(str) + 1;
40 return wmemcpy(copy, str, len);
/external/libvncserver/libvncserver/
H A Dcutpaste.c35 void rfbGotXCutText(rfbScreenInfoPtr rfbScreen, char *str, int len) argument
37 rfbSendServerCutText(rfbScreen, str, len);
/external/libxml2/python/tests/
H A Dserialize.py12 str = doc.serialize() variable
13 if str != """<?xml version="1.0"?>
18 str = doc.serialize("iso-8859-1") variable
19 if str != """<?xml version="1.0" encoding="iso-8859-1"?>
24 str = doc.serialize(format=1) variable
25 if str != """<?xml version="1.0"?>
32 str = doc.serialize("iso-8859-1", 1) variable
33 if str != """<?xml version="1.0" encoding="iso-8859-1"?>
45 str = root.serialize() variable
46 if str !
49 str = root.serialize("iso-8859-1") variable
53 str = root.serialize(format=1) variable
59 str = root.serialize("iso-8859-1", 1) variable
71 str = doc.serialize() variable
77 str = doc.serialize("ISO-8859-1") variable
83 str = doc.serialize(format=1) variable
95 str = doc.serialize("iso-8859-1", 1) variable
113 str = root.serialize() variable
117 str = root.serialize("ISO-8859-1") variable
121 str = root.serialize(format=1) variable
131 str = root.serialize("iso-8859-1", 1) variable
[all...]
/external/openssh/openbsd-compat/
H A Dstrnlen.c28 strnlen(const char *str, size_t maxlen) argument
32 for (cp = str; maxlen != 0 && *cp != '\0'; cp++, maxlen--)
35 return (size_t)(cp - str);

Completed in 1628 milliseconds

1234567891011>>