Searched defs:String (Results 26 - 50 of 130) sorted by relevance

123456

/external/v8/test/mjsunit/compiler/
H A Dreceiver-conversion.js99 assertInstanceof(x, String);
107 String.prototype.sloppy = inner;
126 String.prototype.strict = inner;
106 String.prototype.sloppy = inner; class
/external/libcxx/test/std/experimental/string.view/string.view.ops/
H A Dto_string.pass.cpp25 typedef std::basic_string<CharT> String ; typedef
28 String str1 = (String) sv1;
42 String str1 = (String) sv1;
/external/llvm/unittests/Support/
H A DRegexTest.cpp47 std::string String="axxb"; local
48 String[2] = '\0';
50 EXPECT_TRUE(r4.match(String, &Matches));
52 EXPECT_EQ(String, Matches[0].str());
55 String="YX99a:513b";
58 EXPECT_FALSE(r5.match(String));
60 String[3]='\0';
61 EXPECT_TRUE(r5.match(String));
H A DYAMLParserTest.cpp189 static void ExpectCanParseString(StringRef String) { argument
190 std::string StringInArray = (llvm::Twine("[\"") + String + "\"]").str();
199 EXPECT_EQ(String, ParsedString.str());
203 static void ExpectCannotParseString(StringRef String) { argument
204 std::string StringInArray = (llvm::Twine("[\"") + String + "\"]").str();
205 ExpectParseError((Twine("When parsing string \"") + String + "\"").str(),
/external/opencv3/modules/cudacodec/src/
H A Dvideo_writer.cpp53 cv::cudacodec::EncoderParams::EncoderParams(const String&) { throw_no_cuda(); } argument
54 void cv::cudacodec::EncoderParams::load(const String&) { throw_no_cuda(); } argument
55 void cv::cudacodec::EncoderParams::save(const String&) const { throw_no_cuda(); }
57 Ptr<VideoWriter> cv::cudacodec::createVideoWriter(const String&, Size, double, SurfaceFormat) { throw_no_cuda(); return Ptr<VideoWriter>(); } argument
58 Ptr<VideoWriter> cv::cudacodec::createVideoWriter(const String&, Size, double, const EncoderParams&, SurfaceFormat) { throw_no_cuda(); return Ptr<VideoWriter>(); } argument
704 EncoderCallBackFFMPEG(const String& fileName, Size frameSize, double fps);
767 EncoderCallBackFFMPEG::EncoderCallBackFFMPEG(const String& fileName, Size frameSize, double fps) :
834 cv::cudacodec::EncoderParams::EncoderParams(const String& configFile)
839 void cv::cudacodec::EncoderParams::load(const String& configFile)
865 void cv::cudacodec::EncoderParams::save(const String
[all...]
/external/v8/test/webkit/
H A Ddfg-to-string-toString-becomes-bad-with-dictionary-string-prototype.js25 "Tests that we do ToString conversions correctly when String.prototype.valueOf is initially fine but then gets clobbered, and was a dictionary all along."
28 delete String.prototype.trim;
29 delete String.prototype.toLowerCase;
30 delete String.prototype.toLocaleUpperCase;
33 String.prototype["a" + i] = 42;
37 a = new String(a);
44 String.prototype.toString = function() { return 42; }
32 String.prototype["a" + i] = 42; class
/external/apache-xml/src/main/java/org/apache/xpath/operations/
H A DString.java19 * $Id: String.java 468655 2006-10-28 07:12:06Z minchau $
29 public class String extends UnaryOperation class in inherits:UnaryOperation
/external/v8/test/mjsunit/
H A Dvalue-wrapper.js94 assertEquals('[object String]', 'xxx'.ObjectToString());
105 String.prototype.TypeOfThis = TypeOfThis;
111 String.prototype.ObjectValueOf = Object.prototype.valueOf;
115 String.prototype.ObjectToString = Object.prototype.toString;
122 String.prototype.TypeOfThis = 'x';
128 String.prototype.TypeOfThis = TypeOfThis;
137 delete String.prototype.TypeOfThis;
143 String.prototype.TypeOfThis = TypeOfThis;
102 String.prototype.TypeOfThis = TypeOfThis; class
H A Deval-stack-trace.js39 String.prototype.contains = function(pattern) {
37 String.prototype.contains = function(pattern) { class
H A Dvalue-callic-prototype-change.js38 var s = String.fromCharCode(i);
42 String.prototype.toString = function() { return "ostehaps"; };
45 var s = String.fromCharCode(i);
40 String.prototype.toString = function() { return "ostehaps"; }; class
H A Dstring-charat.js86 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,
232 String.prototype.charAt = function() { return "%"; };
238 delete String.prototype.charAt; // Restore the default.
247 String.prototype.charCodeAt = function() { return 42; };
253 delete String.prototype.charCodeAt; // Restore the default.
231 String.prototype.charAt = function() { return "%"; }; class
H A Dstring-charcodeat.js98 n.charCodeAt = String.prototype.charCodeAt;
106 n.charCodeAt = String.prototype.charCodeAt;
179 this.charCodeAt = String.prototype.charCodeAt;
218 String.prototype.x = String.prototype.charCodeAt;
211 String.prototype.x = String.prototype.charCodeAt; class
H A Dkeyed-call-generic.js45 toStringNonSymbol += 'String';
53 String.prototype.type = TypeOfThis;
52 String.prototype.type = TypeOfThis; class
/external/v8/test/webkit/fast/js/
H A Dprimitive-property-access-edge-cases.js31 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)");
46 String.prototype.x = 1; class
[all...]
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
H A Dgtest-string.h34 // This header file declares the String class and functions used internally by
57 // String - a UTF-8 string class.
64 // Note that String can represent both NULL and the empty string,
79 // In order to make the representation efficient, the d'tor of String
80 // is not virtual. Therefore DO NOT INHERIT FROM String.
81 class GTEST_API_ String { class in namespace:testing::internal
92 static String ShowCStringQuoted(const char* c_str);
136 // Converts a wide C string to a String using the UTF-8 encoding.
140 static String ShowWideCString(const wchar_t* wide_c_str);
144 static String ShowWideCStringQuote
192 String() : c_str_(NULL), length_(0) {} function in class:testing::internal::String
195 String(const char* a_c_str) { // NOLINT function in class:testing::internal::String
208 String(const char* buffer, size_t a_length) { function in class:testing::internal::String
214 String(const String& str) : c_str_(NULL), length_(0) { *this = str; } function in class:testing::internal::String
226 String(const ::std::string& str) { // NOLINT function in class:testing::internal::String
233 String(const ::string& str) { // NOLINT function in class:testing::internal::String
[all...]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-string.h34 // This header file declares the String class and functions used internally by
57 // String - a UTF-8 string class.
64 // Note that String can represent both NULL and the empty string,
79 // In order to make the representation efficient, the d'tor of String
80 // is not virtual. Therefore DO NOT INHERIT FROM String.
81 class GTEST_API_ String { class in namespace:testing::internal
92 static String ShowCStringQuoted(const char* c_str);
136 // Converts a wide C string to a String using the UTF-8 encoding.
140 static String ShowWideCString(const wchar_t* wide_c_str);
144 static String ShowWideCStringQuote
192 String() : c_str_(NULL), length_(0) {} function in class:testing::internal::String
195 String(const char* a_c_str) { // NOLINT function in class:testing::internal::String
208 String(const char* buffer, size_t a_length) { function in class:testing::internal::String
214 String(const String& str) : c_str_(NULL), length_(0) { *this = str; } function in class:testing::internal::String
226 String(const ::std::string& str) { function in class:testing::internal::String
233 String(const ::string& str) { function in class:testing::internal::String
[all...]
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-string.h34 // This header file declares the String class and functions used internally by
57 // String - a UTF-8 string class.
64 // Note that String can represent both NULL and the empty string,
79 // In order to make the representation efficient, the d'tor of String
80 // is not virtual. Therefore DO NOT INHERIT FROM String.
81 class GTEST_API_ String { class in namespace:testing::internal
92 static String ShowCStringQuoted(const char* c_str);
136 // Converts a wide C string to a String using the UTF-8 encoding.
140 static String ShowWideCString(const wchar_t* wide_c_str);
144 static String ShowWideCStringQuote
192 String() : c_str_(NULL), length_(0) {} function in class:testing::internal::String
195 String(const char* a_c_str) { // NOLINT function in class:testing::internal::String
208 String(const char* buffer, size_t a_length) { function in class:testing::internal::String
214 String(const String& str) : c_str_(NULL), length_(0) { *this = str; } function in class:testing::internal::String
226 String(const ::std::string& str) { function in class:testing::internal::String
233 String(const ::string& str) { function in class:testing::internal::String
[all...]
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-string.h34 // This header file declares the String class and functions used internally by
57 // String - a UTF-8 string class.
64 // Note that String can represent both NULL and the empty string,
79 // In order to make the representation efficient, the d'tor of String
80 // is not virtual. Therefore DO NOT INHERIT FROM String.
81 class GTEST_API_ String { class in namespace:testing::internal
92 static String ShowCStringQuoted(const char* c_str);
136 // Converts a wide C string to a String using the UTF-8 encoding.
140 static String ShowWideCString(const wchar_t* wide_c_str);
144 static String ShowWideCStringQuote
192 String() : c_str_(NULL), length_(0) {} function in class:testing::internal::String
195 String(const char* a_c_str) { // NOLINT function in class:testing::internal::String
208 String(const char* buffer, size_t a_length) { function in class:testing::internal::String
214 String(const String& str) : c_str_(NULL), length_(0) { *this = str; } function in class:testing::internal::String
226 String(const ::std::string& str) { function in class:testing::internal::String
233 String(const ::string& str) { function in class:testing::internal::String
[all...]
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
H A Dp6.cpp46 struct String {}; struct
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/clang/tools/libclang/
H A DCXString.h39 /// CXString may contain a pointer to \p String.
41 /// \p String should not be changed by the caller afterwards.
42 CXString createRef(const char *String);
45 /// CXString will contain a copy of \p String.
47 /// \p String can be changed or freed by the caller.
48 CXString createDup(const char *String);
51 /// contain a pointer to the undrelying data of \p String.
53 /// \p String should not be changed by the caller afterwards.
54 CXString createRef(StringRef String);
57 /// contain a copy of \p String
66 CXString createRef(std::string String) = delete; member in namespace:clang::cxstring
[all...]
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DElementAndAttributePolicies.java43 final String elementName;
46 final ImmutableMap<String, AttributePolicy> attrPolicies;
50 String elementName,
52 Map<? extends String, ? extends AttributePolicy>
65 ImmutableMap.Builder<String, AttributePolicy> joinedAttrPolicies
67 for (Map.Entry<String, AttributePolicy> e : this.attrPolicies.entrySet()) {
68 String attrName = e.getKey();
76 for (Map.Entry<String, AttributePolicy> e : p.attrPolicies.entrySet()) {
77 String attrName = e.getKey();
104 Map<String, AttributePolic
49 ElementAndAttributePolicies( String elementName, ElementPolicy elPolicy, Map<? extends String, ? extends AttributePolicy> attrPolicies, boolean skipIfEmpty) argument
[all...]
/external/llvm/lib/DebugInfo/DWARF/
H A DSyntaxHighlighting.h20 enum HighlightColor { Address, String, Tag, Attribute, Enumerator, Macro }; enumerator in enum:llvm::dwarf::syntax::HighlightColor
28 /// To be used like this: WithColor(OS, syntax::String) << "text";
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dcore-extensions.rb4 class String class
190 if list.empty? then list << String.new( File::Separator )
/external/clang/tools/scan-build/share/scan-build/
H A Dsorttable.js466 String.forEach = function(string, block, context) {
485 resolve = String;
/external/llvm/lib/Support/
H A DRegex.cpp59 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ argument
66 pm[0].rm_eo = String.size();
68 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND);
90 Matches->push_back(StringRef(String.data()+pm[i].rm_so,
98 std::string Regex::sub(StringRef Repl, StringRef String, argument
106 if (!match(String, &Matches))
107 return String;
111 std::string Res(String.begin(), Matches[0].begin());
169 Res += StringRef(Matches[0].end(), String.end() - Matches[0].end());
184 std::string Regex::escape(StringRef String) { argument
[all...]

Completed in 864 milliseconds

123456