Home
last modified time | relevance | path

Searched refs:String16 (Results 1 – 25 of 54) sorted by relevance

123

/external/v8/src/inspector/
Dstring-16.h19 class String16 {
23 String16() {} in String16() function
24 String16(const String16& other) in String16() function
26 String16(const String16&& other) in String16() function
28 String16(const UChar* characters, size_t size) : m_impl(characters, size) {} in String16() function
29 String16(const UChar* characters) // NOLINT(runtime/explicit) in String16() function
31 String16(const char* characters) // NOLINT(runtime/explicit) in String16() function
32 : String16(characters, std::strlen(characters)) {} in String16()
33 String16(const char* characters, size_t size) { in String16() function
37 explicit String16(const std::basic_string<UChar>& impl) : m_impl(impl) {} in String16() function
[all …]
Dv8-debugger-agent-impl.h57 int lineNumber, Maybe<String16> optionalURL,
58 Maybe<String16> optionalURLRegex, Maybe<int> optionalColumnNumber,
59 Maybe<String16> optionalCondition, String16*,
64 Maybe<String16> optionalCondition, String16*,
66 Response removeBreakpoint(const String16& breakpointId) override;
70 const String16& scriptId, const String16& query,
80 const String16& inScriptId, const String16& inScriptSource,
87 const String16& callFrameId,
91 Response getScriptSource(const String16& scriptId,
92 String16* scriptSource) override;
[all …]
Dsearch-util.cc16 String16 findMagicComment(const String16& content, const String16& name, in findMagicComment()
18 DCHECK(name.find("=") == String16::kNotFound); in findMagicComment()
27 if (pos == String16::kNotFound) return String16(); in findMagicComment()
30 if (pos < 4) return String16(); in findMagicComment()
42 if (closingCommentPos == String16::kNotFound) return String16(); in findMagicComment()
51 String16 match = multiline in findMagicComment()
56 if (newLine != String16::kNotFound) match = match.substring(0, newLine); in findMagicComment()
67 String16 createSearchRegexSource(const String16& text) { in createSearchRegexSource()
83 std::unique_ptr<std::vector<size_t>> lineEndings(const String16& text) { in lineEndings()
86 const String16 lineEndString = "\n"; in lineEndings()
[all …]
Dv8-debugger-script.h48 const String16& scriptId() const { return m_id; } in scriptId()
49 const String16& url() const { return m_url; } in url()
51 const String16& sourceURL() const;
52 const String16& sourceMappingURL() const { return m_sourceMappingURL; } in sourceMappingURL()
54 const String16& hash() const { return m_hash; } in hash()
60 const String16& executionContextAuxData() const { in executionContextAuxData()
65 void setSourceURL(const String16&);
66 void setSourceMappingURL(const String16&);
75 String16 m_id;
76 String16 m_url;
[all …]
Dv8-stack-trace-impl.h32 Frame(const String16& functionName, const String16& scriptId,
33 const String16& scriptName, int lineNumber, int column = 0);
36 const String16& functionName() const { return m_functionName; } in functionName()
37 const String16& scriptId() const { return m_scriptId; } in scriptId()
38 const String16& sourceURL() const { return m_scriptName; } in sourceURL()
48 String16 m_functionName;
49 String16 m_scriptId;
50 String16 m_scriptName;
59 size_t maxStackSize, const String16& description = String16());
62 const String16& description = String16());
[all …]
Dv8-runtime-agent-impl.h62 void evaluate(const String16& expression, Maybe<String16> objectGroup,
68 void awaitPromise(const String16& promiseObjectId, Maybe<bool> returnByValue,
72 const String16& objectId, const String16& expression,
78 Response releaseObject(const String16& objectId) override;
80 const String16& objectId, Maybe<bool> ownProperties,
87 Response releaseObjectGroup(const String16& objectGroup) override;
91 Response compileScript(const String16& expression, const String16& sourceURL,
93 Maybe<String16>*,
95 void runScript(const String16&, Maybe<int> executionContextId,
96 Maybe<String16> objectGroup, Maybe<bool> silent,
[all …]
Dstring-util.cc11 v8::Local<v8::String> toV8String(v8::Isolate* isolate, const String16& string) { in toV8String()
21 const String16& string) { in toV8StringInternalized()
52 String16 toProtocolString(v8::Local<v8::String> value) { in toProtocolString()
54 return String16(); in toProtocolString()
57 return String16(buffer.get(), value->Length()); in toProtocolString()
60 String16 toProtocolStringWithTypeCheck(v8::Local<v8::Value> value) { in toProtocolStringWithTypeCheck()
61 if (value.IsEmpty() || !value->IsString()) return String16(); in toProtocolStringWithTypeCheck()
65 String16 toString16(const StringView& string) { in toString16()
66 if (!string.length()) return String16(); in toString16()
68 return String16(reinterpret_cast<const char*>(string.characters8()), in toString16()
[all …]
Dstring-util.h19 using String = v8_inspector::String16;
39 std::unique_ptr<protocol::Value> parseJSON(const String16& json);
43 v8::Local<v8::String> toV8String(v8::Isolate*, const String16&);
44 v8::Local<v8::String> toV8StringInternalized(v8::Isolate*, const String16&);
48 String16 toProtocolString(v8::Local<v8::String>);
49 String16 toProtocolStringWithTypeCheck(v8::Local<v8::Value>);
50 String16 toString16(const StringView&);
51 StringView toStringView(const String16&);
57 static std::unique_ptr<StringBufferImpl> adopt(String16&);
61 explicit StringBufferImpl(String16&);
[all …]
Dstring-16.cc369 String16 String16::fromInteger(int number) { in fromInteger()
373 return String16(buffer); in fromInteger()
377 String16 String16::fromInteger(size_t number) { in fromInteger()
385 return String16(buffer); in fromInteger()
389 String16 String16::fromDouble(double number) { in fromDouble()
394 return String16(s.str().c_str()); in fromDouble()
398 String16 String16::fromDouble(double number, int precision) { in fromDouble()
402 return String16(s.str().c_str()); in fromDouble()
405 int String16::toInteger(bool* ok) const { in toInteger()
409 String16 String16::stripWhiteSpace() const { in stripWhiteSpace()
[all …]
Dinjected-script.h62 v8::Local<v8::Object>, const String16& groupName, bool ownProperties,
67 void releaseObject(const String16& objectId);
70 v8::Local<v8::Value>, const String16& groupName, bool forceValueType,
74 const String16& groupName,
79 const String16& groupName,
86 String16 objectGroupName(const RemoteObjectId&) const;
87 void releaseObjectGroup(const String16&);
93 const v8::TryCatch&, const String16& groupName, bool generatePreview,
97 const String16& objectGroup, bool returnByValue, bool generatePreview,
150 const String16& remoteObjectId);
[all …]
Dv8-debugger-agent-impl.cc63 static String16 breakpointIdSuffix( in breakpointIdSuffix()
73 return String16(); in breakpointIdSuffix()
76 static String16 generateBreakpointId( in generateBreakpointId()
77 const String16& scriptId, int lineNumber, int columnNumber, in generateBreakpointId()
96 const String16& scriptId, int lineNumber, int columnNumber) { in buildProtocolLocation()
176 m_continueToLocationBreakpointId = String16(); in disable()
214 String16 blackboxPattern; in restore()
234 buildObjectForBreakpointCookie(const String16& url, int lineNumber, in buildObjectForBreakpointCookie()
235 int columnNumber, const String16& condition, in buildObjectForBreakpointCookie()
247 static bool matches(V8InspectorImpl* inspector, const String16& url, in matches()
[all …]
Dsearch-util.h15 String16 findSourceURL(const String16& content, bool multiline);
16 String16 findSourceMapURL(const String16& content, bool multiline);
18 searchInTextByLinesImpl(V8InspectorSession*, const String16& text,
19 const String16& query, bool caseSensitive,
Dv8-console-message.h52 double timestamp, const String16& detailedMessage, const String16& url,
55 const String16& message, int contextId, v8::Local<v8::Value> exception,
59 double timestamp, const String16& message, unsigned revokedExceptionId);
69 V8ConsoleMessage(V8MessageOrigin, double timestamp, const String16& message);
76 void setLocation(const String16& url, unsigned lineNumber,
82 String16 m_message;
83 String16 m_url;
93 String16 m_detailedMessage;
Dv8-debugger-script.cc26 static String16 calculateHash(const String16& str) { in calculateHash()
74 m_id = String16::fromInteger(script->Id()); in V8DebuggerScript()
101 String16 contextData = toProtocolString(tmp); in V8DebuggerScript()
103 size_t secondComma = firstComma != String16::kNotFound in V8DebuggerScript()
105 : String16::kNotFound; in V8DebuggerScript()
106 if (secondComma != String16::kNotFound) { in V8DebuggerScript()
107 String16 executionContextId = in V8DebuggerScript()
120 String16 source = toProtocolString(tmp); in V8DebuggerScript()
134 const String16& V8DebuggerScript::sourceURL() const { in sourceURL()
142 void V8DebuggerScript::setSourceURL(const String16& sourceURL) { in setSourceURL()
[all …]
Dinjected-script-native.h25 int bind(v8::Local<v8::Value>, const String16& groupName);
29 void releaseObjectGroup(const String16& groupName);
30 String16 groupName(int objectId) const;
33 void addObjectToGroup(int objectId, const String16& groupName);
39 typedef protocol::HashMap<int, String16> IdToObjectGroupName;
41 typedef protocol::HashMap<String16, std::vector<int>> NameToObjectGroup;
Dinspected-context.h27 String16 origin() const { return m_origin; } in origin()
28 String16 humanReadableName() const { return m_humanReadableName; } in humanReadableName()
29 String16 auxData() const { return m_auxData; } in auxData()
49 const String16 m_origin;
50 const String16 m_humanReadableName;
51 const String16 m_auxData;
Dv8-profiler-agent-impl.h40 void consoleProfile(const String16& title);
41 void consoleProfileEnd(const String16& title);
49 String16 nextProfileId();
51 void startProfiling(const String16& title);
53 const String16& title, bool serialize);
66 String16 m_frontendInitiatedProfileId;
Dv8-profiler-agent-impl.cc54 .setScriptId(String16::fromInteger(node->GetScriptId())) in buildInspectorObjectFor()
144 ProfileDescriptor(const String16& id, const String16& title) in ProfileDescriptor()
146 String16 m_id;
147 String16 m_title;
165 void V8ProfilerAgentImpl::consoleProfile(const String16& title) { in consoleProfile()
167 String16 id = nextProfileId(); in consoleProfile()
174 void V8ProfilerAgentImpl::consoleProfileEnd(const String16& title) { in consoleProfileEnd()
176 String16 id; in consoleProfileEnd()
177 String16 resolvedTitle; in consoleProfileEnd()
271 m_frontendInitiatedProfileId = String16(); in stop()
[all …]
Dremote-object-id.cc15 RemoteObjectIdBase::parseInjectedScriptId(const String16& objectId) { in parseInjectedScriptId()
30 Response RemoteObjectId::parse(const String16& objectId, in parse()
46 Response RemoteCallFrameId::parse(const String16& objectId, in parse()
60 String16 RemoteCallFrameId::serialize(int injectedScriptId, int frameOrdinal) { in serialize()
61 return "{\"ordinal\":" + String16::fromInteger(frameOrdinal) + in serialize()
62 ",\"injectedScriptId\":" + String16::fromInteger(injectedScriptId) + in serialize()
Dv8-stack-trace-impl.cc27 String16 scriptId = String16::fromInteger(frame->GetScriptId()); in toFrame()
28 String16 sourceName; in toFrame()
33 String16 functionName; in toFrame()
66 V8StackTraceImpl::Frame::Frame(const String16& functionName, in Frame()
67 const String16& scriptId, in Frame()
68 const String16& scriptName, int lineNumber, in Frame()
111 const String16& description) { in create()
159 const String16& description) { in capture()
193 const String16& description, in V8StackTraceImpl()
272 stackTrace.append(String16::fromInteger(frame.lineNumber())); in toString()
[all …]
Dv8-console.cc79 const String16& message) { in reportCallWithDefaultArgument()
86 void reportCallWithArgument(ConsoleAPIType type, const String16& message) { in reportCallWithArgument()
106 void reportDeprecatedCall(const char* id, const String16& message) { in reportDeprecatedCall()
119 String16 firstArgToString(const String16& defaultValue) { in firstArgToString()
165 int32_t getIntFromMap(v8::Local<v8::Map> map, const String16& key, in getIntFromMap()
174 void setIntOnMap(v8::Local<v8::Map> map, const String16& key, int32_t value) { in setIntOnMap()
181 double getDoubleFromMap(v8::Local<v8::Map> map, const String16& key, in getDoubleFromMap()
190 void setDoubleOnMap(v8::Local<v8::Map> map, const String16& key, in setDoubleOnMap()
318 String16("console.trace")); in traceCallback()
323 String16("console.group")); in groupCallback()
[all …]
Dv8-heap-profiler-agent-impl.h39 const String16& heapSnapshotObjectId, Maybe<String16> objectGroup,
42 const String16& inspectedHeapObjectId) override;
43 Response getHeapObjectId(const String16& objectId,
44 String16* heapSnapshotObjectId) override;
/external/chromium-libpac/src/
Dproxy_resolver_v8.h26 virtual void AlertMessage(android::String16 message) = 0;
27 virtual void ErrorMessage(android::String16 error) = 0;
60 virtual int GetProxyForURL(const android::String16 spec, const android::String16 host,
61 android::String16* results);
63 virtual int SetPacScript(const android::String16& script_data);
Dproxy_resolver_v8.cc68 static bool DoIsStringASCII(const android::String16& str) { in DoIsStringASCII()
77 bool IsStringASCII(const android::String16& str) { in IsStringASCII()
96 const android::String16& script_data) in V8ExternalStringFromScriptData()
108 const android::String16& script_data_;
158 android::String16 V8StringToUTF16(v8::Handle<v8::String> s) { in V8StringToUTF16()
162 android::String16 ret(buf, len); in V8StringToUTF16()
167 std::string UTF16ToASCII(const android::String16& str) { in UTF16ToASCII()
177 v8::Local<v8::String> UTF16StringToV8String(v8::Isolate* isolate, const android::String16& s) { in UTF16StringToV8String()
195 android::String16* utf16_result, in V8ObjectToUTF16String()
215 const android::String16 hostname_utf16 = V8StringToUTF16(args[0]->ToString()); in GetHostnameArgument()
[all …]
/external/chromium-libpac/test/
Dproxy_resolver_v8_unittest.cc52 virtual void AlertMessage(String16 message) { in AlertMessage()
60 virtual void ErrorMessage(const String16 message) { in ErrorMessage()
103 const String16 kQueryUrl("http://www.google.com");
104 const String16 kQueryHost("www.google.com");
105 String16 kResults;
107 String16 currentPac;
108 #define SCRIPT(x) (currentPac = String16(x))
120 std::vector<std::string> string16ToProxyList(String16 response) { in string16ToProxyList()
190 String16 queryUrl("http://query.com/path"); in TEST()
191 String16 queryHost("query.com"); in TEST()
[all …]

123