Home
last modified time | relevance | path

Searched refs:UString (Results 1 – 25 of 222) sorted by relevance

123456789

/external/webkit/Source/JavaScriptCore/runtime/
DUString.h30 class UString {
33 UString() { } in UString() function
36 UString(const UChar* characters, unsigned length);
39 UString(const UChar*);
42 UString(const char* characters, unsigned length);
45 UString(const char* characters);
48 UString(StringImpl* impl) : m_impl(impl) { } in UString() function
49 UString(PassRefPtr<StringImpl> impl) : m_impl(impl) { } in UString() function
50 UString(RefPtr<StringImpl> impl) : m_impl(impl) { } in UString() function
53 ALWAYS_INLINE ~UString() { } in ~UString()
[all …]
DUString.cpp57 COMPILE_ASSERT(sizeof(UString) == sizeof(void*), UString_should_stay_small);
60 UString::UString(const UChar* characters, unsigned length) in UString() function in JSC::UString
66 UString::UString(const UChar* characters) in UString() function in JSC::UString
79 UString::UString(const char* characters, unsigned length) in UString() function in JSC::UString
85 UString::UString(const char* characters) in UString() function in JSC::UString
90 UString UString::number(int i) in number()
101 return UString(minBuf); in number()
116 return UString(p, static_cast<unsigned>(end - p)); in number()
119 UString UString::number(long long i) in number()
134 return UString(minBuf); in number()
[all …]
DError.h37 class UString; variable
40 JSObject* createError(JSGlobalObject*, const UString&);
41 JSObject* createEvalError(JSGlobalObject*, const UString&);
42 JSObject* createRangeError(JSGlobalObject*, const UString&);
43 JSObject* createReferenceError(JSGlobalObject*, const UString&);
44 JSObject* createSyntaxError(JSGlobalObject*, const UString&);
45 JSObject* createTypeError(JSGlobalObject*, const UString&);
46 JSObject* createURIError(JSGlobalObject*, const UString&);
48 JSObject* createError(ExecState*, const UString&);
49 JSObject* createEvalError(ExecState*, const UString&);
[all …]
DError.cpp42 JSObject* createError(JSGlobalObject* globalObject, const UString& message) in createError()
48 JSObject* createEvalError(JSGlobalObject* globalObject, const UString& message) in createEvalError()
54 JSObject* createRangeError(JSGlobalObject* globalObject, const UString& message) in createRangeError()
60 JSObject* createReferenceError(JSGlobalObject* globalObject, const UString& message) in createReferenceError()
66 JSObject* createSyntaxError(JSGlobalObject* globalObject, const UString& message) in createSyntaxError()
72 JSObject* createTypeError(JSGlobalObject* globalObject, const UString& message) in createTypeError()
78 JSObject* createURIError(JSGlobalObject* globalObject, const UString& message) in createURIError()
84 JSObject* createError(ExecState* exec, const UString& message) in createError()
89 JSObject* createEvalError(ExecState* exec, const UString& message) in createEvalError()
94 JSObject* createRangeError(ExecState* exec, const UString& message) in createRangeError()
[all …]
DJSString.h40 JSString* jsString(JSGlobalData*, const UString&); // returns empty string if passed null string
41 JSString* jsString(ExecState*, const UString&); // returns empty string if passed null string
45 JSString* jsSingleCharacterSubstring(ExecState*, const UString&, unsigned offset);
46 JSString* jsSubstring(JSGlobalData*, const UString&, unsigned offset, unsigned length);
47 JSString* jsSubstring(ExecState*, const UString&, unsigned offset, unsigned length);
51 JSString* jsNontrivialString(JSGlobalData*, const UString&);
52 JSString* jsNontrivialString(ExecState*, const UString&);
59 JSString* jsOwnedString(JSGlobalData*, const UString&);
60 JSString* jsOwnedString(ExecState*, const UString&);
63 …JSString* jsStringWithFinalizer(ExecState*, const UString&, JSStringFinalizerCallback callback, vo…
[all …]
DNumericStrings.h37 UString add(double d) in add()
43 entry.value = UString::number(d); in add()
47 UString add(int i) in add()
55 entry.value = UString::number(i); in add()
59 UString add(unsigned i) in add()
67 entry.value = UString::number(i); in add()
76 UString value;
82 const UString& lookupSmallString(unsigned i) in lookupSmallString()
86 smallIntCache[i] = UString::number(i); in lookupSmallString()
93 FixedArray<UString, cacheSize> smallIntCache;
DRegExp.h36 RegExpFlags regExpFlags(const UString&);
40 … static PassRefPtr<RegExp> create(JSGlobalData* globalData, const UString& pattern, RegExpFlags);
47 const UString& pattern() const { return m_patternString; } in pattern()
52 int match(const UString&, int startOffset, Vector<int, 32>* ovector = 0);
60 RegExp(JSGlobalData* globalData, const UString& pattern, RegExpFlags);
71 …void matchCompareWithInterpreter(const UString&, int startOffset, int* offsetVector, int jitResult…
74 UString m_patternString;
DUStringConcatenate.h35 class StringTypeAdapter<JSC::UString> {
37 StringTypeAdapter<JSC::UString>(JSC::UString& string)
61 UString makeUString(StringType1 string1, StringType2 string2) in makeUString()
70 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3) in makeUString()
79 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 stri… in makeUString()
88 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 stri… in makeUString()
97 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 stri… in makeUString()
106 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 stri… in makeUString()
115 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 stri… in makeUString()
DExceptionHelpers.cpp53 virtual UString toString(ExecState*) const { return "JavaScript execution exceeded timeout."; } in toString()
70 virtual UString toString(ExecState*) const { return "JavaScript execution terminated."; } in toString()
90 UString message(makeUString("Can't find variable: ", ident.ustring())); in createUndefinedVariableError()
96UString errorMessage = makeUString("'", value.toString(exec), "' is not a valid argument for '", o… in createInvalidParamError()
105 UString errorMessage = makeUString("'", value.toString(exec), "' is not a constructor"); in createNotAConstructorError()
114 UString errorMessage = makeUString("'", value.toString(exec), "' is not a function"); in createNotAFunctionError()
123 UString errorMessage = makeUString("'", value.toString(exec), "' is not an object"); in createNotAnObjectError()
130 JSObject* createErrorForInvalidGlobalAssignment(ExecState* exec, const UString& propertyName) in createErrorForInvalidGlobalAssignment()
DStringPrototype.cpp156 static NEVER_INLINE UString substituteBackreferencesSlow(const UString& replacement, const UString&… in substituteBackreferencesSlow()
219 return UString::adopt(substitutedReplacement); in substituteBackreferencesSlow()
222 static inline UString substituteBackreferences(const UString& replacement, const UString& source, c… in substituteBackreferences()
230 static inline int localeCompare(const UString& a, const UString& b) in localeCompare()
251 …* exec, JSString* sourceVal, const UString& source, const StringRange* substringRanges, int rangeC… in jsSpliceSubstringsWithSeparators()
304 UString replacementString; in stringProtoFuncReplace()
311 const UString& source = sourceVal->value(exec); in stringProtoFuncReplace()
324 Vector<UString, 16> replacements; in stringProtoFuncReplace()
417 replacements.append(UString()); in stringProtoFuncReplace()
444 UString patternString = pattern.toString(exec); in stringProtoFuncReplace()
[all …]
DInternalFunction.cpp51 const UString& InternalFunction::name(ExecState* exec) in name()
56 const UString InternalFunction::displayName(ExecState* exec) in displayName()
63 return UString(); in displayName()
66 const UString InternalFunction::calculatedDisplayName(ExecState* exec) in calculatedDisplayName()
68 const UString explicitName = displayName(exec); in calculatedDisplayName()
DRegExpConstructor.h50 UString input;
51 UString lastInput;
73 …void performMatch(RegExp*, const UString&, int startOffset, int& position, int& length, int** ovec…
76 void setInput(const UString&);
77 const UString& input() const;
112 …ALWAYS_INLINE void RegExpConstructor::performMatch(RegExp* r, const UString& s, int startOffset, i… in performMatch()
/external/icu4c/tools/genrb/
Dustr.h52 struct UString { struct
58 U_CFUNC void ustr_init(struct UString *s); argument
61 ustr_initChars(struct UString *s, const char* source, int32_t length, UErrorCode *status);
63 U_CFUNC void ustr_deinit(struct UString *s);
65 U_CFUNC void ustr_setlen(struct UString *s, int32_t len, UErrorCode *status);
67 U_CFUNC void ustr_cpy(struct UString *dst, const struct UString *src,
70 U_CFUNC void ustr_cat(struct UString *dst, const struct UString *src,
73 U_CFUNC void ustr_ncat(struct UString *dst, const struct UString *src,
76 U_CFUNC void ustr_ucat(struct UString *dst, UChar c, UErrorCode *status);
77 U_CFUNC void ustr_u32cat(struct UString *dst, UChar32 c, UErrorCode *status);
[all …]
Dustr.c26 static void ustr_resize(struct UString *s, int32_t len, UErrorCode *status);
32 ustr_init(struct UString *s) in ustr_init()
39 ustr_initChars(struct UString *s, const char* source, int32_t length, UErrorCode *status) in ustr_initChars()
70 ustr_deinit(struct UString *s) in ustr_deinit()
80 ustr_cpy(struct UString *dst, in ustr_cpy()
81 const struct UString *src, in ustr_cpy()
101 ustr_setlen(struct UString *s, in ustr_setlen()
119 ustr_cat(struct UString *dst, in ustr_cat()
120 const struct UString *src, in ustr_cat()
127 ustr_ncat(struct UString *dst, in ustr_ncat()
[all …]
Dreslist.h68 struct SRBRoot *bundle_open(const struct UString* comment, UBool isPoolBundle, UErrorCode *status);
113 struct SResource* table_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment…
122 struct SResource* array_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment…
133 … *bundle, const char *tag, const UChar *value, int32_t len, const struct UString* comment, UErrorC…
142 …RBRoot *bundle, const char *tag, UChar *value, int32_t len, const struct UString* comment, UErrorC…
149 struct SResource* intvector_open(struct SRBRoot *bundle, const char *tag, const struct UString* co…
156 …pen(struct SRBRoot *bundle, const char *tag, int32_t value, const struct UString* comment, UErrorC…
164 …*tag, uint32_t length, uint8_t *data, const char* fileName, const struct UString* comment, UErrorC…
175 struct UString fComment;
Dread.c42 struct UString *token,
45 static UChar32 getNextChar (UCHARBUF *buf, UBool skipwhite, struct UString *token, UError…
46 static void seekUntilNewline (UCHARBUF *buf, struct UString *token, UErrorCode *status);
47 static void seekUntilEndOfComment (UCHARBUF *buf, struct UString *token, UErrorCode *status);
65 struct UString *token, in getNextToken()
67 struct UString *comment, in getNextToken()
120 struct UString *token, in getStringToken()
321 struct UString *token, in getNextChar()
377 struct UString *token, in seekUntilNewline()
395 struct UString *token, in seekUntilEndOfComment()
/external/webkit/Source/JavaScriptCore/parser/
DSourceProvider.h43 SourceProvider(const UString& url, SourceProviderCache* cache = 0)
56 virtual UString getRange(int start, int end) const = 0;
60 const UString& url() { return m_url; } in url()
73 UString m_url;
81 static PassRefPtr<UStringSourceProvider> create(const UString& source, const UString& url) in create()
86 UString getRange(int start, int end) const in getRange()
94 UStringSourceProvider(const UString& source, const UString& url) in UStringSourceProvider()
100 UString m_source;
DSourceCode.h63 UString toString() const in toString()
66 return UString(); in toString()
85 …inline SourceCode makeSource(const UString& source, const UString& url = UString(), int firstLine …
/external/webkit/Source/JavaScriptCore/profiler/
DProfiler.h45 class UString; variable
57 …static CallIdentifier createCallIdentifier(ExecState* exec, JSValue, const UString& sourceURL, int…
59 void startProfiling(ExecState*, const UString& title);
60 PassRefPtr<Profile> stopProfiling(ExecState*, const UString& title);
64 … void willExecute(ExecState* callerCallFrame, const UString& sourceURL, int startingLineNumber);
66 … void didExecute(ExecState* callerCallFrame, const UString& sourceURL, int startingLineNumber);
DCallIdentifier.h39 UString m_name;
40 UString m_url;
48 CallIdentifier(const UString& name, const UString& url, int lineNumber) in CallIdentifier()
90 …new (&slot) JSC::CallIdentifier(JSC::UString(), JSC::UString(), std::numeric_limits<unsigned>::max…
DProfile.h38 static PassRefPtr<Profile> create(const UString& title, unsigned uid);
41 const UString& title() const { return m_title; } in title()
59 Profile(const UString& title, unsigned uid);
65 UString m_title;
DProfileGenerator.h40 class UString; variable
45 static PassRefPtr<ProfileGenerator> create(ExecState*, const UString& title, unsigned uid);
48 const UString& title() const;
65 ProfileGenerator(ExecState*, const UString& title, unsigned uid);
/external/webkit/Source/JavaScriptCore/API/
DOpaqueJSString.cpp35 PassRefPtr<OpaqueJSString> OpaqueJSString::create(const UString& ustring) in create()
42 UString OpaqueJSString::ustring() const in ustring()
45 return UString(m_characters, m_length); in ustring()
46 return UString(); in ustring()
/external/webkit/Source/JavaScriptCore/debugger/
DDebuggerCallFrame.cpp39 const UString* DebuggerCallFrame::functionName() const in functionName()
53 UString DebuggerCallFrame::calculatedFunctionName() const in calculatedFunctionName()
56 return UString(); in calculatedFunctionName()
60 return UString(); in calculatedFunctionName()
86 JSValue DebuggerCallFrame::evaluate(const UString& script, JSValue& exception) const in evaluate()
/external/webkit/Source/WebCore/bindings/js/
DJSLocationCustom.cpp180 UString href = value.toString(exec); in setHref()
188 UString protocol = value.toString(exec); in setProtocol()
198 UString host = value.toString(exec); in setHost()
206 UString hostname = value.toString(exec); in setHostname()
214 UString port = value.toString(exec); in setPort()
222 UString pathname = value.toString(exec); in setPathname()
230 UString pathname = value.toString(exec); in setSearch()
238 UString hash = value.toString(exec); in setHash()
246 UString urlString = exec->argument(0).toString(exec); in replace()
261 UString urlString = exec->argument(0).toString(exec); in assign()

123456789