Lines Matching refs:string
1 #include <string.h>
12 #include "v8-version-string.h"
38 // n-api defines JSVM_AUTO_LENGTH as the indicator that a string
231 static std::unordered_map<std::string, std::string> sourceMapUrlMap;
242 static void SetFileToSourceMapMapping(std::string &&file, std::string &&sourceMapUrl) {
252 static std::string GetSourceMapFromFileName(std::string &&file) {
348 char* string,
352 : TrackedStringResource(env, finalizeCallback, string, finalizeHint),
353 string_(string),
368 char16_t* string,
372 : TrackedStringResource(env, finalizeCallback, string, finalizeHint),
373 string_(reinterpret_cast<uint16_t*>(string)),
1360 static bool LoadStringFromFile(const std::string& filePath, std::string& content)
1379 static bool ProcessBundleName(std::string& bundleName)
1382 std::string filePath = "/proc/" + std::to_string(pid) + "/cmdline";
1390 if (pos != std::string::npos) {
1406 std::string bundleName;
1692 std::string fileName = "";
1699 fileName = std::string(*v8::String::Utf8Value(isolate, fileNameObj.ToLocalChecked()));
1703 std::string content = "";
2051 std::string inspectorPath;
2052 std::string hostName(host);
2102 "A string was expected",
2103 "A string or symbol was expected",
2140 // message string
3639 // Copies a JavaScript string into a LATIN-1 string buffer. The result is the
3641 // A sufficient buffer size should be greater than the length of string,
3643 // If bufsize is insufficient, the string will be truncated and null terminated.
3644 // If buf is NULL, this method returns the length of the string (in bytes)
3677 // Copies a JavaScript string into a UTF-8 string buffer. The result is the
3679 // A sufficient buffer size should be greater than the length of string,
3681 // If bufsize is insufficient, the string will be truncated and null terminated.
3682 // If buf is NULL, this method returns the length of the string (in bytes)
3715 // Copies a JavaScript string into a UTF-16 string buffer. The result is the
3717 // A sufficient buffer size should be greater than the length of string,
3719 // If bufsize is insufficient, the string will be truncated and null terminated.
3720 // If buf is NULL, this method returns the length of the string (in 2-byte
3788 GEN_COERCE_FUNCTION(STRING, String, string)
5267 std::string path(name ? name : "jsvm");