Home
last modified time | relevance | path

Searched refs:UString (Results 1 – 25 of 223) 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.h39 struct UString { struct
45 void ustr_init(struct UString *s); argument
48 ustr_initChars(struct UString *s, const char* source, int32_t length, UErrorCode *status);
50 void ustr_deinit(struct UString *s);
52 void ustr_setlen(struct UString *s, int32_t len, UErrorCode *status);
54 void ustr_cpy(struct UString *dst, const struct UString *src,
57 void ustr_cat(struct UString *dst, const struct UString *src,
60 void ustr_ncat(struct UString *dst, const struct UString *src,
63 void ustr_ucat(struct UString *dst, UChar c, UErrorCode *status);
64 void ustr_u32cat(struct UString *dst, UChar32 c, UErrorCode *status);
[all …]
Dustr.c25 static void ustr_resize(struct UString *s, int32_t len, UErrorCode *status);
31 ustr_init(struct UString *s) in ustr_init()
38 ustr_initChars(struct UString *s, const char* source, int32_t length, UErrorCode *status) in ustr_initChars()
69 ustr_deinit(struct UString *s) in ustr_deinit()
79 ustr_cpy(struct UString *dst, in ustr_cpy()
80 const struct UString *src, in ustr_cpy()
100 ustr_setlen(struct UString *s, in ustr_setlen()
118 ustr_cat(struct UString *dst, in ustr_cat()
119 const struct UString *src, in ustr_cat()
126 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 …RBRoot *bundle, char *tag, const UChar *value, int32_t len, const struct UString* comment, UErrorC…
142 …ruct SRBRoot *bundle, char *tag, UChar *value, int32_t len, const struct UString* comment, UErrorC…
149 struct SResource* intvector_open(struct SRBRoot *bundle, char *tag, const struct UString* comment,…
156 struct SResource *int_open(struct SRBRoot *bundle, char *tag, int32_t value, const struct UString* …
164 …*tag, uint32_t length, uint8_t *data, const char* fileName, const struct UString* comment, UErrorC…
175 struct UString fComment;
Dread.c41 struct UString *token,
44 static UChar32 getNextChar (UCHARBUF *buf, UBool skipwhite, struct UString *token, UError…
45 static void seekUntilNewline (UCHARBUF *buf, struct UString *token, UErrorCode *status);
46 static void seekUntilEndOfComment (UCHARBUF *buf, struct UString *token, UErrorCode *status);
63 struct UString *token, in getNextToken()
65 struct UString *comment, in getNextToken()
118 struct UString *token, in getStringToken()
319 struct UString *token, in getNextChar()
375 struct UString *token, in seekUntilNewline()
393 struct UString *token, in seekUntilEndOfComment()
Dparse.c59 struct UString value;
60 struct UString comment;
95 ParseResourceFunction(ParseState* state, char *tag, uint32_t startline, const struct UString* comme…
97 static struct SResource *parseResource(ParseState* state, char *tag, const struct UString *comment,…
153 getToken(ParseState* state, struct UString **tokenValue, struct UString* comment, uint32_t *linenum… in getToken()
187 …eState* state, uint32_t lookaheadCount, struct UString **tokenValue, uint32_t *linenumber, struct in peekToken()
220 …(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *co… in expect()
247 static char *getInvariantString(ParseState* state, uint32_t *line, struct UString *comment, UErrorC… in getInvariantString()
249 struct UString *tokenValue; in getInvariantString()
280 parseUCARules(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UErr… in parseUCARules()
[all …]
/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()

123456789