/third_party/node/src/ |
D | node_v8_platform-inl.h | 37 per_process::metadata.versions.node.c_str()); in OnTraceEnabled() 45 trace_process->SetString(#key, per_process::metadata.versions.key.c_str()); in OnTraceEnabled() 52 trace_process->SetString("arch", per_process::metadata.arch.c_str()); in OnTraceEnabled() 54 per_process::metadata.platform.c_str()); in OnTraceEnabled() 58 per_process::metadata.release.name.c_str()); in OnTraceEnabled() 60 trace_process->SetString("lts", per_process::metadata.release.lts.c_str()); in OnTraceEnabled() 100 if (!per_process::cli_options->trace_event_categories.empty()) { in Initialize() 143 SplitString(per_process::cli_options->trace_event_categories, ","sv); in StartTracingAgent() 149 per_process::cli_options->trace_event_file_pattern)), in StartTracingAgent() 171 if (!per_process::cli_options->trace_event_categories.empty()) { in StartTracingAgent() [all …]
|
D | node.cc | 145 namespace per_process { namespace 342 if (per_process::cli_options->build_snapshot) { in StartExecution() 346 if (per_process::cli_options->print_help) { in StartExecution() 591 per_process::old_vectored_exception_handler = in PlatformInit() 725 Mutex::ScopedLock lock(per_process::cli_options_mutex); in ProcessGlobalArgs() 730 per_process::cli_options.get(), in ProcessGlobalArgs() 737 for (const std::string& cve : per_process::cli_options->security_reverts) { in ProcessGlobalArgs() 745 if (per_process::cli_options->disable_proto != "delete" && in ProcessGlobalArgs() 746 per_process::cli_options->disable_proto != "throw" && in ProcessGlobalArgs() 747 per_process::cli_options->disable_proto != "") { in ProcessGlobalArgs() [all …]
|
D | node_report_module.cc | 75 Mutex::ScopedLock lock(per_process::cli_options_mutex); in GetCompact() 76 info.GetReturnValue().Set(per_process::cli_options->report_compact); in GetCompact() 80 Mutex::ScopedLock lock(per_process::cli_options_mutex); in SetCompact() 84 per_process::cli_options->report_compact = compact; in SetCompact() 88 Mutex::ScopedLock lock(per_process::cli_options_mutex); in GetDirectory() 90 std::string directory = per_process::cli_options->report_directory; in GetDirectory() 96 Mutex::ScopedLock lock(per_process::cli_options_mutex); in SetDirectory() 100 per_process::cli_options->report_directory = *dir; in SetDirectory() 104 Mutex::ScopedLock lock(per_process::cli_options_mutex); in GetFilename() 106 std::string filename = per_process::cli_options->report_filename; in GetFilename() [all …]
|
D | node_process_object.cc | 111 versions, "node", per_process::metadata.versions.node); in CreateProcessObject() 122 #key, per_process::metadata.versions.key); \ in CreateProcessObject() 146 READONLY_STRING_PROPERTY(process, "arch", per_process::metadata.arch); in CreateProcessObject() 149 READONLY_STRING_PROPERTY(process, "platform", per_process::metadata.platform); in CreateProcessObject() 154 READONLY_STRING_PROPERTY(release, "name", per_process::metadata.release.name); in CreateProcessObject() 156 READONLY_STRING_PROPERTY(release, "lts", per_process::metadata.release.lts); in CreateProcessObject() 161 release, "sourceUrl", per_process::metadata.release.source_url); in CreateProcessObject() 163 release, "headersUrl", per_process::metadata.release.headers_url); in CreateProcessObject() 166 release, "libUrl", per_process::metadata.release.lib_url); in CreateProcessObject()
|
D | node_snapshotable.cc | 144 : is_debug(per_process::enabled_debug_list.enabled( in SnapshotSerializerDeserializer() 149 per_process::Debug( in Debug() 613 per_process::Debug(DebugCategory::MKSNAPSHOT, in Read() 645 per_process::Debug(DebugCategory::MKSNAPSHOT, in Read() 683 per_process::Debug(DebugCategory::MKSNAPSHOT, in Read() 712 per_process::Debug(DebugCategory::MKSNAPSHOT, "Read<RealmSerializeInfo>()\n"); in Read() 738 per_process::Debug(DebugCategory::MKSNAPSHOT, "Read<EnvSerializeInfo>()\n"); in Read() 790 per_process::Debug(DebugCategory::MKSNAPSHOT, "Read<SnapshotMetadata>()\n"); in Read() 905 if (metadata.node_version != per_process::metadata.versions.node) { in Check() 914 if (metadata.node_arch != per_process::metadata.arch) { in Check() [all …]
|
D | uv.cc | 30 namespace per_process { namespace 90 size_t errors_len = arraysize(per_process::uv_errors_map); in GetErrMap() 92 const auto& error = per_process::uv_errors_map[i]; in GetErrMap() 120 size_t errors_len = arraysize(per_process::uv_errors_map); in Initialize() 123 const auto& error = per_process::uv_errors_map[i]; in Initialize()
|
D | node_report.cc | 167 if (!per_process::cli_options->cmdline.empty()) { in WriteNodeReport() 169 for (const std::string& arg : per_process::cli_options->cmdline) { in WriteNodeReport() 282 writer->json_keyvalue("arch", per_process::metadata.arch); in PrintVersionInformation() 283 writer->json_keyvalue("platform", per_process::metadata.platform); in PrintVersionInformation() 629 (uv_hrtime() - per_process::node_start_time) / (NANOS_PER_SEC); in PrintResourceUsage() 721 Mutex::ScopedLock lock(per_process::env_var_mutex); in PrintSystemInformation() 810 #key, per_process::metadata.versions.key); \ in PrintComponentVersions() 829 writer->json_keyvalue("name", per_process::metadata.release.name); in PrintRelease() 831 writer->json_keyvalue("lts", per_process::metadata.release.lts); in PrintRelease() 836 per_process::metadata.release.headers_url); in PrintRelease() [all …]
|
D | node_revert.h | 27 namespace per_process { 52 per_process::reverted_cve |= 1 << cve; in Revert() 67 return per_process::reverted_cve & (1 << cve); in IsReverted()
|
D | node_options.cc | 34 namespace per_process { namespace 1027 Mutex::ScopedLock lock(per_process::cli_options_mutex); in GetBashCompletion() 1067 Mutex::ScopedLock lock(per_process::cli_options_mutex); in GetCLIOptions() 1082 auto original_per_isolate = per_process::cli_options->per_isolate; in GetCLIOptions() 1083 per_process::cli_options->per_isolate = env->isolate_data()->options(); in GetCLIOptions() 1084 auto original_per_env = per_process::cli_options->per_isolate->per_env; in GetCLIOptions() 1085 per_process::cli_options->per_isolate->per_env = env->options(); in GetCLIOptions() 1087 per_process::cli_options->per_isolate->per_env = original_per_env; in GetCLIOptions() 1088 per_process::cli_options->per_isolate = original_per_isolate; in GetCLIOptions() 1102 PerProcessOptions* opts = per_process::cli_options.get(); in GetCLIOptions()
|
D | node_env_var.cc | 68 namespace per_process { namespace 104 Mutex::ScopedLock lock(per_process::env_var_mutex); in Get() 141 Mutex::ScopedLock lock(per_process::env_var_mutex); in Set() 154 Mutex::ScopedLock lock(per_process::env_var_mutex); in Query() 181 Mutex::ScopedLock lock(per_process::env_var_mutex); in Delete() 189 Mutex::ScopedLock lock(per_process::env_var_mutex); in Enumerate()
|
D | node_errors.cc | 48 namespace per_process { namespace 311 Mutex::ScopedLock lock(per_process::tty_mutex); in AppendExceptionLine() 512 Mutex::ScopedLock lock(node::per_process::cli_options_mutex); in OnFatalError() 513 report_on_fatalerror = per_process::cli_options->report_on_fatalerror; in OnFatalError() 537 Mutex::ScopedLock lock(node::per_process::cli_options_mutex); in OOMErrorHandler() 538 report_on_fatalerror = per_process::cli_options->report_on_fatalerror; in OOMErrorHandler()
|
D | node_metadata.h | 129 namespace per_process {
|
D | node_metadata.cc | 38 namespace per_process { namespace
|
D | node_builtins.cc | 303 per_process::Debug(DebugCategory::CODE_CACHE, in LookupAndCompileInternal() 337 per_process::Debug(DebugCategory::CODE_CACHE, in LookupAndCompileInternal() 449 per_process::Debug(DebugCategory::CODE_CACHE, in CompileAllBuiltins()
|
D | node_process_methods.cc | 55 namespace per_process { namespace 229 Mutex::ScopedLock scoped_lock(per_process::umask_mutex); in Umask() 248 static_cast<double>(uv_hrtime() - per_process::node_start_time); in Uptime()
|
D | debug_utils.h | 172 namespace per_process {
|
D | inspector_agent.cc | 248 per_process::Debug(DebugCategory::INSPECTOR_SERVER, in dispatchProtocolMessage() 299 if (per_process::enabled_debug_list.enabled( in sendMessageToFrontend() 302 per_process::Debug(DebugCategory::INSPECTOR_SERVER, in sendMessageToFrontend()
|
D | debug_utils-inl.h | 208 namespace per_process {
|
/third_party/node/src/permission/ |
D | fs_permission.cc | 83 per_process::Debug(DebugCategory::PERMISSION_MODEL, in PrintTree() 88 per_process::Debug(DebugCategory::PERMISSION_MODEL, in PrintTree() 96 per_process::Debug(DebugCategory::PERMISSION_MODEL, in PrintTree() 103 per_process::Debug(DebugCategory::PERMISSION_MODEL, in PrintTree() 108 per_process::Debug(DebugCategory::PERMISSION_MODEL, in PrintTree() 221 if (UNLIKELY(per_process::enabled_debug_list.enabled( in Insert() 223 per_process::Debug(DebugCategory::PERMISSION_MODEL, "Inserting %s\n", path); in Insert()
|
/third_party/node/src/crypto/ |
D | crypto_util.cc | 122 if (per_process::cli_options->enable_fips_crypto || in ProcessFipsOptions() 123 per_process::cli_options->force_fips_crypto) { in ProcessFipsOptions() 156 Mutex::ScopedLock lock(per_process::cli_options_mutex); in InitCryptoOnce() 163 if (!per_process::cli_options->openssl_config.empty()) { in InitCryptoOnce() 164 const char* conf = per_process::cli_options->openssl_config.c_str(); in InitCryptoOnce() 171 if (per_process::cli_options->openssl_legacy_provider) { in InitCryptoOnce() 184 if (per_process::cli_options->secure_heap != 0) { in InitCryptoOnce() 186 per_process::cli_options->secure_heap, in InitCryptoOnce() 187 static_cast<int>(per_process::cli_options->secure_heap_min))) { in InitCryptoOnce() 215 Mutex::ScopedLock lock(per_process::cli_options_mutex); in GetFipsCrypto() [all …]
|
/third_party/node/src/api/ |
D | environment.cc | 92 if (zero_fill_field_ || per_process::cli_options->zero_fill_all_buffers) in Allocate() 203 if (debug || per_process::cli_options->debug_arraybuffer_allocations) in Create() 278 Mutex::ScopedLock lock(node::per_process::cli_options_mutex); in SetIsolateMiscHandlers() 279 if (per_process::cli_options->get_per_isolate_options() in SetIsolateMiscHandlers() 285 if (per_process::cli_options->get_per_isolate_options() in SetIsolateMiscHandlers() 611 if (per_process::cli_options->disable_proto == "") { in InitializeContextRuntime() 644 if (per_process::cli_options->disable_proto == "delete") { in InitializeContextRuntime() 650 } else if (per_process::cli_options->disable_proto == "throw") { in InitializeContextRuntime() 665 } else if (per_process::cli_options->disable_proto != "") { in InitializeContextRuntime() 841 per_process::v8_platform.StopTracingAgent(); in DefaultProcessExitHandler()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
D | 1-2.c | 265 unsigned long per_process; in children_number() local 274 per_process = min_stack * max_thread_children; in children_number() 275 if (per_process > sysinformation.freeram) in children_number() 278 avail_number = sysinformation.freeram / per_process; in children_number()
|
/third_party/node/test/cctest/ |
D | test_node_crypto.cc | 17 node::per_process::cli_options->ssl_openssl_cert_store = true; in TEST()
|
/third_party/node/tools/snapshot/ |
D | node_mksnapshot.cc | 75 if (node::per_process::cli_options->build_snapshot) {
|
/third_party/node/src/large_pages/ |
D | node_large_page.cc | 123 node::Debug(&per_process::enabled_debug_list, in Debug()
|